Re: Command Triggers, v16 - Mailing list pgsql-hackers

From Christian Ullrich
Subject Re: Command Triggers, v16
Date
Msg-id 4F62FA29.30006@chrullrich.net
Whole thread Raw
In response to Re: Command Triggers, v16  (Thom Brown <thombrown@gmail.com>)
List pgsql-hackers
* Thom Brown wrote:

> I don’t understand how functions can return a type of “command
> trigger”.  This certainly works, but I’ve never seen a type consisting
> of more than one word.  Could you explain this for me?  This is also

postgres=> with types (name) as
postgres-> (select format_type(oid, NULL) from pg_type)
postgres-> select name from types where name like '% %'
postgres-> and not name like '%[]';            name
----------------------------- double precision character varying time without time zone timestamp without time zone
timestampwith time zone time with time zone bit varying
 
(7 Zeilen)

I think these are all specially handled in the parser.

-- 
Christian Ullrich





pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Command Triggers, v16
Next
From: Thom Brown
Date:
Subject: Re: Command Triggers, v16