Re: MySQL search query is not executing in Postgres DB - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: MySQL search query is not executing in Postgres DB
Date
Msg-id 1353367146.6670.20.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: MySQL search query is not executing in Postgres DB  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: MySQL search query is not executing in Postgres DB  (Robert Haas <robertmhaas@gmail.com>)
Re: MySQL search query is not executing in Postgres DB  (Jan Wieck <JanWieck@Yahoo.com>)
List pgsql-hackers
On Tue, 2012-11-06 at 10:57 -0500, Robert Haas wrote:
> But, with the attached patch:
> 
> rhaas=# create function xyz(smallint) returns smallint as $$select
> $1$$ language sql;
> CREATE FUNCTION
> rhaas=# select xyz(5);
>  xyz
> -----
>    5
> (1 row)
> 
> rhaas=# create table abc (a int);
> CREATE TABLE
> rhaas=# select lpad(a, 5, '0') from abc;
>  lpad
> ------
> (0 rows)

I continue to be of the opinion that allowing this second case to work
is not desirable.





pgsql-hackers by date:

Previous
From: Alexander Korotkov
Date:
Subject: Re: WIP: index support for regexp search
Next
From: Michael Paquier
Date:
Subject: Re: logical changeset generation v3