Re: aliases for sequences and other DB objects? - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: aliases for sequences and other DB objects?
Date
Msg-id 20090609205447.GI5938@alvh.no-ip.org
Whole thread Raw
In response to aliases for sequences and other DB objects?  (Agoston Postgres <agostonpostgres@yahoo.com>)
List 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 by date:

Previous
From: Frank Heikens
Date:
Subject: Re: aliases for sequences and other DB objects?
Next
From: Tom Lane
Date:
Subject: Re: INTERVAL SECOND limited to 59 seconds?