"Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:
> Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)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.
IIRC there's something odd about the scope of the declared struct label.
Something like it previously extended to the end of the file but post-ANSI was
limited to the scope it's declared in (including very limited scopes where it
would be useless such as in function parameters).
In response to
pgsql-hackers by date
|Next:||From: Mark Dilger||Date: 2007-04-02 20:50:36|
|Subject: Re: Bug in UTF8-Validation Code?|
|Previous:||From: Bruce Momjian||Date: 2007-04-02 20:39:00|
|Subject: Re: [pgsql-patches] O_DIRECT support for Windows|