"Thomas Hallgren" <[EMAIL PROTECTED]> writes: > Rather than clutter the code with the same ereport over and over again (I > count 12 malloc's in guc.c alone), I'd like something like this:
The larger question is why it contains even one. In general, use of malloc in the backend is the mark of a newbie. I'd think palloc in TopMemoryContext would be a more suitable approach. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org