Re: [HACKERS] standards question - Mailing list pgsql-hackers

From Kent S. Gordon
Subject Re: [HACKERS] standards question
Date
Msg-id 199803181928.NAA09130@soccer.inetspace.com
Whole thread Raw
In response to standards question  (Michael Meskes <meskes@topsystem.de>)
List pgsql-hackers
>>>>> "meskes" == Michael Meskes <meskes@topsystem.de> writes:

    > Is there a standard that defines how to return information from
    > an embedded SQL statement? ORACLE uses the sqlca. In particular
    > it uses sqlca.sqlerrd[2] for affected tuples. Is this correct
    > with the standards? How do other systems do that?

 sqlca is fairly standard in most databases.  It was the recommended method of
doing exception handling in the past.  The SQL2 (SQL/92) standard went
to using SQLSTATE variable and GET DIAGNOSISTICS statement.

    > Michael -- Dr. Michael Meskes, Project-Manager | topsystem
    > Systemhaus GmbH meskes@topsystem.de | Europark A2,
    > Adenauerstr. 20 meskes@debian.org | 52146 Wuerselen Go SF49ers!
    > Go Rhein Fire!  | Tel: (+49) 2405/4670-44 Use Debian GNU/Linux!
    > | Fax: (+49) 2405/4670-10

--
Kent S. Gordon
Architect
iNetSpace Co.
voice: (972)851-3494 fax:(972)702-0384 e-mail:kgor@inetspace.com


pgsql-hackers by date:

Previous
From: Maurice Gittens
Date:
Subject: Re: Buffer overruns with the Electric Fence debugging library
Next
From: Peter T Mount
Date:
Subject: Re: [QUESTIONS] Inheriting Triggers