Skip site navigation (1) Skip section navigation (2)

code cleanup: ss_currentScanDesc

From: Takahiro Itagaki <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>
To: pgsql-hackers(at)postgresql(dot)org
Subject: code cleanup: ss_currentScanDesc
Date: 2010-02-26 05:53:03
Message-ID: 20100226145303.96DC.52131E4D@oss.ntt.co.jp (view raw or flat)
Thread:
Lists: pgsql-hackers
ScanState.ss_currentScanDesc is currently used by only SeqScan and
BitmapHeapScan. Other scan nodes don't use the field at all, right?

Can we move the field into SeqScanState and BitmapHeapScanState
for code cleanup? This change will not improve any performance,
but it can clear up what we do actually.

Regards,
---
Takahiro Itagaki
NTT Open Source Software Center

Attachment: ss_currentScanDesc_20100226.patch
Description: application/octet-stream (11.6 KB)

Responses

pgsql-hackers by date

Next:From: Дмитрий ФефеловDate: 2010-02-26 05:55:06
Subject: Re: Alpha4 Available Now
Previous:From: Tom LaneDate: 2010-02-26 05:11:56
Subject: Re: Avoiding bad prepared-statement plans.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group