How to query information schema from shell script

From: "Jon Horsman" <horshaq(at)gmail(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: How to query information schema from shell script
Date: 2006-10-27 13:31:03
Message-ID: 4f4c2a010610270631q73de201tb98446f64b942a0e@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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.

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message A. Kretschmer 2006-10-27 13:46:31 Re: How to query information schema from shell script
Previous Message Jim C. Nasby 2006-10-27 03:06:30 Re: [SQL] Can we convert from Postgres to Oracle !!???