Re: A typo in error message - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: A typo in error message
Date
Msg-id 20180131055304.GA10279@paquier.xyz
Whole thread Raw
In response to A typo in error message  (Alexander Lakhin <exclusion@gmail.com>)
Responses Re: A typo in error message
List 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

Attachment

pgsql-hackers by date:

Previous
From: Alexander Lakhin
Date:
Subject: A typo in error message
Next
From: Masahiko Sawada
Date:
Subject: Re: PATCH: logical_work_mem and logical streaming of largein-progress transactions