Re: ECPG patch 4.1, out-of-scope cursor support in native mode
От
Boszormenyi Zoltan
Тема
Re: ECPG patch 4.1, out-of-scope cursor support in native
mode
Дата
Msg-id
4B278961.90804@cybertec.at
Ответ на
Re: ECPG patch 4, out-of-scope cursor support in Informix-mode (Boszormenyi Zoltan)
Список
Дерево обсуждения
CommitFest 2009-09, two weeks on Robert Haas <robertmhaas@gmail.com>
Re: CommitFest 2009-09, two weeks on Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: CommitFest 2009-09, two weeks on Tom Lane <tgl@sss.pgh.pa.us>
Re: CommitFest 2009-09, two weeks on Robert Haas <robertmhaas@gmail.com>
Re: CommitFest 2009-09, two weeks on Tom Lane <tgl@sss.pgh.pa.us>
Re: CommitFest 2009-09, two weeks on Michael Meskes <meskes@postgresql.org>
Re: CommitFest 2009-09, two weeks on Boszormenyi Zoltan <zb@cybertec.at>
Re: CommitFest 2009-09, two weeks on Alvaro Herrera <alvherre@commandprompt.com>
Re: CommitFest 2009-09, two weeks on Michael Meskes <meskes@postgresql.org>
Re: CommitFest 2009-09, two weeks on Boszormenyi Zoltan <zb@cybertec.at>
Re: CommitFest 2009-09, two weeks on Michael Meskes <meskes@postgresql.org>
Re: CommitFest 2009-09, two weeks on Boszormenyi Zoltan <zb@cybertec.at>
Re: CommitFest 2009-09, two weeks on Michael Meskes <meskes@postgresql.org>
Re: CommitFest 2009-09, two weeks on Boszormenyi Zoltan <zb@cybertec.at>
Re: CommitFest 2009-09, two weeks on Boszormenyi Zoltan <zb@cybertec.at>
Re: CommitFest 2009-09, two weeks on Alvaro Herrera <alvherre@commandprompt.com>
Re: CommitFest 2009-09, two weeks on Tom Lane <tgl@sss.pgh.pa.us>
Re: CommitFest 2009-09, two weeks on Alvaro Herrera <alvherre@commandprompt.com>
Re: CommitFest 2009-09, two weeks on Boszormenyi Zoltan <zb@cybertec.at>
Re: CommitFest 2009-09, two weeks on Alvaro Herrera <alvherre@commandprompt.com>
Re: CommitFest 2009-09, two weeks on Boszormenyi Zoltan <zb@cybertec.at>
ECPG patch 1, dynamic cursorname Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG patch 1, dynamic cursorname Michael Meskes <meskes@postgresql.org>
Re: ECPG patch 1, dynamic cursorname Boszormenyi Zoltan <zb@cybertec.at>
ECPG patch 2, SQLDA support Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG patch 2, SQLDA support Jaime Casanova <jcasanov@systemguards.com.ec>
Re: ECPG patch 2, SQLDA support Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG patch 2, SQLDA support Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG patch 2, SQLDA support Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG patch 2, SQLDA support Boszormenyi Zoltan <zb@cybertec.at>
ECPG SQLDA support Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG SQLDA support Alvaro Herrera <alvherre@commandprompt.com>
Re: ECPG SQLDA support Tom Lane <tgl@sss.pgh.pa.us>
Re: ECPG SQLDA support Michael Meskes <meskes@postgresql.org>
Re: ECPG SQLDA support Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG SQLDA support Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG SQLDA support Michael Meskes <meskes@postgresql.org>
Re: ECPG patch 3, DESCRIBE [OUTPUT] support Boszormenyi Zoltan <zb@cybertec.at>
ECPG patch 4, out-of-scope cursor support in Informix-mode Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG patch 4, out-of-scope cursor support in Informix-mode Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG patch 4.1, out-of-scope cursor support in native
mode Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG patch 4.1, out-of-scope cursor support in
native mode Michael Meskes <meskes@postgresql.org>
Re: ECPG patch 4.1, out-of-scope cursor support in native
mode Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG patch 4.1, out-of-scope cursor support in native
mode Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG patch 4.1, out-of-scope cursor support in
native mode Michael Meskes <meskes@postgresql.org>
Re: ECPG patch 4.1, out-of-scope cursor support in native
mode Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG patch 4.1, out-of-scope cursor support in
native mode Michael Meskes <meskes@postgresql.org>
Re: ECPG patch 4.1, out-of-scope cursor support in native
mode Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG patch 4.1, out-of-scope cursor support in
native mode Michael Meskes <meskes@postgresql.org>
Re: ECPG patch 4.1, out-of-scope cursor support in native
mode Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG patch 4.1, out-of-scope cursor support in
native mode Michael Meskes <meskes@postgresql.org>
Re: ECPG patch 4.1, out-of-scope cursor support in native
mode Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG patch 4.1, out-of-scope cursor support in native mode Michael Meskes <meskes@postgresql.org>
Re: ECPG patch 4.1, out-of-scope cursor support in native
mode Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG patch 4.1, out-of-scope cursor support in
native mode Michael Meskes <meskes@postgresql.org>
Re: ECPG patch N+1, fix auto-prepare Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG patch N+1, fix auto-prepare Michael Meskes <meskes@postgresql.org>
Re: ECPG patch N+1, fix auto-prepare Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG patch N+1, fix auto-prepare Michael Meskes <meskes@postgresql.org>
Re: ECPG patch N+1, fix auto-prepare Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG patch N+1, fix auto-prepare Michael Meskes <meskes@postgresql.org>
Fix auto-prepare #2 Boszormenyi Zoltan <zb@cybertec.at>
Re: Fix auto-prepare #2 Takahiro Itagaki <itagaki.takahiro@oss.ntt.co.jp>
Re: Fix auto-prepare #2 Boszormenyi Zoltan <zb@cybertec.at>
Re: Fix auto-prepare #2 Takahiro Itagaki <itagaki.takahiro@oss.ntt.co.jp>
Re: Fix auto-prepare #2 Michael Meskes <meskes@postgresql.org>
ECPG out-of-scope cursor support in native mode Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG patch 3, DESCRIBE [OUTPUT] support Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG patch 3, DESCRIBE [OUTPUT] support Boszormenyi Zoltan <zb@cybertec.at>
ECPG DESCRIBE [OUTPUT] support Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG DESCRIBE [OUTPUT] support Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG DESCRIBE [OUTPUT] support Michael Meskes <meskes@postgresql.org>
ECPG documentation patch Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG DESCRIBE [OUTPUT] support Robert Haas <robertmhaas@gmail.com>
Re: CommitFest 2009-09, two weeks on Robert Haas <robertmhaas@gmail.com>
Re: CommitFest 2009-09, two weeks on Michael Meskes <meskes@postgresql.org>
Re: CommitFest 2009-09, two weeks on Hans-Jürgen Schönig <hs@cybertec.at>
Re: CommitFest 2009-09, two weeks on Robert Haas <robertmhaas@gmail.com>
Re: CommitFest 2009-09, two weeks on Alvaro Herrera <alvherre@commandprompt.com>
Re: CommitFest 2009-09, two weeks on Boszormenyi Zoltan <zb@cybertec.at>
Re: CommitFest 2009-09, two weeks on Robert Haas <robertmhaas@gmail.com>
ECPG dynamic cursorname patch revised and split Re: CommitFest
2009-09, two weeks on Boszormenyi Zoltan <zb@cybertec.at>
Re: CommitFest 2009-09, two weeks on Robert Haas <robertmhaas@gmail.com>
Re: CommitFest 2009-09, two weeks on Andrew Dunstan <andrew@dunslane.net>
Re: CommitFest 2009-09, two weeks on Magnus Hagander <magnus@hagander.net>
Re: CommitFest 2009-09, two weeks on Alvaro Herrera <alvherre@commandprompt.com>
Re: CommitFest 2009-09, two weeks on Itagaki Takahiro <itagaki.takahiro@oss.ntt.co.jp>
Re: CommitFest 2009-09, two weeks on Magnus Hagander <magnus@hagander.net>
Re: CommitFest 2009-09, two weeks on Robert Haas <robertmhaas@gmail.com>
Re: CommitFest 2009-09, two weeks on Tom Lane <tgl@sss.pgh.pa.us>
Re: CommitFest 2009-09, two weeks on Magnus Hagander <magnus@hagander.net>
Re: CommitFest 2009-09, two weeks on Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: CommitFest 2009-09, two weeks on Robert Haas <robertmhaas@gmail.com>
Re: CommitFest 2009-09, two weeks on KaiGai Kohei <kaigai@ak.jp.nec.com>
Re: CommitFest 2009-09, two weeks on Robert Haas <robertmhaas@gmail.com>
Re: CommitFest 2009-09, two weeks on Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: CommitFest 2009-09, two weeks on Robert Haas <robertmhaas@gmail.com>
Re: CommitFest 2009-09, two weeks on Joe Conway <mail@joeconway.com>
Re: CommitFest 2009-09, two weeks on Tom Lane <tgl@sss.pgh.pa.us>
Re: CommitFest 2009-09, two weeks on Robert Haas <robertmhaas@gmail.com>
Re: CommitFest 2009-09, two weeks on Joe Conway <mail@joeconway.com>
Re: CommitFest 2009-09, two weeks on Itagaki Takahiro <itagaki.takahiro@oss.ntt.co.jp>
Re: CommitFest 2009-09, two weeks on Joe Conway <mail@joeconway.com>
dblink memory leak Itagaki Takahiro <itagaki.takahiro@oss.ntt.co.jp>
Re: dblink memory leak Tom Lane <tgl@sss.pgh.pa.us>
Re: dblink memory leak Itagaki Takahiro <itagaki.takahiro@oss.ntt.co.jp>
Re: dblink memory leak Tom Lane <tgl@sss.pgh.pa.us>
Re: dblink memory leak Joe Conway <mail@joeconway.com>
Re: dblink memory leak Tom Lane <tgl@sss.pgh.pa.us>
Re: dblink memory leak Joe Conway <mail@joeconway.com>
Re: dblink memory leak Tom Lane <tgl@sss.pgh.pa.us>
Re: dblink memory leak Robert Haas <robertmhaas@gmail.com>
Re: dblink memory leak Joe Conway <mail@joeconway.com>
Re: CommitFest 2009-09, two weeks on Tom Lane <tgl@sss.pgh.pa.us>
Boszormenyi Zoltan írta: > New version: rebased to current CVS and > fix the rejects caused by the newer SQLDA > and DESCRIBE patches. Note that it's still > compat-mode only, I will send a modified patch > in the next email that is ECPG-wide, so it can be > decided if the feature is wanted in native mode or not. Attached. Changes against the compat-mode only patch are: - ECPG_informix_set_var() and ECPG_informix_get_var() were renamed to ECPGset_var() and ECPGget_var() and were moved into libecpg. The previous calls are kept in libecpg_compat.so as wrappers for compatibility reasons. - adjust_informix() was renamed as adjust_outofscope_cursor_vars() to indicate its real purpose. The comment at the beginning of the function is modified to explain why it's useful. The code produced by this is not too ugly this way in native mode, only some ECPGset_var() calls are added when the DECLARE are in the same function as OPEN/FETCH/CLOSE. Global variables used in DECLARE aren't transformed at all. -- Bible has answers for everything. Proof: "But let your communication be, Yea, yea; Nay, nay: for whatsoever is more than these cometh of evil." (Matthew 5:37) - basics of digital technology. "May your kingdom come" - superficial description of plate tectonics ---------------------------------- Zoltán Böszörményi Cybertec Schönig & Schönig GmbH http://www.postgresql.at/
В списке pgsql-hackers по дате отправления
От: Boszormenyi Zoltan
Дата: