Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf2f43ef

Browse files
author
Thomas G. Lockhart
committed
Complete merge of all old man page information.
lisp.sgml is a placeholder for Eric Marsden's upcoming contribution.catalogs.sgml is not yet marked up or integrated. It should perhaps become an appendix.
1 parenta27512e commitf2f43ef

File tree

14 files changed

+3695
-1663
lines changed

14 files changed

+3695
-1663
lines changed

‎doc/src/sgml/catalogs.sgml

Lines changed: 450 additions & 0 deletions
Large diffs are not rendered by default.

‎doc/src/sgml/dfunc.sgml

Lines changed: 217 additions & 99 deletions
Large diffs are not rendered by default.

‎doc/src/sgml/extend.sgml

Lines changed: 274 additions & 247 deletions
Large diffs are not rendered by default.

‎doc/src/sgml/indices.sgml

Lines changed: 376 additions & 49 deletions
Large diffs are not rendered by default.

‎doc/src/sgml/lisp.sgml

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
<chapter id="lisp">
2+
<title id="lisp-title">Lisp Programming Interface</title>
3+
4+
<abstract>
5+
<para>
6+
<filename>pg.el</filename> is a socket-level interface to
7+
<productname>Postgres</productname> for emacs.
8+
</para>
9+
</abstract>
10+
11+
<note>
12+
<title>Author</title>
13+
<para>
14+
Written by
15+
<ulink url="mailto:emarsden@mail.dotcom.fr">Eric Marsden</ulink>
16+
on 21 Jul 1999.
17+
</para>
18+
</note>
19+
20+
<para>
21+
<filename>pg.el</filename> is a socket-level interface to
22+
<productname>Postgres</productname> for emacs (text
23+
editor extraordinaire). The module is capable of type coercions from a
24+
range of SQL types to the equivalent Emacs Lisp type. It currently
25+
supports neither crypt or Kerberos authentication, nor large objects.
26+
</para>
27+
28+
<para>
29+
The code (version 0.2) is available under GNU GPL from
30+
<ulink url="http://www.chez.com/emarsden/downloads/pg.el">
31+
http://www.chez.com/emarsden/downloads/pg.el</ulink>
32+
</para>
33+
34+
<para>
35+
Changes since last release:
36+
37+
<itemizedlist mark="bullet" spacing="compact">
38+
<listitem>
39+
<para>
40+
now works with XEmacs (tested with Emacs 19.34 & 20.2, and XEmacs
41+
20.4)
42+
</para>
43+
</listitem>
44+
45+
<listitem>
46+
<para>
47+
added functions to provide database metainformation (list of
48+
databases, of tables, of columns)
49+
</para>
50+
</listitem>
51+
52+
<listitem>
53+
<para>
54+
arguments to `pg:result' are now :keywords
55+
</para>
56+
</listitem>
57+
58+
<listitem>
59+
<para>
60+
MULE-resistant
61+
</para>
62+
</listitem>
63+
64+
<listitem>
65+
<para>
66+
more self-testing code
67+
</para>
68+
</listitem>
69+
</itemizedlist>
70+
</para>
71+
72+
<para>
73+
Please note that this is a programmer's API, and doesn't provide any
74+
form of user interface. Example:
75+
76+
<programlisting>
77+
(defun demo ()
78+
(interactive)
79+
(let* ((conn (pg:connect "template1" "postgres" "postgres"))
80+
(res (pg:exec conn "SELECT * from scshdemo WHERE a = 42")))
81+
(message "status is %s" (pg:result res :status))
82+
(message "metadata is %s" (pg:result res :attributes))
83+
(message "data is %s" (pg:result res :tuples))
84+
(pg:disconnect conn)))
85+
</programlisting>
86+
</para>
87+
</chapter>
88+
89+
<!-- Keep this comment at the end of the file
90+
Local variables:
91+
mode: sgml
92+
sgml-omittag:nil
93+
sgml-shorttag:t
94+
sgml-minimize-attributes:nil
95+
sgml-always-quote-attributes:t
96+
sgml-indent-step:1
97+
sgml-indent-data:t
98+
sgml-parent-document:nil
99+
sgml-default-dtd-file:"./reference.ced"
100+
sgml-exposed-tags:nil
101+
sgml-local-catalogs:"/usr/lib/sgml/CATALOG"
102+
sgml-local-ecat-files:nil
103+
End:
104+
-->

‎doc/src/sgml/oper.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<ProductName>Postgres</ProductName> provides a large number of
1313
built-in operators on system types.
1414
These operators are declared in the system catalog
15-
pg_operator. Every entry in pg_operator includes
15+
<literal>pg_operator</literal>. Every entry in<literal>pg_operator</literal> includes
1616
the name of the procedure that implements the operator and the
1717
class <Acronym>OIDs</Acronym> of the input and output types.
1818
</Para>

‎doc/src/sgml/postgres.sgml

Lines changed: 18 additions & 119 deletions
Original file line numberDiff line numberDiff line change
@@ -1,105 +1,3 @@
1-
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/postgres.sgml,v 1.28 1999/06/23 06:15:12 thomas Exp $
3-
4-
Postgres integrated documentation.
5-
Other subset docs should be copied and shrunk from here.
6-
thomas 1998-02-23
7-
8-
$Log: postgres.sgml,v $
9-
Revision 1.28 1999/06/23 06:15:12 thomas
10-
Add backup/restore info to Admin Guide.
11-
Split management chapter from start-ag.sgml to manage-ag.sgml.
12-
13-
Revision 1.27 1999/06/03 04:21:49 thomas
14-
Markup changes for v6.5 release.
15-
Clean out duplicate stuff in odbc.sgml resulting from a faulty patch.
16-
17-
Revision 1.26 1999/06/01 17:26:18 thomas
18-
Make sure that only one intro is included in the integrated doc.
19-
Multiple intros cause trouble since they have some section elements
20-
(e.g. "y2k.sgml") in common leading to duplicate labels.
21-
Include emacs formatting hints in the intro*.sgml sources.
22-
23-
Revision 1.25 1999/05/27 15:49:08 thomas
24-
Markup fixes.
25-
Update for v6.5 release.
26-
27-
Revision 1.24 1999/05/26 17:30:29 thomas
28-
Add chapters on CVS access, MVCC, SQL theory to the docs.
29-
Add an appendix with more details on date/time attributes and handling.
30-
Update most references to Postgres version numbers to 6.5,
31-
*except* for the porting list which will require a report
32-
from a successful installation to be updated.
33-
34-
Revision 1.23 1999/05/22 02:27:24 thomas
35-
Finish initial markup of cvs.sgml, and include it in the programmer's guide
36-
and the integrated doc. Clean up other markup.
37-
38-
Revision 1.22 1999/05/20 05:39:27 thomas
39-
Rearrange and consolidate the Admin Guide.
40-
Add reference pages for utilities and remove standalone chapters for same.
41-
Add material for an appendix on date/time properties, but not yet
42-
integrated with the User's Guide.
43-
Break up the former chapter on pg_options
44-
into Admin and Programmer's Guides.
45-
46-
Revision 1.21 1999/05/04 02:19:20 thomas
47-
Include chapters on security and an intro to SQL.
48-
49-
Revision 1.20 1999/04/06 15:41:13 thomas
50-
Fix markup to include all closing tags.
51-
Required by newest versions of DocBook and style sheets.
52-
53-
Revision 1.19 1999/03/30 15:23:03 thomas
54-
Include libpq+.sgml in the doc set.
55-
Had been omitted from the integrated doc for no good reason.
56-
57-
Revision 1.18 1999/02/13 03:52:46 thomas
58-
Include chapter on SQL language elements (keywords, etc).
59-
Should merge with or complement Stefan's Master's Thesis intro to SQL.
60-
61-
Revision 1.17 1999/01/19 16:06:25 thomas
62-
Merge current.sgml into release.sgml so all release notes are in the same
63-
file. Per Bruce's preference. Go to it Bruce!
64-
No info yet for v6.4.2 or upcoming releases.
65-
66-
Revision 1.16 1999/01/07 02:59:45 thomas
67-
Include installation instructions for WIN32 client-side libraries.
68-
From Magnus Hagander <mha@sollentuna.net>.
69-
70-
Revision 1.15 1998/12/18 16:23:34 thomas
71-
Fix typos in rules.sgml.
72-
Add Emacs configuration block to postgres.sgml.
73-
74-
Revision 1.14 1998/10/31 09:36:34 thomas
75-
Cleanup for v6.4 release.
76-
Make new file current.sgml to hold release info for the current release.
77-
Should be moved to release.sgml before filling with next release info.
78-
79-
Revision 1.13 1998/10/30 19:37:09 thomas
80-
Minor editing and markup changes as a result of preparing the Postscript
81-
documentation for v6.4.
82-
Bigger updates to the installation instructions (install and config).
83-
84-
Revision 1.12 1998/10/27 06:14:01 thomas
85-
Include configuration chapter with new info on configure and make.
86-
87-
Revision 1.11 1998/10/25 00:24:31 thomas
88-
Add Y2K statement for intros.
89-
Make sure notation section is included in most intros.
90-
91-
Revision 1.7-1.10 1998/10/21 05:31:52 thomas
92-
Include new information from Massimo. Rearrange ODBC docs.
93-
Add information for operator precedence.
94-
Split introduction sections into separate files to allow the legal notice
95-
and notation sections appear in all documents without having the history
96-
show up everplace too.
97-
Add full list of reserved and non-reserved key words in syntax.sgml.
98-
Add a separate chapter to the admin guide on security.
99-
Move SQL reference pages up into the User's Guide.
100-
101-
-->
102-
1031
<!doctype book PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [
1042

1053
<!entity about SYSTEM "about.sgml">
@@ -123,8 +21,8 @@ Move SQL reference pages up into the User's Guide.
12321
<!entity datetime SYSTEM "datetime.sgml">
12422
<!entity environ SYSTEM "environ.sgml">
12523
<!entity func SYSTEM "func.sgml">
24+
<!entity indices SYSTEM "indices.sgml">
12625
<!entity inherit SYSTEM "inherit.sgml">
127-
<!entity keys SYSTEM "keys.sgml">
12826
<!entity manage SYSTEM "manage.sgml">
12927
<!entity mvcc SYSTEM "mvcc.sgml">
13028
<!entity oper SYSTEM "oper.sgml">
@@ -156,28 +54,29 @@ Move SQL reference pages up into the User's Guide.
15654
<!entity trouble SYSTEM "trouble.sgml">
15755

15856
<!-- programmer's guide -->
159-
<!entity intro-pg SYSTEM "intro-pg.sgml">
16057
<!entity arch-pg SYSTEM "arch-pg.sgml">
161-
<!entity extend SYSTEM "extend.sgml">
162-
<!entity rules SYSTEM "rules.sgml">
163-
<!entity xfunc SYSTEM "xfunc.sgml">
164-
<!entity xtypes SYSTEM "xtypes.sgml">
165-
<!entity xoper SYSTEM "xoper.sgml">
166-
<!entity xaggr SYSTEM "xaggr.sgml">
167-
<!entity xindex SYSTEM "xindex.sgml">
168-
<!entity gist SYSTEM "gist.sgml">
16958
<!entity dfunc SYSTEM "dfunc.sgml">
170-
<!entity lobj SYSTEM "lobj.sgml">
171-
<!entity trigger SYSTEM "trigger.sgml">
172-
<!entity spi SYSTEM "spi.sgml">
59+
<!entity ecpg SYSTEM "ecpg.sgml">
60+
<!entity extend SYSTEM "extend.sgml">
17361
<!entity func-ref SYSTEM "func-ref.sgml">
62+
<!entity gist SYSTEM "gist.sgml">
63+
<!entity intro-pg SYSTEM "intro-pg.sgml">
64+
<!entity jdbc SYSTEM "jdbc.sgml">
17465
<!entity libpq SYSTEM "libpq.sgml">
17566
<!entity libpqpp SYSTEM "libpq++.sgml">
17667
<!entity libpgtcl SYSTEM "libpgtcl.sgml">
177-
<!entity ecpg SYSTEM "ecpg.sgml">
68+
<!entity lisp SYSTEM "lisp.sgml">
69+
<!entity lobj SYSTEM "lobj.sgml">
17870
<!entity odbc SYSTEM "odbc.sgml">
179-
<!entity jdbc SYSTEM "jdbc.sgml">
71+
<!entity rules SYSTEM "rules.sgml">
72+
<!entity spi SYSTEM "spi.sgml">
73+
<!entity trigger SYSTEM "trigger.sgml">
74+
<!entity xaggr SYSTEM "xaggr.sgml">
75+
<!entity xfunc SYSTEM "xfunc.sgml">
76+
<!entity xindex SYSTEM "xindex.sgml">
18077
<!entity xplang SYSTEM "xplang.sgml">
78+
<!entity xoper SYSTEM "xoper.sgml">
79+
<!entity xtypes SYSTEM "xtypes.sgml">
18180

18281
<!-- developer's guide -->
18382
<!entity arch-dev SYSTEM "arch-dev.sgml">
@@ -277,7 +176,7 @@ Your name here...
277176
&oper;
278177
&func;
279178
&typeconv;
280-
&keys;
179+
&indices;
281180
&array;
282181
&inherit;
283182
&mvcc;
@@ -341,7 +240,6 @@ Your name here...
341240
&trigger;
342241
&spi;
343242
&xplang;
344-
<!-- &libpq; -->
345243
</Part>
346244

347245
<part Id="part-interfaces">
@@ -359,6 +257,7 @@ Your name here...
359257
&libpgtcl;
360258
&odbc;
361259
&jdbc;
260+
&lisp;
362261
</Part>
363262

364263
<part Id="part-developer">

‎doc/src/sgml/programmer.sgml

Lines changed: 23 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/Attic/programmer.sgml,v 1.18 1999/06/23 06:21:19 thomas Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/Attic/programmer.sgml,v 1.19 1999/07/22 15:11:04 thomas Exp $
33

44
Postgres Programmer's Guide.
55

66
$Log: programmer.sgml,v $
7+
Revision 1.19 1999/07/22 15:11:04 thomas
8+
Complete merge of all old man page information.
9+
lisp.sgml is a placeholder for Eric Marsden's upcoming contribution.
10+
catalogs.sgml is not yet marked up or integrated.
11+
It should perhaps become an appendix.
12+
713
Revision 1.18 1999/06/23 06:21:19 thomas
814
Remove User's Guide entities since they were not being used.
915

@@ -34,28 +40,29 @@ Make new file current.sgml to hold release info for the current release.
3440
<!entity notation SYSTEM "notation.sgml">
3541
<!entity y2k SYSTEM "y2k.sgml">
3642

37-
<!entity intro-pg SYSTEM "intro-pg.sgml">
3843
<!entity arch-pg SYSTEM "arch-pg.sgml">
39-
<!entity extend SYSTEM "extend.sgml">
40-
<!entity rules SYSTEM "rules.sgml">
41-
<!entity xfunc SYSTEM "xfunc.sgml">
42-
<!entity xtypes SYSTEM "xtypes.sgml">
43-
<!entity xoper SYSTEM "xoper.sgml">
44-
<!entity xaggr SYSTEM "xaggr.sgml">
45-
<!entity xindex SYSTEM "xindex.sgml">
46-
<!entity gist SYSTEM "gist.sgml">
4744
<!entity dfunc SYSTEM "dfunc.sgml">
48-
<!entity lobj SYSTEM "lobj.sgml">
49-
<!entity trigger SYSTEM "trigger.sgml">
50-
<!entity spi SYSTEM "spi.sgml">
45+
<!entity ecpg SYSTEM "ecpg.sgml">
46+
<!entity extend SYSTEM "extend.sgml">
5147
<!entity func-ref SYSTEM "func-ref.sgml">
48+
<!entity gist SYSTEM "gist.sgml">
49+
<!entity intro-pg SYSTEM "intro-pg.sgml">
50+
<!entity jdbc SYSTEM "jdbc.sgml">
5251
<!entity libpq SYSTEM "libpq.sgml">
5352
<!entity libpqpp SYSTEM "libpq++.sgml">
5453
<!entity libpgtcl SYSTEM "libpgtcl.sgml">
55-
<!entity ecpg SYSTEM "ecpg.sgml">
54+
<!entity lisp SYSTEM "lisp.sgml">
55+
<!entity lobj SYSTEM "lobj.sgml">
5656
<!entity odbc SYSTEM "odbc.sgml">
57-
<!entity jdbc SYSTEM "jdbc.sgml">
57+
<!entity rules SYSTEM "rules.sgml">
58+
<!entity spi SYSTEM "spi.sgml">
59+
<!entity trigger SYSTEM "trigger.sgml">
60+
<!entity xaggr SYSTEM "xaggr.sgml">
61+
<!entity xfunc SYSTEM "xfunc.sgml">
62+
<!entity xindex SYSTEM "xindex.sgml">
5863
<!entity xplang SYSTEM "xplang.sgml">
64+
<!entity xoper SYSTEM "xoper.sgml">
65+
<!entity xtypes SYSTEM "xtypes.sgml">
5966

6067
<!-- developer's guide -->
6168
<!entity arch-dev SYSTEM "arch-dev.sgml">
@@ -172,6 +179,7 @@ Disable it until we put in some info.
172179
&ecpg;
173180
&odbc;
174181
&jdbc;
182+
&lisp;
175183

176184
<!-- development -->
177185

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp