Re: aliases for sequences and other DB objects?

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: aliases for sequences and other DB objects?
Дата
Msg-id 20090609205447.GI5938@alvh.no-ip.org
обсуждение исходный текст
Ответ на aliases for sequences and other DB objects?  (Agoston Postgres <agostonpostgres@yahoo.com>)
Список pgsql-general
Agoston Postgres wrote:
> Hi!
>
> Is it possible in Postgres to specify aliases for various DB objects, such as tables, views, sequences, etc.? (For
nowI would like to create them for sequences.) 
>
> What I mean is something like in Oracle, such as
>
> create alias my_sequence_alias for my_sequence;
> select nextval('my_sequence_alias');

No.  What would this be used for?

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

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

Предыдущее
От: Frank Heikens
Дата:
Сообщение: Re: aliases for sequences and other DB objects?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: INTERVAL SECOND limited to 59 seconds?