| From: | vignesh C <vignesh21(at)gmail(dot)com> |
|---|---|
| To: | Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com> |
| Cc: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: CREATE COLLATION - check for duplicate options and error out if found one |
| Date: | 2021-05-31 14:10:19 |
| Message-ID: | CALDaNm0sgjznGzukUCrLQtkMy9K1LxTROrJxr47k9KLf4kwsjg@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Sat, May 29, 2021 at 9:20 PM Bharath Rupireddy
<bharath(dot)rupireddyforpostgres(at)gmail(dot)com> wrote:
>
> On Sat, May 29, 2021 at 9:08 PM vignesh C <vignesh21(at)gmail(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Esteban Zimanyi | 2021-05-31 14:10:41 | Re: How to disable the autovacuum ? |
| Previous Message | Tom Lane | 2021-05-31 13:49:42 | Re: How to disable the autovacuum ? |