mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Add support for temporary replication slots
This allows creating temporary replication slots that are removed automatically at the end of the session or on error. From: Petr Jelinek <petr.jelinek@2ndquadrant.com>
This commit is contained in:
@ -702,7 +702,7 @@ SELECT pg_drop_replication_slot('regression_slot');
|
||||
|
||||
/* check that the slot is gone */
|
||||
SELECT * FROM pg_replication_slots;
|
||||
slot_name | plugin | slot_type | datoid | database | active | active_pid | xmin | catalog_xmin | restart_lsn | confirmed_flush_lsn
|
||||
-----------+--------+-----------+--------+----------+--------+------------+------+--------------+-------------+---------------------
|
||||
slot_name | plugin | slot_type | datoid | database | temporary | active | active_pid | xmin | catalog_xmin | restart_lsn | confirmed_flush_lsn
|
||||
-----------+--------+-----------+--------+----------+-----------+--------+------------+------+--------------+-------------+---------------------
|
||||
(0 rows)
|
||||
|
||||
|
Reference in New Issue
Block a user