Drop Schema from Postgres

Поиск
Список
Период
Сортировка
От Tripura
Тема Drop Schema from Postgres
Дата
Msg-id 1325627535392-5118072.post@n5.nabble.com
обсуждение исходный текст
Ответы Re: Drop Schema from Postgres  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Список pgsql-admin
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.

В списке pgsql-admin по дате отправления:

Предыдущее
От: "Benjamin Krajmalnik"
Дата:
Сообщение: Re: Problem with pgstat timeouts
Следующее
От: Jeff Rule
Дата:
Сообщение: Re: unix domain sockets on Windows.