Postgresql Driver Error Code. |
09-03-2015, 03:33 AM
(This post was last modified: 09-03-2015, 05:46 PM by GregNapilot. Edit Reason: answer )
Is there a work around for me to get the error code for postgresql.
I notice that the Drivers error array returns empty string on "code" index and it uses pg_query() to execute the query that's is why it cant really return an error code. Thanks i've found a workaround and used PDO driver instead will I encounter any trouble using it?
The underlying PHP extension just doesn't provide an API for getting the error code, otherwise CI would return it.
|
Welcome Guest, Not a member yet? Register Sign In |