cucinato Wed Jun 5 03:05:45 2002 EDT
Modified files:
/phpdoc-it/reference/pgsql/functions pg-cancel-query.xml
pg-connection-busy.xml
pg-connection-reset.xml
pg-connection-status.xml
pg-copy-from.xml
pg-copy-to.xml pg-end-copy.xml
pg-escape-bytea.xml
Log:
updated to EN version
Index: phpdoc-it/reference/pgsql/functions/pg-cancel-query.xml
diff -u phpdoc-it/reference/pgsql/functions/pg-cancel-query.xml:1.3
phpdoc-it/reference/pgsql/functions/pg-cancel-query.xml:1.4
--- phpdoc-it/reference/pgsql/functions/pg-cancel-query.xml:1.3 Mon May 27 18:45:08
2002
+++ phpdoc-it/reference/pgsql/functions/pg-cancel-query.xml Wed Jun 5 03:05:42
+2002
@@ -3,7 +3,8 @@
<!-- last change to 'pg-cancel-query' in en/ tree in rev 1.61 -->
<!-- EN-Revision: 1.4 Maintainer: cucinato Status: ready -->
<!-- OLD-Revision: 1.70/EN.1.61 -->
- <refentry id='function.pg-cancel-query'>
+<!-- CREDITS: fabio,cortesi,denny -->
+<refentry id='function.pg-cancel-query'>
<refnamediv>
<refname>pg_cancel_query</refname>
<refpurpose>
Index: phpdoc-it/reference/pgsql/functions/pg-connection-busy.xml
diff -u phpdoc-it/reference/pgsql/functions/pg-connection-busy.xml:1.1
phpdoc-it/reference/pgsql/functions/pg-connection-busy.xml:1.2
--- phpdoc-it/reference/pgsql/functions/pg-connection-busy.xml:1.1 Sun Apr 14
20:55:00 2002
+++ phpdoc-it/reference/pgsql/functions/pg-connection-busy.xml Wed Jun 5 03:05:44
+2002
@@ -1,30 +1,29 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- splitted from ./it/functions/pgsql.xml, last change in rev 1.16 -->
<!-- last change to 'pg-connection-busy' in en/ tree in rev 1.82 -->
-<!-- EN-Revision: 0.0 Maintainer: cortesi Status: ready -->
+<!-- EN-Revision: 1.3 Maintainer: cucinato Status: ready -->
<!-- OLD-Revision: 1.70/EN.1.82 -->
+<!-- CREDITS: fabio,cortesi,denny -->
<refentry id='function.pg-connection-busy'>
<refnamediv>
<refname>pg_connection_busy</refname>
<refpurpose>
- Get connection is busy or not
+ Riferisce se una connessione � occupata o meno
</refpurpose>
</refnamediv>
<refsect1>
<title>Descrizione</title>
- <methodsynopsis>
- <type>bool</type><methodname>pg_connection_busy</methodname>
-
<methodparam><type>resource</type><parameter>connection</parameter></methodparam>
- </methodsynopsis>
+ <methodsynopsis>
+ <type>bool</type><methodname>pg_connection_busy</methodname>
+
+<methodparam><type>resource</type><parameter>connessione</parameter></methodparam>
+ </methodsynopsis>
<para>
- <function>pg_connection_busy</function> returns &true; if
- connection busy. If connection is busy, previously sent query to
- PostgreSQL server is still executing. If
- <function>pg_get_result</function> is called,
- <function>pg_get_result</function> will block.
+ <function>pg_connection_busy</function> restituisce &true; se la
+ connessione � occupata. In questo caso, la query precedentamente inviata �
+ancora in esecuzione.
+ Se <function>pg_get_result</function> viene chiamata, verr� bloccata.
</para>
<para>
- See also <function>pg_connection_status</function> and
+ Vedere anche <function>pg_connection_status</function> e
<function>pg_get_result</function>
</para>
</refsect1>
Index: phpdoc-it/reference/pgsql/functions/pg-connection-reset.xml
diff -u phpdoc-it/reference/pgsql/functions/pg-connection-reset.xml:1.1
phpdoc-it/reference/pgsql/functions/pg-connection-reset.xml:1.2
--- phpdoc-it/reference/pgsql/functions/pg-connection-reset.xml:1.1 Sun Apr 14
20:55:00 2002
+++ phpdoc-it/reference/pgsql/functions/pg-connection-reset.xml Wed Jun 5 03:05:44
+2002
@@ -1,8 +1,9 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- splitted from ./it/functions/pgsql.xml, last change in rev 1.16 -->
<!-- last change to 'pg-connection-reset' in en/ tree in rev 1.82 -->
-<!-- EN-Revision: 0.0 Maintainer: cortesi Status: ready -->
+<!-- EN-Revision: 1.2 Maintainer: cucinato Status: ready -->
<!-- OLD-Revision: 1.70/EN.1.82 -->
+<!-- CREDITS: fabio,cortesi,denny -->
<refentry id='function.pg-connection-reset'>
<refnamediv>
<refname>pg_connection_reset</refname>
@@ -12,15 +13,13 @@
</refnamediv>
<refsect1>
<title>Descrizione</title>
- <methodsynopsis>
- <type>bool</type><methodname>pg_connection_reset</methodname>
-
<methodparam><type>resource</type><parameter>connection</parameter></methodparam>
- </methodsynopsis>
+ <methodsynopsis>
+ <type>bool</type><methodname>pg_connection_reset</methodname>
+
+<methodparam><type>resource</type><parameter>connessione</parameter></methodparam>
+ </methodsynopsis>
<para>
- <function>pg_connection_reset</function> reset connection with
- the same parameter when connection is made. It is useful for
- error recovery. It returns &true; if it resets connection
- successfully, otherwise returns &false;.
+ <function>pg_connection_reset</function> ripristina la connessione.
+ È utile per la gestione degli errori. &return.success;
</para>
<para>
See also <function>pg_connect</function>,
Index: phpdoc-it/reference/pgsql/functions/pg-connection-status.xml
diff -u phpdoc-it/reference/pgsql/functions/pg-connection-status.xml:1.1
phpdoc-it/reference/pgsql/functions/pg-connection-status.xml:1.2
--- phpdoc-it/reference/pgsql/functions/pg-connection-status.xml:1.1 Sun Apr 14
20:55:00 2002
+++ phpdoc-it/reference/pgsql/functions/pg-connection-status.xml Wed Jun 5
+03:05:44 2002
@@ -1,8 +1,9 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- splitted from ./it/functions/pgsql.xml, last change in rev 1.16 -->
<!-- last change to 'pg-connection-status' in en/ tree in rev 1.82 -->
-<!-- EN-Revision: 0.0 Maintainer: cortesi Status: ready -->
+<!-- EN-Revision: 1.2 Maintainer: cucinato Status: ready -->
<!-- OLD-Revision: 1.70/EN.1.82 -->
+<!-- CREDITS: fabio,cortesi,denny -->
<refentry id='function.pg-connection-status'>
<refnamediv>
<refname>pg_connection_status</refname>
@@ -14,15 +15,15 @@
<title>Descrizione</title>
<methodsynopsis>
<type>int</type><methodname>pg_connection_status</methodname>
-
<methodparam><type>resource</type><parameter>connection</parameter></methodparam>
+
+<methodparam><type>resource</type><parameter>connessione</parameter></methodparam>
</methodsynopsis>
<para>
- <function>pg_connection_status</function> returns a connection
- status. Possible status is <literal>PGSQL_CONNECTION_O</literal>
- or <literal>PGSQL_CONNECTION_BAD</literal>.
+ <function>pg_connection_status</function> restituisce lo stato di
+ una connessione. I possibili valori sono <literal>PGSQL_CONNECTION_OK</literal>
+ e <literal>PGSQL_CONNECTION_BAD</literal>.
</para>
<para>
- See also <function>pg_connection_busy</function>
+ Vedere anche <function>pg_connection_busy</function>.
</para>
</refsect1>
</refentry>
Index: phpdoc-it/reference/pgsql/functions/pg-copy-from.xml
diff -u phpdoc-it/reference/pgsql/functions/pg-copy-from.xml:1.1
phpdoc-it/reference/pgsql/functions/pg-copy-from.xml:1.2
--- phpdoc-it/reference/pgsql/functions/pg-copy-from.xml:1.1 Sun Apr 14 20:55:00
2002
+++ phpdoc-it/reference/pgsql/functions/pg-copy-from.xml Wed Jun 5 03:05:44
+2002
@@ -1,31 +1,34 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- splitted from ./it/functions/pgsql.xml, last change in rev 1.16 -->
<!-- last change to 'pg-copy-from' in en/ tree in rev 1.82 -->
-<!-- EN-Revision: 0.0 Maintainer: cortesi Status: ready -->
+<!-- EN-Revision: 1.3 Maintainer: cucinato Status: ready -->
<!-- OLD-Revision: 1.70/EN.1.82 -->
+<!-- CREDITS: fabio,cortesi,denny -->
<refentry id='function.pg-copy-from'>
<refnamediv>
<refname>pg_copy_from</refname>
<refpurpose>
- Copy table from array
+ Inserisce le tuple in una tabella prendendole da un array
</refpurpose>
</refnamediv>
<refsect1>
<title>Descrizione</title>
<methodsynopsis>
<type>int</type><methodname>pg_copy_from</methodname>
- <methodparam><type>int</type><parameter>connection</parameter></methodparam>
- <methodparam><type>string</type><parameter>table_name</parameter></methodparam>
- <methodparam><type>array</type><parameter>rows</parameter></methodparam>
- <methodparam
choice="opt"><type>string</type><parameter>delimiter</parameter></methodparam>
+ <methodparam><type>int</type><parameter>connessione</parameter></methodparam>
+ <methodparam><type>string</type><parameter>nometabella</parameter></methodparam>
+ <methodparam><type>array</type><parameter>tuple</parameter></methodparam>
+ <methodparam
+choice="opt"><type>string</type><parameter>delimtatore</parameter></methodparam>
<methodparam
choice="opt"><type>string</type><parameter>null_as</parameter></methodparam>
</methodsynopsis>
<para>
- <function>pg_copy_from</function> copy table from array. It
- return &true; for success, otherwise &false;.
+ <function>pg_copy_from</function> inserisce le tuple in una tabella etraendole
+ dall'array <parameter>tuple</parameter>. Utilizza internamente il comando
+<literal>OPY</literal>
+ per inserire i record.
+ &return.success;
</para>
<para>
- See also <function>pg_copy_to</function>
+ Vedere anche <function>pg_copy_to</function>
</para>
</refsect1>
</refentry>
Index: phpdoc-it/reference/pgsql/functions/pg-copy-to.xml
diff -u phpdoc-it/reference/pgsql/functions/pg-copy-to.xml:1.2
phpdoc-it/reference/pgsql/functions/pg-copy-to.xml:1.3
--- phpdoc-it/reference/pgsql/functions/pg-copy-to.xml:1.2 Wed Apr 17 03:08:04
2002
+++ phpdoc-it/reference/pgsql/functions/pg-copy-to.xml Wed Jun 5 03:05:44 2002
@@ -1,31 +1,31 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- splitted from ./it/functions/pgsql.xml, last change in rev 1.16 -->
<!-- last change to 'pg-copy-to' in en/ tree in rev 1.2 -->
-<!-- EN-Revision: 1.2 Maintainer: cortesi Status: ready -->
+<!-- EN-Revision: 1.2 Maintainer: cucinato Status: ready -->
<!-- OLD-Revision: 1.70/EN.1.2 -->
+<!-- CREDITS: fabio,cortesi,denny -->
<refentry id='function.pg-copy-to'>
<refnamediv>
<refname>pg_copy_to</refname>
<refpurpose>
- Copy table to array
+ Copia una tabella in un array
</refpurpose>
</refnamediv>
<refsect1>
<title>Descrizione</title>
<methodsynopsis>
<type>int</type><methodname>pg_copy_to</methodname>
- <methodparam><type>int</type><parameter>connection</parameter></methodparam>
- <methodparam><type>string</type><parameter>table_name</parameter></methodparam>
- <methodparam
choice="opt"><type>string</type><parameter>delimiter</parameter></methodparam>
+ <methodparam><type>int</type><parameter>connessione</parameter></methodparam>
+ <methodparam><type>string</type><parameter>nometabella</parameter></methodparam>
+ <methodparam
+choice="opt"><type>string</type><parameter>delimitatore</parameter></methodparam>
<methodparam
choice="opt"><type>string</type><parameter>null_as</parameter></methodparam>
</methodsynopsis>
<para>
- <function>pg_copy_to</function> copy table to array. The result
- array is returned if it success to copy. Otherwise it returns
- &false;.
+ <function>pg_copy_to</function> copia una tabella in un array.
+ Restituisce l'array risultante. Restituisce &false; in caso di errore.
</para>
<para>
- See also <function>pg_copy_from</function>
+ Vedere anche <function>pg_copy_from</function>
</para>
</refsect1>
</refentry>
Index: phpdoc-it/reference/pgsql/functions/pg-end-copy.xml
diff -u phpdoc-it/reference/pgsql/functions/pg-end-copy.xml:1.1
phpdoc-it/reference/pgsql/functions/pg-end-copy.xml:1.2
--- phpdoc-it/reference/pgsql/functions/pg-end-copy.xml:1.1 Sun Apr 14 20:55:01
2002
+++ phpdoc-it/reference/pgsql/functions/pg-end-copy.xml Wed Jun 5 03:05:44 2002
@@ -1,30 +1,30 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- splitted from ./it/functions/pgsql.xml, last change in rev 1.10 -->
<!-- last change to 'pg-end-copy' in en/ tree in rev 1.82 -->
-<!-- EN-Revision: 0.0 Maintainer: cortesi Status: ready -->
+<!-- EN-Revision: 1.2 Maintainer: cucinato Status: ready -->
<!-- OLD-Revision: 1.70/EN.1.82 -->
+<!-- CREDITS: fabio,cortesi,denny -->
<refentry id="function.pg-end-copy">
<refnamediv>
<refname>pg_end_copy</refname>
- <refpurpose>Sync with PostgreSQL backend</refpurpose>
+ <refpurpose>Esegue una sincronizzazione con il backend PostgreSQL</refpurpose>
</refnamediv>
<refsect1>
<title>Descrizione</title>
<methodsynopsis>
<type>bool</type><methodname>pg_end_copy</methodname>
- <methodparam
choice="opt"><type>resource</type><parameter>connection</parameter></methodparam>
+ <methodparam
+choice="opt"><type>resource</type><parameter>connessione</parameter></methodparam>
</methodsynopsis>
<para>
- <function>pg_end_copy</function> syncs PostgreSQL frontend
- (usually a web server process) with the PostgreSQL server after
- doing a copy operation performed by
+ <function>pg_end_copy</function> sincronizza il frontend PostgreSQL
+ (normalmente un processo del server web) con il server PostgreSQL dopo
+ aver eseguito una operazione di copia attraverso
<function>pg_put_line</function>. <function>pg_end_copy</function>
- must be issued, otherwise the PostgreSQL server may get "out of
- sync" error with the frontend. It returns &true; for success,
- otherwise it returns &false;.
+ deve essere invocato, altrimenti il server PostgreSQL pu� rimanere fuori
+ sincronizzazione con il frontend e restituire un errore. &return.success;
</para>
<para>
- For further details and an example, see also
+ Per ulteriori dettagli ed esempio, vedere anche
<function>pg_put_line</function>.
</para>
</refsect1>
Index: phpdoc-it/reference/pgsql/functions/pg-escape-bytea.xml
diff -u phpdoc-it/reference/pgsql/functions/pg-escape-bytea.xml:1.2
phpdoc-it/reference/pgsql/functions/pg-escape-bytea.xml:1.3
--- phpdoc-it/reference/pgsql/functions/pg-escape-bytea.xml:1.2 Wed Apr 17 03:08:05
2002
+++ phpdoc-it/reference/pgsql/functions/pg-escape-bytea.xml Wed Jun 5 03:05:44
+2002
@@ -1,29 +1,45 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- splitted from ./it/functions/pgsql.xml, last change in rev 1.16 -->
<!-- last change to 'pg-escape-bytea' in en/ tree in rev 1.61 -->
-<!-- EN-Revision: 1.2 Maintainer: cortesi Status: ready -->
+<!-- EN-Revision: 1.3 Maintainer: cucinato Status: ready -->
<!-- OLD-Revision: 1.70/EN.1.61 -->
+<!-- CREDITS: fabio,cortesi,denny -->
<refentry id='function.pg-escape-bytea'>
<refnamediv>
<refname>pg_escape_bytea</refname>
<refpurpose>
- Escape binary for bytea type
+ Aggiunge le sequenze di escape ai dati binari nel tipo bytea
</refpurpose>
</refnamediv>
<refsect1>
<title>Descrizione</title>
<methodsynopsis>
<type>string</type><methodname>pg_escape_bytea</methodname>
- <methodparam><type>string</type><parameter>data</parameter></methodparam>
+ <methodparam><type>string</type><parameter>dati</parameter></methodparam>
</methodsynopsis>
<para>
- <function>pg_escape_string</function> escapes string for
- bytea datatype. It returns escaped string.
+ <function>pg_escape_bytea</function> aggiunge le sequenze di escape
+ nei dati di tipo bytea. Restituisce una stringa con le sequenze.
</para>
<note>
<para>
- This function is requires PostgreSQL 7.2 or later.
- </para>
+ Quando si esegue una SELECT su un tipo bytea, PostgreSQL restituisce dei byte
+formattati in ottale
+ e con il prefisso \ (es. \032). Agli utenti � lasciato il compito di convertire
+questi valori
+ in formato binario.
+ </para>
+ <para>
+ Questa funzione richiede una versione di PostgreSQL pari o superiore alla 7.2.
+Con PostgreSQL
+ 7.2.0 e 7.2.1, il tipo bytea richiede un cast quando si abilita
+ il supporto multi-byte. Es. <literal>INSERT INTO tabella (immagine)
+ VALUES ('$immagine_con_escape'::bytea);</literal> PostgreSQL 7.2.2 e
+ successivi non necessitano del cast. L'eccezione � che quando le codifiche di
+carattere
+ del client e del backend non corrispondono, ci possono essere errori
+ del flusso multi-byte. L'utente deve effettuare un cast a bytea per evitare
+questo errore.
+ </para>
+ <para>
+ Le nuove versioni di PostgreSQL avranno il supporto per la funzione di
+unescape. Il supporto per
+ la funzione unescape verr� aggiunto non appena disponibile.
+ </para>
</note>
<para>
See also <function>pg_escape_string</function>