pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Markus Schaber <schabi@logix-tt.com>
Cc: PostgreSQL SQL List <pgsql-sql@postgresql.org>
Subject: Re: Aggregates with internal state type?
Date: Wed, 13 Sep 2006 17:25:17 -0400
Message-ID: <17004.1158182717@sss.pgh.pa.us> (raw)
In-Reply-To: <450875FC.9040907@logix-tt.com>
References: <45086B40.3000200@logix-tt.com>
	<16722.1158181987@sss.pgh.pa.us>
	<450875FC.9040907@logix-tt.com>

Markus Schaber <schabi@logix-tt.com> writes:
> Ah, I see. So there's no possibility to pass some void* kind of
> intermediate data, I have to craft at least a dummy PostgreSQL datatype
> for it.

Right.  My first thought would be to use bytea as the declared type ---
doesn't put much burden on you except to have a length word at the front.

			regards, tom lane



view thread (6+ messages)  latest in thread

Message-ID: <17004.1158182717@sss.pgh.pa.us>
Permalink:  ../17004.1158182717@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/17004.1158182717@sss.pgh.pa.us

 · 

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-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, schabi@logix-tt.com
  Subject: Re: Aggregates with internal state type?
  In-Reply-To: <17004.1158182717@sss.pgh.pa.us>

* 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