Re: [PATCHES] mcxt.c - Mailing list pgsql-hackers

From Gaetano Mendola
Subject Re: [PATCHES] mcxt.c
Date
Msg-id 029301c376e2$1b3f3700$4c720b3e@mm.eutelsat.org
Whole thread Raw
In response to Re: mcxt.c  ("Gaetano Mendola" <mendola@bigfoot.com>)
Responses Re: [PATCHES] mcxt.c
List pgsql-hackers
"Andrew Dunstan" <andrew@dunslane.net> wrote:
> The particular assertion that was proposed doesn't strike me as terribly 
> useful - It should be checked at the point of call rather than inside 
> pstrdup, I should have thought.

Are you going to trust the client of that function ? 
Here the question is not if insert a check/assert there but write a general
rule if insert and where check/assert

Regards
Gaetano Mendola


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Maximum table size
Next
From: Alvaro Herrera
Date:
Subject: Re: Maximum table size