agora inbox for postgres@postgres.berkeley.edu
help / color / mirror / Atom feedFrom: Paul M. Aoki <aoki@cs.berkeley.edu>
To: Ray E. Flanery Jr <flanery@tram.epm.ornl.gov>
Cc: postgres@postgres.Berkeley.EDU
Subject: Re: Strange things
Date: Thu, 12 Jan 95 08:58:12 -0800
Message-ID: <199501121658.IAA06296@faerie.CS.Berkeley.EDU> (raw)
In-Reply-To: <9501121448.AA00220@tram.epm.ornl.gov>
flanery@tram.epm.ornl.gov (Ray E. Flanery Jr) writes:
> 1) I am reinitializing the POSTGRES database, cleardbdir works fine. If I
> check ~postgres/data/* the only thing left there is the 'files' directory.
> When I run initdb, it appears to set everything up properly, except that
> when I go to add users, the ones who had access to the old database
> already exist?!? How can this be?
> 2) I have created a database and now attempt to DEFINE a type and a function.
> a) if I am doing this using the pqlib from code, it tells me they already
> exist, if I do it from the command line, everything is fine?!?
some possible explanations:
- your libpq program and your monitor are connecting to different
postmasters due to switch/environment differences.
- differences between PGDATA and the compiled database path (wrong
directory cleared/rebuilt).
- the postmaster was left running and has pages from the old database
in its cache.
--
Paul M. Aoki | University of California at Berkeley
aoki@CS.Berkeley.EDU | Dept. of EECS, Computer Science Division (#1776)
| Berkeley, CA 94720-1776
==============================================================================
To add/remove yourself to/from the POSTGRES mailing list: send mail with
the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU".
If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and
a human will deal with it. DO NOT post to the "postgres" mailing list.
==============================================================================
URL: http://s2k-ftp.CS.Berkeley.EDU:8000/postgres/
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 using the --to and --cc options:
reply via email
To: postgres@postgres.berkeley.edu
Cc: aoki@cs.berkeley.edu, flanery@tram.epm.ornl.gov
Subject: Re: Strange things
In-Reply-To: <199501121658.IAA06296@faerie.CS.Berkeley.EDU>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox