pgsql: Update comment

2025-07-29 Thread Peter Eisentraut
Update comment The code being referred to was moved to a different function in commit eb8312a22a8, so update the comment accordingly. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/c3019bb778b99f2541779ed23402a8f825ab Modified Files -- src/backend/

pgsql: Update comment for ReplicationSlot.last_saved_restart_lsn

2025-07-21 Thread Alexander Korotkov
Update comment for ReplicationSlot.last_saved_restart_lsn Document that restart_lsn can go backwards and explain why this could happen. Discussion: https://postgr.es/m/1d12d2-67235980-35-19a406a0%4063439497 Discussion: https://postgr.es/m/CAPpHfdvuyMrUg0Vs5jPfwLOo1M9B-GP5j_My9URnBX0B%3DnrHKw%40m

pgsql: Update comment for IndexInfo.ii_NullsNotDistinct

2025-07-01 Thread Peter Eisentraut
Update comment for IndexInfo.ii_NullsNotDistinct Commit 7a7b3e11e61 added the ii_NullsNotDistinct field, but the comment was not updated. Author: Japin Li Reviewed-by: Richard Guo Discussion: https://www.postgresql.org/message-id/flat/ME0P300MB04453E6C7EA635F0ECF41BFCB6832%40ME0P300MB0445.AUSP

pgsql: Update comment for IndexInfo.ii_NullsNotDistinct

2025-07-01 Thread Peter Eisentraut
Update comment for IndexInfo.ii_NullsNotDistinct Commit 7a7b3e11e61 added the ii_NullsNotDistinct field, but the comment was not updated. Author: Japin Li Reviewed-by: Richard Guo Discussion: https://www.postgresql.org/message-id/flat/ME0P300MB04453E6C7EA635F0ECF41BFCB6832%40ME0P300MB0445.AUSP

pgsql: Update comment for IndexInfo.ii_NullsNotDistinct

2025-07-01 Thread Peter Eisentraut
Update comment for IndexInfo.ii_NullsNotDistinct Commit 7a7b3e11e61 added the ii_NullsNotDistinct field, but the comment was not updated. Author: Japin Li Reviewed-by: Richard Guo Discussion: https://www.postgresql.org/message-id/flat/ME0P300MB04453E6C7EA635F0ECF41BFCB6832%40ME0P300MB0445.AUSP

pgsql: Update comment for IndexInfo.ii_NullsNotDistinct

2025-07-01 Thread Peter Eisentraut
Update comment for IndexInfo.ii_NullsNotDistinct Commit 7a7b3e11e61 added the ii_NullsNotDistinct field, but the comment was not updated. Author: Japin Li Reviewed-by: Richard Guo Discussion: https://www.postgresql.org/message-id/flat/ME0P300MB04453E6C7EA635F0ECF41BFCB6832%40ME0P300MB0445.AUSP

pgsql: Update comment for IndexInfo.ii_NullsNotDistinct

2025-07-01 Thread Peter Eisentraut
Update comment for IndexInfo.ii_NullsNotDistinct Commit 7a7b3e11e61 added the ii_NullsNotDistinct field, but the comment was not updated. Author: Japin Li Reviewed-by: Richard Guo Discussion: https://www.postgresql.org/message-id/flat/ME0P300MB04453E6C7EA635F0ECF41BFCB6832%40ME0P300MB0445.AUSP

pgsql: Update comment for IndexInfo.ii_WithoutOverlaps

2025-07-01 Thread Peter Eisentraut
Update comment for IndexInfo.ii_WithoutOverlaps Commit fc0438b4e80 added the ii_WithoutOverlaps field, but the comment was not updated. Author: Japin Li Reviewed-by: Richard Guo Discussion: https://www.postgresql.org/message-id/flat/ME0P300MB04453E6C7EA635F0ECF41BFCB6832%40ME0P300MB0445.AUSP30

pgsql: Update comment for IndexInfo.ii_WithoutOverlaps

2025-07-01 Thread Peter Eisentraut
Update comment for IndexInfo.ii_WithoutOverlaps Commit fc0438b4e80 added the ii_WithoutOverlaps field, but the comment was not updated. Author: Japin Li Reviewed-by: Richard Guo Discussion: https://www.postgresql.org/message-id/flat/ME0P300MB04453E6C7EA635F0ECF41BFCB6832%40ME0P300MB0445.AUSP30

pgsql: Update comment about ExprState.escontext

