Re: use of int4/int32 in C code

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Robert Haas" <robertmhaas(at)gmail(dot)com>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Peter Eisentraut" <peter_e(at)gmx(dot)net>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: use of int4/int32 in C code
Date: 2012-06-19 21:53:56
Message-ID: 4FE0AEA40200002500048716@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> I have not looked to see how many places do that. If it's a
reasonably
> small number of places, I'm OK with getting rid of int4 at the C
level.
> (int2/int8 the same of course.)

$ find -name '*.h' -or -name '*.c' | egrep -v '/tmp_check/' | xargs cat
\

| egrep -c '\bint2\b'
178

| egrep -c '\bint4\b'
570

| egrep -c '\bint8\b'
212

-Kevin

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2012-06-19 21:56:36 Re: pg_restore logging inconsistency
Previous Message Simon Riggs 2012-06-19 21:53:11 Re: [PATCH 10/16] Introduce the concept that wal has a 'origin' node