order of statements in create function

Поиск
Список
Период
Сортировка
От Markus Bertheau
Тема order of statements in create function
Дата
Msg-id 1089393374.2719.6.camel@teetnang
обсуждение исходный текст
Ответы Re: order of statements in create function
Re: order of statements in create function
Список pgsql-general
Hi,

why does everyone write

CREATE FUNCTION foo() RETURNS INTEGER AS '
blah blah
' LANGUAGE 'plpgsql';

I've never seen for example:

CREATE FUNCTION foo()
    RETURNS INTEGER
    LANGUAGE 'plpgsql'
    AS '
blah blah
';

Is there a special reason to this? I have a hard time believing that
everyone does it the same way by coincidence.

Thanks.

--
Markus Bertheau <twanger@bluetwanger.de>


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

Предыдущее
От: "Sally Sally"
Дата:
Сообщение: adding a db-specific user
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: adding a db-specific user