Re: Silly Newbie question

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Aaron Spiteri <azzmosphere(at)hotmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Silly Newbie question
Date: 2008-02-28 14:21:04
Message-ID: 47C6C350.50503@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Aaron Spiteri wrote:
> To all,
>
> I am brand new to writing functions for PostgreSQL and understand that
> this question has been asked one hundred and one times. Please be
> patient with me, I do learn quickly.
>
> My question is:
>
> I wish to create a an aggregate function and have read and re-read the
> 34.10 section of the 8.3 documentation as well as scanned through the
> fmgr header file. My problem is that I know certain structures are
> created with the idea of retaining information for use in the state
> function but I don't really understand which structures I should be
> looking at and how to initilize them (if needed) in the sfunc. Any
> pushes in the right direction would be very appreciated, I am using
> the Version 1 calling convention.
>
>
> <http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fsecure%2Dau%2Eimrworldwide%2Ecom%2Fcgi%2Dbin%2Fa%2Fci%5F450304%2Fet%5F2%2Fcg%5F801459%2Fpi%5F1004813%2Fai%5F859641&_t=762955845&_r=tig_OCT07&_m=EXT>

This is not the correct forum for such questions. Please ask again on
pgsql-general. pgsql-hackers is about development of postgresql itself.

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Martijn van Oosterhout 2008-02-28 14:39:53 Re: Producer/Consumer Issues in the COPY across network
Previous Message Jorgen Austvik - Sun Norway 2008-02-28 13:45:05 Re: Buildfarm member gypsy_moth seems not to like alignment patch