From: Jon Horsman <horshaq@gmail.com>
To: pgsql-sql@postgresql.org
Subject: How to query information schema from shell script
Date: Fri, 27 Oct 2006 09:31:03 -0400
Message-ID: <4f4c2a010610270631q73de201tb98446f64b942a0e@mail.gmail.com> (raw)
Hey,
I'm trying to figure out how i can query the postgres information
schema from a bourne shell script on linux. I need to know if a
user/table exists. Does someone mind giving me a quick example of how
this works, is this possible?
Thanks,
Jon.
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: <4f4c2a010610270631q73de201tb98446f64b942a0e@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