pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andreas Kretschmer <akretschmer@spamfence.net>
To: pgsql-performance@postgresql.org
Subject: Re: Views and functions returning sets of records
Date: Sat, 22 Mar 2008 17:55:51 +0100
Message-ID: <20080322165551.GA19460@KanotixBox> (raw)
In-Reply-To: <29705.1206203639@sss.pgh.pa.us>
References: <6A737ADC-2A11-4A01-8ACE-C439E4297273@mac.com>
	<29705.1206203639@sss.pgh.pa.us>

Tom Lane <tgl@sss.pgh.pa.us> schrieb:

> Giorgio Valoti <giorgio_v@mac.com> writes:
> > maybe it’s a naive question but I was wondering if there is any  
> > difference, from a performance point of view, between a view and a  
> > function performing the same task,
> 
> Yes.  Usually the view will win.

*smile*


Andreas
-- 
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect.                              (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly."    (unknow)
Kaufbach, Saxony, Germany, Europe.              N 51.05082°, E 13.56889°



view thread (8+ messages)  latest in thread

Message-ID: <20080322165551.GA19460@KanotixBox>
Permalink:  ../20080322165551.GA19460@KanotixBox/
Also on:    postgresql.org/message-id/20080322165551.GA19460@KanotixBox

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: akretschmer@spamfence.net
  Subject: Re: Views and functions returning sets of records
  In-Reply-To: <20080322165551.GA19460@KanotixBox>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox