Bucardo/tables/bucardo.db

From Bucardo

Jump to: navigation, search

Table: bucardo.db

Holds information about each database used in replication
ColumnTypeNotes
name TEXT NOT NULL; this is the name Bucardo will use to refer to this database, not necessarily the database's actual name
dbhost TEXT NOT NULL DEFAULT ''
dbport TEXT NOT NULL DEFAULT 5432
dbname TEXT NOT NULL
dbuser TEXT NOT NULL
dbpass TEXT NULL
dbconn TEXT NOT NULL DEFAULT ''; contains connection parameters, such as "sslmode=require"
dbservice TEXT NULL
pgpass TEXT NULL
status TEXT NOT NULL DEFAULT 'active'
sourcelimit SMALLINT NOT NULL DEFAULT 0
targetlimit SMALLINT NOT NULL DEFAULT 0
server_side_prepares BOOLEAN NOT NULL DEFAULT 'true'
makedelta ONOFF NOT NULL DEFAULT 'off'
cdate TIMESTAMPTZ NOT NULL DEFAULT now()
ConstraintDefinition
db_name_pkPRIMARY KEY (name)
db_statusCHECK (status IN ('active','inactive'))
db_makedeltaCHECK (makedelta <> 'inherit')
IndexUnique?Definition
db_dsn_uniqueYes(dbhost,dbport,dbname,dbuser) WHERE NOT name ~ '^bctest'
Personal tools