postgresql/src
Tom Lane f461fa7d07 Make plpython cope with funny characters in function names.
A function name that's double-quoted in SQL can contain almost any
characters, but we were using that name directly as part of the name
generated for the Python-level function, and Python doesn't like
anything that isn't pretty much a standard identifier.  To fix,
replace anything that isn't an ASCII letter or digit with an underscore
in the generated name.  This doesn't create any risk of duplicate Python
function names because we were already appending the function OID to
the generated name to ensure uniqueness.  Per bug #13960 from Jim Nasby.

Patch by Jim Nasby, modified a bit by me.  Back-patch to all
supported branches.
2016-02-16 21:08:15 -05:00
..
backend Suppress compiler warnings about useless comparison of unsigned to zero. 2016-02-15 17:11:52 -05:00
bin Accept pg_ctl timeout from the PGCTLTIMEOUT environment variable. 2016-02-10 20:34:30 -05:00
common Unlink static libraries before rebuilding them. 2015-03-01 13:06:33 -05:00
include Suppress compiler warnings about useless comparison of unsigned to zero. 2016-02-15 17:11:52 -05:00
interfaces Stamp 9.4.6. 2016-02-08 16:15:19 -05:00
makefiles Consolidate makefile code for setting top_srcdir, srcdir and VPATH. 2015-07-30 20:49:22 -04:00
pl Make plpython cope with funny characters in function names. 2016-02-16 21:08:15 -05:00
port Stamp 9.4.6. 2016-02-08 16:15:19 -05:00
template AIX: Test the -qlonglong option before use. 2015-07-17 03:01:35 -04:00
test Fix some regex issues with out-of-range characters and large char ranges. 2016-02-08 10:25:40 -05:00
timezone Update time zone data files to tzdata release 2016a. 2016-02-05 10:59:26 -05:00
tools Properly install dynloader.h on MSVC builds 2016-01-19 23:30:29 -05:00
tutorial pgindent run for 9.4 2014-05-06 12:12:18 -04:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
bcc32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
DEVELOPERS Replace a couple of references to files that no longer exist in the source 2009-05-04 08:08:47 +00:00
Makefile Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
Makefile.global.in Back-patch fixes to make TAP tests work on Windows. 2015-11-17 14:10:24 -05:00
Makefile.shlib Unlink static libraries before rebuilding them. 2015-03-01 13:06:33 -05:00
nls-global.mk Setup error context callback for transaction lock waits 2014-03-19 15:10:36 -03:00
win32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00