Re: viewing source code

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: "Trevor Talbot" <quension(at)gmail(dot)com>
Cc: "Roberts, Jon" <Jon(dot)Roberts(at)asurion(dot)com>, "Kris Jurka" <books(at)ejurka(dot)com>, "Merlin Moncure" <mmoncure(at)gmail(dot)com>, "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>, "Bill Moran" <wmoran(at)collaborativefusion(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: viewing source code
Date: 2007-12-20 19:40:11
Message-ID: 20071220114011.64a650d7@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 20 Dec 2007 10:47:53 -0800
"Trevor Talbot" <quension(at)gmail(dot)com> wrote:

>
> > This "feature" as it is called can be developed externally and has
> > zero reason to exist within PostgreSQL. If the feature has the
> > level of demand that people think that it does, then the external
> > project will be very successful and that's cool.
>
> I'm unsure of what you consider "external" here. Is SE-PostgreSQL the
> type of thing you mean?

I don't know that it needs to be that extensive. I noted elsewhere in
the thread the idea of a plpgsql_s. I think that is an interesting
idea. I just don't think it needs to be incorporated into
postgresql-core.

If we were to remove viewing source from postgresql-core an interesting
possibility would be to remove prosrc from pg_proc altogether. Instead
prosrc becomes a lookup field to the prosrc table.

The prosrc table would only be accessible from a called function (thus
you can't grab source via select). Of course this wouldn't apply to
superusers but any normal user would not be able to so much as look
sideways at the prosrc table.

Sincerely,

Joshua D. Drake

- --
The PostgreSQL Company: Since 1997, http://www.commandprompt.com/
Sales/Support: +1.503.667.4564 24x7/Emergency: +1.800.492.2240
Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
SELECT 'Training', 'Consulting' FROM vendor WHERE name = 'CMD'

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHasUbATb/zqfZUUQRAqINAJsFpvPkUJ6oL/gH7dX4YLsbldIC4gCfdujh
/S2b/ZmQU+R54MlO5ATelns=
=+2Ut
-----END PGP SIGNATURE-----

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Roberts, Jon 2007-12-20 19:45:08 Re: viewing source code
Previous Message Trevor Talbot 2007-12-20 18:47:53 Re: viewing source code