PQprepare question
От | Michael Meskes |
---|---|
Тема | PQprepare question |
Дата | |
Msg-id | 20070511111647.GA18711@feivel.credativ.de обсуждение исходный текст |
Ответы |
Re: PQprepare question
|
Список | pgsql-interfaces |
According to the docs parameters are referenced as $1, $2, and so. Is there a reason not to use "?" as placeholder? It seems to be quite common to use "?" and of course a simple counting gives the same information. ECPG used to accept "?" notation. Now I started to switch from PQexec to PQexecParams and at the same time add PQprepare. However, I'd like to still be able to accept old sources using "?". The question now is, do I replace the "?"s on the clien side in ecpglib or libpq, or is it possible to add this in the backend for more general use? Michael -- Michael Meskes Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!
В списке pgsql-interfaces по дате отправления: