pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
How to pass information back to client
2+ messages / 2 participants
[nested] [flat]

* How to pass information back to client
@ 2006-12-21 15:57  Chris Hoover <revoohc@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Chris Hoover @ 2006-12-21 15:57 UTC (permalink / raw)
  To: pgsql-odbc

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?

Thanks,

Chris

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: How to pass information back to client
@ 2006-12-21 16:03  Richard Broersma Jr <rabroersma@yahoo.com>
  parent: Chris Hoover <revoohc@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Richard Broersma Jr @ 2006-12-21 16:03 UTC (permalink / raw)
  To: Chris Hoover <revoohc@gmail.com>; pgsql-odbc

> 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.



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2006-12-21 16:03 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-12-21 15:57 How to pass information back to client Chris Hoover <revoohc@gmail.com>
2006-12-21 16:03 ` Richard Broersma Jr <rabroersma@yahoo.com>

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