pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: David Rowley <david.rowley@2ndquadrant.com>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: Parallelized polymorphic aggs, and aggtype vs aggoutputtype
Date: Wed, 22 Jun 2016 16:53:36 -0400
Message-ID: <2175.1466628816@sss.pgh.pa.us> (raw)
In-Reply-To: <2675.1466613997@sss.pgh.pa.us>
References: <8229.1466109074@sss.pgh.pa.us>
	<CA+Tgmob7c6e7s4KOYsgrSk85D+pWmGrWMiRpqd0FK6RaXCYGxQ@mail.gmail.com>
	<14538.1466116810@sss.pgh.pa.us>
	<CA+TgmoaAjwaCRBe8w2UbpZD45uQ+TYwbLW7Dzf-e=VAq4m8q2w@mail.gmail.com>
	<22037.1466129876@sss.pgh.pa.us>
	<27247.1466185504@sss.pgh.pa.us>
	<CAKJS1f8cVf6ZuKdsJ=MLC-XiagEjXmOksfNOhuwYa8pBiNBOKA@mail.gmail.com>
	<CAKJS1f-Eg1Kk69gdnkUGdSEE_25DcyRXUdTNNdyHqxPWp00rSw@mail.gmail.com>
	<2675.1466613997@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

I wrote:
> David Rowley <david.rowley@2ndquadrant.com> writes:
>> I've gone and implemented the dummy argument approach for
>> deserialization functions.

> How do you feel about the further idea of locking down the signatures
> to be exactly "serialize(internal) returns bytea" and "deserialize(bytea,
> internal) returns internal", and removing pg_aggregate.aggserialtype?
> I don't see very much value in allowing any other nominal transmission
> type besides bytea; and the less flexibility in these function signatures,
> the less chance of confusion/misuse of other internal-related functions.

Not hearing any objections, pushed that way.

			regards, tom lane


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (25+ messages)  latest in thread

Message-ID: <2175.1466628816@sss.pgh.pa.us>
Permalink:  ../2175.1466628816@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2175.1466628816@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, david.rowley@2ndquadrant.com, robertmhaas@gmail.com
  Subject: Re: Parallelized polymorphic aggs, and aggtype vs aggoutputtype
  In-Reply-To: <2175.1466628816@sss.pgh.pa.us>
  References: <8229.1466109074@sss.pgh.pa.us> <CA+Tgmob7c6e7s4KOYsgrSk85D+pWmGrWMiRpqd0FK6RaXCYGxQ@mail.gmail.com> <14538.1466116810@sss.pgh.pa.us> <CA+TgmoaAjwaCRBe8w2UbpZD45uQ+TYwbLW7Dzf-e=VAq4m8q2w@mail.gmail.com> <22037.1466129876@sss.pgh.pa.us> <27247.1466185504@sss.pgh.pa.us> <CAKJS1f8cVf6ZuKdsJ=MLC-XiagEjXmOksfNOhuwYa8pBiNBOKA@mail.gmail.com> <CAKJS1f-Eg1Kk69gdnkUGdSEE_25DcyRXUdTNNdyHqxPWp00rSw@mail.gmail.com> <2675.1466613997@sss.pgh.pa.us> <2175.1466628816@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