| From: | Michael Meskes <meskes(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: Problems with question marks in operators (JDBC, ECPG, ...) |
| Date: | 2015-05-15 20:35:54 |
| Message-ID: | 555658AA.3010308@postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
> As far, as I can tell, question mark operators are also incompatible
> with PostgreSQL's ECPG when using dynamic SQL.
> http://www.postgresql.org/docs/current/static/ecpg-dynamic.html
> (I'm pasting an example at the end of this message, tried with a
> PostgreSQL 9.4 server.)
Indeed it is. The question mark is used in ecpg to denote a variable to
be filled-in by the process. I'm not completely sure if this was in the
standard or only implemented because several (not sure if all) other
precompiler used it as well.
Michael
--
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Meskes at (Debian|Postgresql) dot Org
Jabber: michael.meskes at gmail dot com
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Dave Cramer | 2015-05-15 20:38:17 | Re: Problems with question marks in operators (JDBC, ECPG, ...) |
| Previous Message | Robert Haas | 2015-05-15 20:35:21 | Re: Problems with question marks in operators (JDBC, ECPG, ...) |