Re: [PHP-DEV] PDO types

2005-02-20 Thread Wez Furlong
This is by design. PDO is deliberately very thin on type support, prefering to give the script author more control over type conversion by using the PHP built-in type juggling features. PgSQL returns other types because it is one of 2 drivers that gives you what it's got, rather than what you ask

[PHP-DEV] PDO types

2005-02-19 Thread Timm Friebe
Hi, while testing PDO I was astonished to see that all values (regardless of their types in the database) are returned as strings (in all extensions except for PgSQL). Why is that so? It _is_ quite inconsistent, isn't it? Wasn't PDO supposed to _unify_ the RDBMS access apis? -- Timm If it ain't