database-specific extensions in a driver.Driver implementation?
Specifically, I'm interested in adding Postgres LISTEN/NOTIFY  support
to pq. A patch has been submitted  that shoehorns this into the existing
query mechanism, but while clever, this has a number of disadvantages
(awkward, hacky interface; ties up the connection). I was hoping to
implement something that would expose a .Listen(chanName string) <- chan
*pq.Notification method (or a similar interface), and simply send new
notifications on this channel. I think the pq implementation itself would
be fairly simple, but I'm not sure how to expose the Listen--obviously I
can't do it through the sql.DB struct. Any thoughts?
: http://www.postgresql.org/docs/current/static/sql-listen.html and
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
For more options, visit https://groups.google.com/groups/opt_out.