Re: Custom type's modifiers

2024-06-27 Thread Marthin Laubscher
l be called. - Depending on what casts are defined, converting from the external string format to a value of MyType will be handled either by the input function or a cast function. By default (without any casts) only values recognised by input can be converted to MyType values. -- Thanks for your time – Marthin Laubscher

Re: Custom type's modifiers

2024-06-27 Thread Marthin Laubscher
cast is involved it goes via the external format as well, right? Are those sound assumptions to make or am I still way off base here? --- Thanks for your time - Marthin Laubscher

Custom type's modifiers

2024-06-27 Thread Marthin Laubscher
it is in there somewhere, how else would type like numeric and even varchar actually work (given that the VARSIZE of a varlena gives its actual size, not the maximum as given when the column or value was created)? Thank you in advance, Marthin Laubscher