Re: ecpg - GRANT bug - Mailing list pgsql-hackers

From Tom Lane
Subject Re: ecpg - GRANT bug
Date
Msg-id 13656.1003155040@sss.pgh.pa.us
Whole thread Raw
In response to ecpg - GRANT bug  (Lee Kindness <lkindness@csl.co.uk>)
Responses Re: ecpg - GRANT bug
List pgsql-hackers
Lee Kindness <lkindness@csl.co.uk> writes:
> The existing code in ecpg/preproc/preproc.y to handle the WITH option
> simply throws an error and aborts the processing... The patch below
> prevents the segfault and also passes on the WITH option to the
> backend, probably a better fix.

I agree.  It shouldn't be ecpg's business to throw errors on behalf of
the backend, especially not "not yet implemented" kinds of errors.
That just causes ecpg to be more tightly coupled to a particular backend
version than it needs to be.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: Ready for Beta?
Next
From: Lee Kindness
Date:
Subject: Re: ecpg - GRANT bug