Received: from hub.org.org (localhost [127.0.0.1]) by hub.org (8.10.1/8.11.0) with SMTP id e9S45NZ05032 for ; Sat, 28 Oct 2000 00:05:24 -0400 (EDT) (envelope-from pgsql-docs-owner@hub.org) Received: from stargate.inta.es (stargate.inta.es [130.206.91.98]) by hub.org (8.10.1/8.11.0) with SMTP id e9R6mXq46756 for ; Fri, 27 Oct 2000 02:48:34 -0400 (EDT) (envelope-from martinhj@inta.es) Received: by stargate.inta.es; id IAA14053; Fri, 27 Oct 2000 08:51:30 +0200 Received: from unknown(130.206.84.14) by stargate.inta.es via smap (V5.5) id xma014048; Fri, 27 Oct 00 08:51:11 +0200 Received: from fargo.inta.es (fargo [130.206.92.25]) by polaris.inta.es (8.8.5/8.7.3) with ESMTP id IAA07361 for ; Fri, 27 Oct 2000 08:49:43 +0200 (MET DST) Received: from inta.es ([192.168.5.183]) by fargo.inta.es (Lotus Domino Release 5.0.3 (Intl)) with ESMTP id 2000102708504032:6664 ; Fri, 27 Oct 2000 08:50:40 +0200 Message-ID: <39F92491.4C81B22D@inta.es> Date: Fri, 27 Oct 2000 08:45:38 +0200 From: Maria Jesus Martin Mohamed Organization: INTA X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.12-20 i686) X-Accept-Language: en MIME-Version: 1.0 To: pgsql-docs@postgresql.org Subject: Postgresql/tcltk X-MIMETrack: Itemize by SMTP Server on FARGO/Inta(Release 5.0.3 (Intl)|21 March 2000) at 27/10/2000 08.50.40, Serialize by Router on FARGO/Inta(Release 5.0.3 (Intl)|21 March 2000) at 27/10/2000 08.50.41, Serialize complete at 27/10/2000 08.50.41 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by hub.org id e9R6nx447244 X-Archive-Number: 200010/31 X-Sequence-Number: 346 Hola, estoy haciendo una consulta en con TCLTK y lo que quiero es que a través del nombre de una base de datos obtener las tablas que la componen. Se que existe la opción \dt pero al utilizarla así : set res2 [pg_exec $conn "BEGIN WORK \dt COMMIT; commit;" ] set men [pg_result $res2 -error] me dá un error. Sabríais decirme que es lo que tengo que utilizar para poder hacer esto.? Gracias