comparison man/lispref/postgresql.texi @ 410:de805c49cfc1 r21-2-35

Import from CVS: tag r21-2-35
author cvs
date Mon, 13 Aug 2007 11:19:21 +0200
parents 2f8bb876ab1d
children
comparison
equal deleted inserted replaced
409:301b9ebbdf3b 410:de805c49cfc1
21 21
22 @node Building XEmacs with PostgreSQL support, XEmacs PostgreSQL libpq API, ,PostgreSQL Support 22 @node Building XEmacs with PostgreSQL support, XEmacs PostgreSQL libpq API, ,PostgreSQL Support
23 @comment node-name, next, previous, up 23 @comment node-name, next, previous, up
24 @section Building XEmacs with PostgreSQL support 24 @section Building XEmacs with PostgreSQL support
25 25
26 XEmacs PostgreSQL support requires linking to the PostgreSQL libpq.so 26 XEmacs PostgreSQL support requires linking to the PostgreSQL libpq
27 library. Describing how to build and install PostgreSQL is beyond the 27 library. Describing how to build and install PostgreSQL is beyond the
28 scope of this document, see the PostgreSQL manual for details. 28 scope of this document. See the PostgreSQL manual for details.
29 29
30 If you have installed XEmacs from one of the binary kits on 30 If you have installed XEmacs from one of the binary kits on
31 (@url{ftp://ftp.xemacs.org/}), or are using an XEmacs binary from a CD 31 (@url{ftp://ftp.xemacs.org/}), or are using an XEmacs binary from a CD
32 ROM, you should have XEmacs PostgreSQL support by default. If you are 32 ROM, you may have XEmacs PostgreSQL support by default. @code{M-x
33 building XEmacs from source on a Linux system with PostgreSQL installed 33 describe-installation} will tell you if you do.
34 into the default location, it should be autodetected when you run 34
35 configure. If you have installed PostgreSQL into its non-Linux default 35 If you are building XEmacs from source, you need to install PostgreSQL
36 location, @file{/usr/local/pgsql}, you must specify 36 first. On some systems, PostgreSQL will come pre-installed in /usr. In
37 this case, it should be autodetected when you run configure. If
38 PostgreSQL is installed into its default location,
39 @file{/usr/local/pgsql}, you must specify
37 @code{--site-prefixes=/usr/local/pgsql} when you run configure. If 40 @code{--site-prefixes=/usr/local/pgsql} when you run configure. If
38 you installed PostgreSQL into another location, use that instead of 41 PostgreSQL is installed into another location, use that instead of
39 @file{/usr/local/pgsql} when specifying @code{--site-prefixes}. 42 @file{/usr/local/pgsql} when specifying @code{--site-prefixes}.
40 43
41 As of XEmacs 21.2, PostgreSQL versions 6.5.3 and 7.0 are supported. 44 As of XEmacs 21.2, PostgreSQL versions 6.5.3 and 7.0 are supported.
42 XEmacs Lisp support for V7.0 is somewhat more extensive than support for 45 XEmacs Lisp support for V7.0 is somewhat more extensive than support for
43 V6.5. In particular, asynchronous queries are supported. 46 V6.5. In particular, asynchronous queries are supported.
44 47
45 @node XEmacs PostgreSQL libpq API, XEmacs PostgreSQL libpq Examples, Building XEmacs with PostgreSQL support, PostgreSQL Support 48 @node XEmacs PostgreSQL libpq API, XEmacs PostgreSQL libpq Examples, Building XEmacs with PostgreSQL support, PostgreSQL Support
46 @comment node-name, next, previous, up 49 @comment node-name, next, previous, up
47 @section XEmacs PostgreSQL libpq API 50 @section XEmacs PostgreSQL libpq API
48 51
49 XEmacs PostgreSQL API is intended to be a policy-free, low-level binding 52 The XEmacs PostgreSQL API is intended to be a policy-free, low-level
50 to libpq. The intent is to provide all the basic functionality and then 53 binding to libpq. The intent is to provide all the basic functionality
51 let high level Lisp code decide its own policies. 54 and then let high level Lisp code decide its own policies.
52 55
53 This documentation assumes that the reader has knowledge of SQL, but 56 This documentation assumes that the reader has knowledge of SQL, but
54 requires no prior knowledge of libpq. 57 requires no prior knowledge of libpq.
55 58
56 There are many examples in this manual and some setup will be required. 59 There are many examples in this manual and some setup will be required.
804 807
805 Compatibility note: this function is only available with libpq-7.0. 808 Compatibility note: this function is only available with libpq-7.0.
806 @end defun 809 @end defun
807 810
808 @defun PQsetenvPoll conn 811 @defun PQsetenvPoll conn
809 Check an asynchronous enviroment variables transfer for completion. 812 Check an asynchronous environment variables transfer for completion.
810 @var{conn} A database connection object. 813 @var{conn} A database connection object.
811 814
812 Compatibility note: this function is only available with libpq-7.0. 815 Compatibility note: this function is only available with libpq-7.0.
813 @end defun 816 @end defun
814 817