firebirdsql

package module
v0.9.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2026 License: MIT Imports: 43 Imported by: 95

README

firebirdsql (Go firebird sql driver)

Firebird RDBMS https://firebirdsql.org SQL driver for Go

Requirements

  • Firebird 2.5 or higher
  • Golang 1.20 or higher

Example

package main

import (
    "fmt"
    "database/sql"
    _ "github.com/nakagami/firebirdsql"
)

func main() {
    var n int
    conn, _ := sql.Open("firebirdsql", "user:password@servername/foo/bar.fdb")
    defer conn.Close()
    conn.QueryRow("SELECT Count(*) FROM rdb$relations").Scan(&n)
    fmt.Println("Relations count=", n)

}

See also driver_test.go

   package main

      import (
       "fmt"
       "github.com/nakagami/firebirdsql"
   )

   func main() {
       dsn := "user:password@servername/foo/bar.fdb"
       events := []string{"my_event", "order_created"}
       fbEvent, _ := firebirdsql.NewFBEvent(dsn)
       defer fbEvent.Close()
       sbr, _ := fbEvent.Subscribe(events, func(event firebirdsql.Event) { //or use SubscribeChan
           fmt.Printf("event: %s, count: %d, id: %d, remote id:%d \n", event.Name, event.Count, event.ID, event.RemoteID)
       })
       defer sbr.Unsubscribe()
       go func() {
               fbEvent.PostEvent(events[0])
               fbEvent.PostEvent(events[1])
       }()
       <- make(chan struct{}) //wait
   }

See also _example

Connection string

user:password@servername[:port_number]/database_name_or_file[?params1=value1[&param2=value2]...]

Examples:

# Basic connection
user:password@localhost/path/to/database.fdb

# With wire compression enabled (for better performance over slow networks)
user:password@localhost/path/to/database.fdb?wire_compress=true

# With multiple parameters
user:password@localhost/path/to/database.fdb?wire_crypt=true&wire_compress=true&role=admin
Reserved characters

