postgresql/src
Tom Lane 798e235790 Rationalize error messages within jsonfuncs.c.
I noticed that the functions in jsonfuncs.c sometimes printed error
messages that claimed I'd called some other function.  Investigation showed
that this was from repurposing code into "worker" functions without taking
much care as to whether it would mention the right SQL-level function if it
threw an error.  Moreover, there was a weird mismash of messages that
contained a fixed function name, messages that used %s for a function name,
and messages that constructed a function name out of spare parts, like
"json%s_populate_record" (which, quite aside from being ugly as sin, wasn't
even sufficient to cover all the cases).  This would put an undue burden on
our long-suffering translators.  Standardize on inserting the SQL function
name with %s so as to reduce the number of translatable strings, and pass
function names around as needed to make sure we can report the right one.
Fix up some gratuitous variations in wording, too.
2014-06-25 15:25:22 -07:00
..
backend Rationalize error messages within jsonfuncs.c. 2014-06-25 15:25:22 -07:00
bin Improve tab-completion of DROP and ALTER ENABLE/DISABLE on triggers and rules. 2014-06-23 23:56:20 +03:00
common pgindent run for 9.4 2014-05-06 12:12:18 -04:00
include Add Asserts to verify that catalog cache keys are unique and not null. 2014-06-20 18:21:05 -04:00
interfaces Let installcheck-world pass against a server requiring a password. 2014-06-19 21:41:26 -04:00
makefiles Consistently define BUILDING_DLL during builds of src/port for Windows. 2014-06-11 19:50:41 -04:00
pl Make plpython_unicode regression test work in more database encodings. 2014-06-03 12:01:54 -04:00
port Add mkdtemp() to libpgport. 2014-06-14 09:41:13 -04:00
template Have configuration templates augment, not replace, LDFLAGS. 2014-06-11 19:50:57 -04:00
test Rationalize error messages within jsonfuncs.c. 2014-06-25 15:25:22 -07:00
timezone pgindent run for 9.4 2014-05-06 12:12:18 -04:00
tools Fix the MSVC build process for uuid-ossp. 2014-06-18 09:21:50 -04: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 Support BSD and e2fsprogs UUID libraries alongside OSSP UUID library. 2014-05-27 19:42:08 -04:00
Makefile.shlib Tweak position of $(DLL_DEFFILE) in shared-library link commands. 2014-02-12 11:22:23 -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