View Single Post

   
  #1 (permalink)  
Old 04-09-2008, 09:27 AM
=?ISO-8859-1?Q?Ken=E9z_Attila?=
 
Posts: n/a
Default pgplsql and notifications

Hi all,

I would like to implement a function in plpgsql (or sql if it is possible)
that can say me if I had some notification of some listened table. I mean
something like this:

create procedure do_i_have_notifications(text) returns boolean as '
...
' language (plpg)sql;

(or:

create procedure received_notifications() returns setof text as '
...
' langugae (plpg)sql;
)

Is there a way to do this?

Thanks,

Attila Kenéz


---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Reply With Quote