Michael Glaesemann <[EMAIL PROTECTED]> writes: > Something that has been briefly discussed in the past wrt PostgreSQL > has been unit testing to complement the current regression tests.
I was and remain pretty dubious of this idea. In the backend in particular, there is very little code that could usefully be tested in a stand-alone fashion. For instance, almost everything assumes the presence of palloc and elog and related facilities, and most things depend at some level on having catalog data, and there are lots of complicated, frequently-changed data structures involved in the APIs. I think you'd spend vastly more time constructing and maintaining unit-test cases than would ever be repaid :-( regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org