cvs: phpdoc-it /reference/pgsql/functions pg-options.xml pg-port.xml pg-put-line.xml

From: Date: Thu, 22 Aug 2002 11:26:24 +0000
Subject: cvs: phpdoc-it /reference/pgsql/functions pg-options.xml pg-port.xml pg-put-line.xml
Groups: php.doc.it 
Request: Send a blank email to doc-it+get-68@lists.php.net to get a copy of this message
cucinato Thu Aug 22 07:26:24 2002 EDT Modified files: /phpdoc-it/reference/pgsql/functions pg-put-line.xml pg-port.xml pg-options.xml Log: Initial translation Index: phpdoc-it/reference/pgsql/functions/pg-put-line.xml diff -u phpdoc-it/reference/pgsql/functions/pg-put-line.xml:1.2 phpdoc-it/reference/pgsql/functions/pg-put-line.xml:1.3 --- phpdoc-it/reference/pgsql/functions/pg-put-line.xml:1.2 Wed Apr 17 03:08:12 2002 +++ phpdoc-it/reference/pgsql/functions/pg-put-line.xml Thu Aug 22 07:26:23 2002 @@ -1,45 +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-put-line' in en/ tree in rev 1.20 --> -<!-- EN-Revision: 1.2 Maintainer: cortesi Status: ready --> +<!-- EN-Revision: 1.2 Maintainer: cucinato Status: ready --> <!-- OLD-Revision: 1.70/EN.1.20 --> +<!-- CREDITS: fabio,cortesi,denny --> <refentry id="function.pg-put-line"> <refnamediv> <refname>pg_put_line</refname> - <refpurpose>Send a NULL-terminated string to PostgreSQL backend</refpurpose> + <refpurpose>Invia una stringa terminata da NULL al backend PostgreSQL</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type>bool</type><methodname>pg_put_line</methodname> - <methodparam choice="opt"><type>resource</type><parameter>connection</parameter></methodparam> - <methodparam><type>string</type><parameter>data</parameter></methodparam> + <methodparam choice="opt"><type>resource</type><parameter>connessione</parameter></methodparam> + <methodparam><type>string</type><parameter>dati</parameter></methodparam> </methodsynopsis> <para> - <function>pg_put_line</function> sends a NULL-terminated string - to the PostgreSQL backend server. This is useful for example for - very high-speed inserting of data into a table, initiated by - starting a PostgreSQL copy-operation. That final NULL-character - is added automatically. It returns &true; if successful, &false; - otherwise. + <function>pg_put_line</function> invia una stringa terminata da NULL + al backend PostgreSQL. Ciò è utile, per esempio, per + l'inserimento ad alta velocità di dati in una tabella, iniziato mediante + l'invocazione di una operazione di copia. Il carattere NULL finale + è aggiunto automaticamente. &return.success; </para> <note> <para> - Note the application must explicitly send the two characters "\." - on a final line to indicate to the backend that it has finished - sending its data. + L'applicazione deve explicitamente inviare i due caratteri "\." + sull'ultima riga, ad indicare al backend il termine dell'invio dei + dati. </para> </note> <para> - See also <function>pg_end_copy</function>. + Vedere anche <function>pg_end_copy</function>. <example> - <title>High-speed insertion of data into a table</title> + <title>Inserimento ad alta velocità dai dati in una tabella</title> <programlisting role="php"> <![CDATA[ <?php $conn = pg_pconnect ("dbname=foo"); - pg_exec($conn, "create table bar (a int4, b char(16), d float8)"); - pg_exec($conn, "copy bar from stdin"); + pg_query($conn, "create table bar (a int4, b char(16), d float8)"); + pg_query($conn, "copy bar from stdin"); pg_put_line($conn, "3\thello world\t4.5\n"); pg_put_line($conn, "4\tgoodbye world\t7.11\n"); pg_put_line($conn, "\\.\n"); Index: phpdoc-it/reference/pgsql/functions/pg-port.xml diff -u phpdoc-it/reference/pgsql/functions/pg-port.xml:1.2 phpdoc-it/reference/pgsql/functions/pg-port.xml:1.3 --- phpdoc-it/reference/pgsql/functions/pg-port.xml:1.2 Wed Apr 17 03:08:11 2002 +++ phpdoc-it/reference/pgsql/functions/pg-port.xml Thu Aug 22 07:26:23 2002 @@ -1,25 +1,26 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/pgsql.xml, last change in rev 1.10 --> <!-- last change to 'pg-port' in en/ tree in rev 1.20 --> -<!-- EN-Revision: 1.2 Maintainer: cortesi Status: ready --> +<!-- EN-Revision: 1.2 Maintainer: cucinato Status: ready --> <!-- OLD-Revision: 1.70/EN.1.20 --> +<!-- CREDITS: fabio,cortesi,denny --> <refentry id="function.pg-port"> <refnamediv> <refname>pg_port</refname> <refpurpose> - Return the port number associated with the connection + Restituisce il numero di porta associato alla connessione </refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type>int</type><methodname>pg_port</methodname> - <methodparam><type>resource</type><parameter>connection</parameter></methodparam> + <methodparam><type>resource</type><parameter>connessione</parameter></methodparam> </methodsynopsis> <para> - <function>pg_port</function> returns the port number that the - given PostgreSQL <parameter>connection</parameter> resource is - connected to. + <function>pg_port</function> restituisce il numero della porta + a cui la risorsa PostgreSQL <parameter>connessione</parameter> è + collegata. </para> </refsect1> </refentry> Index: phpdoc-it/reference/pgsql/functions/pg-options.xml diff -u phpdoc-it/reference/pgsql/functions/pg-options.xml:1.2 phpdoc-it/reference/pgsql/functions/pg-options.xml:1.3 --- phpdoc-it/reference/pgsql/functions/pg-options.xml:1.2 Wed Apr 17 03:08:11 2002 +++ phpdoc-it/reference/pgsql/functions/pg-options.xml Thu Aug 22 07:26:23 2002 @@ -1,23 +1,24 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/pgsql.xml, last change in rev 1.10 --> <!-- last change to 'pg-options' 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 --> +<!-- CORTESI: fabio,cortesi,denny --> <refentry id="function.pg-options"> <refnamediv> <refname>pg_options</refname> - <refpurpose>Get the options associated with the connection</refpurpose> + <refpurpose>Estrae le opzioni associate alla connessione</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type>string</type><methodname>pg_options</methodname> - <methodparam><type>resource</type><parameter>connection</parameter></methodparam> + <methodparam><type>resource</type><parameter>connessione</parameter></methodparam> </methodsynopsis> <para> - <function>pg_options</function> will return a string containing - the options specified on the given PostgreSQL - <parameter>connection</parameter> resource. + <function>pg_options</function> restituisce una stringa contenente + le opzioni specificate alla risorsa PostgreSQL + <parameter>connessione</parameter>. </para> </refsect1> </refentry>

« previous php.doc.it (#68) next »