17 kSuccessfulCompletion = 0x01,
20 kSqlStatementNotYetComplete = 0x20,
21 kConnectionException = 0x40,
22 kTriggeredActionException = 0x80,
23 kFeatureNotSupported = 0x100,
24 kInvalidTransactionInitiation = 0x200,
25 kLocatorException = 0x400,
26 kInvalidGrantor = 0x800,
27 kInvalidRoleSpecification = 0x1000,
28 kDiagnosticsException = 0x2000,
29 kCaseNotFound = 0x4000,
30 kCardinalityViolation = 0x8000,
31 kDataException = 0x10000,
32 kIntegrityConstraintViolation = 0x20000,
33 kInvalidCursorState = 0x40000,
34 kInvalidTransactionState = 0x80000,
35 kInvalidSqlStatementName = 0x100000,
36 kTriggeredDataChangeViolation = 0x200000,
37 kInvalidAuthorizationSpecification = 0x400000,
38 kDependentPrivilegeDescriptorsStillExist = 0x800000,
39 kInvalidTransactionTermination = 0x1000000,
40 kSqlRoutineException = 0x2000000,
41 kInvalidCursorName = 0x4000000,
42 kExternalRoutineException = 0x8000000,
43 kExternalRoutineInvocationException = 0x10000000,
44 kSavepointException = 0x20000000,
45 kInvalidCatalogName = 0x40000000,
46 kInvalidSchemaName = 0x80000000,
47 kTransactionRollback = 0x100000000,
48 kSyntaxErrorOrAccessRuleViolation = 0x200000000,
49 kWithCheckOptionViolation = 0x400000000,
50 kInsufficientResources = 0x800000000,
51 kProgramLimitExceeded = 0x1000000000,
52 kObjectNotInPrerequisiteState = 0x2000000000,
53 kOperatorIntervention = 0x4000000000,
54 kSystemError = 0x8000000000,
55 kSnapshotTooOld = 0x10000000000,
56 kConfigFileError = 0x20000000000,
57 kFdwError = 0x40000000000,
58 kPlpgsqlError = 0x80000000000,
59 kInternalError = 0x100000000000,
85
237 static_cast<std::int64_t>(
SqlStateClass::kInvalidCursorState),
294 static_cast<std::int64_t>(
SqlStateClass::kInvalidCursorName),
318 static_cast<std::int64_t>(
SqlStateClass::kSavepointException),
324 static_cast<std::int64_t>(
SqlStateClass::kInvalidCatalogName),
329 static_cast<std::int64_t>(
SqlStateClass::kInvalidSchemaName),
497SqlState SqlStateFromString(std::string_view);
509 std::size_t operator()(
511 return static_cast<std::size_t>(v);