Re: SQL statement PREPARE does not work in ECPG
| От | Michael Meskes |
|---|---|
| Тема | Re: SQL statement PREPARE does not work in ECPG |
| Дата | |
| Msg-id | ec26bdaacee70b06e23a5402aa438365ca9eb045.camel@postgresql.org обсуждение исходный текст |
| Ответ на | RE: SQL statement PREPARE does not work in ECPG ("Matsumura, Ryo" <matsumura.ryo@jp.fujitsu.com>) |
| Ответы |
RE: SQL statement PREPARE does not work in ECPG
|
| Список | pgsql-hackers |
Hi Matsumura-san,
> But I will probably be late because I don't understand parse.pl very
> well.
> I think that the following rule is made by parse.pl.
>
> PreparableStmt:
> SelectStmt
> {
> is_in_preparable_stmt = true; <--- I want to add it.
> $$ = $1;
> }
> | InsertStmt
> .....
The only way to add this is by creating a replacement production for
this rule. parse.pl cannot do it itself.
> I will use @1 instend of $$1 because the replacing is almost same as
> the existing replacing function in ecpglib.
> Is it good?
I'd say so.
Thanks.
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 at xmpp dot meskes dot org
VfL Borussia! Força Barça! SF 49ers! Use Debian GNU/Linux, PostgreSQL
В списке pgsql-hackers по дате отправления: