pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Lockhart <lockhart@alumni.caltech.edu>
To: Maria Jesus Martin Mohamed <martinhj@inta.es>
Cc: pgsql-docs@postgresql.org
Subject: Re: Postgresql/tcltk
Date: Sat, 28 Oct 2000 07:03:23 +0000
Message-ID: <39FA7A3B.61545CD4@alumni.caltech.edu> (raw)
References: <39F92491.4C81B22D@inta.es>

> 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.?

Hola. Usted tiene la problema con "\dt" porque no existe este simbolo
del "backend". El otro mano, esta incluido en la programa "psql"
solomente.

Hasta luego.

                     - Thomas



view thread (2+ messages)

Message-ID: <39FA7A3B.61545CD4@alumni.caltech.edu>
Permalink:  ../39FA7A3B.61545CD4@alumni.caltech.edu/
Also on:    postgresql.org/message-id/39FA7A3B.61545CD4@alumni.caltech.edu

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: lockhart@alumni.caltech.edu, martinhj@inta.es
  Subject: Re: Postgresql/tcltk
  In-Reply-To: <39FA7A3B.61545CD4@alumni.caltech.edu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox