Re: CREATE COLLATION - check for duplicate options and error out if found one
| От | vignesh C | 
|---|---|
| Тема | Re: CREATE COLLATION - check for duplicate options and error out if found one | 
| Дата | |
| Msg-id | CALDaNm0sgjznGzukUCrLQtkMy9K1LxTROrJxr47k9KLf4kwsjg@mail.gmail.com обсуждение исходный текст  | 
		
| Ответ на | Re: CREATE COLLATION - check for duplicate options and error out if found one (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>) | 
| Ответы | 
                	
            		Re: CREATE COLLATION - check for duplicate options and error out if found one
            		
            		 | 
		
| Список | pgsql-hackers | 
On Sat, May 29, 2021 at 9:20 PM Bharath Rupireddy
<bharath.rupireddyforpostgres@gmail.com> wrote:
>
> On Sat, May 29, 2021 at 9:08 PM vignesh C <vignesh21@gmail.com> wrote:
> > One minor comment:
> > You can remove the brackets around errcode, You could change:
> > + if (localeEl)
> > + ereport(ERROR,
> > + (errcode(ERRCODE_SYNTAX_ERROR),
> > + errmsg("option \"%s\" specified more than once", defel->defname),
> > + parser_errposition(pstate, defel->location)));
> > to:
> > + if (localeEl)
> > + ereport(ERROR,
> > + errcode(ERRCODE_SYNTAX_ERROR),
> > + errmsg("option \"%s\" specified more than once", defel->defname),
> > + parser_errposition(pstate, defel->location));
>
> Thanks. PSA v3 patch.
Thanks for the updated patch, the changes look good to me.
Regards,
Vignesh
		
	В списке pgsql-hackers по дате отправления: