From a8cb3368db96d2492c3dce6ae2a3b7a69c11de90 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Mon, 7 Apr 2003 01:29:26 +0000 Subject: General editing --- doc/src/sgml/pygresql.sgml | 49 +++++++++++++++++++++------------------------- 1 file changed, 22 insertions(+), 27 deletions(-) (limited to 'doc/src/sgml/pygresql.sgml') diff --git a/doc/src/sgml/pygresql.sgml b/doc/src/sgml/pygresql.sgml index 3b854d46735..391e8334eac 100644 --- a/doc/src/sgml/pygresql.sgml +++ b/doc/src/sgml/pygresql.sgml @@ -1,4 +1,4 @@ - + <application>PyGreSQL</application> - <application>Python</application> Interface @@ -334,13 +334,10 @@ make && make install API at http://www.python.org/topics/database/DatabaseAPI-2.0.html. - - - A tutorial-like introduction to the DB-API can be found at http://www2.linuxjournal.com/lj-issues/issue49/2605.html + >http://www2.linuxjournal.com/lj-issues/issue49/2605.html. @@ -365,16 +362,15 @@ make && make install - pgqueryobject that handles query results. + pgqueryobject, which handles query results. - If you want to see a simple example of the use of some of these - functions, see http://www.druid.net/rides where you can find a link at the + If you want to see a simple example of the use this module, + see where you can find a link at the bottom to the actual Python code for the page. @@ -395,9 +391,9 @@ make && make install INV_WRITE - large objects access modes, used by + Large objects access modes, used by (pgobject.)locreate and - (pglarge.)open. + (pglarge.)open @@ -408,7 +404,7 @@ make && make install SEEK_END - positional flags, used by (pglarge.)seek. + Positional flags, used by (pglarge.)seek @@ -418,7 +414,7 @@ make && make install __version__ - constants that give the current version + Constants that give the current version @@ -443,13 +439,13 @@ make && make install to handle general connection parameters without heavy code in your programs. You can prompt the user for a value, put it in the default variable, and forget it, without having to modify your - environment. The support for default variables can be disabled by + environment. The support for default variables can be disabled at build time by setting the option in the Python Setup file. Methods relative to this are specified by the tag [DV]. - All variables are set to None at module + All default values are set to None at module initialization, specifying that standard environment variables should be used. @@ -478,7 +474,7 @@ connect(dbname, dbname - Name of connected database (string/None). + Name of connected database (string/None) @@ -486,7 +482,7 @@ connect(dbname, host - Name of the server host (string/None). + Name of the server host (string/None) @@ -494,7 +490,7 @@ connect(dbname, port - Port used by the database server (integer/-1). + Port used by the database server (integer/-1) @@ -503,7 +499,7 @@ connect(dbname, - Options for the server (string/None). + Options for the server (string/None) @@ -513,8 +509,8 @@ connect(dbname, - File or tty for optional debug output from backend - (string/None). + File or TTY for optional debug output from server + (string/None) @@ -524,7 +520,7 @@ connect(dbname, - PostgreSQL user (string/None). + PostgreSQL user (string/None) @@ -533,7 +529,7 @@ connect(dbname, passwd - Password for user (string/None). + Password for user (string/None) @@ -601,12 +597,11 @@ connect(dbname, This method opens a connection to a specified database on a given - PostgreSQL server. You can use - key words here, as described in the - Python tutorial. The names of the + PostgreSQL server. The arguments can be + given using key words here. The names of the key words are the name of the parameters given in the syntax line. For a precise description of the parameters, please refer - to the PostgreSQL user manual. + to . -- cgit v1.2.3