Re: ecpg - GRANT bug

Bruce Momjian <pgman@candle.pha.pa.us>

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