note 3390 deleted from pg_Connect by jmoore
| From: | jmoore@php.net | Date: | Fri, 18 Aug 2000 19:32:07 +0000 |
| Subject: | note 3390 deleted from pg_Connect by jmoore | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-2490@lists.php.net to get a copy of this message | ||
Warning: Unable to connect to PostgresSQL server: pqReadData() -- backend closed the channel
unexpectedly. This probably
means the backend terminated abnormally before or while processing the request. in
/home/httpd/html/test.php3 on line 2
Warning: 0 is not a PostgresSQL link index in /home/httpd/html/test.php3 on line 3
Warning: 0 is not a PostgresSQL result index in /home/httpd/html/test.php3 on line 4
<- cmdtuples affected.
what is the error of it
my code is
<pre>
<?php
$conn = pg_connect("localhost", "5432", "ayen", "WKZZhdxN",
"template1");
$result = pg_exec($conn, "select * from template1");
$cmdtuples = pg_cmdtuples($result);
echo $cmdtuples . " <- cmdtuples affected.";
?></pre>