public inbox for [email protected]  
help / color / mirror / Atom feed
From: Peter Eisentraut <[email protected]>
To: [email protected]
Subject: pgsql: Change error message for sequence validate_relation_kind()
Date: Mon, 23 Feb 2026 10:01:21 +0000
Message-ID: <[email protected]> (raw)

Change error message for sequence validate_relation_kind()

We can just say "... is not a sequence" instead of the more
complicated variant from before, which was probably copied from
src/backend/access/table/table.c.

Fix a typo in a comment in passing.

Reviewed-by: Ashutosh Bapat <[email protected]>
Discussion: https://www.postgresql.org/message-id/flat/6d3fef19-a420-4e11-8235-8ea534bf2080%40eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/55f385932920a232c490fe594d44fb9a9a236c5e

Modified Files
--------------
src/backend/access/sequence/sequence.c | 7 +++----
src/test/regress/expected/sequence.out | 3 +--
2 files changed, 4 insertions(+), 6 deletions(-)



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: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: pgsql: Change error message for sequence validate_relation_kind()
  In-Reply-To: <[email protected]>

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

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