Re: A typo in error message

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Alexander Lakhin <exclusion(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: A typo in error message
Date: 2018-01-31 05:53:04
Message-ID: 20180131055304.GA10279@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Jan 31, 2018 at 08:47:57AM +0300, Alexander Lakhin wrote:
> Please consider committing the attached patch to fix a typo in error
> message.

Yeah..

> if (cxt->ofType)
> ereport(ERROR,
> (errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
> - errmsg("identity colums are not supported on typed tables")));
> + errmsg("identity columns are not supported on typed tables")));
> if (cxt->partbound)
> ereport(ERROR,
> (errcode(ERRCODE_FEATURE_NOT_SUPPORTED),

The indentation for this ereport() is weird as well here.
--
Michael

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Masahiko Sawada 2018-01-31 06:53:06 Re: PATCH: logical_work_mem and logical streaming of large in-progress transactions
Previous Message Alexander Lakhin 2018-01-31 05:47:57 A typo in error message