Re: patch (for 9.1) string functions
Pavel Stehule <pavel.stehule@gmail.com>
From: Pavel Stehule <pavel.stehule@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Itagaki Takahiro <itagaki.takahiro@gmail.com>, Robert Haas <robertmhaas@gmail.com>, Merlin Moncure <mmoncure@gmail.com>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>, Erik Rijkers <er@xs4all.nl>
Date: 2010-08-23T14:41:31Z
Lists: pgsql-hackers
2010/8/23 Tom Lane <tgl@sss.pgh.pa.us>: > Pavel Stehule <pavel.stehule@gmail.com> writes: >> ... The formating >> enhancing should be shared with RAISE NOTICE command. > > I remain of the opinion that RAISE's approach to formatting is > completely broken and inextensible, and that any attempt to be somehow > compatible with it is going to lead to an unusably broken design. > You should leave RAISE alone and just think about printf. > ok - then we don't need modify proposed patch. "Format" function is enough for PL/pgSQL and other PL languages has own mutation of this functions. There are not barrier for implementation as custom function, so we can hold this function most simple. Regards Pavel > regards, tom lane >