Re: how to recall the initial definition (CREATE TABLE)

From: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: how to recall the initial definition (CREATE TABLE)
Date: 2006-01-09 15:56:01
Message-ID: 20060109155601.GA9339@webserv.wug-glas.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

am 09.01.2006, um 10:38:06 -0500 mailte Jaime Casanova folgendes:
> > > Let's say I forgot the "definition" of a table (.. the original CREATE
> > > TABLE query)...

> or even you can do in the shelll
>
>
> psql -U postgres -d database_name -c "\d schema_name.table_name" > file

the result is unfortunately not a valid DDL...

Andreas
--
Andreas Kretschmer (Kontakt: siehe Header)
Heynitz: 035242/47212, D1: 0160/7141639
GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net
=== Schollglas Unternehmensgruppe ===

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message A. Kretschmer 2006-01-09 15:59:12 Re: What does 'schema' mean ?
Previous Message Neil Saunders 2006-01-09 15:52:32 Re: What does 'schema' mean ?