Re: Possible ODBC driver error

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: Patrick Dunford <a47xxy(at)hotmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Possible ODBC driver error
Date: 2001-04-16 15:05:08
Message-ID: Pine.BSF.4.21.0104160802060.71391-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-general


Here's one possibility...
Were the names mixed case? If so, the copied tables probably
were created with their names quoted and you'll need to quote
the names to reference them. Postgres lowercases unquoted
names (for case-insensitivity), so if you create a table with
something like:
create table "A" ...
the only way to reference the table is as "A" not A.

On Mon, 16 Apr 2001, Patrick Dunford wrote:

> I recently copied five tables to the server using the Postgres ODBC driver
> with MS Access.
>
> The tables can be viewed in MS Access but not using PHP or Zeos Database
> Explorer, which both return the same error message:
> ERROR: Relation 'adweb_servinf1' does not exist
>
> The tables are visible in ZDO and the column names can be viewed. All the
> names of the tables also appear in pg_tables.
>
> Is this a bug in the ODBC driver i.e. it does not make the full entries
> needed in Postgres for it to know about tables?

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Joel Burton 2001-04-16 16:36:40 Re: Possible ODBC driver error
Previous Message pgsql-bugs 2001-04-16 06:32:38 7.0.3 dumps aren't accessible via JDBC in 7.1

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2001-04-16 15:15:55 Re: Problem with function invocation
Previous Message Peter Eisentraut 2001-04-16 14:39:50 Re: bpchar type