[COMMITTERS] pgsql: Rearrange dblink's dblink_build_sql_insert() and related routines

2010-06-14 Thread Tom Lane
Log Message: --- 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 elim

[COMMITTERS] pgsql: Rearrange dblink's dblink_build_sql_insert() and related routines

2010-06-14 Thread Tom Lane
Log Message: --- 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 elim

[COMMITTERS] pgsql: Rearrange dblink's dblink_build_sql_insert() and related routines

2010-06-14 Thread Tom Lane
Log Message: --- 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 elim

[COMMITTERS] pgsql: Rearrange dblink's dblink_build_sql_insert() and related routines

2010-06-14 Thread Tom Lane
Log Message: --- 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 elim

[COMMITTERS] pgsql: Rearrange dblink's dblink_build_sql_insert() and related routines

2010-06-14 Thread Tom Lane
Log Message: --- 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 elim

[COMMITTERS] pgsql: Rearrange dblink's dblink_build_sql_insert() and related routines

2010-06-14 Thread Tom Lane
Log Message: --- 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 elim

[COMMITTERS] pgsql: Rearrange dblink's dblink_build_sql_insert() and related routines

2010-06-14 Thread Tom Lane
Log Message: --- 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 elim