Re: BUG #13960: plpython fails with certain function names - Mailing list pgsql-bugs

From Jim Nasby
Subject Re: BUG #13960: plpython fails with certain function names
Date
Msg-id 56C3CB9A.4030009@BlueTreble.com
Whole thread Raw
In response to Re: BUG #13960: plpython fails with certain function names  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: BUG #13960: plpython fails with certain function names
List pgsql-bugs
On 2/14/16 7:09 PM, Tom Lane wrote:
> Yeah, that's what I was thinking about.  But yes, if we append the OID
> anyway then we might as well just strip all non-alphanumeric chars
> from the name.  Safe and you still get some debuggability.

Attached. I opted not to modify the name in-place. If it's safe to
modify in place, might want to just replace invalid characters with '_'
instead of making a copy.
--
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

Attachment

pgsql-bugs by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: Encoding problems with "COMMENT ON DATABASE .." causing pg_restore (and pg_upgrade) to fail
Next
From: Tom Lane
Date:
Subject: Re: BUG #13960: plpython fails with certain function names