Re: Error when trying to add DEFAULT Value to NEW column

From: "Leon du Plessis" <leon(at)designit(dot)za(dot)com>
To: <pgadmin-support(at)postgresql(dot)org>
Subject: Re: Error when trying to add DEFAULT Value to NEW column
Date: 2006-02-02 14:48:50
Message-ID: 000801c62807$c7ad3fe0$5a3ca8c0@centauri1
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Ok, This was me. When I looked at the SQL statement to trace problem, I
(sheepishly) used the wrong quotes !

Can the single quotes be added automatically if they are not supplied?

-----Original Message-----
From: pgadmin-support-owner(at)postgresql(dot)org
[mailto:pgadmin-support-owner(at)postgresql(dot)org] On Behalf Of Leon du Plessis
Sent: 02 February 2006 03:38 PM
To: pgadmin-support(at)postgresql(dot)org
Subject: [pgadmin-support] Error when trying to add DEFAULT Value to NEW
column

Hi,

If this is a known issue, please ignore. just direct me to the fix:

Receiving an error "Column 'no' does not exist" when trying to add a default
value to a new column via properties panel.

When you create the new column without a default value, it's fine. The
default value can then be added afterwards.

Also subsequent deletion and re-creation of the column does not produce the
same condition and the default value can then be added with no further
problems.

The error indicates the column "no" does not exist, but I am trying to add
straight text to the default value. Can't see why that field is trying to
link/check columns. I have tried quotes.

Using Version 8.1 on Windows XP SP2 and pgadmin 1.4.1.

Thank you, kindly

L.

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.14.23/243 - Release Date: 2006/01/27

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Dave Page 2006-02-02 14:53:32 Re: Error when trying to add DEFAULT Value to NEW column
Previous Message Leon du Plessis 2006-02-02 13:38:14 Error when trying to add DEFAULT Value to NEW column