Re: plpgsql on 8.0b4 bug?

Поиск
Список
Период
Сортировка
От James Robinson
Тема Re: plpgsql on 8.0b4 bug?
Дата
Msg-id 2B68878A-3986-11D9-8BCB-000A9566A412@socialserve.com
обсуждение исходный текст
Ответ на Re: plpgsql on 8.0b4 bug?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Between ugly #1 and ugly #2, I'd think that a wart teaching it that 
'ELSEIF' is not a valid manner to start a statement (i.e. following a 
semicolon) would be preferable. Allowing us hacks to write functions 
containing both spellings makes the language look poor since it ought 
to slap us into formal shape. This isn't [insert a lossy SQL 
implementation or slop-inspiring scripting language here]. We're 
typesafe and syntax checking!

On Nov 18, 2004, at 12:09 PM, Tom Lane wrote:

> It occurs to me that one simple thing we could do is make plpgsql 
> accept
> both ELSIF and ELSEIF as legal spellings of the keyword.  This seems a
> bit ugly but I can't think of any really good objections.

----
James Robinson
Socialserve.com



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: plpgsql on 8.0b4 bug?
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: invalid page header