Re: IntArray in c.h

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Hitoshi Harada <umi(dot)tanuki(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: IntArray in c.h
Date: 2009-12-29 15:38:44
Message-ID: 23657.1262101124@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hitoshi Harada <umi(dot)tanuki(at)gmail(dot)com> writes:
> I found the struct IntArray defined in c.h is actually used only in
> execQual.c. ISTM the definition should be at least moved to the right
> place.

It's a general-purpose datatype that might be used anywhere that array
indexing happens. I think the fact that it's currently used only in
execQual is mere happenstance, and should not be "enforced" by moving
or removing the declaration.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Smith 2009-12-29 15:56:04 Re: parse tree to XML format
Previous Message Tom Lane 2009-12-29 15:29:53 Re: Stats for inheritance trees