Re: Missing const in DSA. - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Missing const in DSA.
Date
Msg-id 3632.1537738337@sss.pgh.pa.us
Whole thread Raw
In response to Missing const in DSA.  (Mark G <markg735@gmail.com>)
Responses Re: Missing const in DSA.  (Thomas Munro <thomas.munro@enterprisedb.com>)
List pgsql-hackers
Mark G <markg735@gmail.com> writes:
> While looking at some of the recent churn in DSA I noticed that
> dsa_size_class_map should probably be declared const.

+1 ... also, given the contents of the array, "char" seems like
rather a misnomer.  I'd be happier if it were declared as uint8, say.

            regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Add RESPECT/IGNORE NULLS and FROM FIRST/LAST options
Next
From: Thomas Munro
Date:
Subject: Re: Collation versioning