Re: ecpg - GRANT bug

From: Lee Kindness <lkindness(at)csl(dot)co(dot)uk>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Michael Meskes <meskes(at)postgresql(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Lee Kindness <lkindness(at)csl(dot)co(dot)uk>, pgsql-bugs(at)postgresql(dot)org, maves(at)csl(dot)co(dot)uk
Subject: Re: ecpg - GRANT bug
Date: 2001-10-30 09:15:15
Message-ID: 15326.28579.533558.629395@elsick.csl.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

All in all it doesn't really matter... Michael's already applied a
better fix! For some reason Tom's email has been lost in the system
for weeks!

Lee.

Bruce Momjian writes:
> > On Mon, Oct 29, 2001 at 12:44:09PM -0500, Bruce Momjian wrote:
> > > I saw that change from 8 to 7. I think in the ecpg code that the first
> > > parameter to cat_str is the number of arguments _after_ the first
> > > parameter.
> >
> > It is indeed.
> >
> > > so I think the change from 8 -> 7 is correct.
> >
> > Not exactly. Yes, the cat_str has 7 arguments besides the number, but the
> > rule suggests it should have 8.
>
> Sorry, I am lost. The rule above says to count the number of params
> after the first one. Doesn't that make it 7?
>
> --
> Bruce Momjian | http://candle.pha.pa.us
> pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
> + If your life is a hard drive, | 830 Blythe Avenue
> + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message pgsql-bugs 2001-10-30 10:46:08 Bug #502: Duplicate values in field with type primary key.
Previous Message Michael Meskes 2001-10-30 07:31:53 Re: ecpg - GRANT bug

Browse pgsql-hackers by date

  From Date Subject
Next Message Philip Warner 2001-10-30 09:16:04 Re: Odd error in complex query (7.2): Sub-SELECT
Previous Message Hannu Krosing 2001-10-30 08:43:36 Re: Odd error in complex query (7.2): Sub-SELECT