2024-09-05 Thread Amit Langote
Update comment about ExprState.escontext The updated comment provides more helpful guidance by mentioning that escontext should be set when soft error handling is needed. Reported-by: Jian He Discussion: https://postgr.es/m/cacjufxeo4sujkcytda0_qt9tazqqkpmf1cqhw9kbouejfqq...@mail.gmail.com Back

pgsql: Update comment about ExprState.escontext

2024-09-05 Thread Amit Langote
Update comment about ExprState.escontext The updated comment provides more helpful guidance by mentioning that escontext should be set when soft error handling is needed. Reported-by: Jian He Discussion: https://postgr.es/m/cacjufxeo4sujkcytda0_qt9tazqqkpmf1cqhw9kbouejfqq...@mail.gmail.com Back

pgsql: Update comment in portal.h.

2024-08-01 Thread Etsuro Fujita
Update comment in portal.h. We store tuples into the portal's tuple store for a PORTAL_ONE_MOD_WITH query as well. Back-patch to all supported branches. Reviewed by Andy Fan. Discussion: https://postgr.es/m/CAPmGK14HVYBZYZtHabjeCd-e31VT%3Dwx6rQNq8QfehywLcpZ2Hw%40mail.gmail.com Branch -- R

pgsql: Update comment in portal.h.

2024-08-01 Thread Etsuro Fujita
Update comment in portal.h. We store tuples into the portal's tuple store for a PORTAL_ONE_MOD_WITH query as well. Back-patch to all supported branches. Reviewed by Andy Fan. Discussion: https://postgr.es/m/CAPmGK14HVYBZYZtHabjeCd-e31VT%3Dwx6rQNq8QfehywLcpZ2Hw%40mail.gmail.com Branch -- R

pgsql: Update comment in portal.h.

2024-08-01 Thread Etsuro Fujita
Update comment in portal.h. We store tuples into the portal's tuple store for a PORTAL_ONE_MOD_WITH query as well. Back-patch to all supported branches. Reviewed by Andy Fan. Discussion: https://postgr.es/m/CAPmGK14HVYBZYZtHabjeCd-e31VT%3Dwx6rQNq8QfehywLcpZ2Hw%40mail.gmail.com Branch -- m

pgsql: Update comment in portal.h.

2024-08-01 Thread Etsuro Fujita
Update comment in portal.h. We store tuples into the portal's tuple store for a PORTAL_ONE_MOD_WITH query as well. Back-patch to all supported branches. Reviewed by Andy Fan. Discussion: https://postgr.es/m/CAPmGK14HVYBZYZtHabjeCd-e31VT%3Dwx6rQNq8QfehywLcpZ2Hw%40mail.gmail.com Branch -- R

pgsql: Update comment in portal.h.

2024-08-01 Thread Etsuro Fujita
Update comment in portal.h. We store tuples into the portal's tuple store for a PORTAL_ONE_MOD_WITH query as well. Back-patch to all supported branches. Reviewed by Andy Fan. Discussion: https://postgr.es/m/CAPmGK14HVYBZYZtHabjeCd-e31VT%3Dwx6rQNq8QfehywLcpZ2Hw%40mail.gmail.com Branch -- R

pgsql: Update comment in portal.h.

2024-08-01 Thread Etsuro Fujita
Update comment in portal.h. We store tuples into the portal's tuple store for a PORTAL_ONE_MOD_WITH query as well. Back-patch to all supported branches. Reviewed by Andy Fan. Discussion: https://postgr.es/m/CAPmGK14HVYBZYZtHabjeCd-e31VT%3Dwx6rQNq8QfehywLcpZ2Hw%40mail.gmail.com Branch -- R

pgsql: Update comment in portal.h.

2024-08-01 Thread Etsuro Fujita
Update comment in portal.h. We store tuples into the portal's tuple store for a PORTAL_ONE_MOD_WITH query as well. Back-patch to all supported branches. Reviewed by Andy Fan. Discussion: https://postgr.es/m/CAPmGK14HVYBZYZtHabjeCd-e31VT%3Dwx6rQNq8QfehywLcpZ2Hw%40mail.gmail.com Branch -- R

pgsql: Update comment in set_dummy_rel_pathlist().

2024-03-28 Thread Tom Lane
Update comment in set_dummy_rel_pathlist(). This comment claimed that set_dummy_rel_pathlist() has callers other than (possibly indirectly) set_rel_size(). It doesn't, so revise the argument to not rely on that. Noted by Richard Guo. Discussion: https://postgr.es/m/cambws4-kfeu_fdujpncokuu3rwv

