From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL Development <pgsql-hackers(at)postgreSQL(dot)org> |
Subject: | Re: [HACKERS] Re: [PATCHES] Patch for more readable parse error messages |
Date: | 2000-02-22 04:08:26 |
Message-ID: | 200002220408.XAA23843@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
> Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> > On 2000-02-20, Tom Lane mentioned:
> >> I would not like us to stop working
> >> with non-bison yaccs, since bison's output depends on alloca() which
> >> is not available everywhere.
>
> > Couldn't alloca(x) be defined to palloc(x) where missing?
>
> Probably, but I wasn't looking for a workaround; that was just one
> quick illustration of a reason not to want to use bison (one that's
> bitten me personally, so I knew it offhand). We should try not to
> become dependent on bison when there are near-equivalent tools, just
> on general principles of maintaining portability. For an analogy,
> I believe most of the developers use gcc, but it would be a real bad
> idea for us to abandon support for other compilers.
But I don't see non-bison solutions for finding the location of errors.
Is it possible? Could we enable the feature just for bison?
--
Bruce Momjian | http://www.op.net/~candle
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
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2000-02-22 04:19:28 | Re: [HACKERS] Re: SQL compliance - why -- comments only at psql level? |
Previous Message | Tom Lane | 2000-02-22 04:05:49 | Re: [HACKERS] Numeric with '-' |
From | Date | Subject | |
---|---|---|---|
Next Message | Don Baccus | 2000-02-22 05:05:51 | Re: [HACKERS] Re: [PATCHES] Patch for more readable parse error messages |
Previous Message | Tom Lane | 2000-02-22 03:56:34 | Re: [HACKERS] Re: [PATCHES] Patch for more readable parse error messages |