Re: A typo in error message

Michael Paquier <michael.paquier@gmail.com>

From: Michael Paquier <michael.paquier@gmail.com>
To: Alexander Lakhin <exclusion@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2018-01-31T05:53:04Z
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

Commits

  1. Fix typo: colums -> columns.