pgsql: Update comment of AlterTableCmd->name in parsenodes.h

2024-03-07 Thread Michael Paquier
Update comment of AlterTableCmd->name in parsenodes.h Since b0483263dda0, this field can be used to store an access method name for ALTER TABLE, but access methods were not mentioned in the field's description. Issue noticed while working on the area. Discussion: https://postgr.es/m/zewkgctk6xia

pgsql: Update comment

2024-02-08 Thread Peter Eisentraut
Update comment The documentation output format htmlhelp is no longer supported, but a comment still mentioned it. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/254361cf1aec4570a7022160f20fa505a876ed0e Modified Files -- doc/src/sgml/stylesheet-common.x

pgsql: Update comment

2024-02-08 Thread Peter Eisentraut
Update comment The documentation output format htmlhelp is no longer supported, but a comment still mentioned it. Branch -- REL_16_STABLE Details --- https://git.postgresql.org/pg/commitdiff/5c699c857cac84a81eebb869ba3f8b539d66f620 Modified Files -- doc/src/sgml/stylesheet-c

pgsql: Update comment, generation mem contexts have a "keeper" block

2024-01-25 Thread Heikki Linnakangas
Update comment, generation mem contexts have a "keeper" block The keeper block was introduced in commit 1b0d9aa4f7, but it forgot to update this comment. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/376c216138c75e161d39767650ea30536f23b482 Modified Files ---

pgsql: Update comment for Cardinality typedef

2023-12-19 Thread Peter Eisentraut
Update comment for Cardinality typedef Author: Richard Guo Discussion: https://www.postgresql.org/message-id/flat/CAMbWs4-Zd7Yy80RL1NdskLLo-wz6QoqsbC5TKs%3D3yZxG3BT_aA%40mail.gmail.com Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/2a607fb822a2ad8f3a2cc714871283a

pgsql: Update comment about set_join_pathlist_hook().

2023-09-21 Thread Etsuro Fujita
Update comment about set_join_pathlist_hook(). The comment introduced by commit e7cb7ee14 was a bit too terse, which could lead to extensions doing different things within the hook function than we intend to allow. Extend the comment to explain what they can do within the hook function. Back-pat

pgsql: Update comment about set_join_pathlist_hook().

2023-09-21 Thread Etsuro Fujita
Update comment about set_join_pathlist_hook(). The comment introduced by commit e7cb7ee14 was a bit too terse, which could lead to extensions doing different things within the hook function than we intend to allow. Extend the comment to explain what they can do within the hook function. Back-pat

pgsql: Update comment about set_join_pathlist_hook().

2023-09-21 Thread Etsuro Fujita
Update comment about set_join_pathlist_hook(). The comment introduced by commit e7cb7ee14 was a bit too terse, which could lead to extensions doing different things within the hook function than we intend to allow. Extend the comment to explain what they can do within the hook function. Back-pat

pgsql: Update comment about set_join_pathlist_hook().

2023-09-21 Thread Etsuro Fujita
Update comment about set_join_pathlist_hook(). The comment introduced by commit e7cb7ee14 was a bit too terse, which could lead to extensions doing different things within the hook function than we intend to allow. Extend the comment to explain what they can do within the hook function. Back-pat

pgsql: Update comment about set_join_pathlist_hook().

2023-09-21 Thread Etsuro Fujita
Update comment about set_join_pathlist_hook(). The comment introduced by commit e7cb7ee14 was a bit too terse, which could lead to extensions doing different things within the hook function than we intend to allow. Extend the comment to explain what they can do within the hook function. Back-pat

pgsql: Update comment about set_join_pathlist_hook().

2023-09-21 Thread Etsuro Fujita
Update comment about set_join_pathlist_hook(). The comment introduced by commit e7cb7ee14 was a bit too terse, which could lead to extensions doing different things within the hook function than we intend to allow. Extend the comment to explain what they can do within the hook function. Back-pat

pgsql: Update comment about set_join_pathlist_hook().

2023-09-21 Thread Etsuro Fujita
Update comment about set_join_pathlist_hook(). The comment introduced by commit e7cb7ee14 was a bit too terse, which could lead to extensions doing different things within the hook function than we intend to allow. Extend the comment to explain what they can do within the hook function. Back-pat

