pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: RShepard@hhcmt.com
To: pgsql-admin@postgresql.org
Subject: relation does not exist
Date: Fri, 23 Feb 2001 11:17:27 -0700
Message-ID: <OF9F6DA17B.732FD8F4-ON872569FC.006479CF@stpetes.org> (raw)



I am trying to convert a MS SQL database to postgres.  I have done it
this way:

1) use Access -> link to MS SQL
2) install postgress ODBC driver
3) use Access -> copy -> ODBC compliant database.
4) set up the database in postgress
5) do the copy from access.

the file Dx for the table Dx is created in the base/sw_codes database.  the
file contains the data, so it is being copied correctly by access to
postgres..

however I cannot access the table from psql.  I get the following
message:

Welcome to psql, the PostgreSQL interactive terminal.

Type:  \copyright for distribution terms
       \h for help with SQL commands
       \? for help on internal slash commands
       \g or terminate with semicolon to execute query
       \q to quit

sw_codes=# select * from Dx;
ERROR:  Relation 'dx' does not exist

sw_codes=# \dt
    List of relations
 Name | Type  |  Owner
------+-------+----------
 Dx   | table | rshepard
(1 row)

can some one help?

postgres v 7.03
odbc v 6.5 (can't find odbc v 7.x)

thanks

bob shepard
rshepard@hhcmt.com







view thread (3+ messages)  latest in thread

Message-ID: <OF9F6DA17B.732FD8F4-ON872569FC.006479CF@stpetes.org>
Permalink:  ../OF9F6DA17B.732FD8F4-ON872569FC.006479CF@stpetes.org/
Also on:    postgresql.org/message-id/OF9F6DA17B.732FD8F4-ON872569FC.006479CF@stpetes.org

 · 

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: RShepard@hhcmt.com
  Subject: Re: relation does not exist
  In-Reply-To: <OF9F6DA17B.732FD8F4-ON872569FC.006479CF@stpetes.org>
  References: <OF9F6DA17B.732FD8F4-ON872569FC.006479CF@stpetes.org>

* 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