[PATCH] Fix errhint messages for REPACK (CONCURRENTLY) restrictions
Hi,
The errhint messages added by commit 28d534e2ae0 for REPACK (CONCURRENTLY)
restrictions have two issues:
1. They say "REPACK CONCURRENTLY" without parentheses, inconsistent with
the actual command syntax and the errmsg text elsewhere in the same file.
2. The TOAST relations hint is missing a trailing period.
The attached patch fixes both issues and also switches to the %s pattern
so translators handle the template without embedding the SQL command name:
Before:
HINT: REPACK CONCURRENTLY is not supported for TOAST relations
After:
HINT: REPACK (CONCURRENTLY) is not supported for TOAST relations.
Thanks,
Baji Shaik
AWS RDS
Attachments:
0001-Fix-errhint-messages-for-REPACK-CONCURRENTLY-restric.patchapplication/octet-stream; name=0001-Fix-errhint-messages-for-REPACK-CONCURRENTLY-restric.patchDownload+6-4
Baji Shaik <baji.pgdev@gmail.com> 于2026年5月13日周三 07:19写道:
Hi,
The errhint messages added by commit 28d534e2ae0 for REPACK (CONCURRENTLY)
restrictions have two issues:1. They say "REPACK CONCURRENTLY" without parentheses, inconsistent with
the actual command syntax and the errmsg text elsewhere in the same
file.2. The TOAST relations hint is missing a trailing period.
The attached patch fixes both issues and also switches to the %s pattern
so translators handle the template without embedding the SQL command name:Before:
HINT: REPACK CONCURRENTLY is not supported for TOAST relationsAfter:
HINT: REPACK (CONCURRENTLY) is not supported for TOAST relations.Thanks,
Baji Shaik
AWS RDS
LGTM. This makes the hint messages consistent with the corresponding error
messages.
Regards,
Zhenwei Shang
On 2026-May-12, Baji Shaik wrote:
The attached patch fixes both issues and also switches to the %s pattern
so translators handle the template without embedding the SQL command name:Before:
HINT: REPACK CONCURRENTLY is not supported for TOAST relationsAfter:
HINT: REPACK (CONCURRENTLY) is not supported for TOAST relations.
Looks good, thanks, will push.
--
Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/
On 2026-May-12, Baji Shaik wrote:
Hi,
The errhint messages added by commit 28d534e2ae0 for REPACK (CONCURRENTLY)
restrictions have two issues:
Thank you! I have pushed this now.
--
Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/
"No renuncies a nada. No te aferres a nada."