Re: SQL statement PREPARE does not work in ECPG

Поиск
Список
Период
Сортировка
Искать
От
Michael Meskes
Тема
Re: SQL statement PREPARE does not work in ECPG
Дата
в 21:12:40
Msg-id
8ae36f539a40cf6bafbdee5d8b8bb13f08c87b2d.camel@postgresql.org
Ответ на
Список
Дерево обсуждения
SQL statement PREPARE does not work in ECPG "Takahashi, Ryohei" <r.takahashi_2@jp.fujitsu.com>
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 Michael Meskes <meskes@postgresql.org>
RE: SQL statement PREPARE does not work in ECPG "Takahashi, Ryohei" <r.takahashi_2@jp.fujitsu.com>
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 Michael Meskes <meskes@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 "Matsumura, Ryo" <matsumura.ryo@jp.fujitsu.com>
RE: SQL statement PREPARE does not work in ECPG "Takahashi, Ryohei" <r.takahashi_2@jp.fujitsu.com>
Re: SQL statement PREPARE does not work in ECPG Michael Meskes <meskes@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 Michael Meskes <meskes@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 Michael Meskes <meskes@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 Michael Meskes <meskes@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 Michael Meskes <meskes@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 "Matsumura, Ryo" <matsumura.ryo@jp.fujitsu.com>
Re: SQL statement PREPARE does not work in ECPG Michael Meskes <meskes@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 Michael Meskes <meskes@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 Michael Meskes <meskes@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 Michael Meskes <meskes@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 "Matsumura, Ryo" <matsumura.ryo@jp.fujitsu.com>
Re: SQL statement PREPARE does not work in ECPG Michael Meskes <meskes@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 Tom Lane <tgl@sss.pgh.pa.us>
Re: SQL statement PREPARE does not work in ECPG Michael Meskes <meskes@postgresql.org>
Re: SQL statement PREPARE does not work in ECPG Michael Paquier <michael@paquier.xyz>
Re: SQL statement PREPARE does not work in ECPG Tom Lane <tgl@sss.pgh.pa.us>
Re: SQL statement PREPARE does not work in ECPG Michael Meskes <meskes@postgresql.org>
Re: SQL statement PREPARE does not work in ECPG Michael Meskes <meskes@postgresql.org>
RE: SQL statement PREPARE does not work in ECPG "Takahashi, Ryohei" <r.takahashi_2@jp.fujitsu.com>
Re: SQL statement PREPARE does not work in ECPG Michael Meskes <meskes@postgresql.org>
Re: SQL statement PREPARE does not work in ECPG Michael Meskes <meskes@postgresql.org>
Hi Matsumura-san,

> (1)
> I attach a new patch. Please review it.
> ...

This looks good to me. It passes all my tests, too.

There were two minor issues, the regression test did not run and gcc
complained about the indentation in ECPGprepare(). Both I easily fixed.

Unless somebody objects I will commit it as soon as I have time at
hand. Given that this patch also and mostly fixes some completely
broken old logic I'm tempted to do so despite us being pretty far in
the release cycle. Any objections?

> (2)
> I found some bugs (two types). I didn't fix them and only avoid bison
> error.
> 
> Type1. Bugs or intentional unsupported features.
>   - EXPLAIN EXECUTE
>   - CREATE TABLE AS with using clause
> ...

Please send a patch. I'm on vacation and won't be able to spend time on
this for the next couple of weeks.

> Type2. In multi-bytes encoding environment, a part of character of
> message is cut off.
> 
>   It may be very difficult to fix. I pretend I didn't see it for a
> while.
> ...

Hmm, any suggestion?

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 по дате отправления
От: Tom Lane
Дата:
От: Peter Geoghegan
Дата:
Сообщение: Re: PG 12 draft release notes
FAQ