1. 14 Dec, 2002 5 commits
  2. 13 Dec, 2002 10 commits
  3. 12 Dec, 2002 11 commits
    • Bruce Momjian's avatar
      > There is an ugly little problem with the DB wrapper class. · d2741059
      Bruce Momjian authored
      >
      > In pg.py the attributes of DB are defined as being the same as
      > the attributes of the corresponding pgobject "db", using the following
      
      ...
      
      > The problem is that the attributes of db (which are read only)
      > are not static (they are actually function calls to PostgreSQL),
      > especially "status" and "error", but those attributes are copied
      > and this is done only once when initializing the DB object.
      >
      > So, in effect, only the attribute "db.error" of a DB instance
      > will be updated, but not the attribute "error". Same with "status".
      
      
      > Don't copy the (read only) attributes of the pgobject to the
      > DB object, but only the methods, and all of them, like this:
      >
      > --------------- change in pg.py ------------------
      > # Create convience methods, in a way that is still overridable.
      > for e in self.db.__methods__:
      >  setattr(self, e, getattr(self.db, e))
      > ----------------------------------------------------
      >
      > Furthermore, make an addition to the documentation of the
      > DB wrapper class (i.e. in pygresql-pg-db.html):
      > After the sentence "All pgobject methods are included in this class also."
      > add the following sentence "The pgobject read-only attributes can be
      > accessed py adding the prefix 'db.' to them."
      
      Christoph Zwerschke
      d2741059
    • Bruce Momjian's avatar
      Check SSL_get_error() value SSL_ERROR_SYSCALL to see if SSL_read() · 482ed836
      Bruce Momjian authored
      returned -1, per SSL_get_error() documentation.
      
      Nathan Mueller
      482ed836
    • Bruce Momjian's avatar
      While porting my TPC-C implementation from Oracle, I discovered the · 5587f077
      Bruce Momjian authored
      attached problem with the EXEC SQL COMMIT RELEASE statement.
      
      Roland Karch
      5587f077
    • Tom Lane's avatar
      b7325168
    • Bruce Momjian's avatar
      TODO marked as done: · 40c4472e
      Bruce Momjian authored
      	* Add schema, cast, and conversion backslash commands to psql
      
      I had to create a new publically available function,
      pg_conversion_is_visible, as it seemed to be missing from the catalogs.
      This required me to do no small amount of hacking around in namespace.c
      
      I have updated the \? help and sgml docs.
      
      \dc - list conversions [PATTERN]
      \dC - list casts
      \dn list schemas
      
      I didn't support patterns with casts as there's nothing obvious to match
      against.
      
      Catalog version incremented --- initdb required.
      
      Christopher Kings-Lynne
      40c4472e
    • Bruce Momjian's avatar
      Done: · 8ac39d02
      Bruce Momjian authored
      > * -Add schema, cast, and conversion backslash commands to psql (Christopher)
      8ac39d02
    • Tom Lane's avatar
      Don't force rebuild of all of backend/parser when we only need · 4ad0aa3e
      Tom Lane authored
      keywords.o.
      4ad0aa3e
    • Tom Lane's avatar
      Preliminary code review for domain CHECK constraints patch: add documentation, · b0422b21
      Tom Lane authored
      make VALUE a non-reserved word again, use less invasive method of passing
      ConstraintTestValue into transformExpr, fix problems with nested constraint
      testing, do correct thing with NULL result from a constraint expression,
      remove memory leak.  Domain checks still need much more work if we are going
      to allow ALTER DOMAIN, however.
      b0422b21
    • Tom Lane's avatar
      ff734969
    • Tom Lane's avatar
      Phase 2 of read-only-plans project: restructure expression-tree nodes · a0bf885f
      Tom Lane authored
      so that all executable expression nodes inherit from a common supertype
      Expr.  This is somewhat of an exercise in code purity rather than any
      real functional advance, but getting rid of the extra Oper or Func node
      formerly used in each operator or function call should provide at least
      a little space and speed improvement.
      initdb forced by changes in stored-rules representation.
      a0bf885f
    • Bruce Momjian's avatar
      Add for protocol changes: · debb0728
      Bruce Momjian authored
      > 	o Compression?
      debb0728
  4. 11 Dec, 2002 10 commits
  5. 10 Dec, 2002 4 commits