pg_tablespace_location() error message

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема pg_tablespace_location() error message
Дата
Msg-id 20120410203217.GU15085@momjian.us
обсуждение исходный текст
Ответы Re: pg_tablespace_location() error message  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
The new pg_tablespace_location() function added in PG 9.2 to remove the
director location from pg_tablespace returns an odd error for '0', which
is InvalidOID:
test=> select pg_tablespace_location(0);ERROR:  could not read symbolic link "pg_tblspc/0": No such file ordirectory

Is this OK?  It handles NULL just fine:test=> select pg_tablespace_location(null);
pg_tablespace_location------------------------(1row)
 

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + It's impossible for everything to be true. +


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

Предыдущее
От: Jeff Davis
Дата:
Сообщение: Re: Last gasp
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: [JDBC] Regarding GSoc Application