Re: Getting source code for database objects

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


> Easier would be just uing pg_dump -s >schema.sql to get all schema objects
> so you could check them into subversion. If you want only specific
> objects, pg_dump -l >listofobjects, then edit this list as you
> like and use pg_dump -L listofobjects >someobjects.sql

The -l and -L options are not recognized on my server 8.3.

I can use -t to iterate thru each table, but I don't see a way to do one
function at a time.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Csaba Nagy 2008-07-09 08:10:58 Re: Feature: FOR UPDATE SKIP LOCKED
Previous Message Artacus 2008-07-09 06:39:03 Re: array sort for varchar arrays?