From: | Hitoshi Harada <umi(dot)tanuki(at)gmail(dot)com> |
---|---|
To: | Bruce Momjian <bruce(at)momjian(dot)us> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: 9.0 release notes done |
Date: | 2010-03-20 19:54:36 |
Message-ID: | e08cc0401003201254s63cd614ne742b12d09bb7516@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
2010/3/21 Bruce Momjian <bruce(at)momjian(dot)us>:
> Hitoshi Harada wrote:
>> 2010/3/20 Bruce Momjian <bruce(at)momjian(dot)us>:
>> > I have completed the 9.0 release notes:
>> >
>> > ? ? ? ?http://developer.postgresql.org/pgdocs/postgres/release-9-0.html
>> >
>>
>> I wonder if we need note a minor compatibility from extending window
>> function's frame.
>>
>> - Change BETWEEN from TYPE_FUNC_NAME_KEYWORD from COL_NAME_KEYWORD
>
> I see. The change appears to be from "can be function or type name" to
> "cannot be function or type name", according to
> misc.c::pg_get_keywords().
>
> What error will they see if they do use an invalid name? Will it be
> clear that they just need to rename it?
No, it's only parser error as other syntactic changes.
# 9.0
regression=# create or replace function between(i int) returns int as
$$ select $1 + $1 $$ language sql;
ERROR: syntax error at or near "("
LINE 1: create or replace function between(i int) returns int as $$ ...
whereas 8.4 can create it successfully.
This is still ok, as well as 8.4.
regression=# select 1 as between;
between
---------
1
(1 row)
Regards,
--
Hitoshi Harada
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2010-03-20 20:05:21 | Re: 9.0 release notes done |
Previous Message | Pavel Stehule | 2010-03-20 18:33:14 | Re: 9.0 release notes done |