Versions in this module Expand all Collapse all v1 v1.1.4 Jan 1, 2018 Changes in this version + const CodeActiveSQLTransactionError + const CodeAdminShutdownError + const CodeAmbiguousAliasError + const CodeAmbiguousColumnError + const CodeAmbiguousFunctionError + const CodeAmbiguousParameterError + const CodeArraySubscriptError + const CodeBadCopyFileFormatError + const CodeBranchTransactionAlreadyActiveError + const CodeCannotCoerceError + const CodeCannotConnectNowError + const CodeCantChangeRuntimeParamError + const CodeCardinalityViolationError + const CodeCaseNotFoundError + const CodeCharacterNotInRepertoireError + const CodeCheckViolationError + const CodeCollationMismatchError + const CodeConfigFileError + const CodeConfigurationLimitExceededError + const CodeConnectionDoesNotExistError + const CodeConnectionExceptionError + const CodeConnectionFailureError + const CodeCrashShutdownError + const CodeDataCorruptedError + const CodeDataExceptionError + const CodeDatabaseDroppedError + const CodeDatatypeMismatchError + const CodeDatetimeFieldOverflowError + const CodeDeadlockDetectedError + const CodeDependentObjectsStillExistError + const CodeDependentPrivilegeDescriptorsStillExistError + const CodeDiagnosticsExceptionError + const CodeDiskFullError + const CodeDivisionByZeroError + const CodeDuplicateAliasError + const CodeDuplicateColumnError + const CodeDuplicateCursorError + const CodeDuplicateDatabaseError + const CodeDuplicateFileError + const CodeDuplicateFunctionError + const CodeDuplicateObjectError + const CodeDuplicatePreparedStatementError + const CodeDuplicateRelationError + const CodeDuplicateSchemaError + const CodeErrorInAssignmentError + const CodeEscapeCharacterConflictError + const CodeExclusionViolationError + const CodeExternalRoutineContainingSQLNotPermittedError + const CodeExternalRoutineExceptionError + const CodeExternalRoutineInvalidSQLstateReturnedError + const CodeExternalRoutineInvocationExceptionError + const CodeExternalRoutineModifyingSQLDataNotPermittedError + const CodeExternalRoutineNullValueNotAllowedError + const CodeExternalRoutineProhibitedSQLStatementAttemptedError + const CodeExternalRoutineReadingSQLDataNotPermittedError + const CodeExternalRoutineSrfProtocolViolatedError + const CodeExternalRoutineTriggerProtocolViolatedError + const CodeFdwColumnNameNotFoundError + const CodeFdwDynamicParameterValueNeededError + const CodeFdwError + const CodeFdwFunctionSequenceError + const CodeFdwInconsistentDescriptorInformationError + const CodeFdwInvalidAttributeValueError + const CodeFdwInvalidColumnNameError + const CodeFdwInvalidColumnNumberError + const CodeFdwInvalidDataTypeDescriptorsError + const CodeFdwInvalidDataTypeError + const CodeFdwInvalidDescriptorFieldIdentifierError + const CodeFdwInvalidHandleError + const CodeFdwInvalidOptionIndexError + const CodeFdwInvalidOptionNameError + const CodeFdwInvalidStringFormatError + const CodeFdwInvalidStringLengthOrBufferLengthError + const CodeFdwInvalidUseOfNullPointerError + const CodeFdwNoSchemasError + const CodeFdwOptionNameNotFoundError + const CodeFdwOutOfMemoryError + const CodeFdwReplyHandleError + const CodeFdwSchemaNotFoundError + const CodeFdwTableNotFoundError + const CodeFdwTooManyHandlesError + const CodeFdwUnableToCreateExecutionError + const CodeFdwUnableToCreateReplyError + const CodeFdwUnableToEstablishConnectionError + const CodeFeatureNotSupportedError + const CodeFloatingPointExceptionError + const CodeForeignKeyViolationError + const CodeGroupingError + const CodeHeldCursorRequiresSameIsolationLevelError + const CodeInFailedSQLTransactionError + const CodeInappropriateAccessModeForBranchTransactionError + const CodeInappropriateIsolationLevelForBranchTransactionError + const CodeIndeterminateCollationError + const CodeIndeterminateDatatypeError + const CodeIndexCorruptedError + const CodeIndicatorOverflowError + const CodeInsufficientPrivilegeError + const CodeInsufficientResourcesError + const CodeIntegrityConstraintViolationError + const CodeInternalError + const CodeIntervalFieldOverflowError + const CodeInvalidArgumentForLogarithmError + const CodeInvalidArgumentForNthValueFunctionError + const CodeInvalidArgumentForNtileFunctionError + const CodeInvalidArgumentForPowerFunctionError + const CodeInvalidArgumentForWidthBucketFunctionError + const CodeInvalidAuthorizationSpecificationError + const CodeInvalidBinaryRepresentationError + const CodeInvalidCatalogNameError + const CodeInvalidCharacterValueForCastError + const CodeInvalidColumnDefinitionError + const CodeInvalidColumnReferenceError + const CodeInvalidCursorDefinitionError + const CodeInvalidCursorNameError + const CodeInvalidCursorStateError + const CodeInvalidDatabaseDefinitionError + const CodeInvalidDatetimeFormatError + const CodeInvalidEscapeCharacterError + const CodeInvalidEscapeOctetError + const CodeInvalidEscapeSequenceError + const CodeInvalidForeignKeyError + const CodeInvalidFunctionDefinitionError + const CodeInvalidGrantOperationError + const CodeInvalidGrantorError + const CodeInvalidIndicatorParameterValueError + const CodeInvalidLocatorSpecificationError + const CodeInvalidNameError + const CodeInvalidObjectDefinitionError + const CodeInvalidParameterValueError + const CodeInvalidPasswordError + const CodeInvalidPreparedStatementDefinitionError + const CodeInvalidRecursionError + const CodeInvalidRegularExpressionError + const CodeInvalidRoleSpecificationError + const CodeInvalidRowCountInLimitClauseError + const CodeInvalidRowCountInResultOffsetClauseError + const CodeInvalidSQLStatementNameError + const CodeInvalidSavepointSpecificationError + const CodeInvalidSchemaDefinitionError + const CodeInvalidSchemaNameError + const CodeInvalidTableDefinitionError + const CodeInvalidTextRepresentationError + const CodeInvalidTimeZoneDisplacementValueError + const CodeInvalidTransactionInitiationError + const CodeInvalidTransactionStateError + const CodeInvalidTransactionTerminationError + const CodeInvalidUseOfEscapeCharacterError + const CodeInvalidXMLCommentError + const CodeInvalidXMLContentError + const CodeInvalidXMLDocumentError + const CodeInvalidXMLProcessingInstructionError + const CodeIoError + const CodeLocatorExceptionError + const CodeLockFileExistsError + const CodeLockNotAvailableError + const CodeMostSpecificTypeMismatchError + const CodeNameTooLongError + const CodeNoActiveSQLTransactionError + const CodeNoActiveSQLTransactionForBranchTransactionError + const CodeNoAdditionalDynamicResultSetsReturnedError + const CodeNoDataError + const CodeNoDataFoundError + const CodeNonstandardUseOfEscapeCharacterError + const CodeNotAnXMLDocumentError + const CodeNotNullViolationError + const CodeNullValueNoIndicatorParameterError + const CodeNullValueNotAllowedError + const CodeNumericValueOutOfRangeError + const CodeObjectInUseError + const CodeObjectNotInPrerequisiteStateError + const CodeOperatorInterventionError + const CodeOutOfMemoryError + const CodePLpgSQLError + const CodeProgramLimitExceededError + const CodeProtocolViolationError + const CodeQueryCanceledError + const CodeRaiseExceptionError + const CodeReadOnlySQLTransactionError + const CodeReservedNameError + const CodeRestrictViolationError + const CodeRoutineExceptionFunctionExecutedNoReturnStatementError + const CodeRoutineExceptionModifyingSQLDataNotPermittedError + const CodeRoutineExceptionProhibitedSQLStatementAttemptedError + const CodeRoutineExceptionReadingSQLDataNotPermittedError + const CodeSQLRoutineExceptionError + const CodeSQLStatementNotYetCompleteError + const CodeSQLclientUnableToEstablishSQLconnectionError + const CodeSQLserverRejectedEstablishmentOfSQLconnectionError + const CodeSavepointExceptionError + const CodeSchemaAndDataStatementMixingNotSupportedError + const CodeSerializationFailureError + const CodeStackedDiagnosticsAccessedWithoutActiveHandlerError + const CodeStatementCompletionUnknownError + const CodeStatementTooComplexError + const CodeStringDataLengthMismatchError + const CodeStringDataRightTruncationError + const CodeSubstringError + const CodeSuccessfulCompletionError + const CodeSyntaxError + const CodeSyntaxErrorOrAccessRuleViolationError + const CodeSystemError + const CodeTooManyArgumentsError + const CodeTooManyColumnsError + const CodeTooManyConnectionsError + const CodeTooManyRowsError + const CodeTransactionIntegrityConstraintViolationError + const CodeTransactionResolutionUnknownError + const CodeTransactionRollbackError + const CodeTriggeredActionExceptionError + const CodeTriggeredDataChangeViolationError + const CodeTrimError + const CodeUndefinedColumnError + const CodeUndefinedFileError + const CodeUndefinedFunctionError + const CodeUndefinedObjectError + const CodeUndefinedParameterError + const CodeUndefinedTableError + const CodeUniqueViolationError + const CodeUnterminatedCStringError + const CodeUntranslatableCharacterError + const CodeWarningDeprecatedFeatureError + const CodeWarningDynamicResultSetsReturnedError + const CodeWarningError + const CodeWarningImplicitZeroBitPaddingError + const CodeWarningNullValueEliminatedInSetFunctionError + const CodeWarningPrivilegeNotGrantedError + const CodeWarningPrivilegeNotRevokedError + const CodeWarningStringDataRightTruncationError + const CodeWindowingError + const CodeWithCheckOptionViolationError + const CodeWrongObjectTypeError + const CodeZeroLengthCharacterStringError + var ErrIntOverflowErrors = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthErrors = fmt.Errorf("proto: negative length found during unmarshaling") + func UnimplementedWithIssueError(issue int, msg string) error + func UnimplementedWithIssueErrorf(issue int, msg string, args ...interface{}) error + type Error struct + Code string + Detail string + Hint string + InternalCommand string + Message string + Source *Error_Source + func GetPGCause(err error) (*Error, bool) + func NewDangerousStatementErrorf(format string, args ...interface{}) *Error + func NewError(code string, msg string) *Error + func NewErrorf(code string, format string, args ...interface{}) *Error + func Unimplemented(feature, msg string) *Error + func (*Error) Descriptor() ([]byte, []int) + func (*Error) ProtoMessage() + func (m *Error) Marshal() (dAtA []byte, err error) + func (m *Error) MarshalTo(dAtA []byte) (int, error) + func (m *Error) Reset() + func (m *Error) Size() (n int) + func (m *Error) String() string + func (m *Error) Unmarshal(dAtA []byte) error + func (pg *Error) Error() string + func (pg *Error) SetDetailf(f string, args ...interface{}) *Error + func (pg *Error) SetHintf(f string, args ...interface{}) *Error + type Error_Source struct + File string + Function string + Line int32 + func (*Error_Source) Descriptor() ([]byte, []int) + func (*Error_Source) ProtoMessage() + func (m *Error_Source) Marshal() (dAtA []byte, err error) + func (m *Error_Source) MarshalTo(dAtA []byte) (int, error) + func (m *Error_Source) Reset() + func (m *Error_Source) Size() (n int) + func (m *Error_Source) String() string + func (m *Error_Source) Unmarshal(dAtA []byte) error