BUG #2905: min and max return incorrect text type - Mailing list pgsql-bugs

From Adriaan van Os
Subject BUG #2905: min and max return incorrect text type
Date
Msg-id 200701180902.l0I92CUw088927@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #2905: min and max return incorrect text type  (Bruce Momjian <bruce@momjian.us>)
List pgsql-bugs
The following bug has been logged online:

Bug reference:      2905
Logged by:          Adriaan van Os
Email address:      postgres@microbizz.nl
PostgreSQL version: 8.1.4
Operating system:   Mac OS X 10.4.6, intel
Description:        min and max return incorrect text type
Details:

Table 9-37. Aggregate Functions in the Postgres docs states that the return
type for min and max is the "same as argument type".

However, min(VARCHAROID) and max(VARCHAROID) return TEXTOID as a result
type.

pgsql-bugs by date:

Previous
From: "Izsak Rudolf"
Date:
Subject: BUG #2904: COPY FROM -> permisson denied
Next
From: Bruce Momjian
Date:
Subject: Re: BUG #2905: min and max return incorrect text type