Updated translation

git-svn-id: https://svn.php.net/repository/phpdoc/ru/trunk@335773 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Alexander Moskaliov
2015-01-18 15:31:16 +00:00
parent bd0f5f829e
commit be6ebc71db
8 changed files with 63 additions and 28 deletions

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: mch Status: ready -->
<!-- EN-Revision: 5d818a7f07842b7fdf51f9a896e7d7cba95848f2 Maintainer: mch Status: ready -->
<!-- Reviewed: no -->
<!-- $Revision$ -->
<!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.82 -->
@ -81,13 +81,16 @@
<programlisting role="php">
<![CDATA[
<?php
$pgsql_conn = pg_connect("dbname=mark host=localhost");
// Подключение к базе данных
pg_connect("dbname=mark host=localhost");
$res1 = pg_query("CREATE TABLE test (a INTEGER) WITH OIDS");
// Создание тестовой таблицы
pg_query("CREATE TABLE test (a INTEGER) WITH OIDS");
$res2 = pg_query("INSERT INTO test VALUES (1)");
$oid = pg_last_oid($res2);
// Вставка данных в таблицу
$res = pg_query("INSERT INTO test VALUES (1)");
$oid = pg_last_oid($res);
?>
]]>
</programlisting>