use SQL standard error code for nextval

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: use SQL standard error code for nextval
Date: 2017-03-01 03:15:09
Message-ID: 32ced7aa-6d30-6863-409e-d0b8051a1fe2@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

The SQL standard defines a separate error code for nextval exhausting
the sequence space. I haven't found any discussion of this in the
archives, so it seems this was just not considered or not yet in
existence when the error codes were introduced. Here is a patch to
correct it.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Attachment Content-Type Size
0001-Use-SQL-standard-error-code-for-nextval.patch text/x-patch 2.2 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2017-03-01 03:18:05 Re: Performance degradation in TPC-H Q18
Previous Message Robert Haas 2017-03-01 03:12:35 Re: Performance degradation in TPC-H Q18