Re: tablespace_oid alias?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: tablespace_oid alias?
Дата
Msg-id 24770.1350082857@sss.pgh.pa.us
обсуждение исходный текст
Ответ на tablespace_oid alias?  (Thalis Kalfigkopoulos <tkalfigo@gmail.com>)
Список pgsql-general
Thalis Kalfigkopoulos <tkalfigo@gmail.com> writes:
> Which would be the OID alias type for tablespace_oid?

There is none.  Use "select oid from pg_tablespace where spcname =
'whatever'".  (In general, OID alias types only get invented for
object types where the lookup rules are more complicated than that,
eg where you have schema qualification or arguments to think about.)

            regards, tom lane


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

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: Postgres DB Migration from 8.3 to 9.1
Следующее
От: Vishalakshi Navaneethakrishnan
Дата:
Сообщение: Re: Postgres DB Migration from 8.3 to 9.1