"David G. Johnston" <david.g.johns...@gmail.com> writes: > Why not do away with two separate functions and define a composite type > (boolean, text) for is_valid to return?
I don't see any advantage to that. It would be harder to use in both use-cases. >> BTW, does anyone else agree that 9.26 is desperately in need of some >> <sect2> subdivisions? It seems to have gotten a lot longer since >> I looked at it last. > I'd be inclined to do something like what we are attempting for Chapter 28 > Monitoring Database Activity; introduce pagination through refentry and > build our own table of contents into it. I'd prefer to follow the model that already exists in 9.27, ie break it up with <sect2>'s, which provide a handy sub-table-of-contents. regards, tom lane