pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Broersma Jr <rabroersma@yahoo.com>
To: Chris Hoover <revoohc@gmail.com>
To: pgsql-odbc@postgresql.org
Subject: Re: How to pass information back to client
Date: Thu, 21 Dec 2006 08:03:16 -0800 (PST)
Message-ID: <637971.84703.qm@web31802.mail.mud.yahoo.com> (raw)
In-Reply-To: <1d219a6f0612210757r19ab3024v6432b504a66d0f9a@mail.gmail.com>

> Is there anyway in PostgreSQL to have a function pass information back to
> the client via the ODBC driver?
> 
> I would like to have some of my trigger functions and regular functions be
> able to pass specific error messages back to the client.  Is this possible?
> If so, how do you do it.  If not, is it a planned enhancement?

Raising and error or notice doesn't work?
http://www.postgresql.org/docs/8.2/interactive/plpgsql-errors-and-messages.html

Regards,

Richard Broersma Jr.



view thread (2+ messages)

Message-ID: <637971.84703.qm@web31802.mail.mud.yahoo.com>
Permalink:  ../637971.84703.qm@web31802.mail.mud.yahoo.com/
Also on:    postgresql.org/message-id/637971.84703.qm@web31802.mail.mud.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: rabroersma@yahoo.com, revoohc@gmail.com
  Subject: Re: How to pass information back to client
  In-Reply-To: <637971.84703.qm@web31802.mail.mud.yahoo.com>
  References: <1d219a6f0612210757r19ab3024v6432b504a66d0f9a@mail.gmail.com> <637971.84703.qm@web31802.mail.mud.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox