agora inbox for postgres@postgres.berkeley.edu
help / color / mirror / Atom feedStrange things
2+ messages / 2 participants
[nested] [flat]
* Strange things
@ 1995-01-12 14:48 Ray E. Flanery Jr <flanery@tram.epm.ornl.gov>
0 siblings, 1 reply; 2+ messages in thread
From: Ray E. Flanery Jr @ 1995-01-12 14:48 UTC (permalink / raw)
To: legacy
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?!?
It almost seems as if re-initializing the db has kept around some copy
of the previous set-up.
---------------------------------------------------------------------------
Raymond E. Flanery Jr., Director
Advanced Visualization Research Center, ORNL
(615)574-0630 flanery@msr.epm.ornl.gov
(615)574-0680 fax http://www.epm.ornl.gov/~flanery/
----------------------------------------------------------------------------
Cleveland Browns
---------------------------------------------------------------------------
"When the last individual of a race of living things breathes no more,
another heaven and another earth must pass before such a one can be again."
--- William Beebe
---------------------------------------------------------------------------
"Loyalty above all else, except honor" ---
==============================================================================
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/
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Strange things
@ 1995-01-12 16:58 Paul M. Aoki <aoki@cs.berkeley.edu>
parent: Ray E. Flanery Jr <flanery@tram.epm.ornl.gov>
0 siblings, 0 replies; 2+ messages in thread
From: Paul M. Aoki @ 1995-01-12 16:58 UTC (permalink / raw)
To: Ray E. Flanery Jr <flanery@tram.epm.ornl.gov>; +Cc: legacy
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/
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~1995-01-12 16:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1995-01-12 14:48 Strange things Ray E. Flanery Jr <flanery@tram.epm.ornl.gov>
1995-01-12 16:58 ` Paul M. Aoki <aoki@cs.berkeley.edu>
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox