Skip to main content

Module ident

Module ident 

Source
Expand description

Safe quoting of an object name.

Introspection builds statements around names the caller supplies: a schema, a table, a column. A name is not a value and cannot travel as a parameter, so it is pasted into the text. This module is the only sanctioned way to do that, and it refuses a name it cannot quote instead of producing text that would change what the statement means.

Constants§

MAX_IDENTIFIER_CHARS
The longest object name this server accepts, in characters.

Functions§

quote
Quotes one object name.
quote_qualified
Quotes a name made of several parts, such as a schema and a table.