Re: [GENERAL] Using views and MS access via odbc - Mailing list pgsql-hackers

From Hiroshi Inoue
Subject Re: [GENERAL] Using views and MS access via odbc
Date
Msg-id EKEJJICOHDIEMGPNIFIJOEEHHLAA.Inoue@tpf.co.jp
Whole thread Raw
In response to Re: [GENERAL] Using views and MS access via odbc  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [GENERAL] Using views and MS access via odbc  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> -----Original Message-----
> From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
>
> "Hiroshi Inoue" <Inoue@tpf.co.jp> writes:
> > If you'd not like to change the behavior, I would change it, OK ?
>
> To what?  I don't want to simply undo the 7.2 change.

What I'm thinking is the following makeshift fix.
I expect it solves Ron's case though I'm not sure.
Returning UPDATE 0 seem to make no one happy.

regards,
Hiroshi Inoue

*** postgres.c.orig    Thu Feb 28 08:17:01 2002
--- postgres.c    Sat May  4 22:53:03 2002
***************
*** 805,811 ****
                      if (DebugLvl > 1)
                          elog(DEBUG, "ProcessQuery");

!                     if (querytree->originalQuery)
                      {
                          /* original stmt can override default tag string */
                          ProcessQuery(querytree, plan, dest, completionTag);
--- 805,811 ----
                      if (DebugLvl > 1)
                          elog(DEBUG, "ProcessQuery");

!                     if (querytree->originalQuery || length(querytree_list) == 1)
                      {
                          /* original stmt can override default tag string */
                          ProcessQuery(querytree, plan, dest, completionTag);


pgsql-hackers by date:

Previous
From: mlw
Date:
Subject: Native Windows, Apache Portable Runtime
Next
From: Justin Clift
Date:
Subject: Re: Native Windows, Apache Portable Runtime