From: | Robert Treat <xzilla(at)users(dot)sourceforge(dot)net> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Cc: | Blazej <bl(dot)oleszkiewicz(at)gmail(dot)com>, avin_friends(at)yahoo(dot)com |
Subject: | Re: In memory Database for postgres |
Date: | 2008-11-18 02:13:55 |
Message-ID: | 200811172113.55839.xzilla@users.sourceforge.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Monday 17 November 2008 17:02:54 Blazej wrote:
> Of course you must delete schema before shutdown PostgreSQL and OS - I
> dont't now how resolve problem with error when the schema was not
> deleted? - I have no time to think about it maybe anybody know how to
> restore db when the in memory schema was damaged?
>
based on some similar, uh, experiences i've run across, i'd think easiest
would be to keep a script around with truncate commands for all your tables,
then when you restart, you run that script, which will "fix" your schema for
you. This assumes you're keeping the default table space on hdd, if you lose
the system catalogs, the right answer is "initdb"
--
Robert Treat
Conjecture: http://www.xzilla.net
Consulting: http://www.omniti.com
From | Date | Subject | |
---|---|---|---|
Next Message | Tony Caduto | 2008-11-18 02:44:22 | Re: Trying Compile libpq.dll with VC++ 9.0, but need help |
Previous Message | Darren Govoni | 2008-11-18 01:26:29 | Re: row locking question |