postgresql/src/backend
Tom Lane b163baa89c Clean up some problems with redundant cross-type arithmetic operators. Add
int2-and-int8 implementations of the basic arithmetic operators +, -, *, /.
This doesn't really add any new functionality, but it avoids "operator is not
unique" failures that formerly occurred in these cases because the parser
couldn't decide whether to promote the int2 to int4 or int8.  We could
alternatively have removed the existing cross-type operators, but
experimentation shows that the cost of an additional type coercion expression
node is noticeable compared to such cheap operators; so let's not give up any
performance here.  On the other hand, I removed the int2-and-int4 modulo (%)
operators since they didn't seem as important from a performance standpoint.
Per a complaint last January from ykhuang.
2008-06-17 19:10:56 +00:00
..
access Fix 64-bit problem in recent patch. 2008-06-15 01:41:37 +00:00
bootstrap Restructure some header files a bit, in particular heapam.h, by removing some 2008-05-12 00:00:54 +00:00
catalog Refactor the handling of the various DropStmt variants so that when multiple 2008-06-14 18:04:34 +00:00
commands Make DROP INDEX lock the parent table before locking the index. This behavior 2008-06-15 16:29:05 +00:00
executor Refactor SPI_cursor_open/SPI_cursor_open_with_args so that the latter sets 2008-06-01 17:32:48 +00:00
lib Refactor backend makefiles to remove lots of duplicate code 2008-02-19 10:30:09 +00:00
libpq Use error message wordings for permissions checks on .pgpass and SSL private 2008-03-31 02:43:14 +00:00
main Refactor backend makefiles to remove lots of duplicate code 2008-02-19 10:30:09 +00:00
nodes Change xlog.h to xlogdefs.h in bufpage.h, and fix fallout. 2008-06-06 22:35:22 +00:00
optimizer Fix the code that adds regclass constants to a plan's list of relation OIDs 2008-06-17 14:51:32 +00:00
parser Rearrange ALTER TABLE syntax processing as per my recent proposal: the 2008-06-15 01:25:54 +00:00
po Translation updates 2008-01-31 18:04:52 +00:00
port Add $PostgreSQL$ markers to a lot of files that were missing them. 2008-05-17 01:28:26 +00:00
postmaster Change xlog.h to xlogdefs.h in bufpage.h, and fix fallout. 2008-06-06 22:35:22 +00:00
regex Refactor backend makefiles to remove lots of duplicate code 2008-02-19 10:30:09 +00:00
rewrite Restructure some header files a bit, in particular heapam.h, by removing some 2008-05-12 00:00:54 +00:00
snowball Implement a few changes to how shared libraries and dynamically loadable 2008-04-07 14:15:58 +00:00
storage Refactor XLogOpenRelation() and XLogReadBuffer() in preparation for relation 2008-06-12 09:12:31 +00:00
tcop Rearrange ALTER TABLE syntax processing as per my recent proposal: the 2008-06-15 01:25:54 +00:00
tsearch Move USE_WIDE_UPPER_LOWER define to c.h, and remove TS_USE_WIDE and use 2008-06-17 16:09:06 +00:00
utils Clean up some problems with redundant cross-type arithmetic operators. Add 2008-06-17 19:10:56 +00:00
common.mk We need to rebuild objfiles.txt when one of the subdirectories' objfiles.txt 2008-03-17 18:24:56 +00:00
Makefile Enable probes to work with Mac OS X Leopard and other OSes that will 2008-03-17 19:44:41 +00:00
nls.mk Add a new ereport auxiliary function errdetail_log(), which works the same as 2008-03-24 18:08:47 +00:00