Re: Patches for TODO item: Avoid truncating empty OCDR temp tables on COMMIT

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Gurjeet Singh <singh.gurjeet@gmail.com>, PGSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2013-01-15T19:03:41Z
Lists: pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On the third hand, the fact that a table is OCDR is recorded in
> backend-local storage somewhere, and that storage (unlike the
> relcache) had better be reliable.  So maybe there's some way to
> finesse it that way.

Hm, keep a flag in that storage you mean?  Yeah, that could possibly
work.

			regards, tom lane