Re: [BUGS] BUG #7809: Running pg_dump on slave w/ streaming replication fails if there are unlogged tables

2013-01-20 Thread Magnus Hagander
On Tue, Jan 15, 2013 at 10:35 PM, Magnus Hagander wrote: > On Tue, Jan 15, 2013 at 12:13 AM, wrote: >> The following bug has been logged on the website: >> >> Bug reference: 7809 >> Logged by: Joe Van Dyk >> Email address: j...@tanga.com >> PostgreSQL version: 9.2.2 >> Operati

Re: [BUGS] BUG #7809: Running pg_dump on slave w/ streaming replication fails if there are unlogged tables

2013-01-20 Thread Tom Lane
Magnus Hagander writes: > + PGresult *res = ExecuteSqlQueryForSingleRow(fout, "SELECT > pg_is_in_recovery()"); That function call needs to be schema-qualified for security. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) T

Re: [BUGS] BUG #7809: Running pg_dump on slave w/ streaming replication fails if there are unlogged tables

2013-01-20 Thread Magnus Hagander
On Sun, Jan 20, 2013 at 4:59 PM, Tom Lane wrote: > Magnus Hagander writes: >> + PGresult *res = ExecuteSqlQueryForSingleRow(fout, "SELECT >> pg_is_in_recovery()"); > > That function call needs to be schema-qualified for security. Ha! I wonder if I can set up an autoresponder to *mys

Re: [BUGS] BUG #7816: test for compiler output produces bogus results

2013-01-20 Thread Tom Lane
se...@seebs.net writes: > Your modified acx_pthread.m4 tests for any compiler output to stderr at all, > and considers it evidence that a flag is invalid. I believe the reason we do that is that we want to find flags that will not result in the compiler generating a warning during each and every s