pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: lukas.eder@gmail.com
Subject: BUG #15344: pg_proc.proisagg was removed incompatibly in PostgreSQL 11
Date: Tue, 21 Aug 2018 14:23:45 +0000
Message-ID: <153486142520.1370.12035528830969343708@wrigleys.postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      15344
Logged by:          Lukas Eder
Email address:      lukas.eder@gmail.com
PostgreSQL version: 11beta2
Operating system:   Debian
Description:        

When comparing the current version (10) [1] and the developer version (11)
[2] of the pg_proc documentation, then it can be seen that the
pg_proc.proisagg column was removed backwards incompatibly. The
documentation states for [1]:

> The table contains data for aggregate functions as well as plain
functions. If proisagg is true, there should be a matching row in
pg_aggregate.

And for [2]:

> If prokind indicates that the entry is for an aggregate function, there
should be a matching row in pg_aggregate.

While I appreciate that an encoded enumeration is more powerful than a
simple boolean value, I think it would have been better if this change had
been done backwards compatibly. For example, there could still be a
pg_proc.proisagg column that defaults to (prokind = 'a').

[1] https://www.postgresql.org/docs/10/static/catalog-pg-proc.html
[2] https://www.postgresql.org/docs/11/static/catalog-pg-proc.html



view thread (7+ messages)  latest in thread

Message-ID: <153486142520.1370.12035528830969343708@wrigleys.postgresql.org>
Permalink:  ../153486142520.1370.12035528830969343708@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/153486142520.1370.12035528830969343708@wrigleys.postgresql.org

 · 

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-bugs@postgresql.org
  Cc: noreply@postgresql.org, lukas.eder@gmail.com
  Subject: Re: BUG #15344: pg_proc.proisagg was removed incompatibly in PostgreSQL 11
  In-Reply-To: <153486142520.1370.12035528830969343708@wrigleys.postgresql.org>
  References: <153486142520.1370.12035528830969343708@wrigleys.postgresql.org>

* 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