View Single Post

   
  #5 (permalink)  
Old 04-12-2008, 09:07 AM
Tom Lane
 
Posts: n/a
Default Re: Is this portable?

Zdenek Kotala <Zdenek.Kotala@Sun.COM> writes:
> Alvaro Herrera wrote:
>> Can I declare a struct in a function's declaration section?


> It works fine with Sun Studio 11.


AFAICT it's required by the original K&R C book.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at

http://www.postgresql.org/about/donate

Reply With Quote