![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
CREATE CAST (aaa AS text) WITHOUT FUNCTION AS IMPLICIT; CREATE CAST (text AS aaa) WITHOUT FUNCTION AS IMPLICIT; trash=# select ('as' || 'df')::aaa; aaa ------ asdf (1 row) In the last case, function aaa_in() wasn't invoked at all and we obtained the sting of type aaa with length > 3... |
![]() |
| Thread Tools | |
| Display Modes | |
| |