chriskl Mon Apr 25 05:00:52 2005 EDT
Modified files:
/phpdoc/en/reference/pgsql/functions pg-copy-from.xml
pg-copy-to.xml pg-host.xml
pg-options.xml pg-port.xml
pg-trace.xml pg-untrace.xml
Log:
- Fix CRLF line endings. Sorry :(
http://cvs.php.net/diff.php/phpdoc/en/reference/pgsql/functions/pg-copy-from.xml?r1=1.8&r2=1.9&ty=u
Index: phpdoc/en/reference/pgsql/functions/pg-copy-from.xml
diff -u phpdoc/en/reference/pgsql/functions/pg-copy-from.xml:1.8
phpdoc/en/reference/pgsql/functions/pg-copy-from.xml:1.9
--- phpdoc/en/reference/pgsql/functions/pg-copy-from.xml:1.8 Mon Apr 25
04:59:03 2005
+++ phpdoc/en/reference/pgsql/functions/pg-copy-from.xml Mon Apr 25
05:00:51 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
<!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.82 -->
<refentry id='function.pg-copy-from'>
<refnamediv>
@@ -94,13 +94,13 @@
<programlisting role="php">
<![CDATA[
<?php
- $db = pg_connect("dbname=publisher") or die("Could not connect");
-
- $rows = pg_copy_to($db, $table_name);
-
- pg_query($db, "DELETE FROM $table_name");
-
- pg_copy_from($db, $table_name, $rows);
+ $db = pg_connect("dbname=publisher") or die("Could not connect");
+
+ $rows = pg_copy_to($db, $table_name);
+
+ pg_query($db, "DELETE FROM $table_name");
+
+ pg_copy_from($db, $table_name, $rows);
?>
]]>
</programlisting>
http://cvs.php.net/diff.php/phpdoc/en/reference/pgsql/functions/pg-copy-to.xml?r1=1.8&r2=1.9&ty=u
Index: phpdoc/en/reference/pgsql/functions/pg-copy-to.xml
diff -u phpdoc/en/reference/pgsql/functions/pg-copy-to.xml:1.8
phpdoc/en/reference/pgsql/functions/pg-copy-to.xml:1.9
--- phpdoc/en/reference/pgsql/functions/pg-copy-to.xml:1.8 Mon Apr 25
04:59:03 2005
+++ phpdoc/en/reference/pgsql/functions/pg-copy-to.xml Mon Apr 25 05:00:51 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
<!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.2 -->
<refentry id='function.pg-copy-to'>
<refnamediv>
@@ -83,13 +83,13 @@
<programlisting role="php">
<![CDATA[
<?php
- $db = pg_connect("dbname=publisher") or die("Could not connect");
-
- $rows = pg_copy_to($db, $table_name);
-
- pg_query($db, "DELETE FROM $table_name");
-
- pg_copy_from($db, $table_name, $rows);
+ $db = pg_connect("dbname=publisher") or die("Could not connect");
+
+ $rows = pg_copy_to($db, $table_name);
+
+ pg_query($db, "DELETE FROM $table_name");
+
+ pg_copy_from($db, $table_name, $rows);
?>
]]>
</programlisting>
http://cvs.php.net/diff.php/phpdoc/en/reference/pgsql/functions/pg-host.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/reference/pgsql/functions/pg-host.xml
diff -u phpdoc/en/reference/pgsql/functions/pg-host.xml:1.5
phpdoc/en/reference/pgsql/functions/pg-host.xml:1.6
--- phpdoc/en/reference/pgsql/functions/pg-host.xml:1.5 Fri Apr 15 04:40:12 2005
+++ phpdoc/en/reference/pgsql/functions/pg-host.xml Mon Apr 25 05:00:51 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.2 -->
<refentry id="function.pg-host">
<refnamediv>
@@ -56,15 +56,15 @@
<title><function>pg_host</function> example</title>
<programlisting role="php">
<![CDATA[
-<?php
-$pgsql_conn = pg_connect("dbname=mark host=localhost");
-
-if ($pgsql_conn) {
- print "Successfully connected to: " . pg_host($pgsql_conn) . "<br/>\n";
-} else {
- print pg_last_error($pgsql_conn);
- exit;
-}
+<?php
+$pgsql_conn = pg_connect("dbname=mark host=localhost");
+
+if ($pgsql_conn) {
+ print "Successfully connected to: " . pg_host($pgsql_conn) . "<br/>\n";
+} else {
+ print pg_last_error($pgsql_conn);
+ exit;
+}
?>
]]>
</programlisting>
http://cvs.php.net/diff.php/phpdoc/en/reference/pgsql/functions/pg-options.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/reference/pgsql/functions/pg-options.xml
diff -u phpdoc/en/reference/pgsql/functions/pg-options.xml:1.5
phpdoc/en/reference/pgsql/functions/pg-options.xml:1.6
--- phpdoc/en/reference/pgsql/functions/pg-options.xml:1.5 Fri Apr 15
04:40:12 2005
+++ phpdoc/en/reference/pgsql/functions/pg-options.xml Mon Apr 25 05:00:51 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.2 -->
<refentry id="function.pg-options">
<refnamediv>
@@ -54,9 +54,9 @@
<title><function>pg_options</function> example</title>
<programlisting role="php">
<![CDATA[
-<?php
+<?php
$pgsql_conn = pg_connect("dbname=mark host=localhost");
- echo pg_options($pgsql_conn);
+ echo pg_options($pgsql_conn);
?>
]]>
</programlisting>
http://cvs.php.net/diff.php/phpdoc/en/reference/pgsql/functions/pg-port.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/reference/pgsql/functions/pg-port.xml
diff -u phpdoc/en/reference/pgsql/functions/pg-port.xml:1.5
phpdoc/en/reference/pgsql/functions/pg-port.xml:1.6
--- phpdoc/en/reference/pgsql/functions/pg-port.xml:1.5 Fri Apr 15 04:40:12 2005
+++ phpdoc/en/reference/pgsql/functions/pg-port.xml Mon Apr 25 05:00:51 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.20 -->
<refentry id="function.pg-port">
<refnamediv>
@@ -57,15 +57,15 @@
<title><function>pg_port</function> example</title>
<programlisting role="php">
<![CDATA[
-<?php
-$pgsql_conn = pg_connect("dbname=mark host=localhost");
-
-if ($pgsql_conn) {
- print "Successfully connected to port: " . pg_port($pgsql_conn) . "<br/>\n";
-} else {
- print pg_last_error($pgsql_conn);
- exit;
-}
+<?php
+$pgsql_conn = pg_connect("dbname=mark host=localhost");
+
+if ($pgsql_conn) {
+ print "Successfully connected to port: " . pg_port($pgsql_conn) . "<br/>\n";
+} else {
+ print pg_last_error($pgsql_conn);
+ exit;
+}
?>
]]>
</programlisting>
http://cvs.php.net/diff.php/phpdoc/en/reference/pgsql/functions/pg-trace.xml?r1=1.7&r2=1.8&ty=u
Index: phpdoc/en/reference/pgsql/functions/pg-trace.xml
diff -u phpdoc/en/reference/pgsql/functions/pg-trace.xml:1.7
phpdoc/en/reference/pgsql/functions/pg-trace.xml:1.8
--- phpdoc/en/reference/pgsql/functions/pg-trace.xml:1.7 Fri Apr 15
04:40:12 2005
+++ phpdoc/en/reference/pgsql/functions/pg-trace.xml Mon Apr 25 05:00:51 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
<!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.7 -->
<refentry id="function.pg-trace">
<refnamediv>
@@ -81,18 +81,18 @@
<title><function>pg_trace</function> example</title>
<programlisting role="php">
<![CDATA[
-<?php
-$pgsql_conn = pg_connect("dbname=mark host=localhost");
-
+<?php
+$pgsql_conn = pg_connect("dbname=mark host=localhost");
+
if ($pgsql_conn) {
- pg_trace('/tmp/trace.log', 'w', $pgsql_conn);
+ pg_trace('/tmp/trace.log', 'w', $pgsql_conn);
pg_query("SELECT 1");
pg_untrace($pgsql_conn);
- // Now /tmp/trace.log will contain backend communication
-} else {
- print pg_last_error($pgsql_conn);
- exit;
-}
+ // Now /tmp/trace.log will contain backend communication
+} else {
+ print pg_last_error($pgsql_conn);
+ exit;
+}
?>
]]>
</programlisting>
http://cvs.php.net/diff.php/phpdoc/en/reference/pgsql/functions/pg-untrace.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/reference/pgsql/functions/pg-untrace.xml
diff -u phpdoc/en/reference/pgsql/functions/pg-untrace.xml:1.5
phpdoc/en/reference/pgsql/functions/pg-untrace.xml:1.6
--- phpdoc/en/reference/pgsql/functions/pg-untrace.xml:1.5 Fri Apr 15
04:40:12 2005
+++ phpdoc/en/reference/pgsql/functions/pg-untrace.xml Mon Apr 25 05:00:51 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.58 -->
<refentry id="function.pg-untrace">
<refnamediv>
@@ -51,18 +51,18 @@
<title><function>pg_untrace</function> example</title>
<programlisting role="php">
<![CDATA[
-<?php
-$pgsql_conn = pg_connect("dbname=mark host=localhost");
-
+<?php
+$pgsql_conn = pg_connect("dbname=mark host=localhost");
+
if ($pgsql_conn) {
- pg_trace('/tmp/trace.log', 'w', $pgsql_conn);
+ pg_trace('/tmp/trace.log', 'w', $pgsql_conn);
pg_query("SELECT 1");
pg_untrace($pgsql_conn);
- // Now /tmp/trace.log will contain backend communication
-} else {
- print pg_last_error($pgsql_conn);
- exit;
-}
+ // Now /tmp/trace.log will contain backend communication
+} else {
+ print pg_last_error($pgsql_conn);
+ exit;
+}
?>
]]>
</programlisting>