Re: pg_ls_tmpdir to show directories and shared filesets (and pg_ls_*)
От | Justin Pryzby |
---|---|
Тема | Re: pg_ls_tmpdir to show directories and shared filesets (and pg_ls_*) |
Дата | |
Msg-id | 20220313005601.GR28503@telsasoft.com обсуждение исходный текст |
Ответ на | Re: pg_ls_tmpdir to show directories and shared filesets (and pg_ls_*) (Michael Paquier <michael@paquier.xyz>) |
Список | pgsql-hackers |
On Sun, Mar 13, 2022 at 09:45:35AM +0900, Michael Paquier wrote: > On Wed, Mar 09, 2022 at 10:50:45AM -0600, Justin Pryzby wrote: > > Rebased over 9e9858389 (Michael may want to look at the tuplestore part?). > > Are you referring to the contents of 0003 here that changes the > semantics of pg_ls_dir_files() regarding its setup call? Yes, as it has this: - SetSingleFuncCall(fcinfo, SRF_SINGLE_USE_EXPECTED); ... - SetSingleFuncCall(fcinfo, 0); ... + if (flags & LS_DIR_METADATA) + SetSingleFuncCall(fcinfo, 0); + else + SetSingleFuncCall(fcinfo, SRF_SINGLE_USE_EXPECTED); -- Justin
В списке pgsql-hackers по дате отправления: