Re: Why does TRIM() expect an expr_list?

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Korry Douglas <korry(dot)douglas(at)enterprisedb(dot)com>, PostgreSQL-development Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Why does TRIM() expect an expr_list?
Date: 2010-04-20 16:51:13
Message-ID: p2z603c8f071004200951ucb8d8b77g5afcf959cfa9cbdb@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Apr 20, 2010 at 12:41 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Korry Douglas 2010-04-20 16:53:30 Re: Why does TRIM() expect an expr_list?
Previous Message Tom Lane 2010-04-20 16:41:10 Re: Why does TRIM() expect an expr_list?