Re: [HACKERS] Continue transactions after errors in psql
В списке pgsql-patches по дате отправления:
| От | Richard Huxton |
|---|---|
| Тема | Re: [HACKERS] Continue transactions after errors in psql |
| Дата | |
| Msg-id | 426E4AC1.4070706@archonet.com обсуждение исходный текст |
| Ответ на | Re: [HACKERS] Continue transactions after errors in psql ("Michael Paesold" <mpaesold@gmx.at>) |
| Ответы |
Re: [HACKERS] Continue transactions after errors in psql
|
| Список | pgsql-patches |
Michael Paesold wrote: > > But people (like me for example) will want to enable this behaviour by > default. So they (me too) will put the option in .psqlrc. It is then > enabled "by default". But then many of my scripts will destroy data > instead of just erroring out. > I just don't see why non-interactive mode does need such a switch > because there is no way to check if there was an error. So just put two > queries there and hope one will work? DROP TABLE foo; CREATE TABLE foo... -- Richard Huxton Archonet Ltd
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера