Postgres module

statement_name

procedure · 1 overloadsince 0.27.0Source

The server name of the statement a query with this text and these parameter types is prepared as (j and 16 hex digits), for looking it up in pg_prepared_statements.

statement_name :: (sql: string, parameter_types: [] u32 = .[]) -> string

The server name of the statement a query with this text and these parameter types is prepared as (j and 16 hex digits), for looking it up in pg_prepared_statements.

Parameters

sql: string
the statement text as sent to the server.
parameter_types: [] u32
the parameter type OIDs it was prepared with; none by default.

Returns

string

See also