Files
qfixdpl/quickfix/_sql/postgresql/sessions_table.sql
2026-03-09 15:35:32 -03:00

15 lines
590 B
SQL

CREATE TABLE sessions (
beginstring CHAR(8) NOT NULL,
sendercompid VARCHAR(64) NOT NULL,
sendersubid VARCHAR(64) NOT NULL,
senderlocid VARCHAR(64) NOT NULL,
targetcompid VARCHAR(64) NOT NULL,
targetsubid VARCHAR(64) NOT NULL,
targetlocid VARCHAR(64) NOT NULL,
session_qualifier VARCHAR(64) NOT NULL,
creation_time TIMESTAMP WITH TIME ZONE NOT NULL,
incoming_seqnum INTEGER NOT NULL,
outgoing_seqnum INTEGER NOT NULL,
PRIMARY KEY (beginstring, sendercompid, sendersubid, senderlocid,
targetcompid, targetsubid, targetlocid, session_qualifier)
);