pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Todd Turner <tjturner@chpc.utah.edu>
To: pgsql-admin@postgresql.org
Subject: database copy and move
Date: Wed, 03 May 2000 10:32:57 -0600
Message-ID: <391054B9.3DF7A929@chpc.utah.edu> (raw)

Hello;

http://www.postgresql.org/doxlist.html noticed there isn't any info in
copy the postgres data - database directory and files and setting up the
same database on another machine.  I've tried using createdb then
pgaccess to import tables.  Using psql the tables are found but the data
isn't.

When importing a table I'm getting the error Error executing query.

Copy subreservation From "subreservation1'

PostgresSQL error message:
Error: CopyFrom: Fail to add null value in not null attribute username

PostgresSQL
status:PGRES_FATAL_ERR
OR

Also ERROR: Bad int8 external representation for another copy and
somtimes I'm getting you can not copy a duplicate value into a duplicate
key message.

I'd appreciate if someone could turn me on to why I'm getting these
messages and possibly how you can move a database to another machine.

tjt:

--
===========================================
Todd Turner - tjturner@chpc.utah.edu
(801 - 585-1266)
Center for High Performance Computing
University of Utah
===========================================

view thread (3+ messages)  latest in thread

Message-ID: <391054B9.3DF7A929@chpc.utah.edu>
Permalink:  ../391054B9.3DF7A929@chpc.utah.edu/
Also on:    postgresql.org/message-id/391054B9.3DF7A929@chpc.utah.edu

 · 

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: tjturner@chpc.utah.edu
  Subject: Re: database copy and move
  In-Reply-To: <391054B9.3DF7A929@chpc.utah.edu>
  References: <391054B9.3DF7A929@chpc.utah.edu>

* 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