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

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 (view raw or flat)
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

pgsql-general by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group