Vinayak <vinpokale@xxxxxxxxx> writes: > Is it possible to parse the CREATE SYNONYM statement and convert into CREATE > VIEW statement using post_parse_analyze_hook? or is there any other idea to > automate this process? You will not be able to do it without modifying the grammar. SYNONYM isn't even a keyword in stock PG. regards, tom lane -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general