pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Record parents of triggers
4+ messages / 4 participants
[nested] [flat]

* pgsql: Record parents of triggers
@ 2020-02-27 16:23  Alvaro Herrera <alvherre@alvh.no-ip.org>
  0 siblings, 1 reply; 4+ messages in thread

From: Alvaro Herrera @ 2020-02-27 16:23 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Record parents of triggers

This let us get rid of a recently introduced ugly hack (commit
1fa846f1c9af).

Author: Álvaro Herrera
Reviewed-by: Amit Langote, Tom Lane
Discussion: https://postgr.es/m/20200217215641.GA29784@alvherre.pgsql

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b9b408c487244ef8e6d613d183c56eb2c62990b1

Modified Files
--------------
doc/src/sgml/catalogs.sgml                 | 11 ++++++
src/backend/commands/tablecmds.c           | 59 +++---------------------------
src/backend/commands/trigger.c             |  1 +
src/include/catalog/pg_trigger.h           |  1 +
src/test/regress/expected/sanity_check.out |  3 ++
src/test/regress/expected/triggers.out     |  9 +++++
src/test/regress/sql/triggers.sql          | 10 +++++
7 files changed, 40 insertions(+), 54 deletions(-)



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: pgsql: Record parents of triggers
@ 2020-02-27 20:15  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Alvaro Herrera <alvherre@alvh.no-ip.org>
  0 siblings, 1 reply; 4+ messages in thread

From: Tom Lane @ 2020-02-27 20:15 UTC (permalink / raw)
  To: Alvaro Herrera <alvherre@alvh.no-ip.org>; +Cc: pgsql-committers@lists.postgresql.org

Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> Modified Files
> --------------
> doc/src/sgml/catalogs.sgml                 | 11 ++++++
> src/backend/commands/tablecmds.c           | 59 +++---------------------------
> src/backend/commands/trigger.c             |  1 +
> src/include/catalog/pg_trigger.h           |  1 +
> src/test/regress/expected/sanity_check.out |  3 ++
> src/test/regress/expected/triggers.out     |  9 +++++
> src/test/regress/sql/triggers.sql          | 10 +++++

Shoulda been a catversion bump in that, no doubt?

			regards, tom lane





^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: pgsql: Record parents of triggers
@ 2020-02-27 20:23  Alvaro Herrera <alvherre@2ndquadrant.com>
  parent: Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 4+ messages in thread

From: Alvaro Herrera @ 2020-02-27 20:23 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-committers@lists.postgresql.org

On 2020-Feb-27, Tom Lane wrote:

> Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> > Modified Files
> > --------------
> > doc/src/sgml/catalogs.sgml                 | 11 ++++++
> > src/backend/commands/tablecmds.c           | 59 +++---------------------------
> > src/backend/commands/trigger.c             |  1 +
> > src/include/catalog/pg_trigger.h           |  1 +
> > src/test/regress/expected/sanity_check.out |  3 ++
> > src/test/regress/expected/triggers.out     |  9 +++++
> > src/test/regress/sql/triggers.sql          | 10 +++++
> 
> Shoulda been a catversion bump in that, no doubt?

Augh.  Yeah, will push one now.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services





^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: pgsql: Record parents of triggers
@ 2020-02-28 00:23  Michael Paquier <michael@paquier.xyz>
  parent: Alvaro Herrera <alvherre@2ndquadrant.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Michael Paquier @ 2020-02-28 00:23 UTC (permalink / raw)
  To: Alvaro Herrera <alvherre@2ndquadrant.com>; +Cc: Tom Lane <tgl@sss.pgh.pa.us>; pgsql-committers@lists.postgresql.org

On Thu, Feb 27, 2020 at 05:23:44PM -0300, Alvaro Herrera wrote:
> Augh.  Yeah, will push one now.

devario is complaining with a cache lookup error:
https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=devario&dt=2020-02-27%2014%3A18%3A34

--- /tmp/buildroot/HEAD/pgsql.build/src/test/regress/expected/triggers.out
2020-02-27 13:00:46.601532974 +0000
+++ /tmp/buildroot/HEAD/pgsql.build/src/bin/pg_upgrade/tmp_check/regress/results/triggers.out
2020-02-27 14:34:13.428974549 +0000
[...]
+ERROR:  cache lookup failed for function 22427
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2020-02-28 00:23 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-02-27 16:23 pgsql: Record parents of triggers Alvaro Herrera <alvherre@alvh.no-ip.org>
2020-02-27 20:15 ` Tom Lane <tgl@sss.pgh.pa.us>
2020-02-27 20:23   ` Alvaro Herrera <alvherre@2ndquadrant.com>
2020-02-28 00:23     ` Michael Paquier <michael@paquier.xyz>

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