Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-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

pgsql-hackers by date

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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group