Re: interval behaviour

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Scott Marlowe <smarlowe(at)g2switchworks(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: interval behaviour
Date: 2005-12-01 19:31:23
Message-ID: 16069.1133465483@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Scott Marlowe <smarlowe(at)g2switchworks(dot)com> writes:
> Actually, I too prefer PostgreSQL's syntax. It's the worrisome
> behaviour of swallowing the spec syntax but not giving the right answer
> that scares me. Would it be very hard to have it just return an error
> in that case? Rather an error than the wrong answer.

Yeah, the problem is that Tom had that project about half done :-( ...
I think that the bison grammar has the support but then nothing gets done
with it in parse analysis. Probably by the time you'd worked out where
to throw the error, you'd know enough to fix it to work properly.

We could instead rip out the grammar support, which wouldn't take any
complicated analysis, but that seems like going backwards ...

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Johan 2005-12-01 19:43:27 Re: Disk Keeper
Previous Message Scott Marlowe 2005-12-01 19:25:25 Re: interval behaviour