Re: [COMMITTERS] pgsql: Add missing_ok option to the SQL functions for reading files.

2015-08-28 Thread Bruce Momjian
On Sun, Jul 5, 2015 at 08:44:41PM +0900, Michael Paquier wrote: > On Mon, Jun 29, 2015 at 3:39 AM, Heikki Linnakangas > wrote: > > Add missing_ok option to the SQL functions for reading files. > > > > This makes it possible to use the functions without getting errors, if there > > is a chance tha

Re: [COMMITTERS] pgsql: Add missing_ok option to the SQL functions for reading files.

2015-08-28 Thread Michael Paquier
On Fri, Aug 28, 2015 at 9:39 PM, Bruce Momjian wrote: > On Sun, Jul 5, 2015 at 08:44:41PM +0900, Michael Paquier wrote: >> On Mon, Jun 29, 2015 at 3:39 AM, Heikki Linnakangas >> wrote: >> > Add missing_ok option to the SQL functions for reading files. >> > >> > This makes it possible to use the

Re: [COMMITTERS] pgsql: Add missing_ok option to the SQL functions for reading files.

2015-08-28 Thread Bruce Momjian
On Fri, Aug 28, 2015 at 09:41:08PM +0900, Michael Paquier wrote: > On Fri, Aug 28, 2015 at 9:39 PM, Bruce Momjian wrote: > > On Sun, Jul 5, 2015 at 08:44:41PM +0900, Michael Paquier wrote: > >> On Mon, Jun 29, 2015 at 3:39 AM, Heikki Linnakangas > >> wrote: > >> > Add missing_ok option to the SQ

Re: [COMMITTERS] pgsql: Add missing_ok option to the SQL functions for reading files.

2015-08-28 Thread Bruce Momjian
On Fri, Aug 28, 2015 at 10:17:44AM -0400, Bruce Momjian wrote: > and I see Tom added it properly: > > > > Add an optional missing_ok argument to > linkend="functions-admin-genfile-table">pg_read_file() > and related functions (Michae

[COMMITTERS] pgsql: Clarify what some historic terms in rewriteHandler.c mean.

2015-08-28 Thread Andres Freund
Clarify what some historic terms in rewriteHandler.c mean. Discussion: [email protected] Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/c0f0d8097be17ae7f03fc79f622e9c95026b338a Modified Files -- src/backend/rewrite/rewriteHandler.

[COMMITTERS] pgsql: Ensure locks are acquired on RLS-added relations

2015-08-28 Thread Stephen Frost
Ensure locks are acquired on RLS-added relations During fireRIRrules(), get_row_security_policies can add to securityQuals and withCheckOptions. Make sure to lock any relations added at that point and before firing RIR rules on those expressions. Back-patch to 9.5 where RLS was added. Branch --

[COMMITTERS] pgsql: Ensure locks are acquired on RLS-added relations

2015-08-28 Thread Stephen Frost
Ensure locks are acquired on RLS-added relations During fireRIRrules(), get_row_security_policies can add to securityQuals and withCheckOptions. Make sure to lock any relations added at that point and before firing RIR rules on those expressions. Back-patch to 9.5 where RLS was added. Branch --