pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Add FreeBSD support for find_typedef, per request from Andrew.
4+ messages / 2 participants
[nested] [flat]

* pgsql: Add FreeBSD support for find_typedef, per request from Andrew.
@ 2009-06-11 03:14 Bruce Momjian <momjian@postgresql.org>
  0 siblings, 0 replies; 4+ messages in thread

From: momjian@postgresql.org @ 2009-06-11 03:14 UTC (permalink / raw)
  To: pgsql-committers

Log Message:
-----------
Add FreeBSD support for find_typedef, per request from Andrew.

Modified Files:
--------------
    pgsql/src/tools:
        find_typedef (r1.13 -> r1.14)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/tools/find_typedef?r1=1.13&r2=1.14)




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* pgsql: Fix the missing table sync due to improper invalidation handling
@ 2024-04-25 05:33 Amit Kapila <akapila@postgresql.org>
  0 siblings, 0 replies; 4+ messages in thread

From: Amit Kapila @ 2024-04-25 05:33 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix the missing table sync due to improper invalidation handling.

We missed performing table sync if the invalidation happened while the
non-ready tables list was being prepared. This occurs because the sync
state was set to valid at the end of non-ready table list preparation
irrespective of the invalidations processed while the list is being
prepared.

Fix it by changing the boolean variable to a tri-state enum and by setting
table state to valid only if no invalidations have occurred while the list
is being prepared.

Reprted-by: Alexander Lakhin
Diagnosed-by: Alexander Lakhin
Author: Vignesh C
Reviewed-by: Hou Zhijie, Alexander Lakhin, Ajin Cherian, Amit Kapila
Backpatch-through: 15
Discussion: https://postgr.es/m/711a6afe-edb7-1211-cc27-1bef8239eec7@gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/aa79bde725650b4cfdce05bcc119008709590af6

Modified Files
--------------
src/backend/replication/logical/tablesync.c | 25 +++++++++++++++++++++----
src/tools/pgindent/typedefs.list            |  1 +
2 files changed, 22 insertions(+), 4 deletions(-)



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* pgsql: Fix the missing table sync due to improper invalidation handling
@ 2024-04-25 05:33 Amit Kapila <akapila@postgresql.org>
  0 siblings, 0 replies; 4+ messages in thread

From: Amit Kapila @ 2024-04-25 05:33 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix the missing table sync due to improper invalidation handling.

We missed performing table sync if the invalidation happened while the
non-ready tables list was being prepared. This occurs because the sync
state was set to valid at the end of non-ready table list preparation
irrespective of the invalidations processed while the list is being
prepared.

Fix it by changing the boolean variable to a tri-state enum and by setting
table state to valid only if no invalidations have occurred while the list
is being prepared.

Reprted-by: Alexander Lakhin
Diagnosed-by: Alexander Lakhin
Author: Vignesh C
Reviewed-by: Hou Zhijie, Alexander Lakhin, Ajin Cherian, Amit Kapila
Backpatch-through: 15
Discussion: https://postgr.es/m/711a6afe-edb7-1211-cc27-1bef8239eec7@gmail.com

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/a9155efc7004a49b387f061dd90cb0b59a6d146f

Modified Files
--------------
src/backend/replication/logical/tablesync.c | 25 +++++++++++++++++++++----
src/tools/pgindent/typedefs.list            |  1 +
2 files changed, 22 insertions(+), 4 deletions(-)



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* pgsql: Fix the missing table sync due to improper invalidation handling
@ 2024-04-25 05:33 Amit Kapila <akapila@postgresql.org>
  0 siblings, 0 replies; 4+ messages in thread

From: Amit Kapila @ 2024-04-25 05:33 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix the missing table sync due to improper invalidation handling.

We missed performing table sync if the invalidation happened while the
non-ready tables list was being prepared. This occurs because the sync
state was set to valid at the end of non-ready table list preparation
irrespective of the invalidations processed while the list is being
prepared.

Fix it by changing the boolean variable to a tri-state enum and by setting
table state to valid only if no invalidations have occurred while the list
is being prepared.

Reprted-by: Alexander Lakhin
Diagnosed-by: Alexander Lakhin
Author: Vignesh C
Reviewed-by: Hou Zhijie, Alexander Lakhin, Ajin Cherian, Amit Kapila
Backpatch-through: 15
Discussion: https://postgr.es/m/711a6afe-edb7-1211-cc27-1bef8239eec7@gmail.com

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/28a8cc457b022a68b01ae0c12fba73ad16764ec4

Modified Files
--------------
src/backend/replication/logical/tablesync.c | 25 +++++++++++++++++++++----
src/tools/pgindent/typedefs.list            |  1 +
2 files changed, 22 insertions(+), 4 deletions(-)



^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2024-04-25 05:33 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2009-06-11 03:14 pgsql: Add FreeBSD support for find_typedef, per request from Andrew. Bruce Momjian <momjian@postgresql.org>
2024-04-25 05:33 pgsql: Fix the missing table sync due to improper invalidation handling Amit Kapila <akapila@postgresql.org>
2024-04-25 05:33 pgsql: Fix the missing table sync due to improper invalidation handling Amit Kapila <akapila@postgresql.org>
2024-04-25 05:33 pgsql: Fix the missing table sync due to improper invalidation handling Amit Kapila <akapila@postgresql.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox