postgresql/contrib/dblink
Tom Lane 6bbaa3148d Rearrange dblink's dblink_build_sql_insert() and related routines to open and
lock the target relation just once per SQL function call.  The original coding
obtained and released lock several times per call.  Aside from saving a
not-insignificant number of cycles, this eliminates possible race conditions
if someone tries to modify the relation's schema concurrently.  Also
centralize locking and permission-checking logic.

Problem noted while investigating a trouble report from Robert Voinea --- his
problem is still to be fixed, though.
2010-06-14 20:49:33 +00:00
..
expected Check to ensure the number of primary key fields supplied does not 2010-02-03 23:01:11 +00:00
sql Check to ensure the number of primary key fields supplied does not 2010-02-03 23:01:11 +00:00
dblink.c Rearrange dblink's dblink_build_sql_insert() and related routines to open and 2010-06-14 20:49:33 +00:00
dblink.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
dblink.sql.in Implement dblink_get_notify(). 2009-08-05 16:11:07 +00:00
Makefile Remove references to READMEs from /contrib Makefiles. 2007-11-10 23:59:52 +00:00
uninstall_dblink.sql Add missed function dblink_connect_u(text[,text]) to uninstall script 2010-06-07 15:14:36 +00:00