pgsql: Update comment

2023-03-08 Thread Peter Eisentraut
Update comment There was apparently an attempt here to list all the object types that ACL_USAGE applies to, but it wasn't complete. So instead of trying to keep up, put in a more timeless comment. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/822e8e295166f000e337

pgsql: Update comment in ExecInsert() regarding batch insertion.

2022-09-29 Thread Etsuro Fujita
Update comment in ExecInsert() regarding batch insertion. Remove the stale text that is a leftover from an earlier version of the patch to add support for batch insertion, and adjust the wording in the remaining text. Back-patch to v14 where batch insertion came in. Review and wording adjustment

pgsql: Update comment in ExecInsert() regarding batch insertion.

2022-09-29 Thread Etsuro Fujita
Update comment in ExecInsert() regarding batch insertion. Remove the stale text that is a leftover from an earlier version of the patch to add support for batch insertion, and adjust the wording in the remaining text. Back-patch to v14 where batch insertion came in. Review and wording adjustment

pgsql: Update comment in ExecInsert() regarding batch insertion.

2022-09-29 Thread Etsuro Fujita
Update comment in ExecInsert() regarding batch insertion. Remove the stale text that is a leftover from an earlier version of the patch to add support for batch insertion, and adjust the wording in the remaining text. Back-patch to v14 where batch insertion came in. Review and wording adjustment

pgsql: Update comment in gramparse.h

2022-08-17 Thread John Naylor
Update comment in gramparse.h src/common/keywords.c hasn't included this header since afb0d0712. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/3f5dbcb5fe0bd68df7e5de5e95e10b3b892c43b2 Modified Files -- src/include/parser/gramparse.h | 2 +- 1 file chan

pgsql: Update comment

2022-02-10 Thread Peter Eisentraut
Update comment Update a comment that assumed that libc collations don't support versioning. Also improve an adjacent error message a bit. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/f5744f1d1e3588b4c782bcad44e8da9c056eb67f Modified Files -- src/bac

pgsql: Update comment atop of ReorderBufferQueueMessage().

2020-12-18 Thread Amit Kapila
Update comment atop of ReorderBufferQueueMessage(). The comments atop of this function describes behaviour in case of a transactional WAL message only, but it accepts both transactional and non-transactional WAL messages. Update the comments to describe behaviour in case of non-transactional WAL m

pgsql: Update comment

2020-03-16 Thread Alvaro Herrera
Update comment I forgot to update it per last-minute edits leading to commit 2f9661311b83. Reported by Mark Dilger. Discussion: https://postgr.es/m/da9a5554-aadd-4f33-96f9-a1066ec9c...@enterprisedb.com> Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/b234b567ed74

pgsql: Update comment about __sync_lock_test_and_set() bug.

2019-10-26 Thread Noah Misch
Update comment about __sync_lock_test_and_set() bug. State the earliest known fixed version, so we can someday judge the workaround to be obsolete. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/e653c714c25bb8bde0b80b3bf3a220704b71a106 Modified Files -

pgsql: Update comment

2019-06-27 Thread Peter Eisentraut
Update comment Function was renamed/replaced in c2fe139c201c48f1133e9fbea2dd99b8efe2fadd but the header comment was not updated. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/f2f0082ef5969b57d0b52d0c2e891872ed1b0a51 Modified Files -- src/backend/acces

pgsql: Update comment

2019-02-28 Thread Peter Eisentraut
Update comment for ff11e7f4b9ae017585c3ba146db7ba39c31f209a Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/22c0d52b8dc175fe46ebb6e0ab5b2be35e02be4e Modified Files -- src/backend/utils/adt/ri_triggers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(

pgsql: Update comment in header of errcodes.txt

2018-08-16 Thread Michael Paquier
Update comment in header of errcodes.txt This file mentions all the files generated from it, but missed that errcodes-list.sgml is no more, while errcodes-table.sgml is. Author: Noriyoshi Shinoda Discussion: https://postgr.es/m/tu4pr8401mb0430855d6b971e49eb55f328ee...@tu4pr8401mb0430.namprd84.pr

pgsql: Update comment

2018-01-18 Thread Peter Eisentraut
Update comment The "callback" that this comment was referring to was removed by commit c0a15e07cd718cb6e455e68328f522ac076a0e4b, so update to match the current code. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/a228e44ce4a2bfd1de3764763039cfcb009d7864 Modified F