Re: plpgsql functions organisation

From: Yves Dorfsman <yves(at)zioup(dot)com>
To: Melvin Davidson <melvin6925(at)gmail(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: plpgsql functions organisation
Date: 2015-05-02 19:34:29
Message-ID: 554526C5.8080309@zioup.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2015-05-02 11:12, Melvin Davidson wrote:
> AFAIK, you cannot "package" functions in PostgreSQL, but it is possible to
> call a function from within a function.
>
> That being said, I would seriously look at how and why you are writing your
> functions
> as functions that call other functions are not very efficient.

Simply to make long procedures easier to read and follow the logic.

>
> Also note that PostgreSQL allows you define functions using Python, so that
> might be a possible compromise.

Thanks.

--
http://yves.zioup.com
gpg: 4096R/32B0F416

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2015-05-02 20:05:02 Re: plpgsql functions organisation
Previous Message Adrian Klaver 2015-05-02 19:32:41 Re: plpgsql functions organisation