Bossart, Nathan wrote:
> >> 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.
Looks, good; marking as "ready for committer".
Yours,
Laurenz Albe