1. 15 Oct, 2004 3 commits
    • Bruce Momjian's avatar
      Fix pg_ctl -D handling for Win32: · 8613eac6
      Bruce Momjian authored
      	C:\msys\1.0\home\y-asaba>pg_ctl -D data restart
      	waiting for postmaster to shut down...LOG:  received smart shutdown
      	request.
      	LOG:  shutting down
      	LOG:  database system is shut down
      	done
      	postmaster stopped
      
      	postmaster starting
      
      	C:\msys\1.0\home\y-asaba>postmaster.exe: invalid argument: "'-D'"
      	Try "postmaster.exe --help" for more information.
      
      Yoshiyuki Asaba
      8613eac6
    • Bruce Momjian's avatar
    • Neil Conway's avatar
      psql code cleanup: · 8ff374ce
      Neil Conway authored
      - refactor a bunch of code to call a separate function print_msg() which
      checks whether "silent mode" is enabled before printing an error
      message.
      
      - rename "silence_mode" to "silent_mode", which IMHO makes more sense
      
      - make the error messages we emit in "waiting" mode more consistent; I
      believe this fixes a recent error message regression
      8ff374ce
  2. 14 Oct, 2004 16 commits
  3. 13 Oct, 2004 9 commits
  4. 12 Oct, 2004 10 commits
  5. 11 Oct, 2004 2 commits
    • Tom Lane's avatar
      Use -fPIC not -fpic for BSDen on Sparc. Also switch from · d10a406f
      Tom Lane authored
      $(LD) -x -Bshareable to $(CC) -shared on OpenBSD (I suspect this
      should be carried over to the other two as well, but will refrain
      pending suggestions from people who actually use those platforms).
      Per Stefan Kaltenbrunner.
      d10a406f
    • Tom Lane's avatar
      Fix OR-index-scan planner to recognize that a partial index is usable · 26112850
      Tom Lane authored
      for scanning one term of an OR clause if the index's predicate is implied
      by that same OR clause term (possibly in conjunction with top-level WHERE
      clauses).  Per recent example from Dawid Kuroczko,
      http://archives.postgresql.org/pgsql-performance/2004-10/msg00095.php
      Also, fix a very long-standing bug in index predicate testing, namely the
      bizarre ordering of decomposition of predicate and restriction clauses.
      AFAICS the correct way is to break down the predicate all the way, and
      then for each component term see if you can prove it from the entire
      restriction set.  The original coding had a purely-implementation-artifact
      distinction between ANDing at the top level and ANDing below that, and
      proceeded to get the decomposition order wrong everywhere below the top
      level, with the result that even slightly complicated AND/OR predicates
      could not be proven.  For instance, given
      create index foop on foo(f2) where f1=42 or f1=1
          or (f1 = 11 and f2 = 55);
      the old code would fail to match this index to the query
      select * from foo where f1 = 11 and f2 = 55;
      when it obviously ought to match.
      26112850