Re: Hide the code from users postgres

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Allan Kamau <kamauallan(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Hide the code from users postgres
Date: 2010-06-24 22:04:24
Message-ID: AANLkTik701lxYM1OZz7BdtprpQeNl2HtZXJ_L8rfrc8b@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Jun 24, 2010 at 10:59 PM, Allan Kamau <kamauallan(at)gmail(dot)com> wrote:

> Perhaps (I could be wrong here), there may be a way (even though I
> don't really support the obfuscation, vendor lockup etc... idea).
> 1)Use a commercial DB (as mentioned previously), they seem to have
> provided for this.
> 2)Use PostgreSQL and write all code into C functions and complied to a
> given PostgreSQL installation.

You could do that. It's not exactly productive to write/rewrite all
your functions in C if pl/pgsql will work though, plus it means you
need to compile separate binaries for each for each platform your
customers use, and upgrades can no longer be pure SQL scripts, as
you'll also need to ship new object files and install them on the
database server.

--
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise Postgres Company

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Wang, Mary Y 2010-06-24 22:41:08 Converting a Simple Database from MySQL to PostgreSQL in 40 hours?
Previous Message Allan Kamau 2010-06-24 21:59:37 Re: Hide the code from users postgres