Re: confusing typedefs in jsonfuncs.c

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: confusing typedefs in jsonfuncs.c
Date: 2013-07-20 10:53:47
Message-ID: 1374317627.31813.0.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, 2013-07-18 at 21:34 -0400, Tom Lane wrote:
> Yeah, this is randomly different from everywhere else in PG. The more
> usual convention if you want typedefs for both the struct and the
> pointer type is that the pointer type is FooBar and the struct type is
> FooBarData.

I think that is more useful if you have a really good abstraction around
FooBar, like for Relation, for example. That's not really the case
here. This is more like node types, perhaps.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2013-07-20 12:22:47 Re: create index does change pages?
Previous Message mohsen soodkhah mohammadi 2013-07-20 09:56:40 create index does change pages?