pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jim Nasby <Jim.Nasby@BlueTreble.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #13960: plpython fails with certain function names
Date: Tue, 16 Feb 2016 19:53:22 -0600
Message-ID: <56C3D292.9060507@BlueTreble.com> (raw)
In-Reply-To: <25529.1455673778@sss.pgh.pa.us>
References: <20160215001447.2605.36302@wrigleys.postgresql.org>
	<3868.1455497399@sss.pgh.pa.us>
	<56C12241.2030107@BlueTreble.com>
	<4535.1455498553@sss.pgh.pa.us>
	<56C3CB9A.4030009@BlueTreble.com>
	<25529.1455673778@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On 2/16/16 7:49 PM, Tom Lane wrote:
> I like the idea of replacing invalid characters with '_'.  It's definitely
> not safe to scribble on the pg_proc tuple, but we could get the same
> result with a few wasted cycles by rescanning the procName string after
> building it, as per attached.

Heck, I didn't even think about that. Yeah, it's going to scan another 
20 bytes or so, but this certainly isn't performance critical.

BTW, I didn't bother checking this with python 3.5, but I can't fathom 
how that would matter here.
-- 
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (10+ messages)  latest in thread

Message-ID: <56C3D292.9060507@BlueTreble.com>
Permalink:  ../56C3D292.9060507@BlueTreble.com/
Also on:    postgresql.org/message-id/56C3D292.9060507@BlueTreble.com

 · 

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-bugs@postgresql.org
  Cc: Jim.Nasby@BlueTreble.com, tgl@sss.pgh.pa.us
  Subject: Re: BUG #13960: plpython fails with certain function names
  In-Reply-To: <56C3D292.9060507@BlueTreble.com>
  References: <20160215001447.2605.36302@wrigleys.postgresql.org> <3868.1455497399@sss.pgh.pa.us> <56C12241.2030107@BlueTreble.com> <4535.1455498553@sss.pgh.pa.us> <56C3CB9A.4030009@BlueTreble.com> <25529.1455673778@sss.pgh.pa.us> <56C3D292.9060507@BlueTreble.com>

* 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