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
{{ message }}
Repository navigation
realtime: on_postgres_changes without schema sends a binding the server rejects #1883
AsyncRealtimeChannel.on_postgres_changes() documents that schema defaults to "public", but when schema is omitted the join payload has no schema key at all. The Realtime server cannot parse such a binding, so the subscription fails.
PostgresChangesCallback.binding_filter (src/realtime/src/realtime/types.py) only adds schema when it is truthy:
On the server, Extensions.PostgresCdcRls.Subscriptions.parse_subscription_params/1 accepts schema + table + filter, schema + table, schema alone, or table alone. {"event": "*"} and {"event": "INSERT", "table": "todos", "filter": "id=eq.1"} match none of these and return No subscription params provided. Please provide at least a schema or table to subscribe to. The channel then gets an error instead of SUBSCRIBED, and none of its Postgres Changes bindings receive events.
Activity
fix(realtime): default postgres_changes schema to public (supabase#1884)