Return-Path: owner-postman
Received: from localhost.Berkeley.EDU (localhost.Berkeley.EDU [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.9/8.6.3) with SMTP id IAA27130 for postgres-redist; Thu, 12 Jan 1995 08:58:29 -0800
Resent-From: POSTGRES mailing list <postman@postgres.Berkeley.EDU>
Resent-Message-Id: <199501121658.IAA27130@nobozo.CS.Berkeley.EDU>
Sender: owner-postman@postgres.Berkeley.EDU
X-Return-Path: owner-postman
Received: from faerie.CS.Berkeley.EDU (faerie.CS.Berkeley.EDU [128.32.37.53]) by nobozo.CS.Berkeley.EDU (8.6.9/8.6.3) with ESMTP id IAA27120 for <postgres@postgres.Berkeley.EDU>; Thu, 12 Jan 1995 08:58:29 -0800
Received: from localhost.Berkeley.EDU (localhost.Berkeley.EDU [127.0.0.1]) by faerie.CS.Berkeley.EDU (8.6.9/8.1B) with SMTP id IAA06296; Thu, 12 Jan 1995 08:58:18 -0800
Message-Id: <199501121658.IAA06296@faerie.CS.Berkeley.EDU>
X-Authentication-Warning: faerie.CS.Berkeley.EDU: Host localhost.Berkeley.EDU didn't use HELO protocol
From: aoki@cs.berkeley.edu (Paul M. Aoki)
To: flanery@tram.epm.ornl.gov (Ray E. Flanery Jr)
Cc: postgres@postgres.Berkeley.EDU
Subject: Re: Strange things 
Reply-To: aoki@cs.berkeley.edu (Paul M. Aoki)
In-reply-to: Your message of Thu, 12 Jan 95 09:48:22 -0500 
	     <9501121448.AA00220@tram.epm.ornl.gov> 
Date: Thu, 12 Jan 95 08:58:12 -0800
X-Sender: aoki@postgres.Berkeley.EDU
Resent-To: postgres-redist@postgres.Berkeley.EDU
X-Mts: smtp
Resent-Date: Thu, 12 Jan 95 08:58:29 -0800
Resent-XMts: smtp

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/
