Re: How to create c language in postgresql database. Thanks.

From: Chris Travers <chris(dot)travers(at)gmail(dot)com>
To: John R Pierce <pierce(at)hogranch(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: How to create c language in postgresql database. Thanks.
Date: 2012-06-13 04:45:21
Message-ID: CAKt_ZftepCvz7FTDcveoUm04QqV1ki6XM2__UwNK2fDpA306jw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Jun 12, 2012 at 11:47 AM, John R Pierce <pierce(at)hogranch(dot)com> wrote:
> On 06/12/12 11:25 AM, leaf_yxj wrote:
>>
>> Thanks. You guys are right. I check the database. The C programm is there.
>>   ----- but why our application team keep ask me to give them the superuser
>> privileges to create the C function. Should they use the superuser to create
>> the C function. if yes , why they need it?
>
>
> yes, only a sql superuser can define a C function, as these have total
> access to crashing postgres's innards.
>
Not just the innards, but the file system (could be used to overwrite
data files), arbitrary system commands, etc......

Best Wishes,
Chris Travers

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message gipsy-king1 2012-06-13 05:15:51 Re: import *.backup-file (PostGIS - not mine)
Previous Message Craig Ringer 2012-06-13 02:31:52 Re: How to create c language in postgresql database. Thanks.