Re: Wrap (obfuscate) code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 04 July 2006 18:51, Tom Lane wrote:
> "Rodrigo De Leon" <rdeleonp@xxxxxxxxx> 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


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux