pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John P. Looney <valen@tuatha.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Mendola Gaetano <mendola@bigfoot.com>
Cc: postgres <pgsql-admin@postgresql.org>
Subject: Re: Postgres db corrupted ?
Date: 31 Jul 2003 09:21:31 +0100
Message-ID: <1059639691.7984.2405.camel@cosimo.hosting365.ie> (raw)
In-Reply-To: <9583.1059575218@sss.pgh.pa.us>
References: <1059470890.5588.41.camel@cosimo.hosting365.ie>
	<00ac01c3562c$18a76840$10d4a8c0@mm.eutelsat.org>
	<9583.1059575218@sss.pgh.pa.us>

On Wed, 2003-07-30 at 15:26, Tom Lane wrote:
> "Mendola Gaetano" <mendola@bigfoot.com> writes:
> >  ""John P. Looney"" <valen@tuatha.org> writes:
> >> bbadmin         |              | SQL_ASCII
> 
> > For sure a way to obtain this inconsistence is delete the owner of 
> > a db and voila' a DB result to have no owner.
> 
> Nope.  I don't know how John got into this state, but it most definitely
> was not that way.  Try it.

 OK, it turns out that the cause was the shared hosting admin software
that was trying to add users and databases had some wierd problems
(hidden obscure shell scripts crashing out when it couldn't find an up
to date text dump of the pg_shadow file), which resulted in tables being
created, given specific sysids for users that weren't created.

 Anyway, it looks like it wasn't a postgres bug that caused the
problems. If any field should be considered "not null" though, it's that
owner field!

John

Attachments:

  signature.asc (application/pgp-signature, 188B) download

view thread (13+ messages)

Message-ID: <1059639691.7984.2405.camel@cosimo.hosting365.ie>
Permalink:  ../1059639691.7984.2405.camel@cosimo.hosting365.ie/
Also on:    postgresql.org/message-id/1059639691.7984.2405.camel@cosimo.hosting365.ie

 · 

reply

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-admin@postgresql.org
  Cc: valen@tuatha.org, tgl@sss.pgh.pa.us, mendola@bigfoot.com
  Subject: Re: Postgres db corrupted ?
  In-Reply-To: <1059639691.7984.2405.camel@cosimo.hosting365.ie>
  References: <1059470890.5588.41.camel@cosimo.hosting365.ie> <00ac01c3562c$18a76840$10d4a8c0@mm.eutelsat.org> <9583.1059575218@sss.pgh.pa.us> <1059639691.7984.2405.camel@cosimo.hosting365.ie>

* 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