order of statements in create function - Mailing list pgsql-general

From Markus Bertheau
Subject order of statements in create function
Date
Msg-id 1089393374.2719.6.camel@teetnang
Whole thread Raw
Responses Re: order of statements in create function  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
Re: order of statements in create function  (Peter Eisentraut <peter_e@gmx.net>)
List 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 by date:

Previous
From: "Sally Sally"
Date:
Subject: adding a db-specific user
Next
From: Bruno Wolff III
Date:
Subject: Re: adding a db-specific user