Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: Turn Off Case Sensitive


  • From: Raymond O'Donnell <rod(at)iol(dot)ie>
  • To: jisson dennis <jissondennis(at)yours(dot)com>
  • Cc: pgadmin-support(at)postgresql(dot)org
  • Subject: Re: Turn Off Case Sensitive
  • Date: Thu, 18 Sep 2008 09:22:30 +0100
  • Message-id: <48D20FC6.7040005@iol.ie> <text/plain>

On 18/09/2008 08:15, jisson dennis wrote:

> I am using PostgreSQL 8.3.3. I am getting the following error message
>  ERROR: relation "project" does not exist SQL state: 42P01
> 
> when executing SELECT * FROM "project" But it works if the case of
> tablename is changed like
> 
> SELECT * FROM "PROJECT"
> 
> Actually table name is PROJECT. Is there a way to completely turn off
> case sensitivity of the names of table, field, sequence, etc.?

Not as far as I know. This is a function of PostgreSQL, not pgAdmin - it
folds names to lower-case unless you double-quote it, hence the
behaviour you observed.

Ray.

------------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod(at)iol(dot)ie
Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
------------------------------------------------------------------



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group