VY
Size: a a a
VY
am
am
VY
CREATE TABLE a(a_id int CONSTRAINT p_a PRIMARY KEY, a_name text UNIQUE, a_created timestamptz);
CREATE TABLE b(b_id int CONSTRAINT p_b PRIMARY KEY, b_name text UNIQUE, a_id int REFERENCES a);
INSERT INTO a VALUES (1, 'One', (now()-INTERVAL '3 days')), (2, 'Two', now());
INSERT INTO b VALUES (1, 'Eins', 1), (2,'Zwei',2);
all sessions within transactionсмотрите на вывод скрипта из #3
S1: INSERT INTO a VALUES (3, 'Three', now());
S1: UPDATE b SET b_name='A One' WHERE b_id=1;
S2: INSERT INTO a VALUES (3, 'Drei', now()); -- transactionid
S3: UPDATE b SET b_name='The One' WHERE b_id=1; -- transactionid
S4: DELETE FROM a WHERE a_id=1; -- tuple
S5: ALTER TABLE a DROP CONSTRAINT p_a; -- relation
S6: DROP TABLE b; -- relation
R
create database football with owner = postgres encoding = 'UTF8' connection limit = -1
create table football.public.league (id integer not null generated always as identity,
name character varying(64) not null,
primary key (id))
with (oids = false);
alter table football.public.league owner to postgresМШ
o
SP
S

SP

S
SE

SE
VY
int8 / numericSP
int8 / numericVY
int8 == bigintSE

S
SE
S