BUG #5805: "not determine data type" for params in comments
В списке pgsql-bugs по дате отправления:
| От | Maxim Turchin |
|---|---|
| Тема | BUG #5805: "not determine data type" for params in comments |
| Дата | |
| Msg-id | 201012291600.oBTG0xcP053988@wwwmaster.postgresql.org обсуждение |
| Ответы |
Re: BUG #5805: "not determine data type" for params in comments
|
| Список | pgsql-bugs |
The following bug has been logged online: Bug reference: 5805 Logged by: Maxim Turchin Email address: nehxby@gmail.com PostgreSQL version: 8.4 Operating system: Ubuntu Linux Description: "not determine data type" for params in comments Details: I use php PDO extention. If in prepared statement exists comments with string like ":somestring", this string is parameter, and need to fill. Example SQL: select /* :some_old_param, */ :someparam1, :someparam2 from sometable; When i fill last 2 param, and not fill first old param (in comment!), i get error "not determine data type of parameter $1". postgresql log: 2010-12-29 17:43:10 EET ERROR: could not determine data type of parameter $1 2010-12-29 17:43:10 EET STATEMENT: select /* $1, */ $2, $3 from sometable;
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера