Re: [PATCH] pg_convert improvement
От | Drouvot, Bertrand |
---|---|
Тема | Re: [PATCH] pg_convert improvement |
Дата | |
Msg-id | 34e6eb59-d7a3-4f80-beab-30fe435cbf77@gmail.com обсуждение исходный текст |
Ответ на | Re: [PATCH] pg_convert improvement (Yurii Rashkovskii <yrashk@gmail.com>) |
Ответы |
Re: [PATCH] pg_convert improvement
Re: [PATCH] pg_convert improvement |
Список | pgsql-hackers |
Hi, On 11/24/23 3:32 PM, Yurii Rashkovskii wrote: > Hi Bertrand, > > On Fri, Nov 24, 2023 at 6:26 AM Drouvot, Bertrand <bertranddrouvot.pg@gmail.com <mailto:bertranddrouvot.pg@gmail.com>>wrote: > > > The patch is pretty straightforward, I just have one remark: > > + /* if no actual conversion happened, return the original string */ > + /* (we are checking pointers to strings instead of encodings because > + `pg_do_encoding_conversion` above covers more cases than just > + encoding equality) */ > > I think this could be done in one single comment and follow the preferred style > for multi-line comment, see [1]. > > > Thank you for your feedback. I've attached a revised patch. Did some minor changes in the attached: - Started the multi-line comment with an upper case and finished it with a "." and re-worded a bit. - Ran pgindent What do you think about the attached? Also, might be good to create a CF entry [1] so that the patch proposal does not get lost and gets visibility. [1]: https://commitfest.postgresql.org/46/ Regards, -- Bertrand Drouvot PostgreSQL Contributors Team RDS Open Source Databases Amazon Web Services: https://aws.amazon.com
Вложения
В списке pgsql-hackers по дате отправления: