aliases for sequences and other DB objects?

From: Agoston Postgres <agostonpostgres(at)yahoo(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: aliases for sequences and other DB objects?
Date: 2009-06-09 20:03:51
Message-ID: 58091.51930.qm@web111918.mail.gq1.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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');

Thanks!

Agoston

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Frank Heikens 2009-06-09 20:20:36 Re: aliases for sequences and other DB objects?
Previous Message Vyacheslav Kalinin 2009-06-09 18:43:25 Re: Postgres Pg_connect PHP