Re: Compiling pl/pgsql functions - Mailing list pgsql-sql

From Richard Huxton
Subject Re: Compiling pl/pgsql functions
Date
Msg-id 200402192049.09624.dev@archonet.com
Whole thread Raw
In response to Re: Compiling pl/pgsql functions  (Josh Berkus <josh@agliodbs.com>)
List pgsql-sql
On Thursday 19 February 2004 19:26, Josh Berkus wrote:
> Rodrigo,
>
> >   I insist in my question, is there a way to compile the plpgsql codes or
>
> something like that, or its better to think about writting this postgres
> functions in C??????
>
> No, there is not.   Nor is there likely to be for any PL, as it would add
> significant overhead for no real gain.

It's worse than that - if you really denied access to them, you wouldn't be 
able to dump/restore the database - absolute nightmare.

> Personally, I find it
> hard to believe that any of my PL/SQL functions (or yours) are so brilliant
> that they need trade secret protection.

Some of mine are so ugly, I wish they were hidden away mind you ;-)

--  Richard Huxton Archonet Ltd


pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: CHAR(n) always trims trailing spaces in 7.4
Next
From: Brian Knox
Date:
Subject: Re: DISTINCT ON troubles