Can I User @@error of MS SQL in postgresql

From: "annachau" <annachau(at)hongkong(dot)com>
To: "Pgsql - General" <pgsql-general(at)postgresql(dot)org>
Subject: Can I User @@error of MS SQL in postgresql
Date: 2002-12-06 07:13:17
Message-ID: 1039158797.26492.annachau@hongkong.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I have a plpgsql function to insert a record into a table. In MS SQL, I can user @@error to check the insert action is completed or not. What can I do in postgresql?
Thanks a lot.

Browse pgsql-general by date

  From Date Subject
Next Message Tommi Maekitalo 2002-12-06 07:47:54 Re: pg_dump 2 gig file size limit on ext3
Previous Message Andrew 2002-12-06 06:09:18 Asking for password at startup