avinash Thakur
avinash Thakur

Reputation: 13

listen/notify using pg_notify(text,text)

Can I pass URL in pg_notify()?

My intent is to send data from one database to other database.

Upvotes: 0

Views: 300

Answers (1)

Laurenz Albe
Laurenz Albe

Reputation: 246133

You can pass any string you like as second parameter to pg_notify, but notification does not work across databases.

Only users connected to the same database will receive the notification.

Upvotes: 1

Related Questions