Dear Mage ,


I'm wondering why pgsql doesn't support boolean typecasts like select true::int;
Many client applications including php assign 1 to true and 0 to false

This was a issue PHP < 4.2 + < PostgreSQL 7.3.x and supports it till now for backward compatibility


--
Best Regards,
Vishal Kashyap
Director / Lead Developer,
Sai Hertz And Control Systems Pvt Ltd,
http://saihertz.rediffblogs.com
Jabber IM: [EMAIL PROTECTED]
ICQ :      264360076
Yahoo  IM: [EMAIL PROTECTED]
-----------------------------------------------
You yourself, as much as anybody in the entire
universe, deserve your love and affection.
- Buddha
---------------
pgsql=# select marital_status from vishals_life;

marital_status
------------------
Single not looking

1 Row(s) affected

                   ___
                  //\\\
                 ( 0_0 )
----------------o0o-----o0o---------------------


---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Reply via email to