BUG #13674: psql: \i from a script run through \e misparses SQL as \i arguments
В списке pgsql-bugs по дате отправления:
| От | postgresql@zr40.nl |
|---|---|
| Тема | BUG #13674: psql: \i from a script run through \e misparses SQL as \i arguments |
| Дата | |
| Msg-id | 20151012174731.2778.64527@wrigleys.postgresql.org обсуждение исходный текст |
| Ответы |
Re: BUG #13674: psql: \i from a script run through \e
misparses SQL as \i arguments
|
| Список | pgsql-bugs |
The following bug has been logged on the website: Bug reference: 13674 Logged by: Matthijs van der Vleuten Email address: postgresql@zr40.nl PostgreSQL version: 9.4.5 Operating system: Mac OS X Description: Reproduction: 1. Create file a.sql with the following contents: BEGIN; \i b.sql ROLLBACK; 2. Create an empty file b.sql (smallest reproduction; bug also occurs with non-empty files) 3. In psql, execute: \e a.sql 4. In $EDITOR, save and exit Actual output: ~/test % psql -Xe psql (9.4.5) Type "help" for help. zr40=# \e foo2.sql BEGIN; BEGIN \i: extra argument "ROLLBACK;" ignored zr40=# Expected output: ~/test % psql -Xe psql (9.4.5) Type "help" for help. zr40=# \e foo2.sql BEGIN; BEGIN ROLLBACK; ROLLBACK zr40=#
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера