From: Peter Manchev <pmanchev@hotmail.com>
To: mike@fuhr.org
Cc: pgsql-sql@postgresql.org
Subject: Re: plpgsql functions to 'C' functions
Date: Thu, 03 Feb 2005 05:31:47 -0800
Message-ID: <BAY101-F25DD989F3CBC0B72F5EE70C57F0@phx.gbl> (raw)
In-Reply-To: <20050203062107.GD46692@winnie.fuhr.org>
I believe the functionality I need (hiding the function code from users)
will be provided with the implementation of the the following item from the
Postgresql todo list:
SERVER-SIDE LANGUAGES
-- Add Oracle-style packages
May be another future functionality will also help out, especially if the
permission system can hide all objects but the function signatures from
non-authorized:
-- Set proper permissions on non-system schemas during db creation
Until then, I have to figure out a way to implement it with the resources
available... like (hand) re-coding the plpgsql functions to 'C' functions :/
Here is where I'd like to get your expert opinions (thank you very much in
advance for all your efforts), so I can get started fast.
Thanks,
Peter
>From: Michael Fuhr <mike@fuhr.org>
>To: Peter Manchev <pmanchev@hotmail.com>
>CC: pgsql-sql@postgresql.org
>Subject: Re: [SQL] plpgsql functions to 'C' functions
>Date: Wed, 2 Feb 2005 23:21:07 -0700
...
>On Wed, Feb 02, 2005 at 05:57:10AM -0800, Peter Manchev wrote:
>
> > I would like to convert all my plpgsql functions to their 'C' equivalent
> > coded functions.
>
>Why? What problem are you trying to solve?
>
> > Does anyone have experience in this matter?
>
>See "C-Language Functions" in the documentation:
>
>http://www.postgresql.org/docs/8.0/static/xfunc-c.html
>
>If you're having a specific difficulty then please show the code
>you're using, explain what you want it to do, and describe what
>acutally happens.
>
>--
>Michael Fuhr
>http://www.fuhr.org/~mfuhr/
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: pmanchev@hotmail.com, mike@fuhr.org
Subject: Re: plpgsql functions to 'C' functions
In-Reply-To: <BAY101-F25DD989F3CBC0B72F5EE70C57F0@phx.gbl>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox