postgresql/src
Tom Lane 580f8727ca Add argument names to the regexp_XXX functions.
This change allows these functions to be called using named-argument
notation, which can be helpful for readability, particularly for
the ones with many arguments.

There was considerable debate about exactly which names to use,
but in the end we settled on the names already shown in our
documentation table 9.10.

The citext extension provides citext-aware versions of some of
these functions, so add argument names to those too.

In passing, fix table 9.10's syntax synopses for regexp_match,
which were slightly wrong about which combinations of arguments
are allowed.

Jian He, reviewed by Dian Fay and others

Discussion: https://postgr.es/m/CACJufxG3NFKKsh6x4fRLv8h3V-HvN4W5dA=zNKMxsNcDwOKang@mail.gmail.com
2024-07-25 14:51:46 -04:00
..
backend Fix -Wmissing-variable-declarations warnings for float.c special case 2024-07-25 10:40:04 +02:00
bin pg_createsubscriber: Message improvements 2024-07-25 15:25:42 +02:00
common Replace some strtok() with strsep() 2024-07-22 15:45:46 +02:00
fe_utils Fix PL/pgSQL's handling of integer ranges containing underscores. 2024-06-04 11:48:01 +01:00
include Add argument names to the regexp_XXX functions. 2024-07-25 14:51:46 -04:00
interfaces Add extern declarations for Bison global variables 2024-07-25 09:26:08 +02:00
makefiles Optimize pg_popcount() with AVX-512 instructions. 2024-04-06 21:56:23 -05:00
pl Add extern declarations for Bison global variables 2024-07-25 09:26:08 +02:00
port Add port/ replacement for strsep() 2024-07-22 09:50:30 +02:00
template Remove AIX support 2024-02-28 15:17:23 +04:00
test Add extern declarations for Bison global variables 2024-07-25 09:26:08 +02:00
timezone Update time zone data files to tzdata release 2024a. 2024-02-01 15:57:53 -05:00
tools ci: Pin MacPorts version to 2.9.3. 2024-07-25 14:48:01 +12:00
tutorial Update copyright for 2024 2024-01-03 20:49:05 -05:00
.gitignore
DEVELOPERS
Makefile Remove distprep 2023-11-06 15:18:04 +01:00
Makefile.global.in Apply COPT to CXXFLAGS as well 2024-07-01 07:30:55 +02:00
Makefile.shlib Remove AIX support 2024-02-28 15:17:23 +04:00
meson.build Update copyright for 2024 2024-01-03 20:49:05 -05:00
nls-global.mk Remove distprep 2023-11-06 15:18:04 +01:00