| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Lee Kindness <lkindness(at)csl(dot)co(dot)uk> |
| Cc: | pgsql-hackers(at)postgresql(dot)org, Michael Meskes <meskes(at)postgresql(dot)org>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
| Subject: | Re: ecpg - GRANT bug |
| Date: | 2001-10-15 14:10:40 |
| Message-ID: | 13656.1003155040@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs pgsql-hackers |
Lee Kindness <lkindness(at)csl(dot)co(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Lee Kindness | 2001-10-15 14:32:27 | Re: ecpg - GRANT bug |
| Previous Message | Bill Studenmund | 2001-10-15 12:15:13 | Re: ecpg - GRANT bug |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2001-10-15 14:18:31 | Re: Pre-forking backend |
| Previous Message | Tom Lane | 2001-10-15 14:07:16 | Re: New contrib/tsearch module for 7.2 |