[HACKERS] VACUUM FULL versus unsafe order-of-operations in DDL commands

2011-08-14 Thread Tom Lane
So, as the testing rolls on, I started to see some failures in various ALTER-FOREIGN-thingy commands. The cause proved to be that numerous places in foreigncmds.c do this: tuple = SearchSysCacheCopy(...); ... alter the tuple as needed ... rel = heap_open(target-catalog,

Re: [HACKERS] VACUUM FULL versus unsafe order-of-operations in DDL commands

2011-08-14 Thread Robert Haas
On Sun, Aug 14, 2011 at 2:21 PM, Tom Lane t...@sss.pgh.pa.us wrote: So, as the testing rolls on, I started to see some failures in various ALTER-FOREIGN-thingy commands.  The cause proved to be that numerous places in foreigncmds.c do this:        tuple = SearchSysCacheCopy(...);        ...