pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: DAVID ROTH <adaptron@comcast.net>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Trigger Function question
Date: Mon, 10 Jul 2023 14:20:30 -0400 (EDT)
Message-ID: <1875078143.170839.1689013230630@connect.xfinity.com> (raw)

In a trigger function, is there a way to get a list of all of the columns in the triggering table?
 
I want to be able to use a single trigger function with multiple tables.
 
Thanks
 

view thread (12+ messages)  latest in thread

Message-ID: <1875078143.170839.1689013230630@connect.xfinity.com>
Permalink:  ../1875078143.170839.1689013230630@connect.xfinity.com/
Also on:    postgresql.org/message-id/1875078143.170839.1689013230630@connect.xfinity.com

 · 

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-general@postgresql.org
  Cc: adaptron@comcast.net
  Subject: Re: Trigger Function question
  In-Reply-To: <1875078143.170839.1689013230630@connect.xfinity.com>
  References: <1875078143.170839.1689013230630@connect.xfinity.com>

* 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