You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Postgrex.query!(db_conn,"drop publication if exists supabase_realtime_test")
39
-
end)
37
+
{:ok,_}=
38
+
Database.transaction(conn,fndb_conn->
39
+
Postgrex.query!(db_conn,"drop publication if exists supabase_realtime_test")
40
+
end)
40
41
41
42
{socket,_}=get_connection(tenant,serializer)
42
43
topic="realtime:any"
@@ -52,7 +53,7 @@ defmodule Realtime.Integration.RtChannelTest do
52
53
"channel"=>"any",
53
54
"extension"=>"postgres_changes",
54
55
"message"=>
55
-
"Unable to subscribe to changes with given parameters. Please check Realtime is enabled for the given connect parameters: [schema: public, table: *, filters: []]",
56
+
"Unable to subscribe to changes with given parameters. Please check Realtime is enabled for the given connect parameters: [event: INSERT, schema: public, table: *, filters: []]",
56
57
"status"=>"error"
57
58
},
58
59
ref: nil,
@@ -2300,7 +2301,7 @@ defmodule Realtime.Integration.RtChannelTest do
@@ -185,7 +201,7 @@ defmodule RealtimeWeb.RealtimeChannelTest do
185
201
assert_push"system",
186
202
%{
187
203
message:
188
-
"Unable to subscribe to changes with given parameters. Please check Realtime is enabled for the given connect parameters: [schema: public, table: doesnotexist, filters: []]",
204
+
"Unable to subscribe to changes with given parameters. Please check Realtime is enabled for the given connect parameters: [event: *, schema: public, table: doesnotexist, filters: []]",
189
205
status: "error",
190
206
extension: "postgres_changes",
191
207
channel: "test"
@@ -216,7 +232,7 @@ defmodule RealtimeWeb.RealtimeChannelTest do
216
232
assert_push"system",
217
233
%{
218
234
message:
219
-
"Unable to subscribe to changes with given parameters. An exception happened so please check your connect parameters: [schema: public, table: test, filters: [{\"notacolumn\", \"eq\", \"123\"}]]. Exception: ERROR P0001 (raise_exception) invalid column for filter notacolumn",
235
+
"Unable to subscribe to changes with given parameters. An exception happened so please check your connect parameters: [event: *, schema: public, table: test, filters: [{\"notacolumn\", \"eq\", \"123\"}]]. Exception: ERROR P0001 (raise_exception) invalid column for filter notacolumn",
0 commit comments