postgresql/src/backend
Tom Lane cafbf1e1cc Fix oversight in original coding of inline_function(): since
check_sql_fn_retval allows binary-compatibility cases, the expression
extracted from an inline-able SQL function might have a type that is only
binary-compatible with the declared function result type.  To avoid possibly
changing the semantics of the expression, we should insert a RelabelType node
in such cases.  This has only been shown to have bad consequences in recent
8.1 and up releases, but I suspect there may be failure cases in the older
branches too, so patch it all the way back.  Per bug #3116 from Greg Mullane.

Along the way, fix an omission in eval_const_expressions_mutator: it failed
to copy the relabelformat field when processing a RelabelType.  No known
observable failures from this, but it definitely isn't intended behavior.
2007-03-06 22:45:23 +00:00
..
access Disallow committing a prepared transaction unless we are in the same database 2007-02-13 19:39:48 +00:00
bootstrap On systems that have setsid(2) (which should be just about everything except 2006-11-21 20:59:53 +00:00
catalog Fix incorrect permissions check in information_schema.key_column_usage view: 2007-01-16 18:32:32 +00:00
commands Fix an error in the original coding of holdable cursors: PersistHoldablePortal 2007-02-06 22:49:30 +00:00
executor Fix another problem in 8.2 changes that allowed "one-time" qual conditions to 2007-02-16 03:49:10 +00:00
lib Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
libpq On Windows, use pgwin32_waitforsinglesocket() instead of select() to wait for 2007-01-26 20:07:01 +00:00
main Fix erroneous implementation of -s in postmaster.c (the switch doesn't take 2007-01-04 00:58:01 +00:00
nodes Fix recently-understood problems with handling of XID freezing, particularly 2006-11-05 22:42:10 +00:00
optimizer Fix oversight in original coding of inline_function(): since 2007-03-06 22:45:23 +00:00
parser Fix filtered_base_yylex() to save and restore base_yylval and base_yylloc 2007-01-06 19:14:27 +00:00
po Translation updates 2007-01-31 08:33:34 +00:00
port On Windows, use pgwin32_waitforsinglesocket() instead of select() to wait for 2007-01-26 20:07:01 +00:00
postmaster Fix miscalculation of stats collector's write delay, introduced in revision 1.117. 2007-03-01 20:07:02 +00:00
regex Re-run pgindent, fixing a problem where comment lines after a blank 2005-11-22 18:17:34 +00:00
rewrite Fix markQueryForLocking() to work correctly in the presence of nested views. 2007-03-01 18:50:36 +00:00
storage Back-port changes of Jan 16 and 17 to "revoke" pending fsync requests during 2007-01-27 20:15:47 +00:00
tcop Fix portal management code to support non-default command completion tags for 2007-02-18 19:49:30 +00:00
utils Fix for early log messages during postmaster startup getting lost when 2007-02-11 15:12:21 +00:00
Makefile On Windows, we know the backend stack size limit because we have to 2006-10-08 17:15:34 +00:00
nls.mk Add _ to gettext triggers. Must have been forgotten here when it was introduced. 2005-10-04 11:14:03 +00:00