postgresql/src/backend
Tom Lane 1a8b9fb549 Extend the unknowns-are-same-as-known-inputs type resolution heuristic.
For a very long time, one of the parser's heuristics for resolving
ambiguous operator calls has been to assume that unknown-type literals are
of the same type as the other input (if it's known).  However, this was
only used in the first step of quickly checking for an exact-types match,
and thus did not help in resolving matches that require coercion, such as
matches to polymorphic operators.  As we add more polymorphic operators,
this becomes more of a problem.  This patch adds another use of the same
heuristic as a last-ditch check before failing to resolve an ambiguous
operator or function call.  In particular this will let us define the range
inclusion operator in a less limited way (to come in a follow-on patch).
2011-11-17 18:28:41 -05:00
..
access Wakeup WALWriter as needed for asynchronous commit performance. 2011-11-13 09:00:57 +00:00
bootstrap Refactor xlog.c to create src/backend/postmaster/startup.c 2011-11-02 14:25:01 +00:00
catalog Restructure get_object_address() so it's safe against concurrent DDL. 2011-11-17 12:52:02 -05:00
commands Remove ancient downcasing code from procedural language operations. 2011-11-17 14:25:18 -05:00
executor Support range data types. 2011-11-03 13:42:15 +02:00
foreign deflist_to_tuplestore dumped core on an option with no value. 2011-09-13 11:36:49 -04:00
lib Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
libpq Do not treat a superuser as a member of every role for HBA purposes. 2011-11-03 12:45:02 -04:00
main Add postmaster -C option to query configuration parameters, and have 2011-10-06 09:38:39 -04:00
nodes Support range data types. 2011-11-03 13:42:15 +02:00
optimizer Wrap appendrel member outputs in PlaceHolderVars in additional cases. 2011-11-08 21:14:21 -05:00
parser Extend the unknowns-are-same-as-known-inputs type resolution heuristic. 2011-11-17 18:28:41 -05:00
po Translation updates 2011-08-17 14:07:46 +03:00
port Remove unnecessary #include references, per pgrminclude script. 2011-09-01 10:04:27 -04:00
postmaster Wakeup WALWriter as needed for asynchronous commit performance. 2011-11-13 09:00:57 +00:00
regex Add markers for skips. 2011-08-26 18:15:13 -04:00
replication Refactor xlog.c to create src/backend/postmaster/startup.c 2011-11-02 14:25:01 +00:00
rewrite More cleanup after failed reduced-lock-levels-for-DDL feature. 2011-10-21 13:50:30 -04:00
snowball Remove unnecessary #include references, per pgrminclude script. 2011-09-01 10:04:27 -04:00
storage Revert removal of trace_userlocks, because userlocks aren't gone. 2011-11-10 17:54:27 -05:00
tcop Support range data types. 2011-11-03 13:42:15 +02:00
tsearch Remove many -Wcast-qual warnings 2011-09-11 21:54:32 +03:00
utils Fix range_cmp_bounds for the case of equal-valued exclusive bounds. 2011-11-17 16:51:20 -05:00
.gitignore Add gitignore for mingw/cygwin build outputs 2011-06-09 18:11:47 +02:00
common.mk Workaround for recursive make breakage 2011-01-13 09:32:06 +02:00
Makefile Fix symlink for errcodes.h so it works in VPATH builds from tarballs. 2011-06-22 13:08:08 -04:00
nls.mk Clean gettext-files file in clean target 2011-11-09 20:56:19 +02:00