Skip to content
Snippets Groups Projects
  1. Dec 20, 2002
  2. Dec 18, 2002
  3. Dec 17, 2002
  4. Dec 16, 2002
  5. Dec 14, 2002
  6. Dec 13, 2002
  7. Dec 12, 2002
    • 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
      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
      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
    • Bruce Momjian's avatar
      Add for protocol changes: · debb0728
      Bruce Momjian authored
      > 	o Compression?
      debb0728
  8. Dec 11, 2002
  9. Dec 10, 2002
    • Bruce Momjian's avatar
      Add: · 944f95d2
      Bruce Momjian authored
      >
      > * Wire Protocol Changes
      > 	o Show transaction status in psql
      > 	o Allow binding of query parameters, support for prepared queries
      > 	o Add optional textual message to NOTIFY
      > 	o Remove hard-coded limits on user/db/password names
      > 	o Remove unused elements of startup packet (unused, tty, passlength)
      > 	o Fix COPY/fastpath protocol?
      > 	o Replication support?
      > 	o Error codes
      > 	o Dynamic character set handling
      > 	o Special passing of binary values in platform-neutral format (bytea?)
      > 	o ecpg improvements?
      > 	o Add decoded type, length, precision
      944f95d2
    • Bruce Momjian's avatar
      More minor improvements to the SGML docs, namely · 1d8dfe3a
      Bruce Momjian authored
      doc/src/sgml/runtime.sgml
      
      Neil Conway
      1d8dfe3a
  10. Dec 09, 2002
  11. Dec 06, 2002
  12. Dec 05, 2002
  13. Dec 04, 2002
Loading