pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Remove useless code. 3+ messages / 2 participants [nested] [flat]
* pgsql: Remove useless code. @ 2016-09-23 14:45 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 3+ messages in thread From: Tom Lane @ 2016-09-23 14:45 UTC (permalink / raw) To: pgsql-committers Remove useless code. Apparent copy-and-pasteo in standby_desc_invalidations() had two entries for msg->id == SHAREDINVALRELMAP_ID. Aleksander Alekseev Discussion: <20160923090814.GB1238@e733> Branch ------ REL9_6_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/a20435fe9aa52cd8c62f3b0ed359077a56824830 Modified Files -------------- src/backend/access/rmgrdesc/standbydesc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: Remove useless code. @ 2016-09-23 14:45 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 3+ messages in thread From: Tom Lane @ 2016-09-23 14:45 UTC (permalink / raw) To: pgsql-committers Remove useless code. Apparent copy-and-pasteo in standby_desc_invalidations() had two entries for msg->id == SHAREDINVALRELMAP_ID. Aleksander Alekseev Discussion: <20160923090814.GB1238@e733> Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/959ea7fa76120449efa5d85ae351abd1d6e5480c Modified Files -------------- src/backend/access/rmgrdesc/standbydesc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: Remove useless code @ 2024-07-01 06:55 Peter Eisentraut <peter@eisentraut.org> 0 siblings, 0 replies; 3+ messages in thread From: Peter Eisentraut @ 2024-07-01 06:55 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Remove useless code BuildDescForRelation() goes out of its way to fill in ->constr->has_not_null, but that value is not used for anything later, so this code can all be removed. Note that BuildDescForRelation() doesn't make any effort to fill in the rest of ->constr, so there is no claim that that structure is completely filled in. Reviewed-by: Tomasz Rybak <tomasz.rybak@post.pl> Discussion: https://www.postgresql.org/message-id/flat/a368248e-69e4-40be-9c07-6c3b5880b0a6@eisentraut.org Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/e26d313bad92e71e2b59cc2e81870bf6d750de1f Modified Files -------------- src/backend/commands/tablecmds.c | 25 +++---------------------- 1 file changed, 3 insertions(+), 22 deletions(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2024-07-01 06:55 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2016-09-23 14:45 pgsql: Remove useless code. Tom Lane <tgl@sss.pgh.pa.us> 2016-09-23 14:45 pgsql: Remove useless code. Tom Lane <tgl@sss.pgh.pa.us> 2024-07-01 06:55 pgsql: Remove useless code Peter Eisentraut <peter@eisentraut.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