Re: [HACKERS] Why forcing Hot_standby_feedback to be enabled whencreating a logical decoding slot on standby - Mailing list pgsql-hackers

From Andres Freund
Subject Re: [HACKERS] Why forcing Hot_standby_feedback to be enabled whencreating a logical decoding slot on standby
Date
Msg-id 20170616175230.wcxdw7o2cnogpjvo@alap3.anarazel.de
Whole thread Raw
In response to Re: [HACKERS] Why forcing Hot_standby_feedback to be enabled whencreating a logical decoding slot on standby  (sanyam jain <sanyamjain22@live.in>)
Responses Re: [HACKERS] Why forcing Hot_standby_feedback to be enabled whencreating a logical decoding slot on standby
List 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



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: [HACKERS] Making server name part of the startup message
Next
From: Alexey Kondratov
Date:
Subject: Re: [HACKERS] GSOC'17 project introduction: Parallel COPY executionwith errors handling