pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jon Horsman <horshaq@gmail.com>
To: pgsql-sql@postgresql.org
Subject: Re: How to query information schema from shell script
Date: Fri, 27 Oct 2006 11:22:25 -0400
Message-ID: <4f4c2a010610270822j2c162d7bm19902412dd15cae3@mail.gmail.com> (raw)
In-Reply-To: <4f4c2a010610270812r65d321cejf00cb374596f2a5f@mail.gmail.com>
References: <4f4c2a010610270631q73de201tb98446f64b942a0e@mail.gmail.com>
	<bc63ad820610270655h5bbc4fd4n797a7ea3d7e3bcdd@mail.gmail.com>
	<4f4c2a010610270657we83aa70o471678507d59c6a0@mail.gmail.com>
	<4f4c2a010610270812r65d321cejf00cb374596f2a5f@mail.gmail.com>

For more information, i know how this is done using the pg_catalog but
have yet to find out how its done with the information schema.

select * from pg_catalog.pg_database where datname='test'

will work for me but i can't find a solution with the IS.  I'd prefer
to use the IS if its as easily done as with pg_catalog

Jon



view thread (11+ messages)  latest in thread

Message-ID: <4f4c2a010610270822j2c162d7bm19902412dd15cae3@mail.gmail.com>
Permalink:  ../4f4c2a010610270822j2c162d7bm19902412dd15cae3@mail.gmail.com/
Also on:    postgresql.org/message-id/4f4c2a010610270822j2c162d7bm19902412dd15cae3@mail.gmail.com

 · 

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-sql@postgresql.org
  Cc: horshaq@gmail.com
  Subject: Re: How to query information schema from shell script
  In-Reply-To: <4f4c2a010610270822j2c162d7bm19902412dd15cae3@mail.gmail.com>

* 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