final class AttributeReader
Restricted visibility: declared "@visibility SqlSemantics\Platform\PostgreSql". Code outside that scope must not name this declaration.

Reads the value of a definition attribute the way its command does.

Rule: PG-DEFINE-READ-001. The attribute name is looked up, respecting case, in the set of the defining command. A recognized attribute's value is read as its reading prescribes when the defGet* function of that reading accepts it: a name from anything but a number or no value, a type from a type name, string or keyword, a Boolean from no value, 0, 1 or the texts true, false, on and off, an integer from a 32-bit integer, text from any value, a type length from a 32-bit integer or variable, and a choice from a text that names a member. Any other value is kept as written, and the defining command's checks report it. A plain name written as a type name is kept as a dotted name. Lowering and the attribute constructor use the same reading, so the reading of a written value is unique. Terminates: no recursion. Source: src/backend/commands/define.c of PostgreSQL 17, https://www.postgresql.org/docs/17/sql-createoperator.html. Status: Implemented.

Methods§

Private surface 1§

Implementation details, listed for orientation only.

private const COMMANDS = ['AGGREGATE' => \SqlSemantics\Platform\PostgreSql\Statement\Object\Attribute\Kn…

Test cases 10§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 10

Relations§

Instantiated in 9
Method calls 11