Re: Trigger function, C, lookup of attribute type - Mailing list pgsql-general

From Paul
Subject Re: Trigger function, C, lookup of attribute type
Date
Msg-id 56701335.60407@abelian.netcom.co.uk
Whole thread Raw
In response to Trigger function, C, lookup of attribute type  (Paul <Paul@abelian.netcom.co.uk>)
List pgsql-general
I found the solution: SPI_gettype() does the job fine.

I was led to that by rummaging through the slony source
code to see how they handle the triggers in C.

--
Paul Nicholson
--


pgsql-general by date:

Previous
From: Edson Richter
Date:
Subject: Re: Overhead changing varchar(2000) to text
Next
From: Dmitry Savenko
Date:
Subject: How to get the size of JSONB in bytes?