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 for
  Advanced Search

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



 


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 14:49
To: pgadmin-support(at)postgresql(dot)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.



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group