Re: ecpg - GRANT bug

Lee Kindness <lkindness@csl.co.uk>

From: Lee Kindness <lkindness@csl.co.uk>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: Michael Meskes <meskes@postgresql.org>, Tom Lane <tgl@sss.pgh.pa.us>, Lee Kindness <lkindness@csl.co.uk>, pgsql-bugs@postgresql.org, maves@csl.co.uk
Date: 2001-10-30T09:15:15Z
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@candle.pha.pa.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