pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Reference tables in triggers are supported in 10
2+ messages / 2 participants
[nested] [flat]

* Reference tables in triggers are supported in 10
@ 2019-09-06 14:47  PG Doc comments form <noreply@postgresql.org>
  0 siblings, 1 reply; 2+ messages in thread

From: PG Doc comments form @ 2019-09-06 14:47 UTC (permalink / raw)
  To: pgsql-docs@lists.postgresql.org; +Cc: jgiaco@fanatics.com

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/10/infoschema-triggers.html
Description:

The documentation states the following:
action_reference_old_table	sql_identifier	Applies to a feature not available
in PostgreSQL
action_reference_new_table	sql_identifier	Applies to a feature not available
in PostgreSQL
action_reference_old_row	sql_identifier	Applies to a feature not available
in PostgreSQL
action_reference_new_row	sql_identifier	Applies to a feature not available
in PostgreSQL

...but REFERENCING OLD/NEW TABLE AS is valid in postgres 10.  Why does the
infoschema not store this information.  I believe this is causing issues in
3rd party tools (DataGrip specifically) that probably rely on
information_schema to generate triggers and omit this key information. I
dont think this is a documention bug as much as a bug in postgres not
storing the information in information_schema.


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

* Re: Reference tables in triggers are supported in 10
@ 2019-09-09 17:34  Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
  parent: PG Doc comments form <noreply@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Eisentraut @ 2019-09-09 17:34 UTC (permalink / raw)
  To: jgiaco@fanatics.com; pgsql-docs@lists.postgresql.org

On 2019-09-06 16:47, PG Doc comments form wrote:
> Page: https://www.postgresql.org/docs/10/infoschema-triggers.html
> Description:
> 
> The documentation states the following:
> action_reference_old_table	sql_identifier	Applies to a feature not available
> in PostgreSQL
> action_reference_new_table	sql_identifier	Applies to a feature not available
> in PostgreSQL
> action_reference_old_row	sql_identifier	Applies to a feature not available
> in PostgreSQL
> action_reference_new_row	sql_identifier	Applies to a feature not available
> in PostgreSQL
> 
> ...but REFERENCING OLD/NEW TABLE AS is valid in postgres 10.  Why does the
> infoschema not store this information.

The information schema changes are in PostgreSQL 11.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services





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


end of thread, other threads:[~2019-09-09 17:34 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-09-06 14:47 Reference tables in triggers are supported in 10 PG Doc comments form <noreply@postgresql.org>
2019-09-09 17:34 ` Peter Eisentraut <peter.eisentraut@2ndquadrant.com>

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