cvs: phpdoc-it /reference/pgsql/functions pg-trace.xml pg-untrace.xml

From: Date: Thu, 22 Aug 2002 11:20:38 +0000
Subject: cvs: phpdoc-it /reference/pgsql/functions pg-trace.xml pg-untrace.xml
Groups: php.doc.it 
Request: Send a blank email to doc-it+get-67@lists.php.net to get a copy of this message
cucinato Thu Aug 22 07:20:38 2002 EDT Modified files: /phpdoc-it/reference/pgsql/functions pg-trace.xml pg-untrace.xml Log: Initial translation Index: phpdoc-it/reference/pgsql/functions/pg-trace.xml diff -u phpdoc-it/reference/pgsql/functions/pg-trace.xml:1.2 phpdoc-it/reference/pgsql/functions/pg-trace.xml:1.3 --- phpdoc-it/reference/pgsql/functions/pg-trace.xml:1.2 Wed Apr 17 03:08:13 2002 +++ phpdoc-it/reference/pgsql/functions/pg-trace.xml Thu Aug 22 07:20:38 2002 @@ -1,46 +1,47 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/pgsql.xml, last change in rev 1.10 --> <!-- last change to 'pg-trace' in en/ tree in rev 1.7 --> -<!-- EN-Revision: 1.2 Maintainer: cortesi Status: ready --> +<!-- EN-Revision: 1.2 Maintainer: cucinato Status: ready --> <!-- OLD-Revision: 1.70/EN.1.7 --> +<!-- CREDITS: fabio,cortes,denny --> <refentry id="function.pg-trace"> <refnamediv> <refname>pg_trace</refname> - <refpurpose>Enable tracing a PostgreSQL connection</refpurpose> + <refpurpose>iAbilita il tracciamento di una connessione PostgreSQL</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type>bool</type><methodname>pg_trace</methodname> - <methodparam><type>string</type><parameter>pathname</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>mode</parameter></methodparam> - <methodparam choice="opt"><type>resource</type><parameter>connection</parameter></methodparam> + <methodparam><type>string</type><parameter>percorsofile</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>modo</parameter></methodparam> + <methodparam choice="opt"><type>resource</type><parameter>connessione</parameter></methodparam> </methodsynopsis> <para> - <function>pg_trace</function> enables tracing of the PostgreSQL - frontend/backend communication to a debugging file specified as - <parameter>pathname</parameter>. To fully understand the results, - one needs to be familiar with the internals of PostgreSQL - communication protocol. For those who are not, it can still be - useful for tracing errors in queries sent to the server, you - could do for example <command>grep '^To backend' - trace.log</command> and see what query actually were sent to the - PostgreSQL server. For more information, refer to PostgreSQL - manual. + <function>pg_trace</function> abilita il tracciamento di una comunicazione + frontend/backend PostgreSQL verso un file di debug specificato da + <parameter>percorsofile</parameter>. Per riuscire a capire i risultati, + occorre conoscere bene i dettagli del protocollo di comunicazione + di PostgreSQL. Per chi non ne è a conoscenza, può sempre essere utile + per tracciare gli errori nelle query mandate al server; ad esempio + si può eseguire <command>grep '^To backend' + trace.log</command> e vedere quale query è stata realmente inviata al + server PostgreSQL. Per ulteriori informazioni, consultare il manuale di + PostgreSQL. </para> <para> - <parameter>Filename</parameter> and <parameter>mode</parameter> - are the same as in <function>fopen</function> - (<parameter>mode</parameter> defaults to 'w'), - <parameter>connection</parameter> specifies the connection to - trace and defaults to the last one opened. + <parameter>percorsofile</parameter> e <parameter>modo</parameter> + sono gli stessi parametri di <function>fopen</function> + (<parameter>mode</parameter> ha come default 'w'), + <parameter>connession</parameter> specifica la connessione + da tracciare ed ha come default l'ultima aperta. </para> <para> - It returns &true; if <parameter>pathname</parameter> could be opened - for logging, &false; otherwise. + Restituisce &true; se <parameter>percorsofile</parameter> è stato aperto + inscrittura per il log, altrimenti &false;. </para> <para> - See also <function>fopen</function> and + Vedere anche <function>fopen</function> e <function>pg_untrace</function>. </para> </refsect1> Index: phpdoc-it/reference/pgsql/functions/pg-untrace.xml diff -u phpdoc-it/reference/pgsql/functions/pg-untrace.xml:1.2 phpdoc-it/reference/pgsql/functions/pg-untrace.xml:1.3 --- phpdoc-it/reference/pgsql/functions/pg-untrace.xml:1.2 Wed Apr 17 03:08:14 2002 +++ phpdoc-it/reference/pgsql/functions/pg-untrace.xml Thu Aug 22 07:20:38 2002 @@ -1,29 +1,30 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/pgsql.xml, last change in rev 1.16 --> <!-- last change to 'pg-untrace' in en/ tree in rev 1.58 --> -<!-- EN-Revision: 1.2 Maintainer: cortesi Status: ready --> +<!-- EN-Revision: 1.2 Maintainer: cucinato Status: ready --> <!-- OLD-Revision: 1.70/EN.1.58 --> +<!-- CREDITS: fabio,cortesi,denny --> <refentry id="function.pg-untrace"> <refnamediv> <refname>pg_untrace</refname> - <refpurpose>Disable tracing of a PostgreSQL connection</refpurpose> + <refpurpose>Disabilita il tracciamento di una connessione PostgreSQL</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type>bool</type><methodname>pg_untrace</methodname> - <methodparam choice="opt"><type>resource</type><parameter>connection</parameter></methodparam> + <methodparam choice="opt"><type>resource</type><parameter>connessione</parameter></methodparam> </methodsynopsis> <para> - Stop tracing started by <function>pg_trace</function>. - <parameter>connection</parameter> specifies the connection that was - traced and defaults to the last one opened. + Termina il tracciamento cominciato con <function>pg_trace</function>. + <parameter>connessione</parameter> specifica la connessione + tracciata ed ha come default l'ultima connessione aperta. </para> <para> - Returns always &true;. + Restituisce sempre &true;. </para> <para> - See also <function>pg_trace</function>. + Vedere anche <function>pg_trace</function>. </para> </refsect1> </refentry>

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