cvs: phpdoc /en/reference/pgsql book.xml constants.xml examples.xml reference.xml setup.xml
| From: | Philip Olson | Date: | Sun, 23 Dec 2007 04:15:57 +0000 |
| Subject: | cvs: phpdoc /en/reference/pgsql book.xml constants.xml examples.xml reference.xml setup.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-743@lists.php.net to get a copy of this message | ||
philip Sun Dec 23 04:15:57 2007 UTC
Modified files:
/phpdoc/en/reference/pgsql book.xml setup.xml examples.xml
reference.xml constants.xml
Log:
MFB: Upgrade to the new-reference-structure
- Split reference.xml into book.xml, setup.xml, and examples.xml
- Moved from reference.xml to book.xml:
- The intro text (partintro), and link to various pages
- Moved from reference.xml to setup.xml:
- The rest: requirements, installation, configuration, and resources
- Changed the constants section to be an <appendix>
- Changed the intro ID from <extname>.intro to intro.<extname>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pgsql/book.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/pgsql/book.xml diff -u /dev/null phpdoc/en/reference/pgsql/book.xml:1.2 --- /dev/null Sun Dec 23 04:15:57 2007 +++ phpdoc/en/reference/pgsql/book.xml Sun Dec 23 04:15:57 2007 @@ -0,0 +1,51 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.2 $ --> +<!-- Purpose: database.vendors --> +<!-- Membership: bundled, external --> + +<book xml:id="book.pgsql" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <title>PostgreSQL</title> + + <!-- {{{ preface --> + <preface xml:id="intro.pgsql"> + &reftitle.intro; + <para> + PostgreSQL database is Open Source product and available without + cost. Postgres, developed originally in the UC Berkeley Computer + Science Department, pioneered many of the object-relational concepts + now becoming available in some commercial databases. It provides + SQL92/SQL99 language support, transactions, referential integrity, + stored procedures and type extensibility. PostgreSQL is an open source + descendant of this original Berkeley code. + </para> + </preface> + <!-- }}} --> + + &reference.pgsql.setup; + &reference.pgsql.constants; + &reference.pgsql.examples; + &reference.pgsql.reference; + +</book> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> + http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pgsql/setup.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/pgsql/setup.xml diff -u /dev/null phpdoc/en/reference/pgsql/setup.xml:1.2 --- /dev/null Sun Dec 23 04:15:57 2007 +++ phpdoc/en/reference/pgsql/setup.xml Sun Dec 23 04:15:57 2007 @@ -0,0 +1,63 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.2 $ --> + +<chapter xml:id="pgsql.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + &reftitle.setup; + + <!-- {{{ Requirements --> + <section xml:id="pgsql.requirements"> + &reftitle.required; + <para> + To use PostgreSQL support, you need PostgreSQL 6.5 or + later, PostgreSQL 8.0 or later to enable all PostgreSQL module + features. PostgreSQL supports many character encodings including + multibyte character encoding. The current version and more + information about PostgreSQL is available at + <link xlink:href="&url.pgsql;">&url.pgsql;</link> and + the <link xlink:href="&url.pgsql.manual;">PostgreSQL Documentation</link>. + </para> + </section> + <!-- }}} --> + + <!-- {{{ Installation --> + &reference.pgsql.configure; + <!-- }}} --> + + <!-- {{{ Configuration --> + &reference.pgsql.ini; + <!-- }}} --> + + <!-- {{{ Resources --> + <section xml:id="pgsql.resources"> + &reftitle.resources; + <para> + There are two resource types used in the PostgreSQL module. The first one + is the link identifier for a database connection, the second a resource + which holds the result of a query. + </para> + </section> + <!-- }}} --> + +</chapter> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> + http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pgsql/examples.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/pgsql/examples.xml diff -u /dev/null phpdoc/en/reference/pgsql/examples.xml:1.2 --- /dev/null Sun Dec 23 04:15:57 2007 +++ phpdoc/en/reference/pgsql/examples.xml Sun Dec 23 04:15:57 2007 @@ -0,0 +1,67 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.2 $ --> + +<chapter xml:id="pgsql.examples" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + &reftitle.examples; + <section xml:id="pgsql.examples-basic"> + <para> + This simple example shows how to connect, execute a query, print + resulting rows and disconnect from a PostgreSQL database. + <example> + <title>PostgreSQL extension overview example</title> + <programlisting role="php"> +<![CDATA[ +<?php +// Connecting, selecting database +$dbconn = pg_connect("host=localhost dbname=publishing user=www password=foo") + or die('Could not connect: ' . pg_last_error()); + +// Performing SQL query +$query = 'SELECT * FROM authors'; +$result = pg_query($query) or die('Query failed: ' . pg_last_error()); + +// Printing results in HTML +echo "<table>\n"; +while ($line = pg_fetch_array($result, null, PGSQL_ASSOC)) { + echo "\t<tr>\n"; + foreach ($line as $col_value) { + echo "\t\t<td>$col_value</td>\n"; + } + echo "\t</tr>\n"; +} +echo "</table>\n"; + +// Free resultset +pg_free_result($result); + +// Closing connection +pg_close($dbconn); +?> +]]> + </programlisting> + </example> + </para> + </section> +</chapter> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> + http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pgsql/reference.xml?r1=1.31&r2=1.32&diff_format=u Index: phpdoc/en/reference/pgsql/reference.xml diff -u phpdoc/en/reference/pgsql/reference.xml:1.31 phpdoc/en/reference/pgsql/reference.xml:1.32 --- phpdoc/en/reference/pgsql/reference.xml:1.31 Mon Dec 10 17:06:08 2007 +++ phpdoc/en/reference/pgsql/reference.xml Sun Dec 23 04:15:57 2007 @@ -1,54 +1,11 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.31 $ --> -<!-- Purpose: database.vendors --> -<!-- Membership: bundled, external --> +<!-- $Revision: 1.32 $ --> <reference xml:id="ref.pgsql" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - <title>PostgreSQL Functions</title> + <title>PostgreSQL &Functions;</title> <titleabbrev>PostgreSQL</titleabbrev> <partintro> - <section xml:id="pgsql.intro"> - &reftitle.intro; - <para> - PostgreSQL database is Open Source product and available without - cost. Postgres, developed originally in the UC Berkeley Computer - Science Department, pioneered many of the object-relational concepts - now becoming available in some commercial databases. It provides - SQL92/SQL99 language support, transactions, referential integrity, - stored procedures and type extensibility. PostgreSQL is an open source - descendant of this original Berkeley code. - </para> - </section> - - <section xml:id="pgsql.requirements"> - &reftitle.required; - <para> - To use PostgreSQL support, you need PostgreSQL 6.5 or - later, PostgreSQL 8.0 or later to enable all PostgreSQL module - features. PostgreSQL supports many character encodings including - multibyte character encoding. The current version and more - information about PostgreSQL is available at - <link xlink:href="&url.pgsql;">&url.pgsql;</link> and - the <link xlink:href="&url.pgsql.manual;">PostgreSQL Documentation</link>. - </para> - </section> - - &reference.pgsql.configure; - - &reference.pgsql.ini; - - <section xml:id="pgsql.resources"> - &reftitle.resources; - <para> - There are two resource types used in the PostgreSQL module. The first one - is the link identifier for a database connection, the second a resource - which holds the result of a query. - </para> - </section> - - &reference.pgsql.constants; - <section xml:id="pgsql.notes"> &reftitle.notes; <note> @@ -86,47 +43,6 @@ </para> </note> </section> - - <section xml:id="pgsql.examples"> - &reftitle.examples; - <para> - This simple example shows how to connect, execute a query, print - resulting rows and disconnect from a PostgreSQL database. - <example> - <title>PostgreSQL extension overview example</title> - <programlisting role="php"> -<![CDATA[ -<?php -// Connecting, selecting database -$dbconn = pg_connect("host=localhost dbname=publishing user=www password=foo") - or die('Could not connect: ' . pg_last_error()); - -// Performing SQL query -$query = 'SELECT * FROM authors'; -$result = pg_query($query) or die('Query failed: ' . pg_last_error()); - -// Printing results in HTML -echo "<table>\n"; -while ($line = pg_fetch_array($result, null, PGSQL_ASSOC)) { - echo "\t<tr>\n"; - foreach ($line as $col_value) { - echo "\t\t<td>$col_value</td>\n"; - } - echo "\t</tr>\n"; -} -echo "</table>\n"; - -// Free resultset -pg_free_result($result); - -// Closing connection -pg_close($dbconn); -?> -]]> - </programlisting> - </example> - </para> - </section> </partintro> &reference.pgsql.entities.functions; http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pgsql/constants.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc/en/reference/pgsql/constants.xml diff -u phpdoc/en/reference/pgsql/constants.xml:1.9 phpdoc/en/reference/pgsql/constants.xml:1.10 --- phpdoc/en/reference/pgsql/constants.xml:1.9 Wed Jun 20 22:25:13 2007 +++ phpdoc/en/reference/pgsql/constants.xml Sun Dec 23 04:15:57 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<section xml:id="pgsql.constants" xmlns="http://docbook.org/ns/docbook"> +<!-- $Revision: 1.10 $ --> +<appendix xml:id="pgsql.constants" xmlns="http://docbook.org/ns/docbook"> &reftitle.constants; &extension.constants; @@ -537,7 +537,7 @@ </varlistentry> </variablelist> -</section> +</appendix> <!-- Keep this comment at the end of the file Local variables:
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pgsql/book.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/pgsql/book.xml diff -u /dev/null phpdoc/en/reference/pgsql/book.xml:1.2 --- /dev/null Sun Dec 23 04:15:57 2007 +++ phpdoc/en/reference/pgsql/book.xml Sun Dec 23 04:15:57 2007 @@ -0,0 +1,51 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.2 $ --> +<!-- Purpose: database.vendors --> +<!-- Membership: bundled, external --> + +<book xml:id="book.pgsql" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <title>PostgreSQL</title> + + <!-- {{{ preface --> + <preface xml:id="intro.pgsql"> + &reftitle.intro; + <para> + PostgreSQL database is Open Source product and available without + cost. Postgres, developed originally in the UC Berkeley Computer + Science Department, pioneered many of the object-relational concepts + now becoming available in some commercial databases. It provides + SQL92/SQL99 language support, transactions, referential integrity, + stored procedures and type extensibility. PostgreSQL is an open source + descendant of this original Berkeley code. + </para> + </preface> + <!-- }}} --> + + &reference.pgsql.setup; + &reference.pgsql.constants; + &reference.pgsql.examples; + &reference.pgsql.reference; + +</book> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> + http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pgsql/setup.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/pgsql/setup.xml diff -u /dev/null phpdoc/en/reference/pgsql/setup.xml:1.2 --- /dev/null Sun Dec 23 04:15:57 2007 +++ phpdoc/en/reference/pgsql/setup.xml Sun Dec 23 04:15:57 2007 @@ -0,0 +1,63 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.2 $ --> + +<chapter xml:id="pgsql.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + &reftitle.setup; + + <!-- {{{ Requirements --> + <section xml:id="pgsql.requirements"> + &reftitle.required; + <para> + To use PostgreSQL support, you need PostgreSQL 6.5 or + later, PostgreSQL 8.0 or later to enable all PostgreSQL module + features. PostgreSQL supports many character encodings including + multibyte character encoding. The current version and more + information about PostgreSQL is available at + <link xlink:href="&url.pgsql;">&url.pgsql;</link> and + the <link xlink:href="&url.pgsql.manual;">PostgreSQL Documentation</link>. + </para> + </section> + <!-- }}} --> + + <!-- {{{ Installation --> + &reference.pgsql.configure; + <!-- }}} --> + + <!-- {{{ Configuration --> + &reference.pgsql.ini; + <!-- }}} --> + + <!-- {{{ Resources --> + <section xml:id="pgsql.resources"> + &reftitle.resources; + <para> + There are two resource types used in the PostgreSQL module. The first one + is the link identifier for a database connection, the second a resource + which holds the result of a query. + </para> + </section> + <!-- }}} --> + +</chapter> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> + http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pgsql/examples.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/pgsql/examples.xml diff -u /dev/null phpdoc/en/reference/pgsql/examples.xml:1.2 --- /dev/null Sun Dec 23 04:15:57 2007 +++ phpdoc/en/reference/pgsql/examples.xml Sun Dec 23 04:15:57 2007 @@ -0,0 +1,67 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.2 $ --> + +<chapter xml:id="pgsql.examples" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + &reftitle.examples; + <section xml:id="pgsql.examples-basic"> + <para> + This simple example shows how to connect, execute a query, print + resulting rows and disconnect from a PostgreSQL database. + <example> + <title>PostgreSQL extension overview example</title> + <programlisting role="php"> +<![CDATA[ +<?php +// Connecting, selecting database +$dbconn = pg_connect("host=localhost dbname=publishing user=www password=foo") + or die('Could not connect: ' . pg_last_error()); + +// Performing SQL query +$query = 'SELECT * FROM authors'; +$result = pg_query($query) or die('Query failed: ' . pg_last_error()); + +// Printing results in HTML +echo "<table>\n"; +while ($line = pg_fetch_array($result, null, PGSQL_ASSOC)) { + echo "\t<tr>\n"; + foreach ($line as $col_value) { + echo "\t\t<td>$col_value</td>\n"; + } + echo "\t</tr>\n"; +} +echo "</table>\n"; + +// Free resultset +pg_free_result($result); + +// Closing connection +pg_close($dbconn); +?> +]]> + </programlisting> + </example> + </para> + </section> +</chapter> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> + http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pgsql/reference.xml?r1=1.31&r2=1.32&diff_format=u Index: phpdoc/en/reference/pgsql/reference.xml diff -u phpdoc/en/reference/pgsql/reference.xml:1.31 phpdoc/en/reference/pgsql/reference.xml:1.32 --- phpdoc/en/reference/pgsql/reference.xml:1.31 Mon Dec 10 17:06:08 2007 +++ phpdoc/en/reference/pgsql/reference.xml Sun Dec 23 04:15:57 2007 @@ -1,54 +1,11 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.31 $ --> -<!-- Purpose: database.vendors --> -<!-- Membership: bundled, external --> +<!-- $Revision: 1.32 $ --> <reference xml:id="ref.pgsql" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - <title>PostgreSQL Functions</title> + <title>PostgreSQL &Functions;</title> <titleabbrev>PostgreSQL</titleabbrev> <partintro> - <section xml:id="pgsql.intro"> - &reftitle.intro; - <para> - PostgreSQL database is Open Source product and available without - cost. Postgres, developed originally in the UC Berkeley Computer - Science Department, pioneered many of the object-relational concepts - now becoming available in some commercial databases. It provides - SQL92/SQL99 language support, transactions, referential integrity, - stored procedures and type extensibility. PostgreSQL is an open source - descendant of this original Berkeley code. - </para> - </section> - - <section xml:id="pgsql.requirements"> - &reftitle.required; - <para> - To use PostgreSQL support, you need PostgreSQL 6.5 or - later, PostgreSQL 8.0 or later to enable all PostgreSQL module - features. PostgreSQL supports many character encodings including - multibyte character encoding. The current version and more - information about PostgreSQL is available at - <link xlink:href="&url.pgsql;">&url.pgsql;</link> and - the <link xlink:href="&url.pgsql.manual;">PostgreSQL Documentation</link>. - </para> - </section> - - &reference.pgsql.configure; - - &reference.pgsql.ini; - - <section xml:id="pgsql.resources"> - &reftitle.resources; - <para> - There are two resource types used in the PostgreSQL module. The first one - is the link identifier for a database connection, the second a resource - which holds the result of a query. - </para> - </section> - - &reference.pgsql.constants; - <section xml:id="pgsql.notes"> &reftitle.notes; <note> @@ -86,47 +43,6 @@ </para> </note> </section> - - <section xml:id="pgsql.examples"> - &reftitle.examples; - <para> - This simple example shows how to connect, execute a query, print - resulting rows and disconnect from a PostgreSQL database. - <example> - <title>PostgreSQL extension overview example</title> - <programlisting role="php"> -<![CDATA[ -<?php -// Connecting, selecting database -$dbconn = pg_connect("host=localhost dbname=publishing user=www password=foo") - or die('Could not connect: ' . pg_last_error()); - -// Performing SQL query -$query = 'SELECT * FROM authors'; -$result = pg_query($query) or die('Query failed: ' . pg_last_error()); - -// Printing results in HTML -echo "<table>\n"; -while ($line = pg_fetch_array($result, null, PGSQL_ASSOC)) { - echo "\t<tr>\n"; - foreach ($line as $col_value) { - echo "\t\t<td>$col_value</td>\n"; - } - echo "\t</tr>\n"; -} -echo "</table>\n"; - -// Free resultset -pg_free_result($result); - -// Closing connection -pg_close($dbconn); -?> -]]> - </programlisting> - </example> - </para> - </section> </partintro> &reference.pgsql.entities.functions; http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pgsql/constants.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc/en/reference/pgsql/constants.xml diff -u phpdoc/en/reference/pgsql/constants.xml:1.9 phpdoc/en/reference/pgsql/constants.xml:1.10 --- phpdoc/en/reference/pgsql/constants.xml:1.9 Wed Jun 20 22:25:13 2007 +++ phpdoc/en/reference/pgsql/constants.xml Sun Dec 23 04:15:57 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<section xml:id="pgsql.constants" xmlns="http://docbook.org/ns/docbook"> +<!-- $Revision: 1.10 $ --> +<appendix xml:id="pgsql.constants" xmlns="http://docbook.org/ns/docbook"> &reftitle.constants; &extension.constants; @@ -537,7 +537,7 @@ </varlistentry> </variablelist> -</section> +</appendix> <!-- Keep this comment at the end of the file Local variables: