diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2020-11-04 16:09:55 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2020-11-04 16:09:55 -0500 |
commit | 9e38c2bb5093ceb0c04d6315ccd8975bd17add66 (patch) | |
tree | 78afafa32e3f4a615281401b37890ac4775dfffc /src/backend/commands/dbcommands.c | |
parent | 5c292e6b90433c760a3e15027646c7b94afd0cdd (diff) | |
download | postgresql-9e38c2bb5093ceb0c04d6315ccd8975bd17add66.tar.gz postgresql-9e38c2bb5093ceb0c04d6315ccd8975bd17add66.zip |
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
Diffstat (limited to 'src/backend/commands/dbcommands.c')
0 files changed, 0 insertions, 0 deletions