Skip to main content Module postgres Copy item path Source PostgresConfig PostgresSink PostgresSinkWriter PendingOp ๐ PendingRows ๐ Rows accumulated across chunks, written out on flush. StatementKind ๐ CHECK_FOREIGN_KEY_SQL ๐ MAX_BATCH_ROWS_LIMIT ๐ Upper bound of max_batch_rows: bigger batches only add buffer memory, since statements are
split at MAX_STATEMENT_PARAMS anyway. MAX_STATEMENT_PARAMS ๐ Maximum number of bind parameters of a single statement. PostgreSQL itself allows 65535, but
the client encodes the parameter count of a Bind message as i16, so a larger batch fails
before ever reaching the server. POSTGRES_SINK convert_row_to_pg_row ๐ create_delete_sql ๐ create_insert_sql ๐ create_parameter_tuples ๐ ($1, $2), ($3, $4), ...create_upsert_sql ๐ default_max_batch_rows ๐ default_schema ๐ ensure_no_foreign_key ๐ ensure_no_foreign_key_with_client ๐ execute_batches ๐ prev_power_of_two ๐ Largest power of two not exceeding n. n must be positive. quote_identifier ๐ Quote an identifier for PostgreSQL. split_power_of_two ๐ Splits rows into power-of-two-sized chunks no larger than cap, largest first. tcp_keepalive_from_config ๐ tuples_per_statement ๐ Number of tuples a single statement may carry, bounded by the parameter limit of the protocol. PgDatum ๐ PgRow ๐