ivan_14_32 <ivan_14_32(at)mail(dot)ru> writes:
> Q: How can I send tuple id (integer primary key) via notify using Rule?
You can't --- NOTIFY doesn't take variables in its parameters.
(That's a general property of utility commands, not just NOTIFY.)
Use the pg_notify() function, instead.
regards, tom lane