Peter Eisentraut wrote: > Adriaan van Os wrote: > > >> However, min(VARCHAROID) and max(VARCHAROID) return TEXTOID as a > > >> result type. > > > > > > Yea, they are internally treated as very similar types. > > > > But "internally treated as very similar" is still not "same as > > argument type". Computing requires exactness. > > Aside from the apparent discrepancy between the documentation and the > actual behavior, is there an actual use case where this is a problem?
No, I don't think so, and I am reluctant to adjust the documentation to say "or similar". -- Bruce Momjian [EMAIL PROTECTED] EnterpriseDB http://www.enterprisedb.com + If your life is a hard drive, Christ can be your backup. + ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq