Re: Why does TRIM() expect an expr_list? - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Why does TRIM() expect an expr_list?
Date
Msg-id p2z603c8f071004200951ucb8d8b77g5afcf959cfa9cbdb@mail.gmail.com
Whole thread Raw
In response to Re: Why does TRIM() expect an expr_list?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Tue, Apr 20, 2010 at 12:41 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> It looks to me like you're not supposed to be able to omit FROM if
> you've written a <trim specification>.  Should we tighten our
> syntax to reject that?

I would think not.  If we were doing this from scratch we might choose
to set it up that way, but I don't think it's worth breaking backward
compatibility.  I think we should just consider it a PostgreSQL
extension.

...Robert


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Why does TRIM() expect an expr_list?
Next
From: Peter Eisentraut
Date:
Subject: Re: pgindent and tabs in comments