| От | John Payne |
|---|---|
| Тема | silence and failure of SQL commands |
| Дата | |
| Msg-id | 003e01cc05df$fb0a8bc0$f11fa340$@edu обсуждение исходный текст |
| Ответы |
Re: silence and failure of SQL commands
|
| Список | pgsql-novice |
Sorry for getting defensive, and yes I think Leif’s suggestion is much better than mine. A statistics program I use (R) has a simple and elegant solution: it drops the cursor one line and puts in a “+” sign. For example, here I enter the command “read” at the command prompt (>), and then forget to close the parenthesis:
> read(
+
That doesn’t solve the other potential problem, of forgetting to add the backslash to internal commands, or of putting a semicolon on them, but if I remember the error output was clearer in the latter case.
John
John Payne
POST Staff Scientist and US Coordinator
www.postcoml.org
Tel. (206) 463-3404
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера