Re: pg_ls_tmpdir()

Поиск
Список
Период
Сортировка
От Bossart, Nathan
Тема Re: pg_ls_tmpdir()
Дата
Msg-id 7927BD34-5A62-4F51-A39E-B89FD81D4A43@amazon.com
обсуждение исходный текст
Ответ на Re: pg_ls_tmpdir()  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pg_ls_tmpdir()
Список pgsql-hackers
On 10/2/18, 11:46 AM, "Tom Lane" <tgl@sss.pgh.pa.us> wrote:
> "Bossart, Nathan" <bossartn@amazon.com> writes:
>> On 10/2/18, 7:22 AM, "Andrew Dunstan" <andrew.dunstan@2ndquadrant.com> wrote:
>>> See the bottom of src/backend/catalog/system_views.sql starting around 
>>> line 1010.
>
>> AFAICT the cleanest way to do this in system_views.sql is to hard-code
>> the pg_default tablespace OID in the DEFAULT expression.  So, it might
>> be best to use the two function approach if we want pg_ls_tmpdir() to
>> default to the pg_default tablespace.
>
> That would be pretty bletcherous, so +1 for just making two C functions.

Alright, here's an updated patch.

Nathan


Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: SerializeParamList vs machines with strict alignment
Следующее
От: Marco Atzeri
Дата:
Сообщение: Re: Cygwin linking rules