Re: Why forcing Hot_standby_feedback to be enabled when creating a logical decoding slot on standby

From: Andres Freund <andres(at)anarazel(dot)de>
To: sanyam jain <sanyamjain22(at)live(dot)in>
Cc: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Why forcing Hot_standby_feedback to be enabled when creating a logical decoding slot on standby
Date: 2017-06-16 17:52:30
Message-ID: 20170616175230.wcxdw7o2cnogpjvo@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On 2017-06-16 06:31:03 +0000, sanyam jain wrote:
> Isn't XLogRecord carries full information to be decoded in itself?If so a VACCUM should not be a problem in decoding?

First: Please don't full quote emails.
Secondly: You've not actually explained what you want to do, nor what
your precise question itself is. Nor why Michael or my answer wasn't
sufficient.

Logicla decoding looks at the catalogs for metadata - otherwise the WAL
would need to contain a lot more information and thus be more voluminous
- so the records do *not* contain the "full information".

Please start at the beginning and explain what you're trying to do
(since you apparently did some hacking to get a slot on a standby) and
what you're trying to achieve, instead of one-sentence questions.

- Andres

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alexey Kondratov 2017-06-16 17:53:52 Re: GSOC'17 project introduction: Parallel COPY execution with errors handling
Previous Message Andres Freund 2017-06-16 17:47:45 Re: Making server name part of the startup message