Re: plpgsql NULL statement (was Re: [GENERAL] Postgres

Поиск
Список
Период
Сортировка
От Dennis Bjorklund
Тема Re: plpgsql NULL statement (was Re: [GENERAL] Postgres
Дата
Msg-id Pine.LNX.4.44.0408160840380.9559-100000@zigo.dhs.org
обсуждение исходный текст
Ответ на plpgsql NULL statement (was Re: [GENERAL] Postgres 8.0 -> BEGIN EXCEPTION END Syntax????)  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: plpgsql NULL statement (was Re: [GENERAL] Postgres  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Mon, 16 Aug 2004, Tom Lane wrote:

> > in oracle it's
> > WHEN OTHERS THEN null;
> > but this syntax doesn't work in postgres.
> 
> It looks like about five minutes' work to add such a thing ... anyone
> have any objections?

Is NULL above an empty statement in oracle or is it a normal expression
(the normal NULL value) so that the above is a shorthand for
  WHEN OTHERS THEN SELECT NULL;

?

-- 
/Dennis Björklund



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

Предыдущее
От: "Andrew Dunstan"
Дата:
Сообщение: Re: plpgsql NULL statement (was Re: [GENERAL] Postgres 8.0 -> BEGIN EXCEPTION END Syntax????)
Следующее
От: Karel Zak
Дата:
Сообщение: Re: to_char() and negative intervals