Re: Coding style point: "const" in function parameter declarations

From: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
To: Dan Ports <drkp(at)csail(dot)mit(dot)edu>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: Coding style point: "const" in function parameter declarations
Date: 2011-06-22 09:25:53
Message-ID: 4E01B521.9010208@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 22.06.2011 02:58, Dan Ports wrote:
> On Tue, Jun 21, 2011 at 06:51:20PM -0400, Tom Lane wrote:
>> I find this to be poor style, and would like to see if there's any
>> support for getting rid of the "const" keywords.
>
> I'm in favor of removing them too.

Ok, I've removed all the useless const qualifiers.

--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Noah Misch 2011-06-22 10:18:08 Re: [v9.2] DROP Reworks Part.0 - 'missing_ok' support of get_object_address
Previous Message Heikki Linnakangas 2011-06-22 09:07:04 Re: Repeated PredicateLockRelation calls during seqscan