Hi, I am trying to execute a few postgres commands from a bash file I am trying to drop a schema by writing the following line
DROP SCHEMA "xxx" IF EXISTS I have two issues here - 1> I am not sure how to specify the db from which the schema should be deleted 2> I am getting the following error message -- "DROP: command not found" Can anyone help me with this issue Thanku in advance -- View this message in context: http://postgresql.1045698.n5.nabble.com/Drop-Schema-from-Postgres-tp5118072p5118072.html Sent from the PostgreSQL - admin mailing list archive at Nabble.com. -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin