Getting source code for database objects - Mailing list 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

pgsql-general by date:

Previous
From: Artacus
Date:
Subject: Re: array sort for varchar arrays?
Next
From: Alvaro Herrera
Date:
Subject: Re: Getting source code for database objects