2013/8/23 <patrik.kno...@netrapid.de> > I have to correct myself :( > "When an enum type is created, its members are assigned sort-order > positions 1..n. But members added later might be given negative or > fractional values of enumsortorder. The only requirement on these values > is that they be correctly ordered and unique within each enum type." > "ALTER TYPE name ADD VALUE new_enum_value [ { BEFORE | AFTER } > existing_enum_value ]" > > So, one can add values to the type that have a higher oid, but a lower > enumorder. > The workaround will only work as long one does not alters the type by > adding values > in the sort order "BEFORE" :( >
Jeez, thanks for that insight. I'll run that question by Stack Overflow. Someone will give us an authoritative answer, I'm sure. Maybe there's an internal stored function for the task: http://stackoverflow.com/q/18398590/521799 >From what I understand, the OID ordering is *mostly but not always*backwards-compatible... -- You received this message because you are subscribed to the Google Groups "jOOQ User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to jooq-user+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.