pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: libpq: Move cancellation related functions to fe-cancel.c
Date: Mon, 29 Jan 2024 11:41:43 +0000
Message-ID: <E1rUQ1H-003g6l-Eq@gemulon.postgresql.org> (raw)

libpq: Move cancellation related functions to fe-cancel.c

In follow up commits we'll add more functions related to query
cancellations.  This groups those all together instead of mixing them
with the other functions in fe-connect.c.

The formerly static parse_int_param() function had to be exported to
other libpq users, so it's been renamed pqParseIntParam() and moved to a
more reasonable place within fe-connect.c (rather than randomly between
various keepalive-related routines).

Author: Jelte Fennema-Nio <jelte.fennema@microsoft.com>
Discussion: https://postgr.es/m/AM5PR83MB0178D3B31CA1B6EC4A8ECC42F7529@AM5PR83MB0178.EURPRD83.prod.outlook.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6d4565a05f3fb9b7a439e7ecfc2be68bf4dabf48

Modified Files
--------------
src/interfaces/libpq/Makefile     |   1 +
src/interfaces/libpq/fe-cancel.c  | 387 ++++++++++++++++++++++++++++++
src/interfaces/libpq/fe-connect.c | 483 +++++---------------------------------
src/interfaces/libpq/libpq-int.h  |   5 +
src/interfaces/libpq/meson.build  |   1 +
5 files changed, 451 insertions(+), 426 deletions(-)



Message-ID: <E1rUQ1H-003g6l-Eq@gemulon.postgresql.org>
Permalink:  ../E1rUQ1H-003g6l-Eq@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1rUQ1H-003g6l-Eq@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: alvherre@alvh.no-ip.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: libpq: Move cancellation related functions to fe-cancel.c
  In-Reply-To: <E1rUQ1H-003g6l-Eq@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox