| From: | Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> |
|---|---|
| To: | Vitaly Burovoy <vitaly(dot)burovoy(at)gmail(dot)com> |
| Cc: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: identity columns |
| Date: | 2017-03-29 17:40:29 |
| Message-ID: | 4b1d703f-818f-00bf-4169-3279af377f3d@2ndquadrant.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On 3/24/17 05:29, Vitaly Burovoy wrote:
> It would be great if "DROP IDENTITY IF EXISTS" is in the current patch
> since we don't have any disagreements about "DROP IDENTITY" behavior
> and easiness of implementation of "IF EXISTS" there.
Here is an updated patch that adds DROP IDENTITY IF EXISTS.
Unfortunately, implementing ADD IF NOT EXISTS is much harder, so I
haven't done that here.
Additionally, this patch fixes a few minor issues that you had pointed
out, and merges with the new expression evaluation system in the executor.
I have also CC'ed you on a separate patch to improve the behavior when
changing a sequence's data type.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
| Attachment | Content-Type | Size |
|---|---|---|
| v6-0001-Identity-columns.patch | invalid/octet-stream | 149.5 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andreas Seltenreich | 2017-03-29 17:43:03 | Re: [sqlsmith] Unpinning error in parallel worker |
| Previous Message | Peter Eisentraut | 2017-03-29 17:36:51 | Re: sequence data type |