Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bFpAu-0004Fy-To for pgsql-hackers@arkaria.postgresql.org; Wed, 22 Jun 2016 20:55:05 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bFpAu-0007iB-AF for pgsql-hackers@arkaria.postgresql.org; Wed, 22 Jun 2016 20:55:04 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bFp9Z-0006Ec-5k for pgsql-hackers@postgresql.org; Wed, 22 Jun 2016 20:53:41 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bFp9X-0001Q5-1B for pgsql-hackers@postgresql.org; Wed, 22 Jun 2016 20:53:40 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u5MKraiQ002176; Wed, 22 Jun 2016 16:53:36 -0400 From: Tom Lane To: David Rowley cc: Robert Haas , "pgsql-hackers@postgresql.org" Subject: Re: Parallelized polymorphic aggs, and aggtype vs aggoutputtype In-reply-to: <2675.1466613997@sss.pgh.pa.us> References: <8229.1466109074@sss.pgh.pa.us> <14538.1466116810@sss.pgh.pa.us> <22037.1466129876@sss.pgh.pa.us> <27247.1466185504@sss.pgh.pa.us> <2675.1466613997@sss.pgh.pa.us> Comments: In-reply-to Tom Lane message dated "Wed, 22 Jun 2016 12:46:37 -0400" Date: Wed, 22 Jun 2016 16:53:36 -0400 Message-ID: <2175.1466628816@sss.pgh.pa.us> X-Pg-Spam-Score: -3.3 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org I wrote: > David Rowley 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