pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andreas Gaab <A.Gaab@scanlab.de>
To: pgsql-sql@postgresql.org <pgsql-sql@postgresql.org>
Subject: ALTER TYPE my_enum AS ENUM ADD ('label10')
Date: Mon, 22 Mar 2010 15:33:48 +0100
Message-ID: <48DA836F3865C54B8FBF424A3B775AF6FDE72900@Exchange-Server.scanlab-intern.de> (raw)

Hi all,

I start working with enumerator types and I am wondering, if my enumerator can later be adjusted. E.g. if I would like to add another label.

Is it allowed just to add another entry to pg_enum? How is the enumerator then sorted (i.e. enum_last() )?

Is it possible to alter the labels of an enumerator later on? Can I edit pg_enum?

Thanks already,
Andreas Gaab

___________________________________________________________________________

SCANLAB AG
Dr. Andreas Simon Gaab
Entwicklung * R & D

Siemensstr. 2a * 82178 Puchheim * Germany
Tel. +49 (89) 800 746-513 * Fax +49 (89) 800 746-199
mailto:a.gaab@scanlab.de * www.scanlab.de<http://www.scanlab.de;

Amtsgericht München: HRB 124707 * USt-IdNr.: DE 129 456 351
Vorstand: Georg Hofner (Sprecher), Christian Huttenloher, Norbert Petschik
Aufsichtsrat (Vorsitz): Dr. Hans J. Langer
___________________________________________________________________________

view thread (3+ messages)  latest in thread

Message-ID: <48DA836F3865C54B8FBF424A3B775AF6FDE72900@Exchange-Server.scanlab-intern.de>
Permalink:  ../48DA836F3865C54B8FBF424A3B775AF6FDE72900@Exchange-Server.scanlab-intern.de/
Also on:    postgresql.org/message-id/48DA836F3865C54B8FBF424A3B775AF6FDE72900@Exchange-Server.scanlab-intern.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: A.Gaab@scanlab.de
  Subject: Re: ALTER TYPE my_enum AS ENUM ADD ('label10')
  In-Reply-To: <48DA836F3865C54B8FBF424A3B775AF6FDE72900@Exchange-Server.scanlab-intern.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox