Re: confusing typedefs in jsonfuncs.c - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: confusing typedefs in jsonfuncs.c
Date
Msg-id 1374317627.31813.0.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: confusing typedefs in jsonfuncs.c  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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.




pgsql-hackers by date:

Previous
From: mohsen soodkhah mohammadi
Date:
Subject: create index does change pages?
Next
From: Heikki Linnakangas
Date:
Subject: Re: create index does change pages?