pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Neil Conway <neilc@samurai.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Greg Stark <gsstark@mit.edu>
Cc: Dror Matalon <dror@zapatec.com>
Cc: PostgreSQL Performance <pgsql-performance@postgresql.org>
Subject: Re: Various performance questions
Date: Mon, 27 Oct 2003 13:54:50 -0500
Message-ID: <1067280889.460.67.camel@tokyo> (raw)
In-Reply-To: <1735.1067280732@sss.pgh.pa.us>
References: <20031026194449.GD2979@rlx11.zapatec.com>
	<87u15vxrue.fsf@stark.dyndns.tv>
	<1067269309.459.33.camel@tokyo>
	<877k2qy36r.fsf@stark.dyndns.tv>
	<1067280005.463.48.camel@tokyo>
	<1735.1067280732@sss.pgh.pa.us>

On Mon, 2003-10-27 at 13:52, Tom Lane wrote:
> Greg is correct.  int8 is a pass-by-reference datatype and so every
> aggregate state-transition function cycle requires at least one palloc
> (to return the function result).

Interesting. Is there a reason why int8 is pass-by-reference? (ISTM that
pass-by-value would be sufficient...)

Thanks for the information, Tom & Greg.

-Neil





view thread (23+ messages)  latest in thread

Message-ID: <1067280889.460.67.camel@tokyo>
Permalink:  ../1067280889.460.67.camel@tokyo/
Also on:    postgresql.org/message-id/1067280889.460.67.camel@tokyo

 · 

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: neilc@samurai.com, tgl@sss.pgh.pa.us, gsstark@mit.edu, dror@zapatec.com
  Subject: Re: Various performance questions
  In-Reply-To: <1067280889.460.67.camel@tokyo>

* 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