Return-Path: owner-postman Received: from localhost.Berkeley.EDU (localhost.Berkeley.EDU [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with SMTP id IAA18627 for postgres-redist; Thu, 30 Jun 1994 08:16:11 -0700 Resent-From: POSTGRES mailing list Resent-Message-Id: <199406301516.IAA18627@nobozo.CS.Berkeley.EDU> X-Authentication-Warning: nobozo.CS.Berkeley.EDU: Host localhost.Berkeley.EDU didn't use HELO protocol Sender: owner-postman@postgres.Berkeley.EDU X-Return-Path: owner-postman Received: from uu7.psi.com (uu7.psi.com [38.145.204.6]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with SMTP id IAA18617 for ; Thu, 30 Jun 1994 08:16:10 -0700 Received: from gate2.gdc.com by uu7.psi.com (5.65b/4.0.071791-PSI/PSINet) via SMTP; id AA00900 for postgres@postgres.Berkeley.EDU; Thu, 30 Jun 94 11:16:37 -0400 Received: from mailhost.gdc.com (esun19) by gdc.com (4.1/GDC.-C) via SMTP id AA14468; Thu, 30 Jun 94 11:16:03 EDT Received: from esun44.gdc.com by mailhost.gdc.com (4.1/GDC-eInternal/A-) id AA19146; Thu, 30 Jun 94 11:16:02 EDT Date: Thu, 30 Jun 94 11:16:02 EDT From: brunner@gdc.com (Paul Brunner) Message-Id: <9406301516.AA19146@mailhost.gdc.com> To: postgres@postgres.Berkeley.EDU Subject: Handling of error messages Resent-To: postgres-redist@postgres.Berkeley.EDU Resent-Date: Thu, 30 Jun 94 08:16:11 -0700 Resent-XMts: smtp Is there a relation somewhere in the POSTGRES data area where all of the error messages are stored? Or is there one source file or a very small set of source files where the possible error messages are kept? I am interested in hearing how people handle error processing due to the fact that only the PQexec and PQfn calls return an explicit error indication. If one wants to handle specific errors in different ways, one has to parse the textual error message to determine the exact kind of error. This is not as easy to process as if the functions returned specific numerical error codes, for example. ============================================================================== To add/remove yourself to/from the POSTGRES mailing list: send mail with the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU" If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and a human will deal with it. DO NOT post to the "postgres" mailing list. ==============================================================================