Make pg_stat_file() use OUT parameters so that the user doesn't have to
Tom Lane <tgl@sss.pgh.pa.us>
Make pg_stat_file() use OUT parameters so that the user doesn't have to remember the output parameter set for himself. It's a bit of a kluge but fixing array_in to work in bootstrap mode looks worse. I removed the separate pg_file_length() function, as it no longer has any real notational advantage --- you can write (pg_stat_file(...)).length.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/func.sgml | modified | +49 −62 |
| src/backend/catalog/system_views.sql | modified | +21 −1 |
| src/backend/utils/adt/genfile.c | modified | +5 −1 |
| src/include/catalog/catversion.h | modified | +2 −2 |
| src/include/catalog/pg_proc.h | modified | +3 −7 |