1. 09 May, 2001 9 commits
    • Bruce Momjian's avatar
      Right-align \du user-id. · d8eade37
      Bruce Momjian authored
      d8eade37
    • Bruce Momjian's avatar
      Fix memory leak in new psql \du code. · 68319f91
      Bruce Momjian authored
      68319f91
    • Bruce Momjian's avatar
      b0546a25
    • Bruce Momjian's avatar
      Add mention of getLength returning short. · 9668b948
      Bruce Momjian authored
      9668b948
    • Bruce Momjian's avatar
      · a79b698a
      Bruce Momjian authored
      Here's a version of my suggested diffs transplanted to 7.1 beta 5.  I'm
      still looking at the best way to integrate Tom Vijlbrief's fixes
      (insofar as they're still needed); would 7.2 be a suitable time for
      incompatible API changes?
      
      
      Jeroen
      
      
      Changes:
      
      (*) Introduced bool, true, false (replacing some int, 1, 0)
      (*) Made some member functions const
      (*) Documented GetIsNull()
      (*) Marked DisplayTuples() and PrintTuples() as obsolescent; fixed possible
          portability problem (assumed that NULL pointer equals all-zero bit pattern)
      (*) PrintTuples(): renamed width parameter to fillAlign to conform with other
          usage; fixed memory leak and compile issue w.r.t. field separator (should
          also slightly improve performance)
      (*) Fixed some minor compilation issues
      (*) Moved "using namespace std;" out of headers, where they didn't belong; used
          new (temporary) preprocessor macro PGSTD to do this
      (*) Made ToString() static, removed unneeded memset(), made buffer size adapt
          to sizeof(int)
      (*) Made some constructors explicit
      (*) Changed some const std::string & parameters to plain std::string
      (*) Marked PgCursor::Cursor(std::string) as obsolescent (setter with same name
          as getter--bad style)
      (*) Renamed some paramaters previously named "string"
      (*) Introduced size_type typedef for number of tuples in result set
      (*) PgTransaction now supports re-opening after closing, and aborts if not
          explicitly committed prior to destruction
      
      J. T. Vermeulen
      a79b698a
    • Peter Eisentraut's avatar
    • Bruce Momjian's avatar
    • Bruce Momjian's avatar
      If it's true that the ALTER TABLE x ADD CONSTRAINT x CHECK (x) syntax is · 1ef9338a
      Bruce Momjian authored
      supported in 7.1.1, here is a patch to that alter_table.sgml that documents
      it.
      
      Christopher Kings-Lynne
      1ef9338a
    • Tom Lane's avatar
      Cause planner to make use of average-column-width statistic that is now · 6cda3ad8
      Tom Lane authored
      collected by ANALYZE.  Also, add some modest amount of intelligence to
      guesses that are used for varlena columns in the absence of any ANALYZE
      statistics.  The 'width' reported by EXPLAIN is finally something less
      than totally bogus for varlena columns ... and, in consequence, hashjoin
      estimating should be a little better ...
      6cda3ad8
  2. 08 May, 2001 25 commits
  3. 07 May, 2001 6 commits