Modify standard PG type casts?

From: Łukasz Dejneka <l(dot)dejneka(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Modify standard PG type casts?
Date: 2010-04-08 13:17:19
Message-ID: z2l4df5da451004080617naef2ce50i23093d450897f92e@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-general by date

  From Date Subject
Next Message Yeb Havinga 2010-04-08 13:22:14 Re: [offtopic] How do you name a table...
Previous Message Ian Barwick 2010-04-08 13:16:57 Re: [offtopic] How do you name a table...