Re: Keyword position was: Why does this not work? (keyword 'TEXT')

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Johann Zuschlag <zuschlag(at)online(dot)de>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Keyword position was: Why does this not work? (keyword 'TEXT')
Date: 2002-04-10 23:20:32
Message-ID: 20020411092032.A15620@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Apr 10, 2002 at 05:35:03PM +0200, Johann Zuschlag wrote:
> On Thu, 11 Apr 2002 00:06:34 +1000, Martijn van Oosterhout wrote:
> >Let me guess, you have capitals in your field names. When you create the
> >table, *don't* put quotes around the field names. Then everything becomes
> >case insenstive.
>
> Good guess But unfortunately I don't have access to the
> source code of my application. But I could try a manual creation
> of the tables.
>
> But thanks anyway. I'm just wondering about an explaination...

Alter Table x alter column y rename to z;

or something like that will solve your problem. If you use double-quotes in
the column name when you create the table, you'll have to use them
everywhere else too...
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> Ignorance continues to thrive when intelligent people choose to do
> nothing. Speaking out against censorship and ignorance is the imperative
> of all intelligent people.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ronan Lucio 2002-04-10 23:26:40 Database permissions
Previous Message Stephan Szabo 2002-04-10 23:17:31 Re: Critical performance problems on large databases