我没有足够的代表在评论部分回答,所以,我会给予@a_horse_with_no_name的答案的原因.在官方文档中,他们说你应该像他/她描述的那样处理它:https://www.postgresql.org/docs/15/sql-notify.html The “payload” string to be communicated along with the notification. This must be specified as a simple string literal. In the default configuration it must be shorter than 8000 bytes. (If binary data or large amounts of information need to be communicated, it's best to put it in a database table and send the key of the record.) 您可以在有效载荷的“参数”下找到它
1条答案
按热度按时间puruo6ea1#
我没有足够的代表在评论部分回答,所以,我会给予@a_horse_with_no_name的答案的原因.在官方文档中,他们说你应该像他/她描述的那样处理它:https://www.postgresql.org/docs/15/sql-notify.html
The “payload” string to be communicated along with the notification. This must be specified as a simple string literal. In the default configuration it must be shorter than 8000 bytes. (If binary data or large amounts of information need to be communicated, it's best to put it in a database table and send the key of the record.)
您可以在有效载荷的“参数”下找到它