ion then Postgres will need to generate a truncation
warning so it must know the TYPMOD of the column to do so.
Regards
Garfield
From: Tom Lane
Date: Friday, November 3, 2023 at 12:08 PM
To: Garfield Lewis
Cc: pgsql-generallists.postgresql.org
Subject: [EXT] Re: How to tell which state
Garfield Lewis writes:
> If I create a C function, is there a way from within that function for me to:
> 1. know whether it is being triggered by an INSERT or UPDATE statement
It might not be any of those. But if what you want is the most closely
nested SQL action, inspecting the ActivePortal