gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] Demo data


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] Demo data
Date: Sat, 1 Jun 2013 11:22:09 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Fri, May 31, 2013 at 10:40:03PM +0000, Jim Busser wrote:

> >>>> I guess the cleanest solution would be to not insert them at bootstrap 
> >>>> time.
> >>> 
> >>>   $> pg_dump -d gnumed_vXX -U gm-dbo -c -s -f schema_dump.sql
> >>>   $> createdb -O gm-dbo gnumed_vXX_empty
> >>>   $> psql -d gnumed_vXX_empty -U gm-dbo -f schema_dump.sql
> >> 
> >> Besides test patient's data, which can be omitted, there are
> >> configuration data and many useful lists, which need to be inserted.
> > 
> > Well, people claimed they wanted an "empty" database.
> 
> Literal interpretations, such as this, are helpful to remind simply "be 
> careful about what you ask".

Not "simply" that. The above is suitable for receiving a
data-only backup from another databae (barring bugs I didn't
forsee).

Which is one of the options Vaibhav has to find out which
parts of his data may be corrupted assuming the corruption
is "only" semantic rather than structural.

Karsten
-- 
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346



reply via email to

[Prev in Thread] Current Thread [Next in Thread]