home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.os.vms      DEC's VAX* line of computers & VMS.      264,096 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 262,839 of 264,096   
   Lawrence D'Oliveiro to All   
   Re: VMS x86-64 database server   
   10 Jul 25 23:58:00   
   
   From: ldo@nz.invalid   
      
   On Thu, 10 Jul 2025 19:05:42 -0400, Arne Vajhøj wrote:   
      
   > If the PHP developer configure the database connection to not throw   
   > exceptions because the developer want to check return status, then that   
   > must be respected.   
      
   That’s a dumb way of doing it. Most of the errors from an SQL call   
   indicate program bugs. The only exception I have come across is   
   IntegrityError, when used to indicate an attempt to add a record with a   
   duplicate value for a key that must be unique. That can sometimes be   
   usefully caught and reported back to the user as an error with the data   
   that they are trying to enter.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca