pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: Andrew Dunstan <andrew@dunslane.net>
To: Terry Scheingeld <tscheingeld32@gmail.com>
To: pgsql-committers@postgresql.org
Subject: Re: Taint mode in PL/Perl
Date: Sun, 02 Aug 2015 15:53:49 -0400
Message-ID: <55BE754D.6060903@dunslane.net> (raw)
In-Reply-To: <CABg1sXo02F3WOAvmWaWaEir+_DHWJ-asTWn6DGbJbSdW=Ogc=w@mail.gmail.com>
References: <CABg1sXo02F3WOAvmWaWaEir+_DHWJ-asTWn6DGbJbSdW=Ogc=w@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
On 08/02/2015 12:41 PM, Terry Scheingeld wrote:
> I've googled and read documentation but I can't figure this out. How
> do I configure Postgres so that PL/Perl runs in taint mode? I
> understand that plperl runs in "safe mode" but that's not quite the
> same thing as taint mode.
>
> I do know that it's not running in taint mode because this script returns 0:
>
> -- are we in taint mode?
> create function in_taint() returns varchar as $$
> return ${^TAINT};
> $$ language plperl;
>
> select in_taint();
>
> in_taint
> ----------
> 0
> (1 row)
>
> I am using this version of Pg:
>
> PostgreSQL 9.3.9 on x86_64-unknown-linux-gnu, compiled by gcc (Ubuntu
> 4.8.4-2ubuntu1~14.04) 4.8.4, 64-bit
>
> I am running it on Linux as follows:
>
> Operating system: Ubuntu Linux 14.04.2
> Kernel and CPU: Linux 3.13.0-57-generic on x86_64
>
> I configured PL/Perl in postgresql.conf with this line:
>
> plperl.use_strict 1
>
> Please let me know any other info I can give to help with this issue.
> Thanks so much!
>
>
This is completely the wrong list to ask this question. Please ask on
the correct mailing list, pgsql-general.
cheers
andrew
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
view thread (3+ messages) latest in thread
Message-ID: <55BE754D.6060903@dunslane.net> Permalink: ../55BE754D.6060903@dunslane.net/ Also on: postgresql.org/message-id/55BE754D.6060903@dunslane.net ·
reply
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 from your mail client; the link fills in the headers below: reply via email Some clients, webmail especially, drop In-Reply-To and References from a link, and the reply then starts a new thread: use the mbox below. To: pgsql-committers@postgresql.org Cc: andrew@dunslane.net, tscheingeld32@gmail.com Subject: Re: Taint mode in PL/Perl In-Reply-To: <55BE754D.6060903@dunslane.net> References: <CABg1sXo02F3WOAvmWaWaEir+_DHWJ-asTWn6DGbJbSdW=Ogc=w@mail.gmail.com> <55BE754D.6060903@dunslane.net> * 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