Unix Technical Forum

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

This is a discussion on Re: Error when trying to add DEFAULT Value to NEW column within the pgsql Interfaces Pgadmin Support forums, part of the PostgreSQL category; --> ________________________________ From: pgadmin-support-owner@postgresql.org [mailto gadmin-support-owner@postgresql.org] On Behalf Of Leon du Plessis Sent: 02 February 2006 14:49 To: pgadmin-support@postgresql.org Subject: ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces Pgadmin Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 08:20 PM
Dave Page
 
Posts: n/a
Default Re: Error when trying to add DEFAULT Value to NEW column




________________________________

From: pgadmin-support-owner@postgresql.org
[mailtogadmin-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.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:55 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com