Re: psql not responding to SIGINT upon db reconnection - Mailing list pgsql-hackers

From Jelte Fennema-Nio
Subject Re: psql not responding to SIGINT upon db reconnection
Date
Msg-id CAGECzQS7Ng36kiq_3nXXzZkeVU9uSiEHO4DqzNHEG294w-X1sA@mail.gmail.com
Whole thread Raw
In response to Re: psql not responding to SIGINT upon db reconnection  ("Tristan Partin" <tristan@neon.tech>)
Responses Re: psql not responding to SIGINT upon db reconnection
List pgsql-hackers
On Wed, 3 Apr 2024 at 16:55, Tristan Partin <tristan@neon.tech> wrote:
> Removing from the switch statement causes a warning:
>
> > [1/2] Compiling C object src/bin/psql/psql.p/command.c.o
> > ../src/bin/psql/command.c: In function ‘wait_until_connected’:
> > ../src/bin/psql/command.c:3803:17: warning: enumeration value ‘PGRES_POLLING_ACTIVE’ not handled in switch
[-Wswitch]
> >  3803 |                 switch (PQconnectPoll(conn))
> >       |                 ^~~~~~


Ofcourse... fixed now

Attachment

pgsql-hackers by date:

Previous
From: Bharath Rupireddy
Date:
Subject: Re: Introduce XID age and inactive timeout based replication slot invalidation
Next
From: "Tristan Partin"
Date:
Subject: Re: psql not responding to SIGINT upon db reconnection