Getting source code for database objects

From: Artacus <artacus(at)comcast(dot)net>
To: PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Getting source code for database objects
Date: 2008-07-09 03:24:01
Message-ID: 48742F51.1080502@comcast.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On pgadmin, when you click on a table or function, you get the source
code (DDL) to create that table or function.

I want to take that and check it into subversion so I have one file for
each table, function, view, etc. My question is, how do you get that
source code? I've been playing with pgadmin and wireshark trying to
figure out what commands or queries it is using to no avail.

Artacus

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jonathan Bond-Caron 2008-07-09 03:45:26 Feature: FOR UPDATE SKIP LOCKED
Previous Message Artacus 2008-07-09 03:16:50 Re: array sort for varchar arrays?