Question about upgrading extensions

From: Chris Travers <chris(dot)travers(at)gmail(dot)com>
To: Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Question about upgrading extensions
Date: 2012-09-22 04:11:25
Message-ID: CAKt_ZfsjP7BOECMKtKYx+WukjVPhL2AtJUDvbB1PeUjwTyBoUQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

If one releases an extension with say a version number of 0.1 and then
releases one with important changes at 0.2, how is the best way to manage
these changes? I couldn't find anything in the docs to discuss this issue.
Am I missing something?

Specifically for pg_message_queue, for 0.2 I would like to change the type
of a field from text (constrained to 'text', 'xml' or 'bytea) to regtype.
Not sure where to put the DDL for an upgrade.

Best Wishes,
Chris Travers

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David Johnston 2012-09-22 04:35:18 Re: Curosity question regarding "LOCK" NOWAIT
Previous Message John R Pierce 2012-09-22 04:08:21 Re: Curosity question regarding "LOCK" NOWAIT