Can't immediately receive multiple notifications in Npgsql
问题 Today i wrote the following code that works with PostgreSQL C# library named Npgsql: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Npgsql; namespace PostgreSQLNotificationsTest { class Program { static void Main(string[] args) { using (var conn = new NpgsqlConnection("Server=127.0.0.1;Port=5432;User Id=postgres;Password=my_password;Database=helper_db.psql;SyncNotification=true")) { conn.Notification += OnNotification;