pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Teach simplify_boolean_equality to simplify the forms foo <> true
2+ messages / 2 participants
[nested] [flat]

* pgsql: Teach simplify_boolean_equality to simplify the forms foo <> true
@ 2009-07-20 00:24 Tom Lane <tgl@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: tgl@postgresql.org @ 2009-07-20 00:24 UTC (permalink / raw)
  To: pgsql-committers

Log Message:
-----------
Teach simplify_boolean_equality to simplify the forms foo <> true and
foo <> false, along with its previous duties of simplifying foo = true
and foo = false.  (All of these are equivalent to just foo or NOT foo
as the case may be.)  It's not clear how often this is really useful;
but it costs almost nothing to do, and it seems some people think we
should be smart about such cases.  Per recent bug report.

Modified Files:
--------------
    pgsql/src/backend/optimizer/util:
        clauses.c (r1.277 -> r1.278)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/util/clauses.c?r1=1.277&r2=...)
    pgsql/src/include/catalog:
        pg_operator.h (r1.166 -> r1.167)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/catalog/pg_operator.h?r1=1.166&r2=1.1...)




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

* pgsql: Revert "Temporary patch to help debug pg_walsummary test failure
@ 2024-03-20 16:34 Nathan Bossart <nathan@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Nathan Bossart @ 2024-03-20 16:34 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Revert "Temporary patch to help debug pg_walsummary test failures."

Thanks to commits ea18eb7d62, b6ee30ec08, and 19a829a327, the
002_blocks.pl test now consistently passes, so we can remove this
temporary debugging code.

This reverts commit 5ddf9973477729cf161b4ad0a1efd52f4fea9c88.

Discussion: https://postgr.es/m/20240314210010.GA3056455%40nathanxps13

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2b520860c08ac946ec5e570065ede1c467e45618

Modified Files
--------------
src/backend/backup/walsummary.c       |  7 -------
src/bin/pg_walsummary/t/002_blocks.pl | 14 --------------
2 files changed, 21 deletions(-)



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


end of thread, other threads:[~2024-03-20 16:34 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2009-07-20 00:24 pgsql: Teach simplify_boolean_equality to simplify the forms foo <> true Tom Lane <tgl@postgresql.org>
2024-03-20 16:34 pgsql: Revert "Temporary patch to help debug pg_walsummary test failure Nathan Bossart <nathan@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