From: | "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | rdeleonp(at)gmail(dot)com, rdeleonp(at)yahoo(dot)com, pgsql-admin(at)postgresql(dot)org, "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>, "Aaron Bono" <postgresql(at)aranya(dot)com> |
Subject: | Re: Wrap (obfuscate) code |
Date: | 2006-07-05 01:56:51 |
Message-ID: | 200607041856.52276.jd@commandprompt.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
On Tuesday 04 July 2006 18:51, Tom Lane wrote:
> "Rodrigo De Leon" <rdeleonp(at)gmail(dot)com> writes:
> > I would be quite a bonus to have equivalent functionality in PG.
>
> Write your functions in C and give them precompiled libraries.
> Yes, also theoretically decompilable, but plenty hard ... plus
> they have to come back to you for an update on every major PG
> revision ;-)
On that note, would it be possible to write a language handler in
C that would wrap plPgsql? E.g;
Write function in plpgsql, but call plpgsql_o
plpgsql_o takes the plpgsql code and turns it into some kind of bytecode.
When executed via postgresql, the handler defanges the bytecode and
hands it off to plpgsql for proper processing?
Just a thought.
Joshua D. Drake
>
> regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Wim | 2006-07-05 07:55:39 | PGpool and VACUUM |
Previous Message | Tom Lane | 2006-07-05 01:51:43 | Re: Wrap (obfuscate) code |