| From: | Craig Ringer <craig(at)2ndquadrant(dot)com> |
|---|---|
| To: | Ruth Melendo <rmelendo(at)teltronic(dot)es> |
| Cc: | pgsql-admin <pgsql-admin(at)postgresql(dot)org> |
| Subject: | Re: pgpool + BDR, is it possible? |
| Date: | 2015-03-19 01:42:18 |
| Message-ID: | CAMsr+YE8RaGGshY_-1LiQCvvp_3TO2zHL21-UqgWqPd_wR6dcg@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin pgsql-general |
On 18 March 2015 at 21:47, Ruth Melendo <rmelendo(at)teltronic(dot)es> wrote:
> I don’t get this about the "peek" functions not the "get" functions ..
> What do you mean?
>
See:
http://www.postgresql.org/docs/current/static/logicaldecoding.html
http://www.postgresql.org/docs/current/static/logicaldecoding-sql.html
You used pg_logical_slot_get_binary_changes . This consumes changes from
the slot. Don't do that on a slot used by something else. Use
pg_logical_slot_peek_changes or pg_logical_slot_peek_binary_changes .
--
Craig Ringer http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Raghavendra | 2015-03-19 09:20:57 | Re: Posgres Query for Foreign Key Check |
| Previous Message | Ankur Kaushik | 2015-03-19 00:19:52 | Posgres Query for Foreign Key Check |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tim Uckun | 2015-03-19 01:56:55 | Name spacing functions and stored procedures |
| Previous Message | adityagis | 2015-03-18 14:20:32 | Archeiving and Purging |