The DSN is parsed as an RFC 3986 URI (the driver prepends firebird:// automatically). Reserved characters in the password or database path must be percent-encoded, otherwise they are misinterpreted as URI delimiters:

Character Encoded Why it breaks things
@ %40 ends the userinfo section
: %3A splits user from password
# %23 starts the fragment (silently dropped)
? %3F starts the query string
/ %2F path separator
& %26 separates query parameters
= %3D separates a query key from its value
% %25 the escape character itself
space %20 invalid in a URI

Use url.QueryEscape to encode a password:

import "net/url"

pass := url.QueryEscape("p@ss:w#rd")  // → "p%40ss%3Aw%23rd"
dsn  := "sysdba:" + pass + "@localhost/var/lib/firebird/mydb.fdb"
db, err := sql.Open("firebirdsql", dsn)
Drivers

Two driver names are registered with database/sql:

  • "firebirdsql" - attach to an existing database.
  • "firebirdsql_createdb" - create the database if it does not exist, then attach. See _examples/service_manager.go for a usage example.
General
  • user: login user
  • password: login password
  • servername: Firebird server's host name or IP address.
  • port_number: Port number. default value is 3050.
  • database_name_or_file: Database path (or alias name).
Optional

param1, param2... are

Name Description Default Note
auth_plugin_name Authentication plugin name. Srp256 Srp256/Srp/Legacy_Auth are available.
column_name_to_lower Force column name to lower false For "github.com/jmoiron/sqlx"
role Role name
timezone IANA time zone name (e.g. UTC, Europe/Berlin) Controls client-side decoding of naive DATE/TIME/TIMESTAMP and server session time zone (FB 4+). See "Time and timestamp handling" below.
wire_crypt Enable wire data encryption or not. true For Firebird 3.0+
wire_compress Enable wire protocol compression. false For Firebird 3.0+ (protocol version 13+)
charset Firebird Charecter Set

Time and timestamp handling

Firebird's DATE, TIME, and TIMESTAMP types store wall-clock components without zone information - by design. When the driver decodes such a column into a Go time.Time, it must attach some *time.Location. Resolution order:

  1. If ?timezone=<IANA> is set on the DSN, that location is used.
  2. Otherwise time.Local is used (matching Firebird's Java driver Jaybird, which uses the JVM default).

For cross-host determinism (e.g. app servers in different time zones all reading the same rows), set ?timezone=UTC on the DSN:

user:password@host/path/to/db?timezone=UTC

The same parameter also tells a Firebird 4+ server to evaluate CURRENT_TIMESTAMP and LOCALTIMESTAMP in that zone.

For applications that need explicit zone semantics at the schema level, use the Firebird 4+ types TIME WITH TIME ZONE and TIMESTAMP WITH TIME ZONE. Those columns carry their zone on the wire and are unaffected by the ?timezone= fallback.

Round-trip of naive time.Time values is wall-clock-preserving, not absolute-instant-preserving: inserting a value in zone A and reading it back on a host in zone B will return identical wall-clock components (year, month, day, hour, minute, second, nanosecond), but a.Equal(b) may be false. This matches Firebird's underlying storage model.

Transactions: READ COMMITTED + NOWAIT

Firebird supports NOWAIT transactions (lock conflicts return immediately instead of waiting). The standard database/sql sql.TxOptions doesn't have a knob for NOWAIT, so this driver exposes a driver-specific isolation level constant:

tx, err := db.BeginTx(ctx, &sql.TxOptions{
	Isolation: firebirdsql.LevelReadCommittedNoWait,
})

This maps to a transaction TPB containing READ COMMITTED, RECORD VERSION, and NOWAIT.

GORM for Firebird

See https://github.com/flylink888/gorm-firebird

Documentation

Overview

****************************************************************************** The MIT License (MIT)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ******************************************************************************

Package firebirdsql provides a database/sql driver for Firebird RDBMS (https://firebirdsql.org). It is a pure Go implementation using the Firebird wire protocol — no C dependencies or cgo required.

Drivers

Two driver names are registered:

  • "firebirdsql" — attach to an existing database.
  • "firebirdsql_createdb" — create the database if it does not exist, then attach.

Connection String (DSN)

user:password@host[:port]/database[?param=value&...]

The driver automatically prepends the "firebird://" scheme and parses the DSN as a URI per RFC 3986. The default port is 3050.

Reserved Characters and Percent-Encoding

Because the DSN is parsed as a URI, any RFC 3986 reserved character that appears literally in the password or database path will be misinterpreted. Affected characters and their encoded forms:

@   →  %40      (terminates the userinfo section)
:   →  %3A      (separates user from password in userinfo)
#   →  %23      (starts the fragment — silently drops everything after it)
?   →  %3F      (starts the query string)
/   →  %2F      (path separator)
&   →  %26      (separates query parameters)
=   →  %3D      (separates a query key from its value)
%   →  %25      (the escape character itself)
+   →  %2B
space → %20

Use net/url.QueryEscape to encode a password, or net/url.PathEscape to encode a database path segment, when constructing DSNs programmatically.

Examples

Plain connection to localhost:

db, err := sql.Open("firebirdsql", "sysdba:masterkey@localhost/var/lib/firebird/mydb.fdb")

Password containing reserved characters (e.g. "p@ss:w#rd"):

import "net/url"

pass := url.QueryEscape("p@ss:w#rd")   // → "p%40ss%3Aw%23rd"
dsn  := "sysdba:" + pass + "@localhost/var/lib/firebird/mydb.fdb"
db, err := sql.Open("firebirdsql", dsn)

Windows database path:

db, err := sql.Open("firebirdsql", "sysdba:masterkey@localhost/C:/fbdata/mydb.fdb")

See the README for the full list of optional query parameters (auth_plugin_name, charset, role, timezone, wire_crypt, wire_compress, column_name_to_lower).

Index

Constants

View Source
const (
	ISC_TIME_SECONDS_PRECISION = 10000

	// Protocol Version
	PROTOCOL_VERSION13 = 13
	PROTOCOL_VERSION16 = 16

	CNCT_user              = 1
	CNCT_passwd            = 2
	CNCT_host              = 4
	CNCT_group             = 5
	CNCT_user_verification = 6
	CNCT_specific_data     = 7
	CNCT_plugin_name       = 8
	CNCT_login             = 9
	CNCT_plugin_list       = 10
	CNCT_client_crypt      = 11
)
View Source
const (
	ISOLATION_LEVEL_READ_COMMITED_LEGACY = iota
	ISOLATION_LEVEL_READ_COMMITED
	ISOLATION_LEVEL_REPEATABLE_READ
	ISOLATION_LEVEL_SERIALIZABLE
	ISOLATION_LEVEL_READ_COMMITED_RO
	// NOWAIT variants (lock conflicts return immediately instead of waiting)
	ISOLATION_LEVEL_READ_COMMITED_NOWAIT
	ISOLATION_LEVEL_READ_COMMITED_RO_NOWAIT
)
View Source
const (
	DSQL_close = 1 // close the cursor opened after statement execute
	DSQL_drop  = 2 // release the statement handle
)

op_free_statement modes (p_sqlfree_option). Names match the Firebird wire protocol specification.

View Source
const (
	// JRD facility
	ISCArithExcept                                      = 335544321
	ISCBadDbkey                                         = 335544322
	ISCBadDbFormat                                      = 335544323
	ISCBadDbHandle                                      = 335544324
	ISCBadDpbContent                                    = 335544325
	ISCBadDpbForm                                       = 335544326
	ISCBadReqHandle                                     = 335544327
	ISCBadSegstrHandle                                  = 335544328
	ISCBadSegstrId                                      = 335544329
	ISCBadTpbContent                                    = 335544330
	ISCBadTpbForm                                       = 335544331
	ISCBadTransHandle                                   = 335544332
	ISCBugCheck                                         = 335544333
	ISCConvertError                                     = 335544334
	ISCDbCorrupt                                        = 335544335
	ISCDeadlock                                         = 335544336
	ISCExcessTrans                                      = 335544337
	ISCFromNoMatch                                      = 335544338
	ISCInfinap                                          = 335544339
	ISCInfona                                           = 335544340
	ISCInfunk                                           = 335544341
	ISCIntegFail                                        = 335544342
	ISCInvalidBlr                                       = 335544343
	ISCIoError                                          = 335544344
	ISCLockConflict                                     = 335544345
	ISCMetadataCorrupt                                  = 335544346
	ISCNotValid                                         = 335544347
	ISCNoCurRec                                         = 335544348
	ISCNoDup                                            = 335544349
	ISCNoFinish                                         = 335544350
	ISCNoMetaUpdate                                     = 335544351
	ISCNoPriv                                           = 335544352
	ISCNoRecon                                          = 335544353
	ISCNoRecord                                         = 335544354
	ISCNoSegstrClose                                    = 335544355
	ISCObsoleteMetadata                                 = 335544356
	ISCOpenTrans                                        = 335544357
	ISCPortLen                                          = 335544358
	ISCReadOnlyField                                    = 335544359
	ISCReadOnlyRel                                      = 335544360
	ISCReadOnlyTrans                                    = 335544361
	ISCReadOnlyView                                     = 335544362
	ISCReqNoTrans                                       = 335544363
	ISCReqSync                                          = 335544364
	ISCReqWrongDb                                       = 335544365
	ISCSegment                                          = 335544366
	ISCSegstrEof                                        = 335544367
	ISCSegstrNoOp                                       = 335544368
	ISCSegstrNoRead                                     = 335544369
	ISCSegstrNoTrans                                    = 335544370
	ISCSegstrNoWrite                                    = 335544371
	ISCSegstrWrongDb                                    = 335544372
	ISCSysRequest                                       = 335544373
	ISCStreamEof                                        = 335544374
	ISCUnavailable                                      = 335544375
	ISCUnresRel                                         = 335544376
	ISCUnsExt                                           = 335544377
	ISCWishList                                         = 335544378
	ISCWrongOds                                         = 335544379
	ISCWronumarg                                        = 335544380
	ISCImpExc                                           = 335544381
	ISCRandom                                           = 335544382
	ISCFatalConflict                                    = 335544383
	ISCBadblk                                           = 335544384
	ISCInvpoolcl                                        = 335544385
	ISCNopoolids                                        = 335544386
	ISCRelbadblk                                        = 335544387
	ISCBlktoobig                                        = 335544388
	ISCBufexh                                           = 335544389
	ISCSyntaxerr                                        = 335544390
	ISCBufinuse                                         = 335544391
	ISCBdbincon                                         = 335544392
	ISCReqinuse                                         = 335544393
	ISCBadodsver                                        = 335544394
	ISCRelnotdef                                        = 335544395
	ISCFldnotdef                                        = 335544396
	ISCDirtypage                                        = 335544397
	ISCWaifortra                                        = 335544398
	ISCDoubleloc                                        = 335544399
	ISCNodnotfnd                                        = 335544400
	ISCDupnodfnd                                        = 335544401
	ISCLocnotmar                                        = 335544402
	ISCBadpagtyp                                        = 335544403
	ISCCorrupt                                          = 335544404
	ISCBadpage                                          = 335544405
	ISCBadindex                                         = 335544406
	ISCDbbnotzer                                        = 335544407
	ISCTranotzer                                        = 335544408
	ISCTrareqmis                                        = 335544409
	ISCBadhndcnt                                        = 335544410
	ISCWrotpbver                                        = 335544411
	ISCWroblrver                                        = 335544412
	ISCWrodpbver                                        = 335544413
	ISCBlobnotsup                                       = 335544414
	ISCBadrelation                                      = 335544415
	ISCNodetach                                         = 335544416
	ISCNotremote                                        = 335544417
	ISCTrainlim                                         = 335544418
	ISCNotinlim                                         = 335544419
	ISCTraoutsta                                        = 335544420
	ISCConnectReject                                    = 335544421
	ISCDbfile                                           = 335544422
	ISCOrphan                                           = 335544423
	ISCNoLockMgr                                        = 335544424
	ISCCtxinuse                                         = 335544425
	ISCCtxnotdef                                        = 335544426
	ISCDatnotsup                                        = 335544427
	ISCBadmsgnum                                        = 335544428
	ISCBadparnum                                        = 335544429
	ISCVirmemexh                                        = 335544430
	ISCBlockingSignal                                   = 335544431
	ISCLockmanerr                                       = 335544432
	ISCJournerr                                         = 335544433
	ISCKeytoobig                                        = 335544434
	ISCNullsegkey                                       = 335544435
	ISCSqlerr                                           = 335544436
	ISCWrodynver                                        = 335544437
	ISCFunnotdef                                        = 335544438
	ISCFunmismat                                        = 335544439
	ISCBadDetach                                        = 335544441
	ISCNoargaccRead                                     = 335544442
	ISCNoargaccWrite                                    = 335544443
	ISCReadOnly                                         = 335544444
	ISCExtErr                                           = 335544445
	ISCNonUpdatable                                     = 335544446
	ISCNoRollback                                       = 335544447
	ISCMiscInterpreted                                  = 335544450
	ISCUpdateConflict                                   = 335544451
	ISCUnlicensed                                       = 335544452
	ISCObjInUse                                         = 335544453
	ISCNofilter                                         = 335544454
	ISCShadowAccessed                                   = 335544455
	ISCInvalidSdl                                       = 335544456
	ISCOutOfBounds                                      = 335544457
	ISCInvalidDimension                                 = 335544458
	ISCRecInLimbo                                       = 335544459
	ISCShadowMissing                                    = 335544460
	ISCCantValidate                                     = 335544461
	ISCCantStartJournal                                 = 335544462
	ISCGennotdef                                        = 335544463
	ISCCantStartLogging                                 = 335544464
	ISCBadSegstrType                                    = 335544465
	ISCForeignKey                                       = 335544466
	ISCHighMinor                                        = 335544467
	ISCTraState                                         = 335544468
	ISCTransInvalid                                     = 335544469
	ISCBufInvalid                                       = 335544470
	ISCIndexnotdefined                                  = 335544471
	ISCLogin                                            = 335544472
	ISCInvalidBookmark                                  = 335544473
	ISCBadLockLevel                                     = 335544474
	ISCRelationLock                                     = 335544475
	ISCRecordLock                                       = 335544476
	ISCMaxIdx                                           = 335544477
	ISCJrnEnable                                        = 335544478
	ISCOldFailure                                       = 335544479
	ISCOldInProgress                                    = 335544480
	ISCOldNoSpace                                       = 335544481
	ISCNoWalNoJrn                                       = 335544482
	ISCNumOldFiles                                      = 335544483
	ISCWalFileOpen                                      = 335544484
	ISCBadStmtHandle                                    = 335544485
	ISCWalFailure                                       = 335544486
	ISCWalwErr                                          = 335544487
	ISCLoghSmall                                        = 335544488
	ISCLoghInvVersion                                   = 335544489
	ISCLoghOpenFlag                                     = 335544490
	ISCLoghOpenFlag2                                    = 335544491
	ISCLoghDiffDbname                                   = 335544492
	ISCLogfUnexpectedEof                                = 335544493
	ISCLogrIncomplete                                   = 335544494
	ISCLogrHeaderSmall                                  = 335544495
	ISCLogbSmall                                        = 335544496
	ISCWalIllegalAttach                                 = 335544497
	ISCWalInvalidWpb                                    = 335544498
	ISCWalErrRollover                                   = 335544499
	ISCNoWal                                            = 335544500
	ISCDropWal                                          = 335544501
	ISCStreamNotDefined                                 = 335544502
	ISCWalSubsysError                                   = 335544503
	ISCWalSubsysCorrupt                                 = 335544504
	ISCNoArchive                                        = 335544505
	ISCShutinprog                                       = 335544506
	ISCRangeInUse                                       = 335544507
	ISCRangeNotFound                                    = 335544508
	ISCCharsetNotFound                                  = 335544509
	ISCLockTimeout                                      = 335544510
	ISCPrcnotdef                                        = 335544511
	ISCPrcmismat                                        = 335544512
	ISCWalBugcheck                                      = 335544513
	ISCWalCantExpand                                    = 335544514
	ISCCodnotdef                                        = 335544515
	ISCXcpnotdef                                        = 335544516
	ISCExcept                                           = 335544517
	ISCCacheRestart                                     = 335544518
	ISCBadLockHandle                                    = 335544519
	ISCJrnPresent                                       = 335544520
	ISCWalErrRollover2                                  = 335544521
	ISCWalErrLogwrite                                   = 335544522
	ISCWalErrJrnComm                                    = 335544523
	ISCWalErrExpansion                                  = 335544524
	ISCWalErrSetup                                      = 335544525
	ISCWalErrWwSync                                     = 335544526
	ISCWalErrWwStart                                    = 335544527
	ISCShutdown                                         = 335544528
	ISCExistingPrivMod                                  = 335544529
	ISCPrimaryKeyRef                                    = 335544530
	ISCPrimaryKeyNotnull                                = 335544531
	ISCRefCnstrntNotfound                               = 335544532
	ISCForeignKeyNotfound                               = 335544533
	ISCRefCnstrntUpdate                                 = 335544534
	ISCCheckCnstrntUpdate                               = 335544535
	ISCCheckCnstrntDel                                  = 335544536
	ISCIntegIndexSegDel                                 = 335544537
	ISCIntegIndexSegMod                                 = 335544538
	ISCIntegIndexDel                                    = 335544539
	ISCIntegIndexMod                                    = 335544540
	ISCCheckTrigDel                                     = 335544541
	ISCCheckTrigUpdate                                  = 335544542
	ISCCnstrntFldDel                                    = 335544543
	ISCCnstrntFldRename                                 = 335544544
	ISCRelCnstrntUpdate                                 = 335544545
	ISCConstaintOnView                                  = 335544546
	ISCInvldCnstrntType                                 = 335544547
	ISCPrimaryKeyExists                                 = 335544548
	ISCSystrigUpdate                                    = 335544549
	ISCNotRelOwner                                      = 335544550
	ISCGrantObjNotfound                                 = 335544551
	ISCGrantFldNotfound                                 = 335544552
	ISCGrantNopriv                                      = 335544553
	ISCNonsqlSecurityRel                                = 335544554
	ISCNonsqlSecurityFld                                = 335544555
	ISCWalCacheErr                                      = 335544556
	ISCShutfail                                         = 335544557
	ISCCheckConstraint                                  = 335544558
	ISCBadSvcHandle                                     = 335544559
	ISCShutwarn                                         = 335544560
	ISCWrospbver                                        = 335544561
	ISCBadSpbForm                                       = 335544562
	ISCSvcnotdef                                        = 335544563
	ISCNoJrn                                            = 335544564
	ISCTransliterationFailed                            = 335544565
	ISCStartCmForWal                                    = 335544566
	ISCWalOvflowLogRequired                             = 335544567
	ISCTextSubtype                                      = 335544568
	ISCDsqlError                                        = 335544569
	ISCDsqlCommandErr                                   = 335544570
	ISCDsqlConstantErr                                  = 335544571
	ISCDsqlCursorErr                                    = 335544572
	ISCDsqlDatatypeErr                                  = 335544573
	ISCDsqlDeclErr                                      = 335544574
	ISCDsqlCursorUpdateErr                              = 335544575
	ISCDsqlCursorOpenErr                                = 335544576
	ISCDsqlCursorCloseErr                               = 335544577
	ISCDsqlFieldErr                                     = 335544578
	ISCDsqlInternalErr                                  = 335544579
	ISCDsqlRelationErr                                  = 335544580
	ISCDsqlProcedureErr                                 = 335544581
	ISCDsqlRequestErr                                   = 335544582
	ISCDsqlSqldaErr                                     = 335544583
	ISCDsqlVarCountErr                                  = 335544584
	ISCDsqlStmtHandle                                   = 335544585
	ISCDsqlFunctionErr                                  = 335544586
	ISCDsqlBlobErr                                      = 335544587
	ISCCollationNotFound                                = 335544588
	ISCCollationNotForCharset                           = 335544589
	ISCDsqlDupOption                                    = 335544590
	ISCDsqlTranErr                                      = 335544591
	ISCDsqlInvalidArray                                 = 335544592
	ISCDsqlMaxArrDimExceeded                            = 335544593
	ISCDsqlArrRangeError                                = 335544594
	ISCDsqlTriggerErr                                   = 335544595
	ISCDsqlSubselectErr                                 = 335544596
	ISCDsqlCrdbPrepareErr                               = 335544597
	ISCSpecifyFieldErr                                  = 335544598
	ISCNumFieldErr                                      = 335544599
	ISCColNameErr                                       = 335544600
	ISCWhereErr                                         = 335544601
	ISCTableViewErr                                     = 335544602
	ISCDistinctErr                                      = 335544603
	ISCKeyFieldCountErr                                 = 335544604
	ISCSubqueryErr                                      = 335544605
	ISCExpressionEvalErr                                = 335544606
	ISCNodeErr                                          = 335544607
	ISCCommandEndErr                                    = 335544608
	ISCIndexName                                        = 335544609
	ISCExceptionName                                    = 335544610
	ISCFieldName                                        = 335544611
	ISCTokenErr                                         = 335544612
	ISCUnionErr                                         = 335544613
	ISCDsqlConstructErr                                 = 335544614
	ISCFieldAggregateErr                                = 335544615
	ISCFieldRefErr                                      = 335544616
	ISCOrderByErr                                       = 335544617
	ISCReturnModeErr                                    = 335544618
	ISCExternFuncErr                                    = 335544619
	ISCAliasConflictErr                                 = 335544620
	ISCProcedureConflictError                           = 335544621
	ISCRelationConflictErr                              = 335544622
	ISCDsqlDomainErr                                    = 335544623
	ISCIdxSegErr                                        = 335544624
	ISCNodeNameErr                                      = 335544625
	ISCTableName                                        = 335544626
	ISCProcName                                         = 335544627
	ISCIdxCreateErr                                     = 335544628
	ISCWalShadowErr                                     = 335544629
	ISCDependency                                       = 335544630
	ISCIdxKeyErr                                        = 335544631
	ISCDsqlFileLengthErr                                = 335544632
	ISCDsqlShadowNumberErr                              = 335544633
	ISCDsqlTokenUnkErr                                  = 335544634
	ISCDsqlNoRelationAlias                              = 335544635
	ISCIndexname                                        = 335544636
	ISCNoStreamPlan                                     = 335544637
	ISCStreamTwice                                      = 335544638
	ISCStreamNotFound                                   = 335544639
	ISCCollationRequiresText                            = 335544640
	ISCDsqlDomainNotFound                               = 335544641
	ISCIndexUnused                                      = 335544642
	ISCDsqlSelfJoin                                     = 335544643
	ISCStreamBof                                        = 335544644
	ISCStreamCrack                                      = 335544645
	ISCDbOrFileExists                                   = 335544646
	ISCInvalidOperator                                  = 335544647
	ISCConnLost                                         = 335544648
	ISCBadChecksum                                      = 335544649
	ISCPageTypeErr                                      = 335544650
	ISCExtReadonlyErr                                   = 335544651
	ISCSingSelectErr                                    = 335544652
	ISCPswAttach                                        = 335544653
	ISCPswStartTrans                                    = 335544654
	ISCInvalidDirection                                 = 335544655
	ISCDsqlVarConflict                                  = 335544656
	ISCDsqlNoBlobArray                                  = 335544657
	ISCDsqlBaseTable                                    = 335544658
	ISCDuplicateBaseTable                               = 335544659
	ISCViewAlias                                        = 335544660
	ISCIndexRootPageFull                                = 335544661
	ISCDsqlBlobTypeUnknown                              = 335544662
	ISCReqMaxClonesExceeded                             = 335544663
	ISCDsqlDuplicateSpec                                = 335544664
	ISCUniqueKeyViolation                               = 335544665
	ISCSrvrVersionTooOld                                = 335544666
	ISCDrdbCompletedWithErrs                            = 335544667
	ISCDsqlProcedureUseErr                              = 335544668
	ISCDsqlCountMismatch                                = 335544669
	ISCBlobIdxErr                                       = 335544670
	ISCArrayIdxErr                                      = 335544671
	ISCKeyFieldErr                                      = 335544672
	ISCNoDelete                                         = 335544673
	ISCDelLastField                                     = 335544674
	ISCSortErr                                          = 335544675
	ISCSortMemErr                                       = 335544676
	ISCVersionErr                                       = 335544677
	ISCInvalKeyPosn                                     = 335544678
	ISCNoSegmentsErr                                    = 335544679
	ISCCrrpDataErr                                      = 335544680
	ISCRecSizeErr                                       = 335544681
	ISCDsqlFieldRef                                     = 335544682
	ISCReqDepthExceeded                                 = 335544683
	ISCNoFieldAccess                                    = 335544684
	ISCNoDbkey                                          = 335544685
	ISCJrnFormatErr                                     = 335544686
	ISCJrnFileFull                                      = 335544687
	ISCDsqlOpenCursorRequest                            = 335544688
	ISCIbError                                          = 335544689
	ISCCacheRedef                                       = 335544690
	ISCCacheTooSmall                                    = 335544691
	ISCLogRedef                                         = 335544692
	ISCLogTooSmall                                      = 335544693
	ISCPartitionTooSmall                                = 335544694
	ISCPartitionNotSupp                                 = 335544695
	ISCLogLengthSpec                                    = 335544696
	ISCPrecisionErr                                     = 335544697
	ISCScaleNogt                                        = 335544698
	ISCExpecShort                                       = 335544699
	ISCExpecLong                                        = 335544700
	ISCExpecUshort                                      = 335544701
	ISCEscapeInvalid                                    = 335544702
	ISCSvcnoexe                                         = 335544703
	ISCNetLookupErr                                     = 335544704
	ISCServiceUnknown                                   = 335544705
	ISCHostUnknown                                      = 335544706
	ISCGrantNoprivOnBase                                = 335544707
	ISCDynFldAmbiguous                                  = 335544708
	ISCDsqlAggRefErr                                    = 335544709
	ISCComplexView                                      = 335544710
	ISCUnpreparedStmt                                   = 335544711
	ISCExpecPositive                                    = 335544712
	ISCDsqlSqldaValueErr                                = 335544713
	ISCInvalidArrayId                                   = 335544714
	ISCExtfileUnsOp                                     = 335544715
	ISCSvcInUse                                         = 335544716
	ISCErrStackLimit                                    = 335544717
	ISCInvalidKey                                       = 335544718
	ISCNetInitError                                     = 335544719
	ISCLoadlibFailure                                   = 335544720
	ISCNetworkError                                     = 335544721
	ISCNetConnectErr                                    = 335544722
	ISCNetConnectListenErr                              = 335544723
	ISCNetEventConnectErr                               = 335544724
	ISCNetEventListenErr                                = 335544725
	ISCNetReadErr                                       = 335544726
	ISCNetWriteErr                                      = 335544727
	ISCIntegIndexDeactivate                             = 335544728
	ISCIntegDeactivatePrimary                           = 335544729
	ISCCseNotSupported                                  = 335544730
	ISCUnsupportedNetworkDrive                          = 335544732
	ISCIoCreateErr                                      = 335544733
	ISCIoOpenErr                                        = 335544734
	ISCIoCloseErr                                       = 335544735
	ISCIoReadErr                                        = 335544736
	ISCIoWriteErr                                       = 335544737
	ISCIoDeleteErr                                      = 335544738
	ISCIoAccessErr                                      = 335544739
	ISCUdfException                                     = 335544740
	ISCLostDbConnection                                 = 335544741
	ISCNoWriteUserPriv                                  = 335544742
	ISCTokenTooLong                                     = 335544743
	ISCMaxAttExceeded                                   = 335544744
	ISCLoginSameAsRoleName                              = 335544745
	ISCReftableRequiresPk                               = 335544746
	ISCUsrnameTooLong                                   = 335544747
	ISCPasswordTooLong                                  = 335544748
	ISCUsrnameRequired                                  = 335544749
	ISCPasswordRequired                                 = 335544750
	ISCBadProtocol                                      = 335544751
	ISCDupUsrnameFound                                  = 335544752
	ISCUsrnameNotFound                                  = 335544753
	ISCErrorAddingSecRecord                             = 335544754
	ISCErrorModifyingSecRecord                          = 335544755
	ISCErrorDeletingSecRecord                           = 335544756
	ISCErrorUpdatingSecDb                               = 335544757
	ISCSortRecSizeErr                                   = 335544758
	ISCBadDefaultValue                                  = 335544759
	ISCInvalidClause                                    = 335544760
	ISCTooManyHandles                                   = 335544761
	ISCOptimizerBlkExc                                  = 335544762
	ISCInvalidStringConstant                            = 335544763
	ISCTransitionalDate                                 = 335544764
	ISCReadOnlyDatabase                                 = 335544765
	ISCMustBeDialect2AndUp                              = 335544766
	ISCBlobFilterException                              = 335544767
	ISCExceptionAccessViolation                         = 335544768
	ISCExceptionDatatypeMissalignment                   = 335544769
	ISCExceptionArrayBoundsExceeded                     = 335544770
	ISCExceptionFloatDenormalOperand                    = 335544771
	ISCExceptionFloatDivideByZero                       = 335544772
	ISCExceptionFloatInexactResult                      = 335544773
	ISCExceptionFloatInvalidOperand                     = 335544774
	ISCExceptionFloatOverflow                           = 335544775
	ISCExceptionFloatStackCheck                         = 335544776
	ISCExceptionFloatUnderflow                          = 335544777
	ISCExceptionIntegerDivideByZero                     = 335544778
	ISCExceptionIntegerOverflow                         = 335544779
	ISCExceptionUnknown                                 = 335544780
	ISCExceptionStackOverflow                           = 335544781
	ISCExceptionSigsegv                                 = 335544782
	ISCExceptionSigill                                  = 335544783
	ISCExceptionSigbus                                  = 335544784
	ISCExceptionSigfpe                                  = 335544785
	ISCExtFileDelete                                    = 335544786
	ISCExtFileModify                                    = 335544787
	ISCAdmTaskDenied                                    = 335544788
	ISCExtractInputMismatch                             = 335544789
	ISCInsufficientSvcPrivileges                        = 335544790
	ISCFileInUse                                        = 335544791
	ISCServiceAttErr                                    = 335544792
	ISCDdlNotAllowedByDbSqlDial                         = 335544793
	ISCCancelled                                        = 335544794
	ISCUnexpSpbForm                                     = 335544795
	ISCSqlDialectDatatypeUnsupport                      = 335544796
	ISCSvcnouser                                        = 335544797
	ISCDependOnUncommittedRel                           = 335544798
	ISCSvcNameMissing                                   = 335544799
	ISCTooManyContexts                                  = 335544800
	ISCDatypeNotsup                                     = 335544801
	ISCDialectResetWarning                              = 335544802
	ISCDialectNotChanged                                = 335544803
	ISCDatabaseCreateFailed                             = 335544804
	ISCInvDialectSpecified                              = 335544805
	ISCValidDbDialects                                  = 335544806
	ISCSqlwarn                                          = 335544807
	ISCDtypeRenamed                                     = 335544808
	ISCExternFuncDirError                               = 335544809
	ISCDateRangeExceeded                                = 335544810
	ISCInvClientDialectSpecified                        = 335544811
	ISCValidClientDialects                              = 335544812
	ISCOptimizerBetweenErr                              = 335544813
	ISCServiceNotSupported                              = 335544814
	ISCGeneratorName                                    = 335544815
	ISCUdfName                                          = 335544816
	ISCBadLimitParam                                    = 335544817
	ISCBadSkipParam                                     = 335544818
	ISCIo32bitExceededErr                               = 335544819
	ISCInvalidSavepoint                                 = 335544820
	ISCDsqlColumnPosErr                                 = 335544821
	ISCDsqlAggWhereErr                                  = 335544822
	ISCDsqlAggGroupErr                                  = 335544823
	ISCDsqlAggColumnErr                                 = 335544824
	ISCDsqlAggHavingErr                                 = 335544825
	ISCDsqlAggNestedErr                                 = 335544826
	ISCExecSqlInvalidArg                                = 335544827
	ISCExecSqlInvalidReq                                = 335544828
	ISCExecSqlInvalidVar                                = 335544829
	ISCExecSqlMaxCallExceeded                           = 335544830
	ISCConfAccessDenied                                 = 335544831
	ISCWrongBackupState                                 = 335544832
	ISCWalBackupErr                                     = 335544833
	ISCCursorNotOpen                                    = 335544834
	ISCBadShutdownMode                                  = 335544835
	ISCConcatOverflow                                   = 335544836
	ISCBadSubstringOffset                               = 335544837
	ISCForeignKeyTargetDoesntExist                      = 335544838
	ISCForeignKeyReferencesPresent                      = 335544839
	ISCNoUpdate                                         = 335544840
	ISCCursorAlreadyOpen                                = 335544841
	ISCStackTrace                                       = 335544842
	ISCCtxVarNotFound                                   = 335544843
	ISCCtxNamespaceInvalid                              = 335544844
	ISCCtxTooBig                                        = 335544845
	ISCCtxBadArgument                                   = 335544846
	ISCIdentifierTooLong                                = 335544847
	ISCExcept2                                          = 335544848
	ISCMalformedString                                  = 335544849
	ISCPrcOutParamMismatch                              = 335544850
	ISCCommandEndErr2                                   = 335544851
	ISCPartnerIdxIncompatType                           = 335544852
	ISCBadSubstringLength                               = 335544853
	ISCCharsetNotInstalled                              = 335544854
	ISCCollationNotInstalled                            = 335544855
	ISCAttShutdown                                      = 335544856
	ISCBlobtoobig                                       = 335544857
	ISCMustHavePhysField                                = 335544858
	ISCInvalidTimePrecision                             = 335544859
	ISCBlobConvertError                                 = 335544860
	ISCArrayConvertError                                = 335544861
	ISCRecordLockNotSupp                                = 335544862
	ISCPartnerIdxNotFound                               = 335544863
	ISCTraNumExc                                        = 335544864
	ISCFieldDisappeared                                 = 335544865
	ISCMetWrongGttScope                                 = 335544866
	ISCSubtypeForInternalUse                            = 335544867
	ISCIllegalPrcType                                   = 335544868
	ISCInvalidSortDatatype                              = 335544869
	ISCCollationName                                    = 335544870
	ISCDomainName                                       = 335544871
	ISCDomnotdef                                        = 335544872
	ISCArrayMaxDimensions                               = 335544873
	ISCMaxDbPerTransAllowed                             = 335544874
	ISCBadDebugFormat                                   = 335544875
	ISCBadProcBLR                                       = 335544876
	ISCKeyTooBig                                        = 335544877
	ISCConcurrentTransaction                            = 335544878
	ISCNotValidForVar                                   = 335544879
	ISCNotValidFor                                      = 335544880
	ISCNeedDifference                                   = 335544881
	ISCLongLogin                                        = 335544882
	ISCFldnotdef2                                       = 335544883
	ISCInvalidSimilarPattern                            = 335544884
	ISCBadTebForm                                       = 335544885
	ISCTpbMultipleTxnIsolation                          = 335544886
	ISCTpbReservBeforeTable                             = 335544887
	ISCTpbMultipleSpec                                  = 335544888
	ISCTpbOptionWithoutRc                               = 335544889
	ISCTpbConflictingOptions                            = 335544890
	ISCTpbReservMissingTlen                             = 335544891
	ISCTpbReservLongTlen                                = 335544892
	ISCTpbReservMissingTname                            = 335544893
	ISCTpbReservCorrupTlen                              = 335544894
	ISCTpbReservNullTlen                                = 335544895
	ISCTpbReservRelnotfound                             = 335544896
	ISCTpbReservBaserelnotfound                         = 335544897
	ISCTpbMissingLen                                    = 335544898
	ISCTpbMissingValue                                  = 335544899
	ISCTpbCorruptLen                                    = 335544900
	ISCTpbNullLen                                       = 335544901
	ISCTpbOverflowLen                                   = 335544902
	ISCTpbInvalidValue                                  = 335544903
	ISCTpbReservStrongerWng                             = 335544904
	ISCTpbReservStronger                                = 335544905
	ISCTpbReservMaxRecursion                            = 335544906
	ISCTpbReservVirtualtbl                              = 335544907
	ISCTpbReservSystbl                                  = 335544908
	ISCTpbReservTemptbl                                 = 335544909
	ISCTpbReadtxnAfterWritelock                         = 335544910
	ISCTpbWritelockAfterReadtxn                         = 335544911
	ISCTimeRangeExceeded                                = 335544912
	ISCDatetimeRangeExceeded                            = 335544913
	ISCStringTruncation                                 = 335544914
	ISCBlobTruncation                                   = 335544915
	ISCNumericOutOfRange                                = 335544916
	ISCShutdownTimeout                                  = 335544917
	ISCAttHandleBusy                                    = 335544918
	ISCBadUdfFreeit                                     = 335544919
	ISCEdsProviderNotFound                              = 335544920
	ISCEdsConnection                                    = 335544921
	ISCEdsPreprocess                                    = 335544922
	ISCEdsStmtExpected                                  = 335544923
	ISCEdsPrmNameExpected                               = 335544924
	ISCEdsUnclosedComment                               = 335544925
	ISCEdsStatement                                     = 335544926
	ISCEdsInputPrmMismatch                              = 335544927
	ISCEdsOutputPrmMismatch                             = 335544928
	ISCEdsInputPrmNotSet                                = 335544929
	ISCTooBigBlr                                        = 335544930
	ISCMontabexh                                        = 335544931
	ISCModnotfound                                      = 335544932
	ISCNothingToCancel                                  = 335544933
	ISCIbutilNotLoaded                                  = 335544934
	ISCCircularComputed                                 = 335544935
	ISCPswDbError                                       = 335544936
	ISCInvalidTypeDatetimeOp                            = 335544937
	ISCOnlycanAddTimetodate                             = 335544938
	ISCOnlycanAddDatetotime                             = 335544939
	ISCOnlycansubTstampfromtstamp                       = 335544940
	ISCOnlyoneopMustbeTstamp                            = 335544941
	ISCInvalidExtractpartTime                           = 335544942
	ISCInvalidExtractpartDate                           = 335544943
	ISCInvalidargExtract                                = 335544944
	ISCSysfArgmustbeExact                               = 335544945
	ISCSysfArgmustbeExactOrFp                           = 335544946
	ISCSysfArgviolatesUuidtype                          = 335544947
	ISCSysfArgviolatesUuidlen                           = 335544948
	ISCSysfArgviolatesUuidfmt                           = 335544949
	ISCSysfArgviolatesGuidigits                         = 335544950
	ISCSysfInvalidAddpartTime                           = 335544951
	ISCSysfInvalidAddDatetime                           = 335544952
	ISCSysfInvalidAddpartDtime                          = 335544953
	ISCSysfInvalidAddDtimeRc                            = 335544954
	ISCSysfInvalidDiffDtime                             = 335544955
	ISCSysfInvalidTimediff                              = 335544956
	ISCSysfInvalidTstamptimediff                        = 335544957
	ISCSysfInvalidDatetimediff                          = 335544958
	ISCSysfInvalidDiffpart                              = 335544959
	ISCSysfArgmustbePositive                            = 335544960
	ISCSysfBasemustbePositive                           = 335544961
	ISCSysfArgnmustbeNonneg                             = 335544962
	ISCSysfArgnmustbePositive                           = 335544963
	ISCSysfInvalidZeropowneg                            = 335544964
	ISCSysfInvalidNegpowfp                              = 335544965
	ISCSysfInvalidScale                                 = 335544966
	ISCSysfArgmustbeNonneg                              = 335544967
	ISCSysfBinuuidMustbeStr                             = 335544968
	ISCSysfBinuuidWrongsize                             = 335544969
	ISCMissingRequiredSpb                               = 335544970
	ISCNetServerShutdown                                = 335544971
	ISCBadConnStr                                       = 335544972
	ISCBadEpbForm                                       = 335544973
	ISCNoThreads                                        = 335544974
	ISCNetEventConnectTimeout                           = 335544975
	ISCSysfArgmustbeNonzero                             = 335544976
	ISCSysfArgmustbeRangeInc11                          = 335544977
	ISCSysfArgmustbeGteqOne                             = 335544978
	ISCSysfArgmustbeRangeExc11                          = 335544979
	ISCInternalRejectedParams                           = 335544980
	ISCSysfFpOverflow                                   = 335544981
	ISCUdfFpOverflow                                    = 335544982
	ISCUdfFpNan                                         = 335544983
	ISCInstanceConflict                                 = 335544984
	ISCOutOfTempSpace                                   = 335544985
	ISCEdsExplTranCtrl                                  = 335544986
	ISCNoTrustedSpb                                     = 335544987
	ISCPackageName                                      = 335544988
	ISCCannotMakeNotNull                                = 335544989
	ISCFeatureRemoved                                   = 335544990
	ISCViewName                                         = 335544991
	ISCLockDirAccess                                    = 335544992
	ISCInvalidFetchOption                               = 335544993
	ISCBadFunBLR                                        = 335544994
	ISCFuncPackNotImplemented                           = 335544995
	ISCProcPackNotImplemented                           = 335544996
	ISCEemFuncNotReturned                               = 335544997
	ISCEemProcNotReturned                               = 335544998
	ISCEemTrigNotReturned                               = 335544999
	ISCEemBadPluginVer                                  = 335545000
	ISCEemEngineNotfound                                = 335545001
	ISCAttachmentInUse                                  = 335545002
	ISCTransactionInUse                                 = 335545003
	ISCPmanCannotLoadPlugin                             = 335545004
	ISCPmanModuleNotfound                               = 335545005
	ISCPmanEntrypointNotfound                           = 335545006
	ISCPmanModuleBad                                    = 335545007
	ISCPmanPluginNotfound                               = 335545008
	ISCSysfInvalidTrigNamespace                         = 335545009
	ISCUnexpectedNull                                   = 335545010
	ISCTypeNotcompatBlob                                = 335545011
	ISCInvalidDateVal                                   = 335545012
	ISCInvalidTimeVal                                   = 335545013
	ISCInvalidTimestampVal                              = 335545014
	ISCInvalidIndexVal                                  = 335545015
	ISCFormattedException                               = 335545016
	ISCAsyncActive                                      = 335545017
	ISCPrivateFunction                                  = 335545018
	ISCPrivateProcedure                                 = 335545019
	ISCRequestOutdated                                  = 335545020
	ISCBadEventsHandle                                  = 335545021
	ISCCannotCopyStmt                                   = 335545022
	ISCInvalidBooleanUsage                              = 335545023
	ISCSysfArgscantBothBeZero                           = 335545024
	ISCSpbNoId                                          = 335545025
	ISCEeBlrMismatchNull                                = 335545026
	ISCEeBlrMismatchLength                              = 335545027
	ISCSsOutOfBounds                                    = 335545028
	ISCMissingDataStructures                            = 335545029
	ISCProtectSysTab                                    = 335545030
	ISCLibtommathGeneric                                = 335545031
	ISCWroblrver2                                       = 335545032
	ISCTruncLimits                                      = 335545033
	ISCInfoAccess                                       = 335545034
	ISCSvcNoStdin                                       = 335545035
	ISCSvcStartFailed                                   = 335545036
	ISCSvcNoSwitches                                    = 335545037
	ISCSvcBadSize                                       = 335545038
	ISCNoCryptPlugin                                    = 335545039
	ISCCpNameTooLong                                    = 335545040
	ISCCpProcessActive                                  = 335545041
	ISCCpAlreadyCrypted                                 = 335545042
	ISCDecryptError                                     = 335545043
	ISCNoProviders                                      = 335545044
	ISCNullSpb                                          = 335545045
	ISCMaxArgsExceeded                                  = 335545046
	ISCEeBlrMismatchNamesCount                          = 335545047
	ISCEeBlrMismatchNameNotFound                        = 335545048
	ISCBadResultSet                                     = 335545049
	ISCWrongMessageLength                               = 335545050
	ISCNoOutputFormat                                   = 335545051
	ISCItemFinish                                       = 335545052
	ISCMissConfig                                       = 335545053
	ISCConfLine                                         = 335545054
	ISCConfInclude                                      = 335545055
	ISCIncludeDepth                                     = 335545056
	ISCIncludeMiss                                      = 335545057
	ISCProtectOwnership                                 = 335545058
	ISCBadvarnum                                        = 335545059
	ISCSecContext                                       = 335545060
	ISCMultiSegment                                     = 335545061
	ISCLoginChanged                                     = 335545062
	ISCAuthHandshakeLimit                               = 335545063
	ISCWirecryptIncompatible                            = 335545064
	ISCMissWirecrypt                                    = 335545065
	ISCWirecryptKey                                     = 335545066
	ISCWirecryptPlugin                                  = 335545067
	ISCSecdbName                                        = 335545068
	ISCAuthData                                         = 335545069
	ISCAuthDatalength                                   = 335545070
	ISCInfoUnpreparedStmt                               = 335545071
	ISCIdxKeyValue                                      = 335545072
	ISCForupdateVirtualtbl                              = 335545073
	ISCForupdateSystbl                                  = 335545074
	ISCForupdateTemptbl                                 = 335545075
	ISCCantModifySysobj                                 = 335545076
	ISCServerMisconfigured                              = 335545077
	ISCAlterRole                                        = 335545078
	ISCMapAlreadyExists                                 = 335545079
	ISCMapNotExists                                     = 335545080
	ISCMapLoad                                          = 335545081
	ISCMapAster                                         = 335545082
	ISCMapMulti                                         = 335545083
	ISCMapUndefined                                     = 335545084
	ISCBaddpbDamagedMode                                = 335545085
	ISCBaddpbBuffersRange                               = 335545086
	ISCBaddpbTempBuffers                                = 335545087
	ISCMapNodb                                          = 335545088
	ISCMapNotable                                       = 335545089
	ISCMissTrustedRole                                  = 335545090
	ISCSetInvalidRole                                   = 335545091
	ISCCursorNotPositioned                              = 335545092
	ISCDupAttribute                                     = 335545093
	ISCDynNoPriv                                        = 335545094
	ISCDsqlCantGrantOption                              = 335545095
	ISCReadConflict                                     = 335545096
	ISCCrdbLoad                                         = 335545097
	ISCCrdbNodb                                         = 335545098
	ISCCrdbNotable                                      = 335545099
	ISCInterfaceVersionTooOld                           = 335545100
	ISCFunParamMismatch                                 = 335545101
	ISCSavepointBackoutErr                              = 335545102
	ISCDomainPrimaryKeyNotnull                          = 335545103
	ISCInvalidAttachmentCharset                         = 335545104
	ISCMapDown                                          = 335545105
	ISCLoginError                                       = 335545106
	ISCAlreadyOpened                                    = 335545107
	ISCBadCryptKey                                      = 335545108
	ISCEncryptError                                     = 335545109
	ISCMaxIdxDepth                                      = 335545110
	ISCWrongPrvlg                                       = 335545111
	ISCMissPrvlg                                        = 335545112
	ISCCryptChecksum                                    = 335545113
	ISCNotDba                                           = 335545114
	ISCNoCursor                                         = 335545115
	ISCDsqlWindowIncompatFrames                         = 335545116
	ISCDsqlWindowRangeMultiKey                          = 335545117
	ISCDsqlWindowRangeInvKeyType                        = 335545118
	ISCDsqlWindowFrameValueInvType                      = 335545119
	ISCWindowFrameValueInvalid                          = 335545120
	ISCDsqlWindowNotFound                               = 335545121
	ISCDsqlWindowCantOverrPart                          = 335545122
	ISCDsqlWindowCantOverrOrder                         = 335545123
	ISCDsqlWindowCantOverrFrame                         = 335545124
	ISCDsqlWindowDuplicate                              = 335545125
	ISCSqlTooLong                                       = 335545126
	ISCCfgStmtTimeout                                   = 335545127
	ISCAttStmtTimeout                                   = 335545128
	ISCReqStmtTimeout                                   = 335545129
	ISCAttShutKilled                                    = 335545130
	ISCAttShutIdle                                      = 335545131
	ISCAttShutDbDown                                    = 335545132
	ISCAttShutEngine                                    = 335545133
	ISCOverridingWithoutIdentity                        = 335545134
	ISCOverridingSystemInvalid                          = 335545135
	ISCOverridingUserInvalid                            = 335545136
	ISCOverridingMissing                                = 335545137
	ISCDecprecisionErr                                  = 335545138
	ISCDecfloatDivideByZero                             = 335545139
	ISCDecfloatInexactResult                            = 335545140
	ISCDecfloatInvalidOperation                         = 335545141
	ISCDecfloatOverflow                                 = 335545142
	ISCDecfloatUnderflow                                = 335545143
	ISCSubfuncNotdef                                    = 335545144
	ISCSubprocNotdef                                    = 335545145
	ISCSubfuncSignat                                    = 335545146
	ISCSubprocSignat                                    = 335545147
	ISCSubfuncDefvaldecl                                = 335545148
	ISCSubprocDefvaldecl                                = 335545149
	ISCSubfuncNotImpl                                   = 335545150
	ISCSubprocNotImpl                                   = 335545151
	ISCSysfInvalidHashAlgorithm                         = 335545152
	ISCExpressionEvalIndex                              = 335545153
	ISCInvalidDecfloatTrap                              = 335545154
	ISCInvalidDecfloatRound                             = 335545155
	ISCSysfInvalidFirstLastPart                         = 335545156
	ISCSysfInvalidDateTimestamp                         = 335545157
	ISCPrecisionErr2                                    = 335545158
	ISCBadBatchHandle                                   = 335545159
	ISCIntlChar                                         = 335545160
	ISCNullBlock                                        = 335545161
	ISCMixedInfo                                        = 335545162
	ISCUnknownInfo                                      = 335545163
	ISCBpbVersion                                       = 335545164
	ISCUserManager                                      = 335545165
	ISCIcuEntrypoint                                    = 335545166
	ISCIcuLibrary                                       = 335545167
	ISCMetadataName                                     = 335545168
	ISCTokensParse                                      = 335545169
	ISCIconvOpen                                        = 335545170
	ISCBatchComplRange                                  = 335545171
	ISCBatchComplDetail                                 = 335545172
	ISCDeflateInit                                      = 335545173
	ISCInflateInit                                      = 335545174
	ISCBigSegment                                       = 335545175
	ISCBatchPolicy                                      = 335545176
	ISCBatchDefbpb                                      = 335545177
	ISCBatchAlign                                       = 335545178
	ISCMultiSegmentDup                                  = 335545179
	ISCNonPluginProtocol                                = 335545180
	ISCMessageFormat                                    = 335545181
	ISCBatchParamVersion                                = 335545182
	ISCBatchMsgLong                                     = 335545183
	ISCBatchOpen                                        = 335545184
	ISCBatchType                                        = 335545185
	ISCBatchParam                                       = 335545186
	ISCBatchBlobs                                       = 335545187
	ISCBatchBlobAppend                                  = 335545188
	ISCBatchStreamAlign                                 = 335545189
	ISCBatchRptBlob                                     = 335545190
	ISCBatchBlobBuf                                     = 335545191
	ISCBatchSmallData                                   = 335545192
	ISCBatchContBpb                                     = 335545193
	ISCBatchBigBpb                                      = 335545194
	ISCBatchBigSegment                                  = 335545195
	ISCBatchBigSeg2                                     = 335545196
	ISCBatchBlobId                                      = 335545197
	ISCBatchTooBig                                      = 335545198
	ISCNumLiteral                                       = 335545199
	ISCMapEvent                                         = 335545200
	ISCMapOverflow                                      = 335545201
	ISCHdrOverflow                                      = 335545202
	ISCVldPlugins                                       = 335545203
	ISCDbCryptKey                                       = 335545204
	ISCNoKeyholderPlugin                                = 335545205
	ISCSesResetErr                                      = 335545206
	ISCSesResetOpenTrans                                = 335545207
	ISCSesResetWarn                                     = 335545208
	ISCSesResetTranRollback                             = 335545209
	ISCPluginName                                       = 335545210
	ISCParameterName                                    = 335545211
	ISCFileStartingPageErr                              = 335545212
	ISCInvalidTimezoneOffset                            = 335545213
	ISCInvalidTimezoneRegion                            = 335545214
	ISCInvalidTimezoneId                                = 335545215
	ISCTomDecode64len                                   = 335545216
	ISCTomStrblob                                       = 335545217
	ISCTomReg                                           = 335545218
	ISCTomAlgorithm                                     = 335545219
	ISCTomModeMiss                                      = 335545220
	ISCTomModeBad                                       = 335545221
	ISCTomNoMode                                        = 335545222
	ISCTomIvMiss                                        = 335545223
	ISCTomNoIv                                          = 335545224
	ISCTomCtrtypeBad                                    = 335545225
	ISCTomNoCtrtype                                     = 335545226
	ISCTomCtrBig                                        = 335545227
	ISCTomNoCtr                                         = 335545228
	ISCTomIvLength                                      = 335545229
	ISCTomError                                         = 335545230
	ISCTomYarrowStart                                   = 335545231
	ISCTomYarrowSetup                                   = 335545232
	ISCTomInitMode                                      = 335545233
	ISCTomCryptMode                                     = 335545234
	ISCTomDecryptMode                                   = 335545235
	ISCTomInitCip                                       = 335545236
	ISCTomCryptCip                                      = 335545237
	ISCTomDecryptCip                                    = 335545238
	ISCTomSetupCip                                      = 335545239
	ISCTomSetupChacha                                   = 335545240
	ISCTomEncode                                        = 335545241
	ISCTomDecode                                        = 335545242
	ISCTomRsaImport                                     = 335545243
	ISCTomOaep                                          = 335545244
	ISCTomHashBad                                       = 335545245
	ISCTomRsaMake                                       = 335545246
	ISCTomRsaExport                                     = 335545247
	ISCTomRsaSign                                       = 335545248
	ISCTomRsaVerify                                     = 335545249
	ISCTomChachaKey                                     = 335545250
	ISCBadReplHandle                                    = 335545251
	ISCTraSnapshotDoesNotExist                          = 335545252
	ISCEdsInputPrmNotUsed                               = 335545253
	ISCEffectiveUser                                    = 335545254
	ISCInvalidTimeZoneBind                              = 335545255
	ISCInvalidDecfloatBind                              = 335545256
	ISCOddHexLen                                        = 335545257
	ISCInvalidHexDigit                                  = 335545258
	ISCBindErr                                          = 335545259
	ISCBindStatement                                    = 335545260
	ISCBindConvert                                      = 335545261
	ISCCannotUpdateOldBlob                              = 335545262
	ISCCannotReadNewBlob                                = 335545263
	ISCDynNoCreatePriv                                  = 335545264
	ISCSuspendWithoutReturns                            = 335545265
	ISCTruncateWarn                                     = 335545266
	ISCTruncateMonitor                                  = 335545267
	ISCTruncateContext                                  = 335545268
	ISCMergeDupUpdate                                   = 335545269
	ISCWrongPage                                        = 335545270
	ISCReplError                                        = 335545271
	ISCSesResetFailed                                   = 335545272
	ISCBlockSize                                        = 335545273
	ISCTomKeyLength                                     = 335545274
	ISCInfInvalidArgs                                   = 335545275
	ISCSysfInvalidNullEmpty                             = 335545276
	ISCBadLoctabNum                                     = 335545277
	ISCQuotedStrBad                                     = 335545278
	ISCQuotedStrMiss                                    = 335545279
	ISCWrongShmemVer                                    = 335545280
	ISCWrongShmemBitness                                = 335545281
	ISCWrongProcPlan                                    = 335545282
	ISCInvalidBlobUtilHandle                            = 335545283
	ISCBadTempBlobId                                    = 335545284
	ISCOdsUpgradeErr                                    = 335545285
	ISCBadParWorkers                                    = 335545286
	ISCIdxExprNotFound                                  = 335545287
	ISCIdxCondNotFound                                  = 335545288
	ISCUninitializedVar                                 = 335545289
	ISCParamNotExist                                    = 335545290
	ISCParamNoDefaultNotSpecified                       = 335545291
	ISCParamMultipleAssignments                         = 335545292
	ISCInvalidDateFormat                                = 335545293
	ISCInvalidRawStringInDateFormat                     = 335545294
	ISCInvalidDataTypeForDateFormat                     = 335545295
	ISCIncompatibleDateFormatWithCurrentDateType        = 335545296
	ISCValueForPatternIsOutOfRange                      = 335545297
	ISCMonthNameMismatch                                = 335545298
	ISCIncorrectHoursPeriod                             = 335545299
	ISCDataForFormatIsExhausted                         = 335545300
	ISCTrailingPartOfString                             = 335545301
	ISCPatternCantBeUsedWithoutOtherPattern             = 335545302
	ISCPatternCantBeUsedWithoutOtherPatternAndViceVersa = 335545303
	ISCIncompatibleFormatPatterns                       = 335545304
	ISCOnlyOnePatternCanBeUsed                          = 335545305
	ISCCanNotUseSamePatternTwice                        = 335545306
	ISCSysfInvalidGenUuidVersion                        = 335545307
	ISCSweepUnableToRun                                 = 335545308
	ISCSweepConcurrentInstance                          = 335545309
	ISCSweepReadOnly                                    = 335545310
	ISCSweepAttachNoCleanup                             = 335545311
	ISCInvalidTimezoneRegionOrDisplacement              = 335545312
	ISCArgmustbeExactRangeFor                           = 335545313
	ISCRangeForByShouldBePositive                       = 335545314
	ISCMissingValueForFormatPattern                     = 335545315
	ISCInvalidName                                      = 335545316
	ISCInvalidUnqualifiedNameList                       = 335545317
	ISCNoUserAttWhileRestore                            = 335545318
	ISCGenseqStepmustbeNonzero                          = 335545319
	ISCArgmustbeExactFunction                           = 335545320
	ISCSysfArgmustbeRangeInc01                          = 335545321
	ISCArgmustbeNumericFunction                         = 335545322
	ISCPercetileOnlyOneSortItem                         = 335545323
	ISCArgmustbeConstWithinGroup                        = 335545324
	ISCUpdateOverwrite                                  = 335545325
	ISCPmanPluginDirname                                = 335545326

	// GFIX facility
	ISCGfixDbName         = 335740929
	ISCGfixInvalidSw      = 335740930
	ISCGfixVersion        = 335740931
	ISCGfixIncmpSw        = 335740932
	ISCGfixReplayReq      = 335740933
	ISCGfixPgbufReq       = 335740934
	ISCGfixValReq         = 335740935
	ISCGfixPvalReq        = 335740936
	ISCGfixTrnReq         = 335740937
	ISCGfixTrnAllReq      = 335740938
	ISCGfixSyncReq        = 335740939
	ISCGfixFullReq        = 335740940
	ISCGfixUsrnameReq     = 335740941
	ISCGfixPassReq        = 335740942
	ISCGfixSubsName       = 335740943
	ISCGfixWalReq         = 335740944
	ISCGfixSecReq         = 335740945
	ISCGfixNvalReq        = 335740946
	ISCGfixTypeShut       = 335740947
	ISCGfixRetry          = 335740948
	ISCGfixOpt            = 335740949
	ISCGfixQualifiers     = 335740950
	ISCGfixRetryDb        = 335740951
	ISCGfixSummary        = 335740952
	ISCGfixOptActive      = 335740953
	ISCGfixOptAttach      = 335740954
	ISCGfixOptBeginLog    = 335740955
	ISCGfixOptBuffers     = 335740956
	ISCGfixOptCommit      = 335740957
	ISCGfixOptCache       = 335740958
	ISCGfixOptDisable     = 335740959
	ISCGfixOptFull        = 335740960
	ISCGfixOptForce       = 335740961
	ISCGfixOptHousekeep   = 335740962
	ISCGfixOptIgnore      = 335740963
	ISCGfixOptKill        = 335740964
	ISCGfixOptList        = 335740965
	ISCGfixOptMend        = 335740966
	ISCGfixOptNoUpdate    = 335740967
	ISCGfixOptOnline      = 335740968
	ISCGfixOptPrompt      = 335740969
	ISCGfixOptPassword    = 335740970
	ISCGfixOptQuitLog     = 335740971
	ISCGfixOptRollback    = 335740972
	ISCGfixOptSweep       = 335740973
	ISCGfixOptShut        = 335740974
	ISCGfixOptTwoPhase    = 335740975
	ISCGfixOptTran        = 335740976
	ISCGfixOptUse         = 335740977
	ISCGfixOptUser        = 335740978
	ISCGfixOptValidate    = 335740979
	ISCGfixOptWrite       = 335740980
	ISCGfixOptX           = 335740981
	ISCGfixOptZ           = 335740982
	ISCGfixRecErr         = 335740983
	ISCGfixBlobErr        = 335740984
	ISCGfixDataErr        = 335740985
	ISCGfixIndexErr       = 335740986
	ISCGfixPointerErr     = 335740987
	ISCGfixTrnErr         = 335740988
	ISCGfixDbErr          = 335740989
	ISCGfixBadBlock       = 335740990
	ISCGfixExceedMax      = 335740991
	ISCGfixCorruptPool    = 335740992
	ISCGfixMemExhausted   = 335740993
	ISCGfixBadPool        = 335740994
	ISCGfixTrnNotValid    = 335740995
	ISCGfixDbgAttach      = 335740996
	ISCGfixDbgFailed      = 335740997
	ISCGfixDbgSuccess     = 335740998
	ISCGfixTrnLimbo       = 335740999
	ISCGfixTryAgain       = 335741000
	ISCGfixUnrecItem      = 335741001
	ISCGfixCommitViolate  = 335741002
	ISCGfixPreserve       = 335741003
	ISCGfixPartCommit     = 335741004
	ISCGfixRbackViolate   = 335741005
	ISCGfixPartCommit2    = 335741006
	ISCGfixCommitPres     = 335741007
	ISCGfixInsuffInfo     = 335741008
	ISCGfixAction         = 335741009
	ISCGfixAllPrep        = 335741010
	ISCGfixCommRback      = 335741011
	ISCGfixUnexpEoi       = 335741012
	ISCGfixAsk            = 335741013
	ISCGfixReattachFailed = 335741014
	ISCGfixOrgPath        = 335741015
	ISCGfixEnterPath      = 335741016
	ISCGfixAttUnsucc      = 335741017
	ISCGfixReconFail      = 335741018
	ISCGfixTrn2           = 335741019
	ISCGfixMdbTrn         = 335741020
	ISCGfixHostSite       = 335741021
	ISCGfixTrn            = 335741022
	ISCGfixPrepared       = 335741023
	ISCGfixCommitted      = 335741024
	ISCGfixRolledBack     = 335741025
	ISCGfixNotAvailable   = 335741026
	ISCGfixNotPrepared    = 335741027
	ISCGfixBeCommitted    = 335741028
	ISCGfixRmtSite        = 335741029
	ISCGfixDbPath         = 335741030
	ISCGfixAutoComm       = 335741031
	ISCGfixAutoRback      = 335741032
	ISCGfixWarning        = 335741033
	ISCGfixTrnWasComm     = 335741034
	ISCGfixTrnWasRback    = 335741035
	ISCGfixTrnUnknown     = 335741036
	ISCGfixOptMode        = 335741037
	ISCGfixModeReq        = 335741038
	ISCGfixOptSQLDialect  = 335741039
	ISCGfixSQLDialect     = 335741040
	ISCGfixDialectReq     = 335741041
	ISCGfixPzvalReq       = 335741042
	ISCGfixOptTrusted     = 335741043
	ISCGfixOptNolinger    = 335741049
	ISCGfixPipErr         = 335741050
	ISCGfixRecWarn        = 335741051
	ISCGfixBlobWarn       = 335741052
	ISCGfixDataWarn       = 335741053
	ISCGfixIndexWarn      = 335741054
	ISCGfixPointerWarn    = 335741055
	ISCGfixTrnWarn        = 335741056
	ISCGfixDbWarn         = 335741057
	ISCGfixPipWarn        = 335741058
	ISCGfixOptIcu         = 335741059
	ISCGfixOptRole        = 335741060
	ISCGfixRoleReq        = 335741061
	ISCGfixOptRepl        = 335741062
	ISCGfixReplModeReq    = 335741063
	ISCGfixOptParallel    = 335741064
	ISCGfixOptUpgrade     = 335741065

	// DSQL facility
	ISCDsqlDbkeyFromNonTable               = 336003074
	ISCDsqlTransitionalNumeric             = 336003075
	ISCDsqlDialectWarningExpr              = 336003076
	ISCSqlDbDialectDtypeUnsupport          = 336003077
	ISCSqlDialectConflictNum               = 336003079
	ISCDsqlWarningNumberAmbiguous          = 336003080
	ISCDsqlWarningNumberAmbiguous1         = 336003081
	ISCDsqlWarnPrecisionAmbiguous          = 336003082
	ISCDsqlWarnPrecisionAmbiguous1         = 336003083
	ISCDsqlWarnPrecisionAmbiguous2         = 336003084
	ISCDsqlAmbiguousFieldName              = 336003085
	ISCDsqlUdfReturnPosErr                 = 336003086
	ISCDsqlInvalidLabel                    = 336003087
	ISCDsqlDatatypesNotComparable          = 336003088
	ISCDsqlCursorInvalid                   = 336003089
	ISCDsqlCursorRedefined                 = 336003090
	ISCDsqlCursorNotFound                  = 336003091
	ISCDsqlCursorExists                    = 336003092
	ISCDsqlCursorRelAmbiguous              = 336003093
	ISCDsqlCursorRelNotFound               = 336003094
	ISCDsqlCursorNotOpen                   = 336003095
	ISCDsqlTypeNotSuppExtTab               = 336003096
	ISCDsqlFeatureNotSupportedOds          = 336003097
	ISCPrimaryKeyRequired                  = 336003098
	ISCUpdInsDoesntMatchPk                 = 336003099
	ISCUpdInsDoesntMatchMatching           = 336003100
	ISCUpdInsWithComplexView               = 336003101
	ISCDsqlIncompatibleTriggerType         = 336003102
	ISCDsqlDbTriggerTypeCantChange         = 336003103
	ISCDsqlRecordVersionTable              = 336003104
	ISCDsqlInvalidSqldaVersion             = 336003105
	ISCDsqlSqlvarIndex                     = 336003106
	ISCDsqlNoSqlind                        = 336003107
	ISCDsqlNoSqldata                       = 336003108
	ISCDsqlNoInputSqlda                    = 336003109
	ISCDsqlNoOutputSqlda                   = 336003110
	ISCDsqlWrongParamNum                   = 336003111
	ISCDsqlInvalidDropSsClause             = 336003112
	ISCUpdInsCannotDefault                 = 336003113
	ISCDsqlLttInvalidReference             = 336003114
	ISCDsqlUsingStatementMustContainClause = 336003115

	// DYN facility
	ISCDynFilterNotFound             = 336068645
	ISCDynFuncNotFound               = 336068649
	ISCDynIndexNotFound              = 336068656
	ISCDynViewNotFound               = 336068662
	ISCDynDomainNotFound             = 336068697
	ISCDynCantModifyAutoTrig         = 336068717
	ISCDynDupTable                   = 336068740
	ISCDynDupProcedure               = 336068743
	ISCDynProcNotFound               = 336068748
	ISCDynExceptionNotFound          = 336068752
	ISCDynProcParamNotFound          = 336068754
	ISCDynTrigNotFound               = 336068755
	ISCDynCharsetNotFound            = 336068759
	ISCDynCollationNotFound          = 336068760
	ISCDynRoleNotFound               = 336068763
	ISCDynNameLonger                 = 336068767
	ISCDynColumnDoesNotExist         = 336068784
	ISCDynRoleDoesNotExist           = 336068796
	ISCDynNoGrantAdminOpt            = 336068797
	ISCDynUserNotRoleMember          = 336068798
	ISCDynDeleteRoleFailed           = 336068799
	ISCDynGrantRoleToUser            = 336068800
	ISCDynInvSqlRoleName             = 336068801
	ISCDynDupSqlRole                 = 336068802
	ISCDynKywdSpecForRole            = 336068803
	ISCDynRolesNotSupported          = 336068804
	ISCDynDomainNameExists           = 336068812
	ISCDynFieldNameExists            = 336068813
	ISCDynDependencyExists           = 336068814
	ISCDynDtypeInvalid               = 336068815
	ISCDynCharFldTooSmall            = 336068816
	ISCDynInvalidDtypeConversion     = 336068817
	ISCDynDtypeConvInvalid           = 336068818
	ISCDynVirmemexh                  = 336068819
	ISCDynZeroLenId                  = 336068820
	ISCDelGenFail                    = 336068821
	ISCDynGenNotFound                = 336068822
	ISCMaxCollPerCharset             = 336068829
	ISCInvalidCollAttr               = 336068830
	ISCDynWrongGttScope              = 336068840
	ISCDelCollFail                   = 336068842
	ISCDynCollUsedTable              = 336068843
	ISCDynCollUsedDomain             = 336068844
	ISCDynCannotDelSyscoll           = 336068845
	ISCDynCannotDelDefColl           = 336068846
	ISCDynTableNotFound              = 336068849
	ISCDynCollUsedProcedure          = 336068851
	ISCDynScaleTooBig                = 336068852
	ISCDynPrecisionTooSmall          = 336068853
	ISCDynMissPrivWarning            = 336068855
	ISCDynOdsNotSuppFeature          = 336068856
	ISCDynCannotAddremComputed       = 336068857
	ISCDynNoEmptyPw                  = 336068858
	ISCDynDupIndex                   = 336068859
	ISCDynLocksmithUseGranted        = 336068860
	ISCDynDupException               = 336068861
	ISCDynDupGenerator               = 336068862
	ISCDynPackageNotFound            = 336068864
	ISCDynSchemaNotFound             = 336068865
	ISCDynCannotModSysproc           = 336068866
	ISCDynCannotModSystrig           = 336068867
	ISCDynCannotModSysfunc           = 336068868
	ISCDynInvalidDdlProc             = 336068869
	ISCDynInvalidDdlTrig             = 336068870
	ISCDynFuncnotdefPackage          = 336068871
	ISCDynProcnotdefPackage          = 336068872
	ISCDynFuncsignatPackage          = 336068873
	ISCDynProcsignatPackage          = 336068874
	ISCDynDefvaldeclPackageProc      = 336068875
	ISCDynDupFunction                = 336068876
	ISCDynPackageBodyExists          = 336068877
	ISCDynInvalidDdlFunc             = 336068878
	ISCDynNewfcOldsyntax             = 336068879
	ISCDynFuncParamNotFound          = 336068886
	ISCDynRoutineParamNotFound       = 336068887
	ISCDynRoutineParamAmbiguous      = 336068888
	ISCDynCollUsedFunction           = 336068889
	ISCDynDomainUsedFunction         = 336068890
	ISCDynAlterUserNoClause          = 336068891
	ISCDynDuplicatePackageItem       = 336068894
	ISCDynCantModifySysobj           = 336068895
	ISCDynCantUseZeroIncrement       = 336068896
	ISCDynCantUseInForeignkey        = 336068897
	ISCDynDefvaldeclPackageFunc      = 336068898
	ISCDynCreateUserNoPassword       = 336068899
	ISCDynCyclicRole                 = 336068900
	ISCDynCantUseZeroIncIdent        = 336068904
	ISCDynConcurAlterDatabase        = 336068905
	ISCDynIncompatAlterDatabase      = 336068906
	ISCDynNoDdlGrantOptPriv          = 336068907
	ISCDynNoGrantOptPriv             = 336068908
	ISCDynFuncNotExist               = 336068909
	ISCDynProcNotExist               = 336068910
	ISCDynPackNotExist               = 336068911
	ISCDynTrigNotExist               = 336068912
	ISCDynViewNotExist               = 336068913
	ISCDynRelNotExist                = 336068914
	ISCDynExcNotExist                = 336068915
	ISCDynGenNotExist                = 336068916
	ISCDynFldNotExist                = 336068917
	ISCDynDupTrigger                 = 336068918
	ISCDynDupDomain                  = 336068919
	ISCDynDupCollation               = 336068920
	ISCDynDupPackage                 = 336068921
	ISCDynIndexSchemaMustMatchTable  = 336068922
	ISCDynTrigSchemaMustMatchTable   = 336068923
	ISCDynDupSchema                  = 336068924
	ISCDynCannotModSystemSchema      = 336068925
	ISCDynCannotDropNonEmptyschema   = 336068926
	ISCDynCannotModObjSysSchema      = 336068927
	ISCDynCannotCreateReservedSchema = 336068928
	ISCDynCannotInferSchema          = 336068929
	ISCDynDupBlobFilter              = 336068930
	ISCDynColumnNameExists           = 336068931

	// GBAK facility
	ISCGbakUnknownSwitch            = 336330753
	ISCGbakPageSizeMissing          = 336330754
	ISCGbakPageSizeToobig           = 336330755
	ISCGbakRedirOuputMissing        = 336330756
	ISCGbakSwitchesConflict         = 336330757
	ISCGbakUnknownDevice            = 336330758
	ISCGbakNoProtection             = 336330759
	ISCGbakPageSizeNotAllowed       = 336330760
	ISCGbakMultiSourceDest          = 336330761
	ISCGbakFilenameMissing          = 336330762
	ISCGbakDupInoutNames            = 336330763
	ISCGbakInvPageSize              = 336330764
	ISCGbakDbSpecified              = 336330765
	ISCGbakDbExists                 = 336330766
	ISCGbakUnkDevice                = 336330767
	ISCGbakBlobInfoFailed           = 336330772
	ISCGbakUnkBlobItem              = 336330773
	ISCGbakGetSegFailed             = 336330774
	ISCGbakCloseBlobFailed          = 336330775
	ISCGbakOpenBlobFailed           = 336330776
	ISCGbakPutBlrGenIdFailed        = 336330777
	ISCGbakUnkType                  = 336330778
	ISCGbakCompReqFailed            = 336330779
	ISCGbakStartReqFailed           = 336330780
	ISCGbakRecFailed                = 336330781
	ISCGbakRelReqFailed             = 336330782
	ISCGbakDbInfoFailed             = 336330783
	ISCGbakNoDbDesc                 = 336330784
	ISCGbakDbCreateFailed           = 336330785
	ISCGbakDecompLenError           = 336330786
	ISCGbakTblMissing               = 336330787
	ISCGbakBlobColMissing           = 336330788
	ISCGbakCreateBlobFailed         = 336330789
	ISCGbakPutSegFailed             = 336330790
	ISCGbakRecLenExp                = 336330791
	ISCGbakInvRecLen                = 336330792
	ISCGbakExpDataType              = 336330793
	ISCGbakGenIdFailed              = 336330794
	ISCGbakUnkRecType               = 336330795
	ISCGbakInvBkupVer               = 336330796
	ISCGbakMissingBkupDesc          = 336330797
	ISCGbakStringTrunc              = 336330798
	ISCGbakCantRestRecord           = 336330799
	ISCGbakSendFailed               = 336330800
	ISCGbakNoTblName                = 336330801
	ISCGbakUnexpEof                 = 336330802
	ISCGbakDbFormatTooOld           = 336330803
	ISCGbakInvArrayDim              = 336330804
	ISCGbakXdrLenExpected           = 336330807
	ISCGbakOpenBkupError            = 336330817
	ISCGbakOpenError                = 336330818
	ISCGbakMissingBlockFac          = 336330934
	ISCGbakInvBlockFac              = 336330935
	ISCGbakBlockFacSpecified        = 336330936
	ISCGbakMissingUsername          = 336330940
	ISCGbakMissingPassword          = 336330941
	ISCGbakMissingSkippedBytes      = 336330952
	ISCGbakInvSkippedBytes          = 336330953
	ISCMsgVerboseWriteCharsets      = 336330963
	ISCMsgVerboseWriteCollations    = 336330964
	ISCGbakErrRestoreCharset        = 336330965
	ISCMsgVerboseRestoreCharset     = 336330966
	ISCGbakErrRestoreCollation      = 336330967
	ISCMsgVerboseRestoreCollation   = 336330968
	ISCGbakReadError                = 336330972
	ISCGbakWriteError               = 336330973
	ISCGbakDbInUse                  = 336330985
	ISCGbakSysmemex                 = 336330990
	ISCWriteRole1                   = 336331000
	ISCWriteRole2                   = 336331001
	ISCGbakRestoreRoleFailed        = 336331002
	ISCRestoreRole                  = 336331003
	ISCGbakRoleOp                   = 336331004
	ISCGbakRoleOpMissing            = 336331005
	ISCGbakConvertExtTables         = 336331006
	ISCGbakWarning                  = 336331007
	ISCGbakError                    = 336331008
	ISCGbakPageBuffers              = 336331009
	ISCGbakPageBuffersMissing       = 336331010
	ISCGbakPageBuffersWrongParam    = 336331011
	ISCGbakPageBuffersRestore       = 336331012
	ISCGbakInvSize                  = 336331014
	ISCGbakFileOutofSequence        = 336331015
	ISCGbakJoinFileMissing          = 336331016
	ISCGbakStdinNotSupptd           = 336331017
	ISCGbakStdoutNotSupptd          = 336331018
	ISCGbakBkupCorrupt              = 336331019
	ISCGbakUnkDbFileSpec            = 336331020
	ISCGbakHdrWriteFailed           = 336331021
	ISCGbakDiskSpaceEx              = 336331022
	ISCGbakSizeLtMin                = 336331023
	ISCGbakSvcNameMissing           = 336331025
	ISCGbakNotOwnr                  = 336331026
	ISCGbakOptMode                  = 336331030
	ISCGbakModeReq                  = 336331031
	ISCGbakJustData                 = 336331033
	ISCGbakDataOnly                 = 336331034
	ISCGbakActivatingIdx            = 336331037
	ISCWriteMap1                    = 336331048
	ISCWriteMap2                    = 336331049
	ISCGetMap1                      = 336331050
	ISCGetMap2                      = 336331051
	ISCGetMap3                      = 336331052
	ISCGetMap4                      = 336331053
	ISCGbakMissingInterval          = 336331078
	ISCGbakWrongInterval            = 336331079
	ISCGbakVerifyVerbint            = 336331081
	ISCGbakOptionOnlyRestore        = 336331082
	ISCGbakOptionOnlyBackup         = 336331083
	ISCGbakOptionConflict           = 336331084
	ISCGbakParamConflict            = 336331085
	ISCGbakOptionRepeated           = 336331086
	ISCGbakMaxDbkeyRecursion        = 336331091
	ISCGbakMaxDbkeyLength           = 336331092
	ISCGbakInvalidMetadata          = 336331093
	ISCGbakInvalidData              = 336331094
	ISCGbakInvBkupVer2              = 336331096
	ISCGbakDbFormatTooOld2          = 336331100
	ISCGbakMissingPerf              = 336331118
	ISCGbakWrongPerf                = 336331119
	ISCGbakTooLongPerf              = 336331120
	ISCGbakOptReplica               = 336331155
	ISCGbakReplicaReq               = 336331156
	ISCGbakMissingPrlWrks           = 336331159
	ISCGbakInvPrlWrks               = 336331160
	ISCGbakPluginSchemaMigration    = 336331173
	ISCGbakPluginSchemaMigrationErr = 336331174

	// SQLERR facility
	ISCDsqlTooOldOds                = 336397205
	ISCDsqlTableNotFound            = 336397206
	ISCDsqlViewNotFound             = 336397207
	ISCDsqlLineColError             = 336397208
	ISCDsqlUnknownPos               = 336397209
	ISCDsqlNoDupName                = 336397210
	ISCDsqlTooManyValues            = 336397211
	ISCDsqlNoArrayComputed          = 336397212
	ISCDsqlImplicitDomainName       = 336397213
	ISCDsqlOnlyCanSubscriptArray    = 336397214
	ISCDsqlMaxSortItems             = 336397215
	ISCDsqlMaxGroupItems            = 336397216
	ISCDsqlConflictingSortField     = 336397217
	ISCDsqlDerivedTableMoreColumns  = 336397218
	ISCDsqlDerivedTableLessColumns  = 336397219
	ISCDsqlDerivedFieldUnnamed      = 336397220
	ISCDsqlDerivedFieldDupName      = 336397221
	ISCDsqlDerivedAliasSelect       = 336397222
	ISCDsqlDerivedAliasField        = 336397223
	ISCDsqlAutoFieldBadPos          = 336397224
	ISCDsqlCteWrongReference        = 336397225
	ISCDsqlCteCycle                 = 336397226
	ISCDsqlCteOuterJoin             = 336397227
	ISCDsqlCteMultReferences        = 336397228
	ISCDsqlCteNotAUnion             = 336397229
	ISCDsqlCteNonrecursAfterRecurs  = 336397230
	ISCDsqlCteWrongClause           = 336397231
	ISCDsqlCteUnionAll              = 336397232
	ISCDsqlCteMissNonrecursive      = 336397233
	ISCDsqlCteNestedWith            = 336397234
	ISCDsqlColMoreThanOnceUsing     = 336397235
	ISCDsqlUnsuppFeatureDialect     = 336397236
	ISCDsqlCteNotUsed               = 336397237
	ISCDsqlColMoreThanOnceView      = 336397238
	ISCDsqlUnsupportedInAutoTrans   = 336397239
	ISCDsqlEvalUnknode              = 336397240
	ISCDsqlAggWrongarg              = 336397241
	ISCDsqlAgg2Wrongarg             = 336397242
	ISCDsqlNodateortimePmString     = 336397243
	ISCDsqlInvalidDatetimeSubtract  = 336397244
	ISCDsqlInvalidDateortimeAdd     = 336397245
	ISCDsqlInvalidTypeMinusDate     = 336397246
	ISCDsqlNostringAddsubDial3      = 336397247
	ISCDsqlInvalidTypeAddsubDial3   = 336397248
	ISCDsqlInvalidTypeMultipDial1   = 336397249
	ISCDsqlNostringMultipDial3      = 336397250
	ISCDsqlInvalidTypeMultipDial3   = 336397251
	ISCDsqlMustuseNumericDivDial1   = 336397252
	ISCDsqlNostringDivDial3         = 336397253
	ISCDsqlInvalidTypeDivDial3      = 336397254
	ISCDsqlNostringNegDial3         = 336397255
	ISCDsqlInvalidTypeNeg           = 336397256
	ISCDsqlMaxDistinctItems         = 336397257
	ISCDsqlAlterCharsetFailed       = 336397258
	ISCDsqlCommentOnFailed          = 336397259
	ISCDsqlCreateFuncFailed         = 336397260
	ISCDsqlAlterFuncFailed          = 336397261
	ISCDsqlCreateAlterFuncFailed    = 336397262
	ISCDsqlDropFuncFailed           = 336397263
	ISCDsqlRecreateFuncFailed       = 336397264
	ISCDsqlCreateProcFailed         = 336397265
	ISCDsqlAlterProcFailed          = 336397266
	ISCDsqlCreateAlterProcFailed    = 336397267
	ISCDsqlDropProcFailed           = 336397268
	ISCDsqlRecreateProcFailed       = 336397269
	ISCDsqlCreateTriggerFailed      = 336397270
	ISCDsqlAlterTriggerFailed       = 336397271
	ISCDsqlCreateAlterTriggerFailed = 336397272
	ISCDsqlDropTriggerFailed        = 336397273
	ISCDsqlRecreateTriggerFailed    = 336397274
	ISCDsqlCreateCollationFailed    = 336397275
	ISCDsqlDropCollationFailed      = 336397276
	ISCDsqlCreateDomainFailed       = 336397277
	ISCDsqlAlterDomainFailed        = 336397278
	ISCDsqlDropDomainFailed         = 336397279
	ISCDsqlCreateExceptFailed       = 336397280
	ISCDsqlAlterExceptFailed        = 336397281
	ISCDsqlCreateAlterExceptFailed  = 336397282
	ISCDsqlRecreateExceptFailed     = 336397283
	ISCDsqlDropExceptFailed         = 336397284
	ISCDsqlCreateSequenceFailed     = 336397285
	ISCDsqlCreateTableFailed        = 336397286
	ISCDsqlAlterTableFailed         = 336397287
	ISCDsqlDropTableFailed          = 336397288
	ISCDsqlRecreateTableFailed      = 336397289
	ISCDsqlCreatePackFailed         = 336397290
	ISCDsqlAlterPackFailed          = 336397291
	ISCDsqlCreateAlterPackFailed    = 336397292
	ISCDsqlDropPackFailed           = 336397293
	ISCDsqlRecreatePackFailed       = 336397294
	ISCDsqlCreatePackBodyFailed     = 336397295
	ISCDsqlDropPackBodyFailed       = 336397296
	ISCDsqlRecreatePackBodyFailed   = 336397297
	ISCDsqlCreateViewFailed         = 336397298
	ISCDsqlAlterViewFailed          = 336397299
	ISCDsqlCreateAlterViewFailed    = 336397300
	ISCDsqlRecreateViewFailed       = 336397301
	ISCDsqlDropViewFailed           = 336397302
	ISCDsqlDropSequenceFailed       = 336397303
	ISCDsqlRecreateSequenceFailed   = 336397304
	ISCDsqlDropIndexFailed          = 336397305
	ISCDsqlDropFilterFailed         = 336397306
	ISCDsqlDropShadowFailed         = 336397307
	ISCDsqlDropRoleFailed           = 336397308
	ISCDsqlDropUserFailed           = 336397309
	ISCDsqlCreateRoleFailed         = 336397310
	ISCDsqlAlterRoleFailed          = 336397311
	ISCDsqlAlterIndexFailed         = 336397312
	ISCDsqlAlterDatabaseFailed      = 336397313
	ISCDsqlCreateShadowFailed       = 336397314
	ISCDsqlCreateFilterFailed       = 336397315
	ISCDsqlCreateIndexFailed        = 336397316
	ISCDsqlCreateUserFailed         = 336397317
	ISCDsqlAlterUserFailed          = 336397318
	ISCDsqlGrantFailed              = 336397319
	ISCDsqlRevokeFailed             = 336397320
	ISCDsqlCteRecursiveAggregate    = 336397321
	ISCDsqlMappingFailed            = 336397322
	ISCDsqlAlterSequenceFailed      = 336397323
	ISCDsqlCreateGeneratorFailed    = 336397324
	ISCDsqlSetGeneratorFailed       = 336397325
	ISCDsqlWlockSimple              = 336397326
	ISCDsqlFirstskipRows            = 336397327
	ISCDsqlWlockAggregates          = 336397328
	ISCDsqlWlockConflict            = 336397329
	ISCDsqlMaxExceptionArguments    = 336397330
	ISCDsqlStringByteLength         = 336397331
	ISCDsqlStringCharLength         = 336397332
	ISCDsqlMaxNesting               = 336397333
	ISCDsqlRecreateUserFailed       = 336397334
	ISCDsqlTableValueManyColumns    = 336397335
	ISCDsqlCreateSchemaFailed       = 336397336
	ISCDsqlDropSchemaFailed         = 336397337
	ISCDsqlRecreateSchemaFailed     = 336397338
	ISCDsqlAlterSchemaFailed        = 336397339
	ISCDsqlCreateAlterSchemaFailed  = 336397340

	// JRD_BUGCHK facility
	ISCSavepointError             = 336527650
	ISCCacheNonZeroUseCount       = 336527661
	ISCUnexpectedPageChange       = 336527662
	ISCRdbTriggersRdbFlagsCorrupt = 336527664

	// ISQL facility
	ISCGENERR               = 336658432
	ISCUSAGE                = 336658433
	ISCSWITCH               = 336658434
	ISCNODB                 = 336658435
	ISCFILEOPENERR          = 336658436
	ISCCOMMITPROMPT         = 336658437
	ISCCOMMITMSG            = 336658438
	ISCROLLBACKMSG          = 336658439
	ISCCMDERR               = 336658440
	ISCADDPROMPT            = 336658441
	ISCVERSION              = 336658442
	ISCUSAGEALL             = 336658443
	ISCNUMBERPAGES          = 336658444
	ISCSWEEPINTERV          = 336658445
	ISCNUMWALBUFF           = 336658446
	ISCWALBUFFSIZE          = 336658447
	ISCCKPTLENGTH           = 336658448
	ISCCKPTINTERV           = 336658449
	ISCWALGRPCWAIT          = 336658450
	ISCBASELEVEL            = 336658451
	ISCLIMBO                = 336658452
	ISCHLPFRONTEND          = 336658453
	ISCHLPBLOBED            = 336658454
	ISCHLPBLOBDMP           = 336658455
	ISCHLPEDIT              = 336658456
	ISCHLPINPUT             = 336658457
	ISCHLPOUTPUT            = 336658458
	ISCHLPSHELL             = 336658459
	ISCHLPHELP              = 336658460
	ISCHLPSETCOM            = 336658461
	ISCHLPSET               = 336658462
	ISCHLPSETAUTO           = 336658463
	ISCHLPSETBLOB           = 336658464
	ISCHLPSETCOUNT          = 336658465
	ISCHLPSETECHO           = 336658466
	ISCHLPSETSTAT           = 336658467
	ISCHLPSETTERM           = 336658468
	ISCHLPSHOW              = 336658469
	ISCHLPOBJTYPE           = 336658470
	ISCHLPEXIT              = 336658471
	ISCHLPQUIT              = 336658472
	ISCHLPALL               = 336658473
	ISCHLPSETSCHEMA         = 336658474
	ISCYESANS               = 336658475
	ISCREPORT1              = 336658476
	ISCREPORT2              = 336658477
	ISCBLOBSUBTYPE          = 336658478
	ISCBLOBPROMPT           = 336658479
	ISCDATEPROMPT           = 336658480
	ISCNAMEPROMPT           = 336658481
	ISCDATEERR              = 336658482
	ISCCONPROMPT            = 336658483
	ISCHLPSETLIST           = 336658484
	ISCNOTFOUND             = 336658485
	ISCCOPYERR              = 336658486
	ISCSERVERTOOOLD         = 336658487
	ISCRECCOUNT             = 336658488
	ISCUNLICENSED           = 336658489
	ISCHLPSETWIDTH          = 336658490
	ISCHLPSETPLAN           = 336658491
	ISCHLPSETTIME           = 336658492
	ISCHLPEDIT2             = 336658493
	ISCHLPOUTPUT2           = 336658494
	ISCHLPSETNAMES          = 336658495
	ISCHLPOBJTYPE2          = 336658496
	ISCHLPSETBLOB2          = 336658497
	ISCHLPSETROOT           = 336658498
	ISCNOTABLES             = 336658499
	ISCNOTABLE              = 336658500
	ISCNOVIEWS              = 336658501
	ISCNOVIEW               = 336658502
	ISCNOINDICESONREL       = 336658503
	ISCNORELORINDEX         = 336658504
	ISCNOINDICES            = 336658505
	ISCNODOMAIN             = 336658506
	ISCNODOMAINS            = 336658507
	ISCNOEXCEPTION          = 336658508
	ISCNOEXCEPTIONS         = 336658509
	ISCNOFILTER             = 336658510
	ISCNOFILTERS            = 336658511
	ISCNOFUNCTION           = 336658512
	ISCNOFUNCTIONS          = 336658513
	ISCNOGEN                = 336658514
	ISCNOGENS               = 336658515
	ISCNOGRANTONREL         = 336658516
	ISCNOGRANTONPROC        = 336658517
	ISCNORELORPROC          = 336658518
	ISCNOPROC               = 336658519
	ISCNOPROCS              = 336658520
	ISCNOTRIGGERSONREL      = 336658521
	ISCNORELORTRIGGER       = 336658522
	ISCNOTRIGGERS           = 336658523
	ISCNOCHECKSONREL        = 336658524
	ISCREPORT2WINDOWSONLY   = 336658525
	ISCBUFFEROVERFLOW       = 336658526
	ISCNOROLES              = 336658527
	ISCNOOBJECT             = 336658528
	ISCNOGRANTONROL         = 336658529
	ISCUNEXPECTEDEOF        = 336658530
	ISCTIMEERR              = 336658533
	ISCHLPOBJTYPE3          = 336658534
	ISCNOROLE               = 336658535
	ISCUSAGEBAIL            = 336658536
	ISCHLPSETSQLDIALECT     = 336658538
	ISCNOGRANTONANY         = 336658539
	ISCHLPSETPLANONLY       = 336658540
	ISCHLPSETHEADING        = 336658541
	ISCHLPSETBAIL           = 336658542
	ISCUSAGECACHE           = 336658543
	ISCTIMEPROMPT           = 336658544
	ISCTIMESTAMPPROMPT      = 336658545
	ISCTIMESTAMPERR         = 336658546
	ISCNOCOMMENTS           = 336658547
	ISCONLYFIRSTBLOBS       = 336658548
	ISCMSGTABLES            = 336658549
	ISCMSGFUNCTIONS         = 336658550
	ISCEXACTLINE            = 336658551
	ISCAFTERLINE            = 336658552
	ISCNOTRIGGER            = 336658553
	ISCUSAGECHARSET         = 336658554
	ISCUSAGEDATABASE        = 336658555
	ISCUSAGEECHO            = 336658556
	ISCUSAGEEXTRACT         = 336658557
	ISCUSAGEINPUT           = 336658558
	ISCUSAGEMERGE           = 336658559
	ISCUSAGEMERGE2          = 336658560
	ISCUSAGENOAUTOCOMMIT    = 336658561
	ISCUSAGENOWARN          = 336658562
	ISCUSAGEOUTPUT          = 336658563
	ISCUSAGEPAGE            = 336658564
	ISCUSAGEPASSWORD        = 336658565
	ISCUSAGEQUIET           = 336658566
	ISCUSAGEROLE            = 336658567
	ISCUSAGEROLE2           = 336658568
	ISCUSAGESQLDIALECT      = 336658569
	ISCUSAGETERM            = 336658570
	ISCUSAGEUSER            = 336658571
	ISCUSAGEXTRACT          = 336658572
	ISCUSAGEVERSION         = 336658573
	ISCUSAGENOARG           = 336658574
	ISCUSAGENOTINT          = 336658575
	ISCUSAGERANGE           = 336658576
	ISCUSAGEDUPSW           = 336658577
	ISCUSAGEDUPDB           = 336658578
	ISCNODEPENDENCIES       = 336658579
	ISCNOCOLLATION          = 336658580
	ISCNOCOLLATIONS         = 336658581
	ISCMSGCOLLATIONS        = 336658582
	ISCNOSECCLASS           = 336658583
	ISCNODBWIDESECCLASS     = 336658584
	ISCCANNOTGETSRVVER      = 336658585
	ISCUSAGENODBTRIGGERS    = 336658586
	ISCUSAGETRUSTED         = 336658587
	ISCBULKPROMPT           = 336658588
	ISCNOCONNECTEDUSERS     = 336658589
	ISCUSERSINDB            = 336658590
	ISCOUTPUTTRUNCATED      = 336658591
	ISCVALIDOPTIONS         = 336658592
	ISCUSAGEFETCH           = 336658593
	ISCPASSFILEOPEN         = 336658594
	ISCPASSFILEREAD         = 336658595
	ISCEMPTYPASS            = 336658596
	ISCHLPSETMAXROWS        = 336658597
	ISCNOPACKAGE            = 336658598
	ISCNOPACKAGES           = 336658599
	ISCNOSCHEMA             = 336658600
	ISCNOSCHEMAS            = 336658601
	ISCMAXROWSINVALID       = 336658602
	ISCMAXROWSOUTOFRANGE    = 336658603
	ISCMAXROWSNEGATIVE      = 336658604
	ISCHLPSETEXPLAIN        = 336658605
	ISCNOGRANTONGEN         = 336658606
	ISCNOGRANTONXCP         = 336658607
	ISCNOGRANTONFLD         = 336658608
	ISCNOGRANTONCS          = 336658609
	ISCNOGRANTONCOLL        = 336658610
	ISCNOGRANTONPKG         = 336658611
	ISCNOGRANTONFUN         = 336658612
	ISCREPORTNEW1           = 336658613
	ISCREPORTNEW2           = 336658614
	ISCREPORTNEW3           = 336658615
	ISCNOMAP                = 336658616
	ISCNOMAPS               = 336658617
	ISCINVALIDTERMCHARS     = 336658618
	ISCRECDISPLAYCOUNT      = 336658619
	ISCCOLUMNSHIDDEN        = 336658620
	ISCHLPSETRECORDBUF      = 336658621
	ISCNUMBERUSEDPAGES      = 336658622
	ISCNUMBERFREEPAGES      = 336658623
	ISCDATABASECRYPTED      = 336658624
	ISCDATABASENOTCRYPTED   = 336658625
	ISCDATABASECRYPTPROCESS = 336658626
	ISCMSGROLES             = 336658627
	ISCNOTIMEOUTS           = 336658628
	ISCHLPSETKEEPTRAN       = 336658629
	ISCHLPSETPERTAB         = 336658630
	ISCBADSTMTTYPE          = 336658631
	ISCMSGPACKAGES          = 336658632
	ISCNOPUBLICATION        = 336658633
	ISCNOPUBLICATIONS       = 336658634
	ISCMSGPUBLICATIONS      = 336658635
	ISCMSGPROCEDURES        = 336658636
	ISCHLPEXPLAIN           = 336658637
	ISCUSAGEAUTOTERM        = 336658638
	ISCAUTOTERMNOTSUPPORTED = 336658639
	ISCHLPSETAUTOTERM       = 336658640
	ISCHLPSETWIRESTATS      = 336658641
	ISCUSAGESEARCHPATH      = 336658642
	ISCMSGSCHEMAS           = 336658643

	// GSEC facility
	ISCGsecMsg1               = 336723969
	ISCGsecMsg2               = 336723970
	ISCGsecMsg3               = 336723971
	ISCGsecMsg4               = 336723972
	ISCGsecMsg5               = 336723973
	ISCGsecMsg6               = 336723974
	ISCGsecMsg7               = 336723975
	ISCGsecMsg8               = 336723976
	ISCGsecMsg9               = 336723977
	ISCGsecMsg10              = 336723978
	ISCGsecMsg11              = 336723979
	ISCGsecMsg12              = 336723980
	ISCGsecMsg13              = 336723981
	ISCGsecMsg14              = 336723982
	ISCGsecCantOpenDb         = 336723983
	ISCGsecSwitchesError      = 336723984
	ISCGsecNoOpSpec           = 336723985
	ISCGsecNoUsrName          = 336723986
	ISCGsecErrAdd             = 336723987
	ISCGsecErrModify          = 336723988
	ISCGsecErrFindMod         = 336723989
	ISCGsecErrRecNotFound     = 336723990
	ISCGsecErrDelete          = 336723991
	ISCGsecErrFindDel         = 336723992
	ISCGsecMsg25              = 336723993
	ISCGsecMsg26              = 336723994
	ISCGsecMsg27              = 336723995
	ISCGsecErrFindDisp        = 336723996
	ISCGsecInvParam           = 336723997
	ISCGsecOpSpecified        = 336723998
	ISCGsecPwSpecified        = 336723999
	ISCGsecUidSpecified       = 336724000
	ISCGsecGidSpecified       = 336724001
	ISCGsecProjSpecified      = 336724002
	ISCGsecOrgSpecified       = 336724003
	ISCGsecFnameSpecified     = 336724004
	ISCGsecMnameSpecified     = 336724005
	ISCGsecLnameSpecified     = 336724006
	ISCGsecMsg39              = 336724007
	ISCGsecInvSwitch          = 336724008
	ISCGsecAmbSwitch          = 336724009
	ISCGsecNoOpSpecified      = 336724010
	ISCGsecParamsNotAllowed   = 336724011
	ISCGsecIncompatSwitch     = 336724012
	ISCGsecMsg45              = 336724013
	ISCGsecMsg46              = 336724014
	ISCGsecMsg47              = 336724015
	ISCGsecMsg48              = 336724016
	ISCGsecMsg49              = 336724017
	ISCGsecMsgs50             = 336724018
	ISCGsecMsg51              = 336724019
	ISCGsecMsg52              = 336724020
	ISCGsecMsg53              = 336724021
	ISCGsecMsg54              = 336724022
	ISCGsecMsg55              = 336724023
	ISCGsecMsg56              = 336724024
	ISCGsecMsg57              = 336724025
	ISCGsecMsg58              = 336724026
	ISCGsecMsg59              = 336724027
	ISCGsecMsg60              = 336724028
	ISCGsecMsg61              = 336724029
	ISCGsecMsg62              = 336724030
	ISCGsecMsg63              = 336724031
	ISCGsecMsg64              = 336724032
	ISCGsecMsg65              = 336724033
	ISCGsecMsg66              = 336724034
	ISCGsecMsg67              = 336724035
	ISCGsecMsg68              = 336724036
	ISCGsecMsg69              = 336724037
	ISCGsecMsg70              = 336724038
	ISCGsecMsg71              = 336724039
	ISCGsecMsg72              = 336724040
	ISCGsecMsg73              = 336724041
	ISCGsecInvUsername        = 336724044
	ISCGsecInvPwLength        = 336724045
	ISCGsecDbSpecified        = 336724046
	ISCGsecDbAdminSpecified   = 336724047
	ISCGsecDbAdminPwSpecified = 336724048
	ISCGsecSqlRoleSpecified   = 336724049
	ISCGsecMsg82              = 336724050
	ISCGsecMsg83              = 336724051
	ISCGsecMsg84              = 336724052
	ISCGsecMsg85              = 336724053
	ISCGsecMsg86              = 336724054
	ISCGsecMsg87              = 336724055
	ISCGsecMsg88              = 336724056
	ISCGsecMsg89              = 336724057
	ISCGsecMsg90              = 336724058
	ISCGsecMsg91              = 336724059
	ISCGsecMsg92              = 336724060
	ISCGsecMsg93              = 336724061
	ISCGsecMsg94              = 336724062
	ISCGsecMsg95              = 336724063
	ISCGsecMsg96              = 336724064
	ISCGsecMsg97              = 336724065
	ISCGsecMsg98              = 336724066
	ISCGsecMsg99              = 336724067
	ISCGsecMsg100             = 336724068
	ISCGsecMsg101             = 336724069
	ISCGsecMsg102             = 336724070
	ISCGsecMsg103             = 336724071
	ISCGsecMsg104             = 336724072

	// GSTAT facility
	ISCGstatUnknownSwitch = 336920577
	ISCGstatRetry         = 336920578
	ISCGstatWrongOds      = 336920579
	ISCGstatUnexpectedEof = 336920580
	ISCGstatOpenErr       = 336920605
	ISCGstatReadErr       = 336920606
	ISCGstatSysmemex      = 336920607
	ISCGstatUsername      = 336920608
	ISCGstatPassword      = 336920609

	// FBSVCMGR facility
	ISCFbsvcmgrBadAm         = 336986113
	ISCFbsvcmgrBadWm         = 336986114
	ISCFbsvcmgrBadRs         = 336986115
	ISCFbsvcmgrInfoErr       = 336986116
	ISCFbsvcmgrQueryErr      = 336986117
	ISCFbsvcmgrSwitchUnknown = 336986118
	ISCFbsvcmgrBadSm         = 336986159
	ISCFbsvcmgrFpOpen        = 336986160
	ISCFbsvcmgrFpRead        = 336986161
	ISCFbsvcmgrFpEmpty       = 336986162
	ISCFbsvcmgrBadArg        = 336986164
	ISCFbsvcmgrInfoLimbo     = 336986170
	ISCFbsvcmgrLimboState    = 336986171
	ISCFbsvcmgrLimboAdvise   = 336986172
	ISCFbsvcmgrBadRm         = 336986173

	// UTL facility
	ISCUtlTrustedSwitch = 337051649

	// NBACKUP facility
	ISCNbackupMissingParam       = 337117213
	ISCNbackupAllowedSwitches    = 337117214
	ISCNbackupUnknownParam       = 337117215
	ISCNbackupUnknownSwitch      = 337117216
	ISCNbackupNofetchpwSvc       = 337117217
	ISCNbackupPwfileError        = 337117218
	ISCNbackupSizeWithLock       = 337117219
	ISCNbackupNoSwitch           = 337117220
	ISCNbackupErrRead            = 337117223
	ISCNbackupErrWrite           = 337117224
	ISCNbackupErrSeek            = 337117225
	ISCNbackupErrOpendb          = 337117226
	ISCNbackupErrFadvice         = 337117227
	ISCNbackupErrCreatedb        = 337117228
	ISCNbackupErrOpenbk          = 337117229
	ISCNbackupErrCreatebk        = 337117230
	ISCNbackupErrEofdb           = 337117231
	ISCNbackupFixupWrongstate    = 337117232
	ISCNbackupErrDb              = 337117233
	ISCNbackupUserpwToolong      = 337117234
	ISCNbackupLostrecDb          = 337117235
	ISCNbackupLostguidDb         = 337117236
	ISCNbackupErrEofhdrdb        = 337117237
	ISCNbackupDbNotlock          = 337117238
	ISCNbackupLostguidBk         = 337117239
	ISCNbackupPageChanged        = 337117240
	ISCNbackupDbsizeInconsistent = 337117241
	ISCNbackupFailedLzbk         = 337117242
	ISCNbackupErrEofhdrbk        = 337117243
	ISCNbackupInvalidIncbk       = 337117244
	ISCNbackupUnsupversIncbk     = 337117245
	ISCNbackupInvlevelIncbk      = 337117246
	ISCNbackupWrongOrderbk       = 337117247
	ISCNbackupErrEofbk           = 337117248
	ISCNbackupErrCopy            = 337117249
	ISCNbackupErrEofhdrRestdb    = 337117250
	ISCNbackupLostguidL0bk       = 337117251
	ISCNbackupSwitchdParameter   = 337117255
	ISCNbackupUserStop           = 337117257
	ISCNbackupDecoParse          = 337117259
	ISCNbackupLostrecGuidDb      = 337117261
	ISCNbackupSeqMisuse          = 337117265
	ISCNbackupWrongParam         = 337117268
	ISCNbackupCleanHistMisuse    = 337117269
	ISCNbackupCleanHistMissed    = 337117270
	ISCNbackupKeepHistMissed     = 337117271
	ISCNbackupSecondKeepSwitch   = 337117272

	// FBTRACEMGR facility
	ISCTraceConflictActs        = 337182750
	ISCTraceActNotfound         = 337182751
	ISCTraceSwitchOnce          = 337182752
	ISCTraceParamValMiss        = 337182753
	ISCTraceParamInvalid        = 337182754
	ISCTraceSwitchUnknown       = 337182755
	ISCTraceSwitchSvcOnly       = 337182756
	ISCTraceSwitchUserOnly      = 337182757
	ISCTraceSwitchParamMiss     = 337182758
	ISCTraceParamActNotcompat   = 337182759
	ISCTraceMandatorySwitchMiss = 337182760
)

ISC* constants map Firebird symbol names to their numeric GDS error codes. Use with errors.As to classify *FbError values:

var fbErr *FbError
if errors.As(err, &fbErr) && slices.Contains(fbErr.GDSCodes, ISCUniqueKeyViolation) { ... }
View Source
const (
	SRP_KEY_SIZE      = 128
	SRP_SALT_SIZE     = 32
	DEBUG_PRIVATE_KEY = "60975527035CF2AD1989806F0407210BC81EDC04E2762A56AFD529DDDA2D4393"
	DEBUG_SRP         = false
)
View Source
const (
	SessionStopped = iota
	SessionRunning
	SessionPaused
)
View Source
const (
	PLUGIN_LIST       = "Srp256,Srp,Legacy_Auth"
	BUFFER_LEN        = 1024
	MAX_CHAR_LENGTH   = 32767
	BLOB_SEGMENT_SIZE = 32000
)
View Source
const (
	SQL_TYPE_TEXT         = 452
	SQL_TYPE_VARYING      = 448
	SQL_TYPE_SHORT        = 500
	SQL_TYPE_LONG         = 496
	SQL_TYPE_FLOAT        = 482
	SQL_TYPE_DOUBLE       = 480
	SQL_TYPE_D_FLOAT      = 530
	SQL_TYPE_TIMESTAMP    = 510
	SQL_TYPE_BLOB         = 520
	SQL_TYPE_ARRAY        = 540
	SQL_TYPE_QUAD         = 550
	SQL_TYPE_TIME         = 560
	SQL_TYPE_DATE         = 570
	SQL_TYPE_INT64        = 580
	SQL_TYPE_INT128       = 32752
	SQL_TYPE_TIMESTAMP_TZ = 32754
	SQL_TYPE_TIME_TZ      = 32756
	SQL_TYPE_DEC_FIXED    = 32758
	SQL_TYPE_DEC64        = 32760
	SQL_TYPE_DEC128       = 32762
	SQL_TYPE_BOOLEAN      = 32764
	SQL_TYPE_NULL         = 32766
)
View Source
const (
	EPB_version1 = 1
)

Event

View Source
const (
	// LevelReadCommittedNoWait starts a READ COMMITTED transaction with NOWAIT lock resolution.
	LevelReadCommittedNoWait = 1000
)

Driver-specific transaction isolation levels for database/sql.

database/sql doesn't have a way to express Firebird's NOWAIT/LOCK TIMEOUT, so this driver exposes a custom value for use in sql.TxOptions.Isolation.

Variables

View Source
var (
	ErrAlreadySubscribe = errors.New("already subscribe")
	ErrFbEventClosed    = errors.New("fbevent already closed")
)

Errors

View Source
var (
	ErrEventAlreadyRunning = errors.New("events are already running")
	ErrEventNeed           = errors.New("at least one event is needed")
	ErrWrongLengthEvent    = errors.New("length name events are longer than 255")
	ErrEventBufferLarge    = errors.New("whole events buffer is bigger than 65535")
)
View Source
var ErrDsnUserUnknown = errors.New("User unknown")
View Source
var ErrInvalidIsolationLevel = errors.New("invalid isolation level")

ErrInvalidIsolationLevel is returned when an unsupported isolation level is requested. This is an internal guard: normal code paths should only use supported levels.

View Source
var ErrOpSqlResponse = errors.New("Error op_sql_response")
View Source
var FirebirdVersionPattern = regexp.MustCompile(`((\w{2})-(\w)(\d+)\.(\d+)\.(\d+)\.(\d+)(?:-\S+)?) (.+)`)

Functions

func GetServiceInfoSPBPreamble added in v0.9.12

func GetServiceInfoSPBPreamble() []byte

func NewErrOpResonse

func NewErrOpResonse(opRCode int32) error

Error interface implementation

Types

type BackupManager added in v0.9.12

type BackupManager struct {
	// contains filtered or unexported fields
}

func NewBackupManager added in v0.9.12

func NewBackupManager(addr string, user string, password string, options ServiceManagerOptions) (*BackupManager, error)

func (*BackupManager) Backup added in v0.9.12

func (bm *BackupManager) Backup(database string, backup string, options BackupOptions, verbose chan string) error

func (*BackupManager) Restore added in v0.9.12

func (bm *BackupManager) Restore(backup string, database string, options RestoreOptions, verbose chan string) error

type BackupOption added in v0.9.12

type BackupOption func(*BackupOptions)

func WithBackupParallelWorkers added in v0.9.17

func WithBackupParallelWorkers(parallelWorkers int32) BackupOption

func WithConvertExternalTablesToInternalTables added in v0.9.12

func WithConvertExternalTablesToInternalTables() BackupOption

func WithExpand added in v0.9.12

func WithExpand() BackupOption

func WithGarbageCollect added in v0.9.12

func WithGarbageCollect() BackupOption

func WithIgnoreChecksums added in v0.9.12

func WithIgnoreChecksums() BackupOption

func WithIgnoreLimboTransactions added in v0.9.12

func WithIgnoreLimboTransactions() BackupOption

func WithMetadataOnly added in v0.9.12

func WithMetadataOnly() BackupOption

func WithTransportable added in v0.9.12

func WithTransportable() BackupOption

func WithZip added in v0.9.16

func WithZip() BackupOption

func WithoutBackupParallelWorkers added in v0.9.17

func WithoutBackupParallelWorkers() BackupOption

func WithoutConvertExternalTablesToInternalTables added in v0.9.12

func WithoutConvertExternalTablesToInternalTables() BackupOption

func WithoutExpand added in v0.9.12

func WithoutExpand() BackupOption

func WithoutGarbageCollect added in v0.9.12

func WithoutGarbageCollect() BackupOption

func WithoutIgnoreChecksums added in v0.9.12

func WithoutIgnoreChecksums() BackupOption

func WithoutIgnoreLimboTransactions added in v0.9.12

func WithoutIgnoreLimboTransactions() BackupOption

func WithoutMetadataOnly added in v0.9.12

func WithoutMetadataOnly() BackupOption

func WithoutTransportable added in v0.9.12

func WithoutTransportable() BackupOption

func WithoutZip added in v0.9.16

func WithoutZip() BackupOption

type BackupOptions added in v0.9.12

type BackupOptions struct {
	IgnoreChecksums                       bool
	IgnoreLimboTransactions               bool
	MetadataOnly                          bool
	GarbageCollect                        bool
	Transportable                         bool
	ConvertExternalTablesToInternalTables bool
	Expand                                bool
	Zip                                   bool
	ParallelWorkers                       int32
}

func GetDefaultBackupOptions added in v0.9.12

func GetDefaultBackupOptions() BackupOptions

func NewBackupOptions added in v0.9.12

func NewBackupOptions(opts ...BackupOption) BackupOptions

type ErrOpResponse

type ErrOpResponse struct {
	// contains filtered or unexported fields
}

ErrOpResponse operation request error

func (*ErrOpResponse) Error

func (e *ErrOpResponse) Error() string

type Event

type Event struct {
	Name     string
	Count    int
	ID       int32
	RemoteID int32
}

Event stores event data: the amount since the last time the event was received and id

type EventHandler

type EventHandler func(e Event)

EventHandler callback function type

type FbError added in v0.9.16

type FbError struct {
	GDSCodes []int      // all GDS codes from the status vector, in order
	SQLCode  int32      // Firebird SQLCODE (e.g. -803); 0 if absent
	SQLState string     // 5-char SQLSTATE (e.g. "23505"); server value if sent, else fallback
	Params   [][]string // Params[i] holds @N substitution values for GDSCodes[i]
	Warnings []int      // GDS codes that arrived as isc_arg_warning entries
	Message  string     // formatted human-readable message (params already substituted)
}

FbError is the structured error type returned by this driver for all Firebird-originated failures. All fields are populated from the wire protocol; none require a live connection to interpret.

Classification: callers inspect GDSCodes, SQLCode, or SQLState directly. This package does not publish sentinel errors or predicate helpers — those are application concerns.

Example — detect a unique-key violation:

var fbErr *firebirdsql.FbError
if errors.As(err, &fbErr) && slices.Contains(fbErr.GDSCodes, firebirdsql.ISCUniqueKeyViolation) {
    // handle duplicate key
}

func (*FbError) Error added in v0.9.16

func (e *FbError) Error() string

type FbEvent

type FbEvent struct {
	// contains filtered or unexported fields
}

FbEvent allows you to subscribe to events, also stores subscribers. It is possible to send events to the database.

func NewFBEvent

func NewFBEvent(dsns string) (*FbEvent, error)

NewFBEvent returns FbEvent for event subscription

func (*FbEvent) Close

func (e *FbEvent) Close() error

Close closes FbEvent and all subscribers

func (*FbEvent) Count

func (e *FbEvent) Count() int

Count returns the number of subscribers

func (*FbEvent) IsClosed

func (e *FbEvent) IsClosed() bool

IsClosed returns a close flag

func (*FbEvent) PostEvent

func (e *FbEvent) PostEvent(name string) error

PostEvent posts an event to the database

func (*FbEvent) Subscribe

func (e *FbEvent) Subscribe(events []string, cb EventHandler) (*Subscription, error)

Subscribe subscribe to events using the callback function

func (*FbEvent) SubscribeChan

func (e *FbEvent) SubscribeChan(events []string, chEvent chan Event) (*Subscription, error)

SubscribeChan subscribe to events using the channel

func (*FbEvent) Subscribers

func (e *FbEvent) Subscribers() []*Subscription

Subscribers returns slice of all subscribers

type FirebirdVersion added in v0.9.12

type FirebirdVersion struct {
	Platform    string
	Type        string
	Full        string
	Major       int
	Minor       int
	Patch       int
	BuildNumber int
	Raw         string
}

func ParseFirebirdVersion added in v0.9.12

func ParseFirebirdVersion(rawVersionString string) FirebirdVersion

func (FirebirdVersion) EqualOrGreater added in v0.9.12

func (v FirebirdVersion) EqualOrGreater(major int, minor int) bool

func (FirebirdVersion) EqualOrGreaterPatch added in v0.9.12

func (v FirebirdVersion) EqualOrGreaterPatch(major int, minor int, patch int) bool

type MaintenanceManager added in v0.9.12

type MaintenanceManager struct {
	// contains filtered or unexported fields
}

func NewMaintenanceManager added in v0.9.12

func NewMaintenanceManager(addr string, user string, password string, options ServiceManagerOptions) (*MaintenanceManager, error)

func (*MaintenanceManager) ActivateShadow added in v0.9.12

func (mm *MaintenanceManager) ActivateShadow(shadow string) error

func (*MaintenanceManager) CommitTransaction added in v0.9.12

func (mm *MaintenanceManager) CommitTransaction(database string, transaction int64) error

func (*MaintenanceManager) GetLimboTransactions added in v0.9.12

func (mm *MaintenanceManager) GetLimboTransactions(database string) ([]int64, error)

func (*MaintenanceManager) KillShadow added in v0.9.12

func (mm *MaintenanceManager) KillShadow(database string) error

func (*MaintenanceManager) Mend added in v0.9.12

func (mm *MaintenanceManager) Mend(database string) error

func (*MaintenanceManager) NoLinger added in v0.9.12

func (mm *MaintenanceManager) NoLinger(database string) error

func (*MaintenanceManager) Online added in v0.9.12

func (mm *MaintenanceManager) Online(database string) error

func (*MaintenanceManager) OnlineEx added in v0.9.12

func (mm *MaintenanceManager) OnlineEx(database string, operationMode OperationMode) error

func (*MaintenanceManager) RollbackTransaction added in v0.9.12

func (mm *MaintenanceManager) RollbackTransaction(database string, transaction int64) error

func (*MaintenanceManager) SetAccessModeReadOnly added in v0.9.12

func (mm *MaintenanceManager) SetAccessModeReadOnly(database string) error

func (*MaintenanceManager) SetAccessModeReadWrite added in v0.9.12

func (mm *MaintenanceManager) SetAccessModeReadWrite(database string) error

func (*MaintenanceManager) SetDialect added in v0.9.12

func (mm *MaintenanceManager) SetDialect(database string, dialect int) error

func (*MaintenanceManager) SetPageBuffers added in v0.9.12

func (mm *MaintenanceManager) SetPageBuffers(database string, pageCount int) error

func (*MaintenanceManager) SetPageFillNoReserve added in v0.9.12

func (mm *MaintenanceManager) SetPageFillNoReserve(database string) error

func (*MaintenanceManager) SetPageFillReserve added in v0.9.12

func (mm *MaintenanceManager) SetPageFillReserve(database string) error

func (*MaintenanceManager) SetReplicaMode added in v0.9.19

func (mm *MaintenanceManager) SetReplicaMode(database string, mode ReplicaMode) error

func (*MaintenanceManager) SetSweepInterval added in v0.9.12

func (mm *MaintenanceManager) SetSweepInterval(database string, transactions uint) error

func (*MaintenanceManager) SetWriteModeAsync added in v0.9.12

func (mm *MaintenanceManager) SetWriteModeAsync(database string) error

func (*MaintenanceManager) SetWriteModeSync added in v0.9.12

func (mm *MaintenanceManager) SetWriteModeSync(database string) error

func (*MaintenanceManager) Shutdown added in v0.9.12

func (mm *MaintenanceManager) Shutdown(database string, shutdownMode ShutdownMode, timeout uint) error

func (*MaintenanceManager) ShutdownEx added in v0.9.12

func (mm *MaintenanceManager) ShutdownEx(database string, operationMode OperationMode, shutdownModeEx ShutdownModeEx, timeout uint) error

func (*MaintenanceManager) Sweep added in v0.9.12

func (mm *MaintenanceManager) Sweep(database string) error

func (*MaintenanceManager) Validate added in v0.9.12

func (mm *MaintenanceManager) Validate(database string, options int) error

type NBackupManager added in v0.9.12

type NBackupManager struct {
	// contains filtered or unexported fields
}

func NewNBackupManager added in v0.9.12

func NewNBackupManager(addr string, user string, password string, options ServiceManagerOptions) (*NBackupManager, error)

func (*NBackupManager) Backup added in v0.9.12

func (bm *NBackupManager) Backup(database string, backup string, options NBackupOptions, verbose chan string) error

func (*NBackupManager) Fixup added in v0.9.12

func (bm *NBackupManager) Fixup(database string, options NBackupOptions, verbose chan string) error

func (*NBackupManager) Restore added in v0.9.12

func (bm *NBackupManager) Restore(backups []string, database string, options NBackupOptions, verbose chan string) error

type NBackupOption added in v0.9.12

type NBackupOption func(*NBackupOptions)

func WithDBTriggers added in v0.9.12

func WithDBTriggers() NBackupOption

func WithGuid added in v0.9.12

func WithGuid(guid string) NBackupOption

func WithInPlaceRestore added in v0.9.12

func WithInPlaceRestore() NBackupOption

func WithLevel added in v0.9.12

func WithLevel(level int) NBackupOption

func WithPlaceRestore added in v0.9.12

func WithPlaceRestore() NBackupOption

func WithPreserveSequence added in v0.9.12

func WithPreserveSequence() NBackupOption

func WithoutDBTriggers added in v0.9.12

func WithoutDBTriggers() NBackupOption

func WithoutPreserveSequence added in v0.9.12

func WithoutPreserveSequence() NBackupOption

type NBackupOptions added in v0.9.12

type NBackupOptions struct {
	Level            int32
	Guid             string
	NoDBTriggers     bool
	InPlaceRestore   bool
	PreserveSequence bool
}

func GetDefaultNBackupOptions added in v0.9.12

func GetDefaultNBackupOptions() NBackupOptions

func NewNBackupOptions added in v0.9.12

func NewNBackupOptions(opts ...NBackupOption) NBackupOptions

func (NBackupOptions) GetOptionsMask added in v0.9.12

func (o NBackupOptions) GetOptionsMask() int32

type OperationMode added in v0.9.12

type OperationMode byte
const (
	OperationModeNormal OperationMode = isc_spb_prp_sm_normal
	OperationModeMulti  OperationMode = isc_spb_prp_sm_multi
	OperationModeSingle OperationMode = isc_spb_prp_sm_single
	OperationModeFull   OperationMode = isc_spb_prp_sm_full
)

type ReplicaMode added in v0.9.19

type ReplicaMode byte
const (
	ReplicaModeNone      ReplicaMode = isc_spb_prp_rm_none
	ReplicaModeReadOnly  ReplicaMode = isc_spb_prp_rm_readonly
	ReplicaModeReadWrite ReplicaMode = isc_spb_prp_rm_readwrite
)

type RestoreOption added in v0.9.12

type RestoreOption func(*RestoreOptions)

func WithCacheBuffers added in v0.9.12

func WithCacheBuffers(cacheBuffers int32) RestoreOption

func WithCommitAfterEachTable added in v0.9.12

func WithCommitAfterEachTable() RestoreOption

func WithDeactivateIndexes added in v0.9.12

func WithDeactivateIndexes() RestoreOption

func WithEnforceConstraints added in v0.9.12

func WithEnforceConstraints() RestoreOption

func WithPageSize added in v0.9.12

func WithPageSize(pageSize int32) RestoreOption

func WithReplace added in v0.9.12

func WithReplace() RestoreOption

func WithRestoreParallelWorkers added in v0.9.17

func WithRestoreParallelWorkers(parallelWorkers int32) RestoreOption

func WithRestoreShadows added in v0.9.12

func WithRestoreShadows() RestoreOption

func WithUseAllPageSpace added in v0.9.12

func WithUseAllPageSpace() RestoreOption

func WithoutCommitAfterEachTable added in v0.9.12

func WithoutCommitAfterEachTable() RestoreOption

func WithoutEnforceConstraints added in v0.9.12

func WithoutEnforceConstraints() RestoreOption

func WithoutReplace added in v0.9.12

func WithoutReplace() RestoreOption

func WithoutRestoreParallelWorkers added in v0.9.17

func WithoutRestoreParallelWorkers() RestoreOption

func WithoutRestoreShadows added in v0.9.12

func WithoutRestoreShadows() RestoreOption

func WithoutUseAllPageSpace added in v0.9.12

func WithoutUseAllPageSpace() RestoreOption

type RestoreOptions added in v0.9.12

type RestoreOptions struct {
	Replace              bool
	DeactivateIndexes    bool
	RestoreShadows       bool
	EnforceConstraints   bool
	CommitAfterEachTable bool
	UseAllPageSpace      bool
	PageSize             int32
	CacheBuffers         int32
	ParallelWorkers      int32
}

func GetDefaultRestoreOptions added in v0.9.12

func GetDefaultRestoreOptions() RestoreOptions

func NewRestoreOptions added in v0.9.12

func NewRestoreOptions(opts ...RestoreOption) RestoreOptions

type ServiceManager added in v0.9.12

type ServiceManager struct {
	// contains filtered or unexported fields
}

func NewServiceManager added in v0.9.12

func NewServiceManager(addr string, user string, password string, options ServiceManagerOptions) (*ServiceManager, error)

func (*ServiceManager) Close added in v0.9.12

func (svc *ServiceManager) Close() (err error)

func (*ServiceManager) GetArchitecture added in v0.9.12

func (svc *ServiceManager) GetArchitecture() (string, error)

func (*ServiceManager) GetDbStats added in v0.9.12

func (svc *ServiceManager) GetDbStats(database string, options StatisticsOptions, result chan string) error

func (*ServiceManager) GetDbStatsString added in v0.9.12

func (svc *ServiceManager) GetDbStatsString(database string, options StatisticsOptions) (string, error)

func (*ServiceManager) GetFbLog added in v0.9.12

func (svc *ServiceManager) GetFbLog(result chan string) error

func (*ServiceManager) GetFbLogString added in v0.9.12

func (svc *ServiceManager) GetFbLogString() (string, error)

func (*ServiceManager) GetHomeDir added in v0.9.12

func (svc *ServiceManager) GetHomeDir() (string, error)

func (*ServiceManager) GetLockFileDir added in v0.9.12

func (svc *ServiceManager) GetLockFileDir() (string, error)

func (*ServiceManager) GetMsgFileDir added in v0.9.12

func (svc *ServiceManager) GetMsgFileDir() (string, error)

func (*ServiceManager) GetSecurityDatabasePath added in v0.9.12

func (svc *ServiceManager) GetSecurityDatabasePath() (string, error)

func (*ServiceManager) GetServerVersion added in v0.9.12

func (svc *ServiceManager) GetServerVersion() (FirebirdVersion, error)

func (*ServiceManager) GetServerVersionString added in v0.9.12

func (svc *ServiceManager) GetServerVersionString() (string, error)

func (*ServiceManager) GetServiceInfo added in v0.9.12

func (svc *ServiceManager) GetServiceInfo(spb []byte, srb []byte, bufferLength int32) ([]byte, error)

func (*ServiceManager) GetServiceInfoInt added in v0.9.12

func (svc *ServiceManager) GetServiceInfoInt(item byte) (int16, error)

func (*ServiceManager) GetServiceInfoString added in v0.9.12

func (svc *ServiceManager) GetServiceInfoString(item byte) (string, error)

func (*ServiceManager) GetString added in v0.9.12

func (svc *ServiceManager) GetString() (result string, end bool, err error)

func (*ServiceManager) GetSvrDbInfo added in v0.9.12

func (svc *ServiceManager) GetSvrDbInfo() (*SrvDbInfo, error)

func (*ServiceManager) IsRunning added in v0.9.12

func (svc *ServiceManager) IsRunning() (bool, error)

func (*ServiceManager) ServiceAttach added in v0.9.12

func (svc *ServiceManager) ServiceAttach(spb []byte, verbose chan string) error

func (*ServiceManager) ServiceAttachBuffer added in v0.9.12

func (svc *ServiceManager) ServiceAttachBuffer(spb []byte, verbose chan []byte) error

func (*ServiceManager) ServiceStart added in v0.9.12

func (svc *ServiceManager) ServiceStart(spb []byte) error

func (*ServiceManager) Wait added in v0.9.12

func (svc *ServiceManager) Wait() error

func (*ServiceManager) WaitBuffer added in v0.9.12

func (svc *ServiceManager) WaitBuffer(stream chan []byte) error

func (*ServiceManager) WaitString added in v0.9.12

func (svc *ServiceManager) WaitString() (string, error)

func (*ServiceManager) WaitStrings added in v0.9.12

func (svc *ServiceManager) WaitStrings(result chan string) error

type ServiceManagerOption added in v0.9.12

type ServiceManagerOption func(*ServiceManagerOptions)

func WithAuthPlugin added in v0.9.12

func WithAuthPlugin(authPlugin string) ServiceManagerOption

func WithWireCrypt added in v0.9.12

func WithWireCrypt() ServiceManagerOption

func WithoutWireCrypt added in v0.9.12

func WithoutWireCrypt() ServiceManagerOption

type ServiceManagerOptions added in v0.9.12

type ServiceManagerOptions struct {
	WireCrypt  bool
	AuthPlugin string
}

func GetDefaultServiceManagerOptions added in v0.9.12

func GetDefaultServiceManagerOptions() ServiceManagerOptions

func NewServiceManagerOptions added in v0.9.12

func NewServiceManagerOptions(opts ...ServiceManagerOption) ServiceManagerOptions

func (ServiceManagerOptions) WithAuthPlugin added in v0.9.12

func (sm ServiceManagerOptions) WithAuthPlugin(authPlugin string) ServiceManagerOptions

func (ServiceManagerOptions) WithWireCrypt added in v0.9.12

func (sm ServiceManagerOptions) WithWireCrypt() ServiceManagerOptions

func (ServiceManagerOptions) WithoutWireCrypt added in v0.9.12

func (sm ServiceManagerOptions) WithoutWireCrypt() ServiceManagerOptions

type ShutdownMode added in v0.9.12

type ShutdownMode byte
const (
	//ShutdownModeForce Wait for N seconds then shutdown
	ShutdownModeForce ShutdownMode = isc_spb_prp_shutdown_db
	//ShutdownModeDenyNewAttachments Disable new attachments for N seconds then shutdown
	ShutdownModeDenyNewAttachments ShutdownMode = isc_spb_prp_deny_new_attachments
	//ShutdownModeDenyNewTransactions Disable new transactions for N seconds then shutdown
	ShutdownModeDenyNewTransactions ShutdownMode = isc_spb_prp_deny_new_transactions
)

type ShutdownModeEx added in v0.9.12

type ShutdownModeEx byte
const (
	//ShutdownModeExForce Wait for N seconds then shutdown
	ShutdownModeExForce ShutdownModeEx = isc_spb_prp_force_shutdown
	//ShutdownModeExDenyNewAttachments Disable new attachments for N seconds then shutdown
	ShutdownModeExDenyNewAttachments ShutdownModeEx = isc_spb_prp_attachments_shutdown
	//ShutdownModeExDenyNewTransactions Disable new transactions for N seconds then shutdown
	ShutdownModeExDenyNewTransactions ShutdownModeEx = isc_spb_prp_transactions_shutdown
)

type SrvDbInfo added in v0.9.12

type SrvDbInfo struct {
	AttachmentsCount int
	DatabaseCount    int
	Databases        []string
}

type StatisticsOption added in v0.9.12

type StatisticsOption func(*StatisticsOptions)

func WithOnlyHeaderPages added in v0.9.12

func WithOnlyHeaderPages() StatisticsOption

func WithRecordVersions added in v0.9.12

func WithRecordVersions() StatisticsOption

func WithSystemRelationsAndIndexes added in v0.9.12

func WithSystemRelationsAndIndexes() StatisticsOption

func WithTables added in v0.9.12

func WithTables(tables []string) StatisticsOption

func WithUserDataPages added in v0.9.12

func WithUserDataPages() StatisticsOption

func WithUserIndexPages added in v0.9.12

func WithUserIndexPages() StatisticsOption

func WithoutIndexPages added in v0.9.12

func WithoutIndexPages() StatisticsOption

func WithoutOnlyHeaderPages added in v0.9.12

func WithoutOnlyHeaderPages() StatisticsOption

func WithoutRecordVersions added in v0.9.12

func WithoutRecordVersions() StatisticsOption

func WithoutSystemRelationsAndIndexes added in v0.9.12

func WithoutSystemRelationsAndIndexes() StatisticsOption

func WithoutUserDataPages added in v0.9.12

func WithoutUserDataPages() StatisticsOption

type StatisticsOptions added in v0.9.12

type StatisticsOptions struct {
	UserDataPages             bool
	UserIndexPages            bool
	OnlyHeaderPages           bool
	SystemRelationsAndIndexes bool
	RecordVersions            bool
	Tables                    []string
}

func GetDefaultStatisticsOptions added in v0.9.12

func GetDefaultStatisticsOptions() StatisticsOptions

func NewStatisticsOptions added in v0.9.12

func NewStatisticsOptions(opts ...StatisticsOption) StatisticsOptions

type Subscription

type Subscription struct {
	// contains filtered or unexported fields
}

func (*Subscription) Close

func (s *Subscription) Close() error

func (*Subscription) IsClose

func (s *Subscription) IsClose() bool

func (*Subscription) NotifyClose

func (s *Subscription) NotifyClose(receiver chan error)

func (*Subscription) Unsubscribe

func (s *Subscription) Unsubscribe() error

type TraceManager added in v0.9.12

type TraceManager struct {
	// contains filtered or unexported fields
}

func NewTraceManager added in v0.9.12

func NewTraceManager(addr string, user string, password string, options ServiceManagerOptions) (*TraceManager, error)

func (*TraceManager) List added in v0.9.12

func (t *TraceManager) List() (string, error)

func (*TraceManager) Start added in v0.9.12

func (t *TraceManager) Start(config string) (*TraceSession, error)

func (*TraceManager) StartWithName added in v0.9.12

func (t *TraceManager) StartWithName(name string, config string) (*TraceSession, error)

type TraceSession added in v0.9.12

type TraceSession struct {
	// contains filtered or unexported fields
}

func (*TraceSession) Close added in v0.9.12

func (ts *TraceSession) Close() (err error)

func (*TraceSession) Pause added in v0.9.12

func (ts *TraceSession) Pause() (err error)

func (*TraceSession) Resume added in v0.9.12

func (ts *TraceSession) Resume() (err error)

func (*TraceSession) Stop added in v0.9.12

func (ts *TraceSession) Stop() (err error)

func (*TraceSession) Wait added in v0.9.12

func (ts *TraceSession) Wait() (err error)

func (*TraceSession) WaitStrings added in v0.9.12

func (ts *TraceSession) WaitStrings(result chan string) (err error)

type User added in v0.9.12

type User struct {
	Username   *string
	Password   *string
	FirstName  *string
	MiddleName *string
	LastName   *string
	UserId     int32
	GroupId    int32
	Admin      *bool
}

func NewUser added in v0.9.12

func NewUser(opts ...UserOption) User

func (*User) GetSpb added in v0.9.12

func (u *User) GetSpb() []byte

type UserManager added in v0.9.12

type UserManager struct {
	// contains filtered or unexported fields
}

func NewUserManager added in v0.9.12

func NewUserManager(addr string, user string, password string, smo ServiceManagerOptions, umo UserManagerOptions) (*UserManager, error)

func (*UserManager) AddUser added in v0.9.12

func (um *UserManager) AddUser(user User) error

func (*UserManager) Close added in v0.9.12

func (um *UserManager) Close() error

func (*UserManager) DeleteUser added in v0.9.12

func (um *UserManager) DeleteUser(user User) error

func (*UserManager) DropAdminRoleMapping added in v0.9.12

func (um *UserManager) DropAdminRoleMapping() error

func (*UserManager) GetUsers added in v0.9.12

func (um *UserManager) GetUsers() ([]User, error)

func (*UserManager) ModifyUser added in v0.9.12

func (um *UserManager) ModifyUser(user User) error

func (*UserManager) SetAdminRoleMapping added in v0.9.12

func (um *UserManager) SetAdminRoleMapping() error

type UserManagerOption added in v0.9.12

type UserManagerOption func(*UserManagerOptions)

func WithSecurityDB added in v0.9.12

func WithSecurityDB(securityDB string) UserManagerOption

type UserManagerOptions added in v0.9.12

type UserManagerOptions struct {
	SecurityDB string
}

func GetDefaultUserManagerOptions added in v0.9.12

func GetDefaultUserManagerOptions() UserManagerOptions

func NewUserManagerOptions added in v0.9.12

func NewUserManagerOptions(opts ...UserManagerOption) UserManagerOptions

type UserOption added in v0.9.12

type UserOption func(*User)

func WithAdmin added in v0.9.12

func WithAdmin() UserOption

func WithFirstName added in v0.9.12

func WithFirstName(firstname string) UserOption

func WithGroupId added in v0.9.12

func WithGroupId(groupId int32) UserOption

func WithLastName added in v0.9.12

func WithLastName(lastname string) UserOption

func WithMiddleName added in v0.9.12

func WithMiddleName(middlename string) UserOption

func WithPassword added in v0.9.12

func WithPassword(password string) UserOption

func WithUserId added in v0.9.12

func WithUserId(userId int32) UserOption

func WithUsername added in v0.9.12

func WithUsername(username string) UserOption

func WithoutAdmin added in v0.9.12

func WithoutAdmin() UserOption

type XPBReader added in v0.9.12

type XPBReader struct {
	// contains filtered or unexported fields
}

func NewXPBReader added in v0.9.12

func NewXPBReader(buf []byte) *XPBReader

func (*XPBReader) End added in v0.9.12

func (pb *XPBReader) End() bool

func (*XPBReader) Get added in v0.9.12

func (pb *XPBReader) Get() byte

func (*XPBReader) GetInt16 added in v0.9.12

func (pb *XPBReader) GetInt16() int16

func (*XPBReader) GetInt32 added in v0.9.12

func (pb *XPBReader) GetInt32() int32

func (*XPBReader) GetInt64 added in v0.9.12

func (pb *XPBReader) GetInt64() int64

func (*XPBReader) GetString added in v0.9.12

func (pb *XPBReader) GetString() string

func (*XPBReader) Next added in v0.9.12

func (pb *XPBReader) Next() (have bool, value byte)

func (*XPBReader) Reset added in v0.9.12

func (pb *XPBReader) Reset()

func (*XPBReader) Skip added in v0.9.12

func (pb *XPBReader) Skip(count int)

type XPBWriter added in v0.9.12

type XPBWriter struct {
	// contains filtered or unexported fields
}

func NewXPBWriter added in v0.9.12

func NewXPBWriter() *XPBWriter

func NewXPBWriterFromBytes added in v0.9.12

func NewXPBWriterFromBytes(bytes []byte) *XPBWriter

func NewXPBWriterFromTag added in v0.9.12

func NewXPBWriterFromTag(tag byte) *XPBWriter

func (*XPBWriter) Bytes added in v0.9.12

func (pb *XPBWriter) Bytes() []byte

func (*XPBWriter) PutByte added in v0.9.12

func (pb *XPBWriter) PutByte(tag byte, val byte) *XPBWriter

func (*XPBWriter) PutBytes added in v0.9.12

func (pb *XPBWriter) PutBytes(bytes []byte) *XPBWriter

func (*XPBWriter) PutInt16 added in v0.9.12

func (pb *XPBWriter) PutInt16(tag byte, val int16) *XPBWriter

func (*XPBWriter) PutInt32 added in v0.9.12

func (pb *XPBWriter) PutInt32(tag byte, val int32) *XPBWriter

func (*XPBWriter) PutInt64 added in v0.9.12

func (pb *XPBWriter) PutInt64(tag byte, val int64) *XPBWriter

func (*XPBWriter) PutString added in v0.9.12

func (pb *XPBWriter) PutString(tag byte, val string) *XPBWriter

func (*XPBWriter) PutTag added in v0.9.12

func (pb *XPBWriter) PutTag(tag byte) *XPBWriter

func (*XPBWriter) Reset added in v0.9.12

func (pb *XPBWriter) Reset() *XPBWriter

Directories

Path Synopsis
_attic
errormsgs command
Generator for errmsgs.go, fberrcode.go, sqlstate_map.go, sqlcode_map.go.
Generator for errmsgs.go, fberrcode.go, sqlstate_map.go, sqlcode_map.go.
timezonemap command
Generator for timezonemap.go.
Generator for timezonemap.go.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL