Re: table dump function

From: "Little, Douglas" <DOUGLAS(dot)LITTLE(at)orbitz(dot)com>
To: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
Cc: "PostgreSQL General (pgsql-general(at)postgresql(dot)org)" <pgsql-general(at)postgresql(dot)org>
Subject: Re: table dump function
Date: 2013-03-07 16:42:51
Message-ID: 8585BA53443004458E0BAA6134C5A7FBB6BEB019@EGEXCMB01.oww.root.lcl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thanks for the suggestion Adrian,

Unfortunately, my process is executing from psql, so to start pg_dump from within psql is a bit challenging.
We have 1 instance where we start an OS process from a function, but it's new territory for us.

My function is dumping everything but the ACL grant list. I currently have a function that will build and execute the grants from the acl list,
so it's just a simple exercise to get it to dump the statements.

I was just hoping that there were standard functions for doing this.
Thanks
doug

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Rob Sargent 2013-03-07 16:58:52 Re: table dump function
Previous Message Little, Douglas 2013-03-07 16:33:30 Re: FW: statement failure