Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Hackers > Re: VacAttrStat...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 3 Topic 9299 of 10118
Post > Topic >>

Re: VacAttrStatsP vs VacAttrStats * (typedef'ing pointer

by neilc@[EMAIL PROTECTED] (Neil Conway) May 2, 2008 at 02:53 PM

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 should be consistent about this and just use one
form for a given type.

(I don't really care which variant is preferred. Personally, I think
that hiding pointer types inside a typedef is evil and wrong, but it is
relatively common practice in the source...)

-Neil



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




 3 Posts in Topic:
VacAttrStatsP vs VacAttrStats * (typedef'ing pointer types)
j.urbanski@[EMAIL PROTECT  2008-05-02 23:22:55 
Re: VacAttrStatsP vs VacAttrStats * (typedef'ing pointer
neilc@[EMAIL PROTECTED]   2008-05-02 14:53:01 
Re: VacAttrStatsP vs VacAttrStats * (typedef'ing pointer types)
tgl@[EMAIL PROTECTED] (T  2008-05-02 17:53:31 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Sep 7 7:19:55 CDT 2008.