From: | Zhihong Yu <zyu(at)yugabyte(dot)com> |
---|---|
To: | Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> |
Cc: | Justin Pryzby <pryzby(at)telsasoft(dot)com>, PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Craig Ringer <craig(dot)ringer(at)enterprisedb(dot)com>, Matthieu Garrigues <matthieu(dot)garrigues(at)gmail(dot)com>, Ibrar Ahmed <ibrar(dot)ahmad(at)gmail(dot)com>, Thomas Munro <thomas(dot)munro(at)gmail(dot)com> |
Subject: | Re: [HACKERS] PATCH: Batch/pipelining support for libpq |
Date: | 2021-03-06 00:31:47 |
Message-ID: | CALNJ-vRgF0NFmF2jG7qHHg0VPZCUyeor1NwBLWagE1RLbbYdsA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
+ <literal>\gset</literal> and <literal>\aset</literal> cannot be used
+ pipeline mode, since query results are not immediately
'used pipeline mode' -> 'used in pipeline mode'
--- /dev/null
+++ b/src/test/modules/libpq_pipeline/libpq_pipeline.c
@@ -0,0 +1,1144 @@
+/*
+ * src/test/modules/libpq_pipeline/libpq_pipeline.c
Looks like license information is missing from the header.
Cheers
On Thu, Mar 4, 2021 at 1:40 PM Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
wrote:
> On 2021-Mar-04, Alvaro Herrera wrote:
>
> > I don't know where do __WSAFDIsSet and __imp_select come from or what to
> > do about them. Let's see if adding pgport and pgcommon fixes things.
>
> Indeed all those other problems were fixed and these remain. New
> failure is:
>
> "C:\projects\postgresql\pgsql.sln" (default target) (1) ->
> 6007"C:\projects\postgresql\libpq_pipeline.vcxproj" (default target) (55)
> ->
> 6008(Link target) ->
> 6009 libpq_pipeline.obj : error LNK2019: unresolved external symbol
> __WSAFDIsSet referenced in function test_pipelined_insert
> [C:\projects\postgresql\libpq_pipeline.vcxproj]
> 6010 libpq_pipeline.obj : error LNK2019: unresolved external symbol
> __imp_select referenced in function test_pipelined_insert
> [C:\projects\postgresql\libpq_pipeline.vcxproj]
> 6011 .\Release\libpq_pipeline\libpq_pipeline.exe : fatal error LNK1120: 2
> unresolved externals [C:\projects\postgresql\libpq_pipeline.vcxproj]
>
> I did notice that isolationtester.c is using select(), and one
> difference is that it includes <sys/select.h> which libpq_pipeline.c
> does not -- and it also pulls in ws2_32.lib. Let's see if those two
> changes fix things.
>
> --
> Álvaro Herrera Valdivia, Chile
>
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2021-03-06 00:35:59 | Re: [HACKERS] PATCH: Batch/pipelining support for libpq |
Previous Message | Daniel Gustafsson | 2021-03-05 23:10:52 | Re: Fix DROP TABLESPACE on Windows with ProcSignalBarrier? |