Skip to content

Commit 4ac7da9

Browse files
不要なエラーハンドリングをコード例より削除 (#137)
1 parent 7baee87 commit 4ac7da9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

reference/pgsql/functions/pg-fetch-result.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
<programlisting role="php">
113113
<![CDATA[
114114
<?php
115-
$db = pg_connect("dbname=users user=me") || die();
115+
$db = pg_connect("dbname=users user=me");
116116
117117
$res = pg_query($db, "SELECT 1 UNION ALL SELECT 2");
118118

reference/pgsql/functions/pg-free-result.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
<programlisting role="php">
7979
<![CDATA[
8080
<?php
81-
$db = pg_connect("dbname=users user=me") || die();
81+
$db = pg_connect("dbname=users user=me");
8282
8383
$res = pg_query($db, "SELECT 1 UNION ALL SELECT 2");
8484

0 commit comments

Comments
 (0)