pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mark Fenbers <Mark.Fenbers@noaa.gov>
To: pgsql-sql@postgresql.org
Subject: Informix Schema -> PostgreSQL ?
Date: Tue, 03 Jul 2007 12:22:14 -0400
Message-ID: <468A77B6.2070706@noaa.gov> (raw)

I am an ex-Informix convert.  Informix used the term "schema" to refer 
to the SQL-format definition of how a table or view was created.  E.g., 
CREATE TABLE john ( char(8) lid, ...);  Some views we have are quite 
complex (and not created by me) and I want to create a similar one in 
Pg.  If I could see the view in this SQL format, then I could use SQL to 
create another one using this as a template.

pgadmin3 can show this definition in SQL format, but I can't use 
pgadmin3 on a certain box.  How can I show information in Pg (psql) the 
way that Informix would show a schema?

BTW, what does PostgreSQL call this (what Informix calls a schema)??

Mark



view thread (6+ messages)  latest in thread

Message-ID: <468A77B6.2070706@noaa.gov>
Permalink:  ../468A77B6.2070706@noaa.gov/
Also on:    postgresql.org/message-id/468A77B6.2070706@noaa.gov

 · 

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: Mark.Fenbers@noaa.gov
  Subject: Re: Informix Schema -> PostgreSQL ?
  In-Reply-To: <468A77B6.2070706@noaa.gov>

* 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