[HACKERS] VacAttrStatsP vs VacAttrStats * (typedef'ing pointer types)

2008-05-02 Thread Jan Urbański
While looking around vacuum.h (for my GSoC project) I found: typedef struct VacAttrStats *VacAttrStatsP; and then throughout the code sometimes VacAttrStats *foo is used and sometimes VacAttrStatsP bar is used. Call this obsessive-compulsive disorder, but it kind of bothers me. Is there a

Re: [HACKERS] VacAttrStatsP vs VacAttrStats * (typedef'ing pointer types)

2008-05-02 Thread Neil Conway
On Fri, 2008-05-02 at 23:22 +0200, Jan Urbański wrote: While looking around vacuum.h (for my GSoC project) I found: typedef struct VacAttrStats *VacAttrStatsP; and then throughout the code sometimes VacAttrStats *foo is used and sometimes VacAttrStatsP bar is used. Personally I think we

Re: [HACKERS] VacAttrStatsP vs VacAttrStats * (typedef'ing pointer types)

2008-05-02 Thread Tom Lane
=?UTF-8?B?SmFuIFVyYmHFhHNraQ==?= [EMAIL PROTECTED] writes: While looking around vacuum.h (for my GSoC project) I found: typedef struct VacAttrStats *VacAttrStatsP; and then throughout the code sometimes VacAttrStats *foo is used and sometimes VacAttrStatsP bar is used. Call this