| От | Stephan Szabo |
|---|---|
| Тема | Re: What Could Cause This Behavior? |
| Дата | |
| Msg-id | 20060126183127.O8259@megazone.bigpanda.com обсуждение исходный текст |
| Ответ на | Re: What Could Cause This Behavior? (Rich Shepard <rshepard@appl-ecosys.com>) |
| Список | pgsql-general |
On Thu, 26 Jan 2006, Rich Shepard wrote: > On Thu, 26 Jan 2006, Stephan Szabo wrote: > > > Did you put a semicolon at the end of the command? I get a > > ERROR: syntax error at or near "username" at character 26 > > LINE 1: create database contacts username=sszabo > > Stephan, > > No, I did not put a semicolon there. I also received no error message, just > the prompt. See the sample session I just posted in response to Michael's > message. Without a semicolon, you didn't tell psql that you were done with the command. The cursor changes when the command is incomplete: postgres=# create database testcase postgres-# And then when you quit, it quit without having run the incomplete statement.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера