View Single Post

   
  #1 (permalink)  
Old 05-05-2008, 05:52 AM
=?UTF-8?B?SmFuIFVyYmHFhHNraQ==?=
 
Posts: n/a
Default VacAttrStatsP vs VacAttrStats * (typedef'ing pointer types)

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 reason for using both notations? If not, then which one is
preferred and should I write a patch for it or should I just take a pill
or two and focus on important things?

Regards,
Jan
--
Jan Urbanski
GPG key ID: E583D7D2

ouden estin

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply With Quote