Re: Select max(primary_key) taking a long time - Mailing list pgsql-general

From Tom Lane
Subject Re: Select max(primary_key) taking a long time
Date
Msg-id 19953.1274455661@sss.pgh.pa.us
Whole thread Raw
In response to Select max(primary_key) taking a long time  (Francisco Reyes <lists@stringsutils.com>)
List pgsql-general
Francisco Reyes <lists@stringsutils.com> writes:
> I am trying to do
> select max(primary_key) from some_table;

Are there a whole lot of nulls in that column?

            regards, tom lane

pgsql-general by date:

Previous
From: christophe.andre@elsys-design.com
Date:
Subject: Is postgres installed?
Next
From: "Rob Richardson"
Date:
Subject: Re: Is postgres installed?