Create an Account
username: password:
 
  MemeStreams Logo

HowTo: PostgreSQL - Adding more values to an ENUM type « StephenCuppett.com

search

Lost
Picture of Lost
My Blog
My Profile
My Audience
My Sources
Send Me a Message

sponsored links

Lost's topics
Arts
Business
Games
Health and Wellness
Home and Garden
Miscellaneous
Current Events
Recreation
Local Information
Science
Society
Sports
Technology

support us

Get MemeStreams Stuff!


 
HowTo: PostgreSQL - Adding more values to an ENUM type « StephenCuppett.com
Topic: Technology 6:19 pm EDT, Mar 28, 2009

I recently had trouble manipulating an ENUM field I had created in PostgreSQL. I couldn’t find any suggestions or samples easily on Google or in the manual and was able to get it to work, so I post it here. The basic premise is there is an ENUM field type created, I need more possible values and to preserve the existing values I already have to keep code working.

HowTo: PostgreSQL - Adding more values to an ENUM type « StephenCuppett.com



 
 
Powered By Industrial Memetics
RSS2.0