Re: Review: plpgsql.extra_warnings, plpgsql.extra_errors - Mailing list pgsql-hackers

From Piotr Stefaniak
Subject Re: Review: plpgsql.extra_warnings, plpgsql.extra_errors
Date
Msg-id BLU0-SMTP14947303B98B1E262495046F2780@phx.gbl
Whole thread Raw
In response to Re: Review: plpgsql.extra_warnings, plpgsql.extra_errors  (Petr Jelinek <petr@2ndquadrant.com>)
Responses Re: Review: plpgsql.extra_warnings, plpgsql.extra_errors  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> +    myextra = (int *) malloc(sizeof(int));

Please consider not casting malloc(). See 
http://c-faq.com/malloc/mallocnocast.html



pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: Fwd: Proposal: variant of regclass
Next
From: Martijn van Oosterhout
Date:
Subject: Re: [RFC] What should we do for reliable WAL archiving?