Alvaro Herrera wrote:
> Hi,
> 
> It seems pgindent is not considering EXEC_BACKEND typedefs.  For
> example,
> 
> static void restore_backend_variables(BackendParameters * param, Port *port);
> 
> BackendParameters is not considered a typedef.
> 
> Not sure how serious an issue this is ... I just noticed and thought I
> would mention it.

Yep.  The cause is that find_typedefs actually pulls the typedef out of
the debugged-enabled binary, and on Unix those functions aren't used by
default.  This is spelled out in the pgindent/README in CVS.

I could just EXEC_BACKEND in the debug build I use but I suppose there
are other typedef I am missing as well.  Any idea on a more
comprehensive solution to finding typedefs?

-- 
  Bruce Momjian  <[EMAIL PROTECTED]>        http://momjian.us
  EnterpriseDB                             http://postgres.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq

Reply via email to