[COMMITTERS] pgsql: Add a back-link from IndexOptInfo structs to their parent

2005-03-26 Thread Tom Lane
Log Message: --- Add a back-link from IndexOptInfo structs to their parent RelOptInfo structs. There are many places in the planner where we were passing both a rel and an index to subroutines, and now need only pass the index struct. Notationally simpler, and perhaps a tad faster. Modif

[COMMITTERS] pgsql: Expand the 'special index operator' machinery to handle special

2005-03-26 Thread Tom Lane
Log Message: --- Expand the 'special index operator' machinery to handle special cases for boolean indexes. Previously we would only use such an index with WHERE clauses like 'indexkey = true' or 'indexkey = false'. The new code transforms the cases 'indexkey', 'NOT indexkey', 'indexkey I

[COMMITTERS] pgsql: Fix a pair of related issues with estimation of inequalities that

2005-03-26 Thread Tom Lane
Log Message: --- Fix a pair of related issues with estimation of inequalities that involve binary-compatible relabeling of one or both operands. examine_variable should avoid stripping RelabelType from non-variable expressions, so that they will continue to have the correct type; and conve

[COMMITTERS] pgsql: Fix a pair of related issues with estimation of inequalities that

2005-03-26 Thread Tom Lane
Log Message: --- Fix a pair of related issues with estimation of inequalities that involve binary-compatible relabeling of one or both operands. examine_variable should avoid stripping RelabelType from non-variable expressions, so that they will continue to have the correct type; and conve

[COMMITTERS] pgmemcache: pgmemcache pgmemcache.c

2005-03-26 Thread seanc
seanc 2005/03/26 20:04:35 GMT PostgreSQL src repository Modified files: .pgmemcache.c Log: Fix a condition where the wrong command was being dispatched by pgmemcache. Add memcache_server_add2() which lets users add servers to the server list in the fo

[COMMITTERS] pgmemcache: pgmemcache pgmemcache.c

2005-03-26 Thread seanc
seanc 2005/03/26 19:15:39 GMT PostgreSQL src repository Modified files: .pgmemcache.c Log: PostgreSQL's error handling system adds newlines for us: remove them from the elog(3) format string. Also, avoid using errno's value as it doesn't appear to be re

[COMMITTERS] pgmemcache: pgmemcache Makefile.pmk pgmemcache.c

2005-03-26 Thread seanc
seanc 2005/03/26 19:01:56 GMT PostgreSQL src repository Modified files: .Makefile.pmk pgmemcache.c Log: Make use of memcache(3) 1.3.0's new error handling interface. This lets pgmemcache(7) (and memcache(3)) make direct use of PostgreSQL's error handlin