From: | Aleksander Alekseev <aleksander(at)timescale(dot)com> |
---|---|
To: | PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org> |
Cc: | Michael Paquier <michael(at)paquier(dot)xyz>, Peter Eisentraut <peter(at)eisentraut(dot)org> |
Subject: | Re: [PATCH] Split varlena.c into varlena.c and bytea.c |
Date: | 2025-06-19 10:39:48 |
Message-ID: | CAJ7c6TN7ppSmZMPejvKZreOs=+kJEhrGQNuVpmTjj9W-=MjgCg@mail.gmail.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi Michael,
> /* text_name()
> * Converts a text type to a Name type.
> */
>
> Not related to this patch, sorry for the regression, just noticed
> a nit while looking at the diffs of what you have here.. This one, as
> well as name_text(), uses a comment block that is inconsistent with
> the format we have in the tree. It's a bit surprising that pgindent
> is not picking up that.
Good observation!
I experimented with pgindent a bit. This is an effect of the -nfc1
flag i.e. format_col1_comments=OFF. Unfortunately just removing it has
undesired side effects so we will have to modify pg_bsd_indent a bit,
apparently somewhere here:
pr_commnet.c:
```
if (ps.col_1 && !format_col1_comments) { /* if comment starts in column
* 1 it should not be touched */
```
I will start a new thread and propose an appropriate patch.
--
Best regards,
Aleksander Alekseev
From | Date | Subject | |
---|---|---|---|
Next Message | shveta malik | 2025-06-19 11:04:38 | Re: Conflict detection for update_deleted in logical replication |
Previous Message | Amit Kapila | 2025-06-19 10:29:25 | Re: Slot's restart_lsn may point to removed WAL segment after hard restart unexpectedly |