public inbox for [email protected]  
help / color / mirror / Atom feed
Synchronize the dump with a logical slot with --snapshot
2+ messages / 1 participants
[nested] [flat]

* Synchronize the dump with a logical slot with --snapshot
@ 2024-09-19 19:57  Durgamahesh Manne <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Durgamahesh Manne @ 2024-09-19 19:57 UTC (permalink / raw)
  To: [email protected]; [email protected]

Hi Team

--snapshot=*snapshotname*

(Use the specified synchronized snapshot when making a dump of the database

This option is useful when needing to synchronize the dump with a logical
replication slot) as per the pgdg

How do we synchronize the dump with a logical replication slot
with --snapshot?

I am using the postgresql 14 version which supports only
pg_create_logical_replication_slot. How to generate a snapshot with it ?

Below CREATE_REPLICAION_SLOT not supported by postgresql 14

example osdb_lsr=# CREATE_REPLICATION_SLOT lsr_sync_01 LOGICAL pgoutput;
  slot_name  | consistent_point |    snapshot_name    | output_plugin
-------------+------------------+---------------------+---------------
 lsr_sync_01 | 0/C000110        | 00000003-00000002-1 | pgoutput

Regards,

Durga Mahesh


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Synchronize the dump with a logical slot with --snapshot
@ 2024-09-25 20:53  Durgamahesh Manne <[email protected]>
  parent: Durgamahesh Manne <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Durgamahesh Manne @ 2024-09-25 20:53 UTC (permalink / raw)
  To: [email protected]; [email protected]; Greg Sabino Mullane <[email protected]>; Koichi Suzuki <[email protected]>

Hi Team

--snapshot=snapshotname
(Use the specified synchronized snapshot when making a dump of the database

This option is useful when needing to synchronize the dump with a logical
replication slot) as per the pgdg

How do we synchronize the dump with a logical replication slot with
--snapshot?

I am using the postgresql 14 version which supports only
pg_create_logical_replication_slot. How to generate a internal snapshot
with it ?

Below CREATE_REPLICAION_SLOT not supported by postgresql 14

example osdb_lsr=# CREATE_REPLICATION_SLOT lsr_sync_01 LOGICAL pgoutput;
  slot_name | consistent_point | snapshot_name | output_plugin
-------------+------------------+---------------------+---------------
 lsr_sync_01 | 0/C000110 | 00000003-00000002-1 | pgoutput

Regards,

Durga Mahesh



On Fri, 20 Sept, 2024, 01:27 Durgamahesh Manne, <[email protected]>
wrote:

> Hi Team
>
> --snapshot=*snapshotname*
>
> (Use the specified synchronized snapshot when making a dump of the database
>
> This option is useful when needing to synchronize the dump with a logical
> replication slot) as per the pgdg
>
> How do we synchronize the dump with a logical replication slot
> with --snapshot?
>
> I am using the postgresql 14 version which supports only
> pg_create_logical_replication_slot. How to generate a snapshot with it ?
>
> Below CREATE_REPLICAION_SLOT not supported by postgresql 14
>
> example osdb_lsr=# CREATE_REPLICATION_SLOT lsr_sync_01 LOGICAL pgoutput;
>   slot_name  | consistent_point |    snapshot_name    | output_plugin
> -------------+------------------+---------------------+---------------
>  lsr_sync_01 | 0/C000110        | 00000003-00000002-1 | pgoutput
>
> Regards,
>
> Durga Mahesh
>


^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2024-09-25 20:53 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-09-19 19:57 Synchronize the dump with a logical slot with --snapshot Durgamahesh Manne <[email protected]>
2024-09-25 20:53 ` Durgamahesh Manne <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox