Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: BUG #4083: Return type of MAX and MIN of a VARCHAR column is TEXT


  • From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
  • To: "Pedro Gimeno" <pgsql-001(at)personal(dot)formauri(dot)es>
  • Cc: pgsql-bugs(at)postgresql(dot)org
  • Subject: Re: BUG #4083: Return type of MAX and MIN of a VARCHAR column is TEXT
  • Date: Tue, 01 Apr 2008 14:09:59 -0400
  • Message-id: <11830(dot)1207073399(at)sss(dot)pgh(dot)pa(dot)us>

"Pedro Gimeno" <pgsql-001(at)personal(dot)formauri(dot)es> writes:
> Description:        Return type of MAX and MIN of a VARCHAR column is TEXT

This is not a bug.  Most if not all operations with varchar will return
text --- it doesn't have its own operators.

> The last query's return types are both TEXT, which in Zeos are not treated
> in the same way as varchar.

I think you need to file a bug with Zeos to fix whatever their problem
is with text.

			regards, tom lane



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group