PostgreSQL 9.1 introduces ability to ALTER Enum types:
ALTER TYPE enum_type ADD VALUE 'new_value'; -- appends to list
ALTER TYPE enum_type ADD VALUE 'new_value' BEFORE 'old_value';
ALTER TYPE enum_type ADD VALUE 'new_value' AFTER 'old_value';
More Related Contents:
- Keep PostgreSQL from sometimes choosing a bad query plan
- Copying PostgreSQL database to another server
- Primary keys with Apache Spark
- How can I put a database under git (version control)?
- How do IMMUTABLE, STABLE and VOLATILE keywords effect behaviour of function?
- Store query result in a variable using in PL/pgSQL
- Can I rollback a transaction I’ve already committed? (data loss)
- Kill a postgresql session/connection
- PostgreSQL: Drop PostgreSQL database through command line [closed]
- Do stored procedures run in database transaction in Postgres?
- Import SQL dump into PostgreSQL database
- how to use Blob datatype in Postgres
- How can I solve Postgresql SCRAM authentication problem?
- Convert SQLITE SQL dump file to POSTGRESQL
- Is it better to use multiple databases with one schema each, or one database with multiple schemas? [closed]
- How to login and authenticate to Postgresql after a fresh install?
- PostgreSQL Database Log Transaction
- Connect to a heroku database with pgadmin
- How do I automatically update a timestamp in PostgreSQL
- Starting and populating a Postgres container in Docker
- How can I import a .sql file into my Heroku postgres database?
- Backup/Restore a dockerized PostgreSQL database
- How to recover a corrupt SQLite3 database?
- Partial Dependency (Databases)
- How to display table data more clearly in oracle sqlplus
- What is the most efficient way to store tags in a database?
- Microservices with shared database? using multiple ORM’s? [closed]
- What’s the best strategy for unit-testing database-driven applications?
- What are the use cases of Graph-based Databases (http://neo4j.org/)? [closed]
- Is it a good idea to use an integer column for storing US ZIP codes in a database?