Re: Assert for frontend programs?
Andrew Dunstan <andrew@dunslane.net>
From: Andrew Dunstan <andrew@dunslane.net>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Heikki Linnakangas <hlinnakangas@vmware.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2012-12-14T21:28:24Z
Lists: pgsql-hackers
On 12/14/2012 04:23 PM, Peter Eisentraut wrote: > On 12/14/12 11:33 AM, Tom Lane wrote: >> Works for me. So just rename that to Assert() and move it into >> postgres-fe.h? > Or just call assert() and don't invent our own layer? Well, part of the point is that it lets you use Assert() in code that might be run in both the frontend and the backend. cheers andrew