Search Postgresql Archives

Re: aliases for sequences and other DB objects?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Agoston Postgres wrote:
> Hi!
> 
> Is it possible in Postgres to specify aliases for various DB objects, such as tables, views, sequences, etc.? (For now I 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.

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux