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

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: Error when trying to add DEFAULT Value to NEW column
Дата
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E40103DDF5@ratbert.vale-housing.co.uk
обсуждение исходный текст
Ответ на Error when trying to add DEFAULT Value to NEW column  ("Leon du Plessis" <leon@designit.za.com>)
Список pgadmin-support
 


From: pgadmin-support-owner@postgresql.org [mailto:pgadmin-support-owner@postgresql.org] On Behalf Of Leon du Plessis
Sent: 02 February 2006 14:49
To: pgadmin-support@postgresql.org
Subject: Re: [pgadmin-support] Error when trying to add DEFAULT Value to NEW column

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

 

Oh good - I was scratching my head trying to track that one down!

 

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

 

Not really, because it's difficult to know if they are required or not, especially if custom datatypes are used, or the default is actually an expression.

 

Regards,. Dave.

В списке pgadmin-support по дате отправления:

Предыдущее
От: "Leon du Plessis"
Дата:
Сообщение: Re: Error when trying to add DEFAULT Value to NEW column
Следующее
От: Paul Rogers
Дата:
Сообщение: Usability