Re: Cannot open table in new database

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: sapient(at)clear(dot)net(dot)nz
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Cannot open table in new database
Date: 2010-06-30 22:18:59
Message-ID: 4C2BC2D3.3020002@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 07/01/2010 09:46 AM, Phil Jackson wrote:
> We've set up a Sql database for the first time and get an error reported
> back to our application from the ODBC session object when we try to open
> one of the tables.
>
> [42p01][7]ERROR Relation "SqlAnal" does not exist; table not found!
>
> Here is my database outline in the Admin tool
>
> Servers(1)
> Concept Patterns (localhost:5432)
> Databases(1)
> Postgres
> casts
> languages
> schemas
> Public
> -
> -
> Tables(2)
> DocHeader
> SqlAnal
> Replication
> Tablespaces(2)
> pg_default
> pg_global
> Group Roles
> Login Roles(1)
> Concept
>
> We can access the list of tables from the ODBC driver which shows the
> above tables.
>
> We've obviously done something wrong but we don't know where to look.
> The Help button is not helpful at all.
>
> Any ideas on what we are doing incorrectly?
>
> Cheers
>
> Phil Jackson
>

Using mixed case :)

See here for gotchas of using mixed case:

http://www.postgresql.org/docs/8.4/interactive/sql-syntax-lexical.html
4.1.1. Identifiers and Key Words

--
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Chris Browne 2010-06-30 22:22:28 Re: Postgres table contents versioning
Previous Message Tom Lane 2010-06-30 22:03:52 Re: LINE 1: IDENTIFY_SYSTEM error infinitum