<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/postgresql.git/doc/src/sgml/pygresql.sgml, branch master</title>
<subtitle>git.postgresql.org: git/postgresql.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/'/>
<entry>
<title>Clean up after pygresql removal: adjust/remove documentation and remove</title>
<updated>2003-09-01T23:01:49+00:00</updated>
<author>
<name>Peter Eisentraut</name>
<email>peter_e@gmx.net</email>
</author>
<published>2003-09-01T23:01:49+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=f10a9033bf308f9dde0aa77caad6503e233489d1'/>
<id>f10a9033bf308f9dde0aa77caad6503e233489d1</id>
<content type='text'>
unneeded configure work.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
unneeded configure work.
</pre>
</div>
</content>
</entry>
<entry>
<title>General editing</title>
<updated>2003-04-07T01:29:26+00:00</updated>
<author>
<name>Peter Eisentraut</name>
<email>peter_e@gmx.net</email>
</author>
<published>2003-04-07T01:29:26+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=a8cb3368db96d2492c3dce6ae2a3b7a69c11de90'/>
<id>a8cb3368db96d2492c3dce6ae2a3b7a69c11de90</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>&gt; There is an ugly little problem with the DB wrapper class.</title>
<updated>2002-12-12T22:49:27+00:00</updated>
<author>
<name>Bruce Momjian</name>
<email>bruce@momjian.us</email>
</author>
<published>2002-12-12T22:49:27+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=d27410594227302de6ee66c1757a955d953bf635'/>
<id>d27410594227302de6ee66c1757a955d953bf635</id>
<content type='text'>
&gt;
&gt; In pg.py the attributes of DB are defined as being the same as
&gt; the attributes of the corresponding pgobject "db", using the following

...

&gt; The problem is that the attributes of db (which are read only)
&gt; are not static (they are actually function calls to PostgreSQL),
&gt; especially "status" and "error", but those attributes are copied
&gt; and this is done only once when initializing the DB object.
&gt;
&gt; So, in effect, only the attribute "db.error" of a DB instance
&gt; will be updated, but not the attribute "error". Same with "status".


&gt; Don't copy the (read only) attributes of the pgobject to the
&gt; DB object, but only the methods, and all of them, like this:
&gt;
&gt; --------------- change in pg.py ------------------
&gt; # Create convience methods, in a way that is still overridable.
&gt; for e in self.db.__methods__:
&gt;  setattr(self, e, getattr(self.db, e))
&gt; ----------------------------------------------------
&gt;
&gt; Furthermore, make an addition to the documentation of the
&gt; DB wrapper class (i.e. in pygresql-pg-db.html):
&gt; After the sentence "All pgobject methods are included in this class also."
&gt; add the following sentence "The pgobject read-only attributes can be
&gt; accessed py adding the prefix 'db.' to them."

Christoph Zwerschke
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
&gt;
&gt; In pg.py the attributes of DB are defined as being the same as
&gt; the attributes of the corresponding pgobject "db", using the following

...

&gt; The problem is that the attributes of db (which are read only)
&gt; are not static (they are actually function calls to PostgreSQL),
&gt; especially "status" and "error", but those attributes are copied
&gt; and this is done only once when initializing the DB object.
&gt;
&gt; So, in effect, only the attribute "db.error" of a DB instance
&gt; will be updated, but not the attribute "error". Same with "status".


&gt; Don't copy the (read only) attributes of the pgobject to the
&gt; DB object, but only the methods, and all of them, like this:
&gt;
&gt; --------------- change in pg.py ------------------
&gt; # Create convience methods, in a way that is still overridable.
&gt; for e in self.db.__methods__:
&gt;  setattr(self, e, getattr(self.db, e))
&gt; ----------------------------------------------------
&gt;
&gt; Furthermore, make an addition to the documentation of the
&gt; DB wrapper class (i.e. in pygresql-pg-db.html):
&gt; After the sentence "All pgobject methods are included in this class also."
&gt; add the following sentence "The pgobject read-only attributes can be
&gt; accessed py adding the prefix 'db.' to them."

Christoph Zwerschke
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix broken markup.</title>
<updated>2002-09-23T23:20:38+00:00</updated>
<author>
<name>Tom Lane</name>
<email>tgl@sss.pgh.pa.us</email>
</author>
<published>2002-09-23T23:20:38+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=44f68fc7bd462bea0e9e434f7a21c17e26274d31'/>
<id>44f68fc7bd462bea0e9e434f7a21c17e26274d31</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Move PyGreSQL usage documentation from README into DocBook.  Some other</title>
<updated>2002-09-23T21:10:13+00:00</updated>
<author>
<name>Peter Eisentraut</name>
<email>peter_e@gmx.net</email>
</author>
<published>2002-09-23T21:10:13+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=0d3be98ae9524e78d51d259f4fae00850e987e9d'/>
<id>0d3be98ae9524e78d51d259f4fae00850e987e9d</id>
<content type='text'>
editing.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
editing.
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't mark up as acronym that which is not an acronym.</title>
<updated>2002-03-27T19:19:23+00:00</updated>
<author>
<name>Peter Eisentraut</name>
<email>peter_e@gmx.net</email>
</author>
<published>2002-03-27T19:19:23+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=e6774dc3553d814e6aa500cabe5739b2e6f94df4'/>
<id>e6774dc3553d814e6aa500cabe5739b2e6f94df4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Deprecate 'current' for date/time input.</title>
<updated>2001-11-21T05:53:41+00:00</updated>
<author>
<name>Thomas G. Lockhart</name>
<email>lockhart@fourpalms.org</email>
</author>
<published>2001-11-21T05:53:41+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=2475e874818ef4a363a2101367d6ecf0673d24cb'/>
<id>2475e874818ef4a363a2101367d6ecf0673d24cb</id>
<content type='text'>
Fix up references to "PostgreSQL" rather than "Postgres". Was roughly
 evenly split between the two before. ref/ files not yet done.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix up references to "PostgreSQL" rather than "Postgres". Was roughly
 evenly split between the two before. ref/ files not yet done.
</pre>
</div>
</content>
</entry>
<entry>
<title>A bunch of small doco updates motivated by scanning the comments on</title>
<updated>2001-11-19T03:58:25+00:00</updated>
<author>
<name>Tom Lane</name>
<email>tgl@sss.pgh.pa.us</email>
</author>
<published>2001-11-19T03:58:25+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=9b03776ff2a1fc3af1748f188c682e4eb270ceaa'/>
<id>9b03776ff2a1fc3af1748f188c682e4eb270ceaa</id>
<content type='text'>
the interactive docs.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
the interactive docs.
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace ASCII-quotes with proper markup.</title>
<updated>2001-09-13T15:55:24+00:00</updated>
<author>
<name>Peter Eisentraut</name>
<email>peter_e@gmx.net</email>
</author>
<published>2001-09-13T15:55:24+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=351a0c1736b8aaff7638cce122191e2815b8ea84'/>
<id>351a0c1736b8aaff7638cce122191e2815b8ea84</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove mention of INV_ARCHIVE.</title>
<updated>2001-09-10T04:15:41+00:00</updated>
<author>
<name>Bruce Momjian</name>
<email>bruce@momjian.us</email>
</author>
<published>2001-09-10T04:15:41+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=bb35e499ea4977f59a7d62ccdb7ec58d6a2119c8'/>
<id>bb35e499ea4977f59a7d62ccdb7ec58d6a2119c8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
