Обсуждение: pgsql: Added variable handling for RETURNING clause to ecpg.

Поиск
Список
Период
Сортировка

pgsql: Added variable handling for RETURNING clause to ecpg.

От
meskes@postgresql.org (Michael Meskes)
Дата:
Log Message:
-----------
Added variable handling for RETURNING clause to ecpg.

While the values were correctly returned they were not moved into C variables
as they should be.

Closes: #5489

Modified Files:
--------------
    pgsql/src/interfaces/ecpg/preproc:
        parse.pl (r1.8 -> r1.9)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/preproc/parse.pl?r1=1.8&r2=1.9)
    pgsql/src/interfaces/ecpg/test/expected:
        sql-insupd.c (r1.7 -> r1.8)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/test/expected/sql-insupd.c?r1=1.7&r2=1.8)
        sql-insupd.stderr (r1.8 -> r1.9)

(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/test/expected/sql-insupd.stderr?r1=1.8&r2=1.9)
        sql-insupd.stdout (r1.1 -> r1.2)

(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/test/expected/sql-insupd.stdout?r1=1.1&r2=1.2)
    pgsql/src/interfaces/ecpg/test/sql:
        insupd.pgc (r1.3 -> r1.4)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/test/sql/insupd.pgc?r1=1.3&r2=1.4)

Re: pgsql: Added variable handling for RETURNING clause to ecpg.

От
David Fetter
Дата:
On Fri, Jun 04, 2010 at 10:09:58AM +0000, Michael Meskes wrote:
> Log Message:
> -----------
> Added variable handling for RETURNING clause to ecpg.
>
> While the values were correctly returned they were not moved into C variables
> as they should be.
>
> Closes: #5489

Has anybody contacted Alexander, who reported this, to find his
surname so he can get some credit for tracking this down and proposing
a fix?

Cheers,
David.
--
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

Re: pgsql: Added variable handling for RETURNING clause to ecpg.

От
Michael Meskes
Дата:
On Fri, Jun 04, 2010 at 05:07:27AM -0700, David Fetter wrote:
> Has anybody contacted Alexander, who reported this, to find his
> surname so he can get some credit for tracking this down and proposing
> a fix?

No, not yet. He's CCed now. Alexander would you mind giving us your surname for
this reason?

Michael
--
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
ICQ 179140304, AIM/Yahoo/Skype michaelmeskes, Jabber meskes@jabber.org
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL