Re: BUG #5330: No CREATE SYNONYM command

From: Joshua Tolley <eggyknap(at)gmail(dot)com>
To: zhuge <zhuge_xiao(at)yahoo(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5330: No CREATE SYNONYM command
Date: 2010-02-17 12:44:11
Message-ID: 4b7be4af.9513f30a.6b23.5a57@mx.google.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Wed, Feb 17, 2010 at 05:41:45AM +0000, zhuge wrote:
> I want to port from Oracle to PostgreS. But Postgres has no the command,
> CREATE SYNONYM,
> which exists in Oracle. I have read the information,
> http://archives.postgresql.org/pgsql-patches/2006-03/msg00085.php, and
> download the file. However, I DO NOT know how to use the create synonym
> command in Postgres. How can I to use that command? Please help me !

PostgreSQL doesn't support Oracle's concept of synonyms. The message you read
is from a patch that eventually was rejected.

How you might replicate Oracle's synonyms in PostgreSQL depends on your
specific use case. You might consider emailing pgsql-general with details
about what precisely you use synonyms for, to get help on your porting
project.

--
Joshua Tolley / eggyknap
End Point Corporation
http://www.endpoint.com

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Euler Taveira de Oliveira 2010-02-17 13:59:58 Re: BUG #5331: Integer overflow in tmie counter
Previous Message Sivaguru Sankaridurg 2010-02-17 11:35:17 BUG #5332: Installation weirdness