From: ghircoiascamil@yahoo.com
To: pgsql-bugs@postgresql.org
Subject: BUG #6613: tablespace data ignored after reinstalling windows
Date: Wed, 25 Apr 2012 19:34:11 +0000
Message-ID: <E1SN7yd-0002f9-V3@wrigleys.postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 6613
Logged by: Camil Ghircoias
Email address: ghircoiascamil@yahoo.com
PostgreSQL version: 9.1.3
Operating system: Windows 7
Description:
Had this scenario:
OS:Windows 7
Install postgresql 9.1 in Program Files
Postgresql data directory was set in d:\mydata\postgresql.
Created table space called data in d:\mydata\data.
Had 2 databases created in the data tablespace.
Reinstalled windows (formatted disk c).
Reinstalled postgresql (the same kit) with the data directory set to the old
one d:\mydata\postgresql
Open pgadmin, connected succesfully to the server, the 2 databases were
there but when trying to connect get a message that the folder \pg_tblspc\an
oid\pg version..\the database oid was not found.
Succeded to make it to work by copying the oid databases folder from
d:\mydata\data into d:\mydata\postgresql
Even pgadmin shows the tablespace data in d:\mydata\data and the 2 databases
had the tablespace data not pg_default postgresql it uses the pg_default
tablespace for storing the data, the d:\mydata\data folder I could delete
it's files without any problems and postgresql worked.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: ghircoiascamil@yahoo.com
Subject: Re: BUG #6613: tablespace data ignored after reinstalling windows
In-Reply-To: <E1SN7yd-0002f9-V3@wrigleys.postgresql.org>
References: <E1SN7yd-0002f9-V3@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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