Re: pg_ls_tmpdir() - Mailing list pgsql-hackers

From Christoph Berg
Subject Re: pg_ls_tmpdir()
Date
Msg-id 20181002103141.GC4343@msg.df7cb.de
Whole thread Raw
In response to Re: pg_ls_tmpdir()  ("Bossart, Nathan" <bossartn@amazon.com>)
Responses Re: pg_ls_tmpdir()  (Laurenz Albe <laurenz.albe@cybertec.at>)
List pgsql-hackers
Re: Bossart, Nathan 2018-10-01 <69FD7E51-2B13-41FD-9438-17395C73F5BF@amazon.com>
> > 1. Do we really need two functions, one without input argument
> >    to list the default tablespace?
> >    I think that anybody who uses with such a function whould
> >    be able to feed the OID of "pg_default".
> 
> That seems reasonable to me.  I've removed the second version of the
> function.

You could make that one argument have a DEFAULT value that makes it
act on pg_default.

Christoph


pgsql-hackers by date:

Previous
From: Andreas Karlsson
Date:
Subject: Re: Early WIP/PoC for inlining CTEs
Next
From: Stephen Frost
Date:
Subject: Re: has_column_privilege behavior (was Re: Assert failed insnprintf.c)