Re: Accidental setting of XLogReaderState.private_data ?
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Antonin Houska <ah@cybertec.at>, pgsql-hackers@postgresql.org
Date: 2019-04-16T06:13:00Z
Lists: pgsql-hackers
On Mon, Apr 15, 2019 at 11:06:18AM -0400, Tom Lane wrote: > Hmm. The second, duplicate assignment is surely pointless, but I think > that setting the ctx as the private_data is a good idea. It hardly seems > out of the question that it might be needed in future. Agreed that we should keep the assignment done with XLogReaderAllocate(). I have committed the patch which removes the useless assignment though. -- Michael
Commits
-
Remove duplicate assignment when initializing logical decoder context
- 5ed4b123b6a6 12.0 landed