Re: Executing more than one function. - Mailing list pgsql-general

From Giuseppe Sacco
Subject Re: Executing more than one function.
Date
Msg-id 1314117755.27636.3.camel@scarafaggio
Whole thread Raw
In response to Executing more than one function.  (f vf <fvalentef@gmail.com>)
List pgsql-general
Il giorno mar, 23/08/2011 alle 16.30 +0100, f vf ha scritto:
[...]

> it takes more time than if I execute one function at the time and sum
> the execution times of each one:
>
>
> BEGIN;
> SELECT functionX();
> COMMIT;
>
You should probably accout a time for the COMMIT operation. In one case
you commit only once, while in other case you commit three times.

Bye,
Giuseppe



pgsql-general by date:

Previous
From: f vf
Date:
Subject: Executing more than one function.
Next
From: Ray Stell
Date:
Subject: Re: Wal archiving and streaming replication