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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 5c292e6) | patch
Declare assorted array functions using anycompatible not anyelement.
Wed, 4 Nov 2020 21:09:55 +0000 (16:09 -0500)
Wed, 4 Nov 2020 21:09:55 +0000 (16:09 -0500)
commit 9e38c2bb5093ceb0c04d6315ccd8975bd17add66
Declare assorted array functions using anycompatible not anyelement.

Convert array_append, array_prepend, array_cat, array_position,
array_positions, array_remove, array_replace, and width_bucket
to use anycompatiblearray. This is a simple extension of commit
5c292e6b9 to hit some other places where there's a pretty obvious
gain in usability from doing so.

Ideally we'd also modify other functions taking multiple old-style
polymorphic arguments. But most of the remainder are tied into one
or more operator classes, making any such change a much larger can of
worms than I desire to open right now.

Discussion: https://postgr.es/m/77675130-89da-dab1-51dd-492c93dcf5d1@postgresfriends.org
doc/src/sgml/func.sgml diff | blob | blame | history
doc/src/sgml/xaggr.sgml diff | blob | blame | history
src/include/catalog/catversion.h diff | blob | blame | history
src/include/catalog/pg_operator.dat diff | blob | blame | history
src/include/catalog/pg_proc.dat diff | blob | blame | history
src/test/regress/expected/arrays.out diff | blob | blame | history
src/test/regress/expected/polymorphism.out diff | blob | blame | history
src/test/regress/sql/arrays.sql diff | blob | blame | history
src/test/regress/sql/polymorphism.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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