Re: [HACKERS] Documentation of maximum input string lengths

2002-08-25 Thread Tom Lane
Gavin Sherry <[EMAIL PROTECTED]> writes: > So, the question is this: should there be documentation of the maximum > string length of a data structure so that application programmers can > provide string length validation? I don't think so; that's just going to make it harder to fix things if, say

[HACKERS] Documentation of maximum input string lengths

2002-08-25 Thread Gavin Sherry
Hi all, I've just been thinking that the documentation doesn't cover the maximum input string lengths for various data types well. Case in point, the date/time code: there was a fair amount of discussion about validation input, including checking for 'unreasonable' string lengths. Unless you went