enum AttributeProblemKind
Public API: explicitly declared with @visibility public.

What is wrong with the attributes of a definition, as the defining command reports it.

Unrecognized attributes of an operator, an aggregate and a base type draw a warning, kept for backwards compatibility; every other problem is an error. Source: DefineOperator in src/backend/commands/operatorcmds.c, DefineAggregate in src/backend/commands/aggregatecmds.c, DefineType and DefineRange in src/backend/commands/typecmds.c, DefineCollation in src/backend/commands/collationcmds.c, the text search commands in src/backend/commands/tsearchcmds.c and src/backend/commands/define.c of PostgreSQL 17.

Telling a warning from an errordoctest
[\SqlSemantics\Platform\PostgreSql\Statement\Object\Problem\AttributeProblemKind::UnrecognizedOperatorAttribute->warning(), \SqlSemantics\Platform\PostgreSql\Statement\Object\Problem\AttributeProblemKind::UnrecognizedRangeAttribute->warning()] // => [true, false]

Cases§

case UnrecognizedOperatorAttribute
case UnrecognizedAggregateAttribute
case UnrecognizedTypeAttribute
case UnrecognizedRangeAttribute
case UnrecognizedCollationAttribute
case UnrecognizedParserParameter
case UnrecognizedTemplateParameter
case UnrecognizedConfigurationParameter
case UnrecognizedChangedOperatorAttribute
case UnrecognizedChangedTypeAttribute
case UnchangeableOperatorAttribute
case UnchangeableTypeAttribute
case MissingParameter
case NotAName
case NotATypeName
case NotABoolean
case NotAnInteger
case InvalidLength
case InvalidParallel
case InvalidModify
case InvalidAlignment
case InvalidStorage
case InvalidProvider
case SetofArgument
case InvalidCategory
case Conflicting
case MissingOperatorFunction
case MissingArgumentTypes
case MissingRightArgument
case MissingAggregateAttribute
case MissingMovingAttribute
case MovingWithoutState
case HypotheticalPlain
case MissingInputType
case RedundantBaseType
case HalfSerialization
case MissingInputFunction
case MissingOutputFunction
case ModifierOutputAlone
case MissingSubtype
case MissingCollationParameter
case Nondeterministic
case RulesWithoutIcu
case MissingParserMethod
case MissingLexize
case MissingTemplate
case MissingParser
case ParserAndCopy

Methods§

Private surface 1§

Implementation details, listed for orientation only.

private const MESSAGES = ['UnrecognizedOperatorAttribute' => 'operator attribute "%s" not recognized', '…

Test cases 6§

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

Dedicated tests 2
Other tests reaching this symbol 4

Relations§

Method calls 3
Constant reads 51
Type declarations 1