Re: DUPS in tables columns ERROR: column ". . . " does not exist

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Albretch Mueller" <lbrtchx(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: DUPS in tables columns ERROR: column ". . . " does not exist
Date: 2008-08-30 17:05:01
Message-ID: 29802.1220115901@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Albretch Mueller" <lbrtchx(at)gmail(dot)com> writes:
> thank you Stefan your SQL worked, but still; I am just asking and my
> programming bias will certainly show, but aren't you effectivly
> "calling" count on the table three times if you go:

The system is smart enough to only do the count() once.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Matthew Dennis 2008-08-30 17:27:32 Re: indexes on functions and create or replace function
Previous Message Albretch Mueller 2008-08-30 16:58:06 Re: DUPS in tables columns ERROR: column ". . . " does not exist