mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Implement pipeline mode in libpq
Pipeline mode in libpq lets an application avoid the Sync messages in the FE/BE protocol that are implicit in the old libpq API after each query. The application can then insert Sync at its leisure with a new libpq function PQpipelineSync. This can lead to substantial reductions in query latency. Co-authored-by: Craig Ringer <craig.ringer@enterprisedb.com> Co-authored-by: Matthieu Garrigues <matthieu.garrigues@gmail.com> Co-authored-by: Álvaro Herrera <alvherre@alvh.no-ip.org> Reviewed-by: Andres Freund <andres@anarazel.de> Reviewed-by: Aya Iwata <iwata.aya@jp.fujitsu.com> Reviewed-by: Daniel Vérité <daniel@manitou-mail.org> Reviewed-by: David G. Johnston <david.g.johnston@gmail.com> Reviewed-by: Justin Pryzby <pryzby@telsasoft.com> Reviewed-by: Kirk Jamison <k.jamison@fujitsu.com> Reviewed-by: Michael Paquier <michael.paquier@gmail.com> Reviewed-by: Nikhil Sontakke <nikhils@2ndquadrant.com> Reviewed-by: Vaishnavi Prabakaran <VaishnaviP@fast.au.fujitsu.com> Reviewed-by: Zhihong Yu <zyu@yugabyte.com> Discussion: https://postgr.es/m/CAMsr+YFUjJytRyV4J-16bEoiZyH=4nj+sQ7JP9ajwz=B4dMMZw@mail.gmail.com Discussion: https://postgr.es/m/CAJkzx4T5E-2cQe3dtv2R78dYFvz+in8PY7A8MArvLhs_pg75gg@mail.gmail.com
This commit is contained in:
@ -33,10 +33,11 @@ my @unlink_on_exit;
|
||||
|
||||
# Set of variables for modules in contrib/ and src/test/modules/
|
||||
my $contrib_defines = { 'refint' => 'REFINT_VERBOSE' };
|
||||
my @contrib_uselibpq = ('dblink', 'oid2name', 'postgres_fdw', 'vacuumlo');
|
||||
my @contrib_uselibpgport = ('oid2name', 'vacuumlo');
|
||||
my @contrib_uselibpgcommon = ('oid2name', 'vacuumlo');
|
||||
my $contrib_extralibs = undef;
|
||||
my @contrib_uselibpq =
|
||||
('dblink', 'oid2name', 'postgres_fdw', 'vacuumlo', 'libpq_pipeline');
|
||||
my @contrib_uselibpgport = ('libpq_pipeline', 'oid2name', 'vacuumlo');
|
||||
my @contrib_uselibpgcommon = ('libpq_pipeline', 'oid2name', 'vacuumlo');
|
||||
my $contrib_extralibs = { 'libpq_pipeline' => ['ws2_32.lib'] };
|
||||
my $contrib_extraincludes = { 'dblink' => ['src/backend'] };
|
||||
my $contrib_extrasource = {
|
||||
'cube' => [ 'contrib/cube/cubescan.l', 'contrib/cube/cubeparse.y' ],
|
||||
|
@ -1563,10 +1563,12 @@ PG_Locale_Strategy
|
||||
PG_Lock_Status
|
||||
PG_init_t
|
||||
PGcancel
|
||||
PGcmdQueueEntry
|
||||
PGconn
|
||||
PGdataValue
|
||||
PGlobjfuncs
|
||||
PGnotify
|
||||
PGpipelineStatus
|
||||
PGresAttDesc
|
||||
PGresAttValue
|
||||
PGresParamDesc
|
||||
|
Reference in New Issue
Block a user