Expand description
PostgreSQL COPY statement parser.
Parses COPY … FROM stdin data blocks to extract individual rows and optionally extract PK/FK column values for dependency tracking.
Structs§
- Copy
Parser - Parser for PostgreSQL COPY data blocks
- Parsed
Copy Row - A parsed row from a COPY data block
Functions§
- parse_
copy_ columns - Parse column list from COPY header
- parse_
postgres_ copy_ rows - Parse all rows from a PostgreSQL COPY data block
- parse_
postgres_ copy_ rows_ with - Like
parse_postgres_copy_rows, but with an explicitRowExtractionlevel so consumers that don’t needall_valuesskip that work.
Type Aliases§
- PkTuple
- Tuple of PK values for composite primary keys