Gregory Stark <[EMAIL PROTECTED]> writes:
> Why do we need assignment casts from cidr, inet, bool, and xml to
> text?

Because these cast conversion functions act differently from the datatype
output functions, eg

regression=# select true;
 bool 
------
 t
(1 row)

regression=# select true::text;
 text 
------
 true
(1 row)


                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

               http://archives.postgresql.org

Reply via email to