pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
moving user obejcts to production
2+ messages / 2 participants
[nested] [flat]

* moving user obejcts to production
@ 2001-10-02 14:12 Srinivasa Rao Chava <s.chava@wcom.com>
  2001-10-02 17:14 ` Re: moving user obejcts to production Marc Spitzer <marc@oscar.eng.cv.net>
  0 siblings, 1 reply; 2+ messages in thread

From: s.chava@wcom.com @ 2001-10-02 14:12 UTC (permalink / raw)
  To: pgsql-admin

Hi,
I have a postgresql database(DEPG) in development which contains three
user accounts(pldev,extranet,intranet) for different applications. One
application(pldev) has been finished development and the other two are
still in development stage. The finished application(pldev) which
contains several tables , functions, procedures and triggers need to
be moved to production, leaving the unfinished in development.
I createa database PGPROD in production box and trying to move only
the objects belonging to finished application(pldev).If I use pg_dump,
it is dumping full database.
I need to dump only the finished application account(pldev).
In oracle , we use export with owner= username option for exporting
the individual users objects. and import in production server into the
respective user's account,say pldev in production database.
How to do it in postgresql? and is there any way to do it?
Thanks
chava



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: moving user obejcts to production
  2001-10-02 14:12 moving user obejcts to production Srinivasa Rao Chava <s.chava@wcom.com>
@ 2001-10-02 17:14 ` Marc Spitzer <marc@oscar.eng.cv.net>
  0 siblings, 0 replies; 2+ messages in thread

From: marc@oscar.eng.cv.net @ 2001-10-02 17:14 UTC (permalink / raw)
  To: pgsql-admin

In article <66d229f1.0110020612.5c87e712@posting.google.com>, 
Srinivasa Rao Chava wrote:
> Hi,
> I have a postgresql database(DEPG) in development which contains three
> user accounts(pldev,extranet,intranet) for different applications. One
> application(pldev) has been finished development and the other two are
> still in development stage. The finished application(pldev) which
> contains several tables , functions, procedures and triggers need to
> be moved to production, leaving the unfinished in development.
> I createa database PGPROD in production box and trying to move only
> the objects belonging to finished application(pldev).If I use pg_dump,
> it is dumping full database.
> I need to dump only the finished application account(pldev).
> In oracle , we use export with owner= username option for exporting
> the individual users objects. and import in production server into the
> respective user's account,say pldev in production database.
> How to do it in postgresql? and is there any way to do it?
> Thanks
> chava

I do not know much about postgress yet but how about this:
1: dump db somewhere
2: install it somewhere else
3: make changes needed to make it production( remove 2 users)
4: dump the new production db 
5: ship

marc



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2001-10-02 17:14 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-10-02 14:12 moving user obejcts to production Srinivasa Rao Chava <s.chava@wcom.com>
2001-10-02 17:14 ` Marc Spitzer <marc@oscar.eng.cv.net>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox