News Feed

News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

A Primer On Postgres Exception Handling For The PHP Developer
November 07, 2007 @ 06:01:00

On PHPBuilder, Robert Bernier has started writing a series of articles on Postgres exception handling. In this one, covers the basics of exception handling for PHP developers.
Postgres exceptions are quite different from PHP exceptions; whereas PHP 5 uses the traditional "Try And Catch" format, Postgres exceptions can only be defined, executed and processed inside the body of the function that triggered the exception.
Also in the article he covers RAISE statements, how Postgres handles them, and gives good practices on how to use them effectively as a method of troubleshooting errors.
0 comments voice your opinion now!
postgres exception handling trycatch raise postgres exception handling trycatch raise

blog comments powered by Disqus

Similar Posts

PHPBuilder: A Primer On Postgres Exception Handling For The PHP Developer

Dallas PHP User\'s Group: PHP5 Exception Handling (presentation)

Adam Trachtenberg's Blog: PHP Trivia Contest: DOM + Default Namespaces

Christopher Kunz\'s Blog: Strict session handling in PHP

Matthew Weier O'Phinney: RESTful APIs with ZF2, Part 2

Community Events

Don't see your event here?
Let us know!

psr7 introduction series extension library development language unittest api laravel opinion interview voicesoftheelephpant podcast laravel5 wordpress release community conference framework

All content copyright, 2015 :: - Powered by the Solar PHP Framework