You can search for identifiers within the package.
in-package search v0.2.0
postgres_async
Backend.CopyInResponse
type column = {
name : string;
format : [ `Text | `Binary ];
}
Unlike in RowDescription, it is possible to receive `Binary here because someone could put that option in their COPY query. Postgres_async will then abort the copy.
RowDescription
`Binary
Postgres_async
type t = {
overall_format : [ `Text | `Binary ];
num_columns : int;
column_formats : [ `Text | `Binary ] array;
val consume : ([> Core.read ], Iobuf.seek) Iobuf.t -> t Core.Or_error.t