Opened 5 years ago

Closed 5 years ago

#25669 closed New feature (needsinfo)

Adding postgresql publish/subscribe mechanism to django postgres contrib module

Reported by: Asif Saifuddin Auvi Owned by: Asif Saifuddin Auvi
Component: contrib.postgres Version: master
Severity: Normal Keywords: postgres, pubsub
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Asif Saifuddin Auvi)

It will be great to have postgresql's pub/sub mechanism in django.contrib.postgres

Change History (5)

comment:1 Changed 5 years ago by Asif Saifuddin Auvi

Owner: set to Asif Saifuddin Auvi
Status: newassigned

comment:2 Changed 5 years ago by Asif Saifuddin Auvi

Description: modified (diff)

comment:3 Changed 5 years ago by Josh Smeaton

How would you envisage this working? Can you describe a use case that would make sense for Django?

I can probably think of a couple once/if Andrew Godwin finishes off his work with Channels: https://www.aeracode.org/2015/6/17/beyond-request-response/

But I can't think of any use cases that would be tied to the regular request/response cycle. This would probably be something better implemented as a third party library in any case, or as a backend for something like django-celery.

comment:4 Changed 5 years ago by Asif Saifuddin Auvi

Hi,

based on the works here https://bitbucket.org/btubbs/pgpubsub/overview and postgres built in pub/sub mechanism wouldn't it good to have implemented in model based pub/sub functionality in contrib.postgres?

comment:5 Changed 5 years ago by Tim Graham

Resolution: needsinfo
Status: assignedclosed

Could you please detail the API you have in mind and raise it on the DevelopersMailingList to get consensus on the idea?

Note: See TracTickets for help on using tickets.
Back to Top