CREATE SYNONYM in PostgreSQL

From: Vinayak <vinpokale(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: CREATE SYNONYM in PostgreSQL
Date: 2014-09-10 13:50:33
Message-ID: 1410357033245-5818446.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,
We are converting the Oracle's CREATE SYNONYM statement into PostgreSQL.
I think to replace the SYNONYM we use search_path in PostgreSQL and the same
thing is explained in the below post also.
http://postgresql.1045698.n5.nabble.com/Synonyms-in-PostgreSQL-9-2-4-td5757986.html

Is there any way to automate the oracle's CREATE SYNONYM in PostgreSQL or
can we use hook like post_parse_analyze_hook to implement this?
Thought?

-----
Regards,
Vinayak,

--
View this message in context: http://postgresql.1045698.n5.nabble.com/CREATE-SYNONYM-in-PostgreSQL-tp5818446.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Albe Laurenz 2014-09-10 14:05:12 Re: CREATE SYNONYM in PostgreSQL
Previous Message David G Johnston 2014-09-10 13:45:21 Re: PARTIAL, DEFERRABLE UNIQUE CONSTRAINTS