Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eJKtx-0002u4-F5 for pgsql-docs@arkaria.postgresql.org; Mon, 27 Nov 2017 15:00:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eJKtx-0001LA-25 for pgsql-docs@arkaria.postgresql.org; Mon, 27 Nov 2017 15:00:53 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eJKtw-0001L0-Sh for pgsql-docs@lists.postgresql.org; Mon, 27 Nov 2017 15:00:52 +0000 Received: from mail-lf0-x231.google.com ([2a00:1450:4010:c07::231]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1eJKtp-0005u4-LN for pgsql-docs@postgresql.org; Mon, 27 Nov 2017 15:00:52 +0000 Received: by mail-lf0-x231.google.com with SMTP id w23so33052347lfd.11 for ; Mon, 27 Nov 2017 07:00:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:subject:message-id:date:to:mime-version; bh=NAazX8//BTa+L+GMx+mN40kPN1yAvK/H+WO2jikESL8=; b=qzN1oZBA7e82A4luOs+4hPJJEz48WR3q9GtgdX8rMg1k07j1MKnhuvwcHwFtWHcREI BWLaLEul0VmVxQKehBcvk6Gs7209tQAckOx/I5xXRSaombACA7Eqrt20JTZD3ht4nyLB 1P5kxIV7eapD9a01xHbKtLYhsS/AWEwukCo5KIkSMtP5d2oRT2eaFFZg+fSJnq4AFoFz KrZHzgcmMWyakTjs8b4UX4rtjgeO/s7V3olzKdv4jMRyYYmsz8ccm5tRZkG3THNbKoVh HF0rZAtA2cGGnZ9zKWh0K6/+H05UGMrTuvXWkHVDEHTtEK0WPkXbq7AABQ+YxiyueA/1 jXXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:subject:message-id:date:to :mime-version; bh=NAazX8//BTa+L+GMx+mN40kPN1yAvK/H+WO2jikESL8=; b=iFG6CjeiljAeaB3lV2KFt9ZQ0mRRArXbBYH11q/+A31K3u0iqpFTZJ6VpYU8+KykBk Wgeo7/+UQZckY8hCCM/FdZI+8idwR7+hgIMAvIk4/KYz3q2vI14u3XUeIIVNI3/ZUe9q 0sOAGGAXyjX5NC30s/p+IAFRUqPumy+KCr9YW1SpCBrTaAOQZ/QPZf9I0FRG3hY8QjA0 VFS9QchWhfve7/3ySAc6zzo3+sIedibQdNWjDyHL+DlI4iY9Xoba9uNb3es7ZNF+PBwP /MeYf6YTlGkzqo+LMMhMtXWzjDh8IDej5VRI08eIPubw/epql2+bLxuxpRiJd0UDXRiq xesA== X-Gm-Message-State: AJaThX7xIDW9GyvCSuggI9IxHdcVv8YAAmYSopuUfYf8MkpMTyywQR5b AO8TNYmI8FATsoesK1jqchTHbhKhx64= X-Google-Smtp-Source: AGs4zMZ282GtCSfdv8kNXcN3jKxiBPHBNUESdjSVJfBJu94EiERI5SM9/CQQch0Wm/PQtiQChMqcrQ== X-Received: by 10.25.143.211 with SMTP id s80mr11540110lfk.85.1511794844687; Mon, 27 Nov 2017 07:00:44 -0800 (PST) Received: from [192.168.1.64] (c-c67ce055.027-294-73746f71.cust.bredbandsbolaget.se. [85.224.124.198]) by smtp.gmail.com with ESMTPSA id m95sm4864647lfi.76.2017.11.27.07.00.42 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 27 Nov 2017 07:00:43 -0800 (PST) Sender: Daniel Gustafson From: Daniel Gustafsson Content-Type: multipart/mixed; boundary="Apple-Mail=_657A7227-6A91-4BD2-A47B-AFF1790FC7C3" Subject: PARALLEL in old syntax for CREATE AGGREGATE Message-Id: <8400AFAE-4625-4F58-9A7A-0EF8BF2C9189@yesql.se> Date: Mon, 27 Nov 2017 16:00:42 +0100 To: pgsql-docs Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --Apple-Mail=_657A7227-6A91-4BD2-A47B-AFF1790FC7C3 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 When looking at review comments on one of my patches, I noticed that = commit 41ea0c23761 didn=E2=80=99t include the PARALLEL keyword for the old = style CREATE AGGREGATE syntax. Since it is supported, and commit 59b71c6fe6c use it = in a testcase, it seems reasonable to add something along the lines of the = attached patch to the docs. cheers ./daniel --Apple-Mail=_657A7227-6A91-4BD2-A47B-AFF1790FC7C3 Content-Disposition: attachment; filename=create_agg_parallel.patch Content-Type: application/octet-stream; name="create_agg_parallel.patch" Content-Transfer-Encoding: quoted-printable =46rom=202ed82ee3f3fa28bd69f2981730cf60d89c8f3867=20Mon=20Sep=2017=20= 00:00:00=202001=0AFrom:=20Daniel=20Gustafsson=20=0A= Date:=20Mon,=2027=20Nov=202017=2015:29:15=20+0100=0ASubject:=20[PATCH=20= 2/2]=20doc:=20add=20PARALLEL=20option=20to=20old=20syntax=20for=20CREATE=0A= =20AGGREGATE=0A=0AThe=20old=20pre-8.2=20syntax=20for=20CREATE=20= AGGREGATE=20also=20support=20PARALLEL,=0Aeven=20though=20it's=20required=20= to=20be=20quoted=20as=20PARALLEL=20is=20an=20unreserved=0Akeyword.=0A---=0A= =20doc/src/sgml/ref/create_aggregate.sgml=20|=205=20+++++=0A=201=20file=20= changed,=205=20insertions(+)=0A=0Adiff=20--git=20= a/doc/src/sgml/ref/create_aggregate.sgml=20= b/doc/src/sgml/ref/create_aggregate.sgml=0Aindex=20= a4aaae876e..d813ec41e6=20100644=0A---=20= a/doc/src/sgml/ref/create_aggregate.sgml=0A+++=20= b/doc/src/sgml/ref/create_aggregate.sgml=0A@@=20-80,6=20+80,7=20@@=20= CREATE=20AGGREGATE=20name= =20(=0A=20=20=20=20=20[=20,=20MFINALFUNC_MODIFY=20=3D=20{=20READ_ONLY=20= |=20SHARABLE=20|=20READ_WRITE=20}=20]=0A=20=20=20=20=20[=20,=20MINITCOND=20= =3D=20minitial_condition=20= ]=0A=20=20=20=20=20[=20,=20SORTOP=20=3D=20sort_operator=20]=0A+=20=20=20=20[=20,=20= "PARALLEL"=20=3D=20{=20SAFE=20|=20RESTRICTED=20|=20UNSAFE=20}=20]=0A=20)=0A= =20=0A=20=20=0A@@=20-630,6=20+631,10=20@@=20= SELECT=20col=20FROM=20tab=20ORDER=20BY=20col=20USING=20sortop=20LIMIT=20= 1;=0A=20=20=20=20=20=20=20functions=20are=20not=20consulted=20by=20the=20= planner,=20only=20the=20marking=20of=20the=0A=20=20=20=20=20=20=20= aggregate=20itself.=0A=20=20=20=20=20=20=0A+=20=20=20=20=20=0A= +=20=20=20=20=20=20=20Note=20that=20when=20using=20the=20old=20syntax,=20= "PARALLEL"=20must=0A+=20=20=20=20=20=20=20be=20= quoted.=0A+=20=20=20=20=20=0A=20=20=20=20=20=0A=20=20=20= =20=0A=20=0A--=20=0A2.14.1.145.gb3622a4ee=0A=0A= --Apple-Mail=_657A7227-6A91-4BD2-A47B-AFF1790FC7C3 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii --Apple-Mail=_657A7227-6A91-4BD2-A47B-AFF1790FC7C3--