git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: cf765ff) | patch
libpq: Move cancellation related functions to fe-cancel.c
2024年1月29日 09:53:34 +0000 (10:53 +0100)
2024年1月29日 11:39:59 +0000 (12:39 +0100)
commit 6d4565a05f3fb9b7a439e7ecfc2be68bf4dabf48
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
src/interfaces/libpq/Makefile diff | blob | blame | history
src/interfaces/libpq/fe-cancel.c [new file with mode: 0644] blob
src/interfaces/libpq/fe-connect.c diff | blob | blame | history
src/interfaces/libpq/libpq-int.h diff | blob | blame | history
src/interfaces/libpq/meson.build diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /