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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 05faf06) | patch
Add argument names to the regexp_XXX functions.
2024年7月25日 18:51:46 +0000 (14:51 -0400)
2024年7月25日 18:51:46 +0000 (14:51 -0400)
commit 580f8727ca93b7b9a2ce49746b9cdbcb0a2b4a7e
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
contrib/citext/Makefile diff | blob | blame | history
contrib/citext/citext--1.6--1.7.sql [new file with mode: 0644] blob
contrib/citext/citext.control diff | blob | blame | history
contrib/citext/meson.build diff | blob | blame | history
doc/src/sgml/func.sgml diff | blob | blame | history
src/include/catalog/catversion.h diff | blob | blame | history
src/include/catalog/pg_proc.dat diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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