Skip to content

After updating to 2.15.0, postgres subscriptions with eq filter fail #1610

@twhittock-disguise

Description

@twhittock-disguise

Bug report

  • I confirm this is a bug with Supabase, not with my own application.
  • I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug

After updating to 2.15.0 (from 2.11.15) via the updated supabase-js dependency, our realtime subscriptions stopped working.

Our subscriptions are made like this:

    messagesSubscription.value = supabaseClient
      .channel(`table:session_id=eq.${id.value}`)
      .on(
        'postgres_changes',
        {
          event: '*',
          schema: 'schema',
          table: 'table',
          filter: `session_id=eq.${id.value}`,
        },

Postgres logs are spammed with Invalid column for filter session_id messages.

To Reproduce

Make a subscription like the above in the new version.

Expected behavior

The subscription should either succeed or a clear upgrade path needs to be provided.

Metadata

Metadata

Labels

bugSomething isn't workingrealtime-jsRelated to the realtime-js library.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions