Re: Built-in connection pooler - Mailing list pgsql-hackers

From Konstantin Knizhnik
Subject Re: Built-in connection pooler
Date
Msg-id e42c8d25-9a1c-a835-c422-0dc56e5775a6@postgrespro.ru
Whole thread Raw
In response to Re: Built-in connection pooler  (Daniel Gustafsson <daniel@yesql.se>)
Responses Re: Built-in connection pooler
List pgsql-hackers

On 02.07.2020 17:44, Daniel Gustafsson wrote:
>> On 2 Jul 2020, at 13:33, Konstantin Knizhnik <k.knizhnik@postgrespro.ru> wrote:
>> On 01.07.2020 12:30, Daniel Gustafsson wrote:
>>>> On 24 Mar 2020, at 17:24, Konstantin Knizhnik <k.knizhnik@postgrespro.ru> wrote:
>>>> Rebased version of the patch is attached.
>>> And this patch also fails to apply now, can you please submit a new version?
>>> Marking the entry as Waiting on Author in the meantime.
>>>
>>> cheers ./daniel
>> Rebased version of the patch is attached.
> Both Travis and Appveyor fails to compile this version:
>
> proxy.c: In function ‘client_connect’:
> proxy.c:302:6: error: too few arguments to function ‘ParseStartupPacket’
>    if (ParseStartupPacket(chan->client_port, chan->proxy->parse_ctx, startup_packet+4, startup_packet_size-4, false)
!=STATUS_OK) /* skip packet size */
 
>        ^
> In file included from proxy.c:8:0:
> ../../../src/include/postmaster/postmaster.h:71:12: note: declared here
>   extern int  ParseStartupPacket(struct Port* port, MemoryContext memctx, void* pkg_body, int pkg_size, bool
ssl_done,bool gss_done);
 
>              ^
> <builtin>: recipe for target 'proxy.o' failed
> make[3]: *** [proxy.o] Error 1
>
> cheers ./daniel


Sorry, correct patch is attached.


Attachment

pgsql-hackers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: proposal: unescape_text function
Next
From: Artur Zakirov
Date:
Subject: Re: [PATCH] fix GIN index search sometimes losing results