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

max(*)


  • From: Dennis Bjorklund <db(at)zigo(dot)dhs(dot)org>
  • To: pgsql-hackers(at)postgresql(dot)org
  • Subject: max(*)
  • Date: Fri, 26 May 2006 10:22:21 +0200
  • Message-id: <4476BABD(dot)4080100(at)zigo(dot)dhs(dot)org>

Shouldn't

  SELECT max(*) FROM foo;

give an error? Instead it's executed like

  SELECT max(1) FROM foo;

Just like count(*) is executed as count(1).

Something for the TODO or is it a feature?

ps. I know it's not an important case since no one sane would try to calculate max(*), but still.

/Dennis



Home | Main Index | Thread Index

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