By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,962 Members | 1,791 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,962 IT Pros & Developers. It's quick & easy.

create synonym command and pg_synonym table aren't exist

P: 61
when I try to create a synonym using the create synonym command as follow,
Expand|Select|Wrap|Line Numbers
  1. CREATE SYNONYM  table  T on PUBLIC.TABLE1
  2.  
I have the error like this:

(syntax error at or near "SYNONYM").

in addition, when I run the following query:
Expand|Select|Wrap|Line Numbers
  1. select * from pg_synonym 
  2.  
also I have an error:
( relation "pg_synonym" does not exist )

may be someone help me to solve these issues?

many thanks.
Oct 9 '10 #1
Share this Question
Share on Google+
1 Reply


Expert 100+
P: 700
Postgres does not support synonyms.
Oct 9 '10 #2

Post your reply

Sign in to post your reply or Sign up for a free account.