Modify standard PG type casts? - Mailing list pgsql-general

From Łukasz Dejneka
Subject Modify standard PG type casts?
Date
Msg-id z2l4df5da451004080617naef2ce50i23093d450897f92e@mail.gmail.com
Whole thread Raw
List pgsql-general
Hi all

Is it possible to modify a type cast which is a standard cast in
Postgres? I need to modify the ::TSQuery type cast, so it points to my
own function. I would preffer not to create additional custom user
cast.

Manual only mentions about creating and dropping custom user casts via
SQL commands, I tried to locate the sourcecode which defines them, but
was unsuccessful... Maybe someone knows where it sits and could point
me to the right source file.

Is creating a custom cast the only option?

Thanks in advance

pgsql-general by date:

Previous
From: Ian Barwick
Date:
Subject: Re: [offtopic] How do you name a table...
Next
From: Yeb Havinga
Date:
Subject: Re: [offtopic] How do you name a table...