pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Giorgio Valoti <giorgio_v@mac.com>
To: pgsql-admin@postgresql.org
Subject: Re: [Fwd: performance: view or function?]
Date: Fri, 9 May 2008 08:23:30 +0200
Message-ID: <1EB0E569-C6E4-462C-9B93-0C178CAFA19F@mac.com> (raw)
In-Reply-To: <4822D2E6.2090004@nsoft.lt>
References: <4822D2E6.2090004@nsoft.lt>


On 08/mag/08, at 12:16, Julius Tuskenis wrote:
> Hello,
>
> I have one question - what is the difference between the view and a  
> function returning a data set? I mean the performance. Which is  
> better to use? If its the same, I would use functions, because I  
> could use other languages not just SQL to get the results I want.
>

Take a look at this thread: <http://archives.postgresql.org/pgsql- 
performance/2008-03/msg00428.php>


Hope this helps
--
Giorgio Valoti









view thread (4+ messages)

Message-ID: <1EB0E569-C6E4-462C-9B93-0C178CAFA19F@mac.com>
Permalink:  ../1EB0E569-C6E4-462C-9B93-0C178CAFA19F@mac.com/
Also on:    postgresql.org/message-id/1EB0E569-C6E4-462C-9B93-0C178CAFA19F@mac.com

 · 

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-admin@postgresql.org
  Cc: giorgio_v@mac.com
  Subject: Re: [Fwd: performance: view or function?]
  In-Reply-To: <1EB0E569-C6E4-462C-9B93-0C178CAFA19F@mac.com>

* 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