Postgresql Driver Error Code. - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Postgresql Driver Error Code. (/showthread.php?tid=62863) |
Postgresql Driver Error Code. - GregNapilot - 09-03-2015 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? RE: Postgresql Driver Error Code. - Narf - 09-03-2015 The underlying PHP extension just doesn't provide an API for getting the error code, otherwise CI would return it. RE: Postgresql Driver Error Code. - GregNapilot - 09-03-2015 (09-03-2015, 07:25 AM)Narf Wrote: The underlying PHP extension just doesn't provide an API for getting the error code, otherwise CI would return it.Thanks i've found a workaround and used PDO driver instead will I encounter any trouble using it? |