mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-03-19 08:39:44 +00:00
Added quotes to listen/unlisten channel names to honor case sensitivity and be consistent with 'listen_all()'
This commit is contained in:
@@ -51,6 +51,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
async fn notify(mut pool: &PgPool) {
|
||||
static COUNTER: AtomicUsize = AtomicUsize::new(0);
|
||||
|
||||
// Note that channel names are lower-cased by Postgres unless they are quoted
|
||||
let res = pool
|
||||
.execute(&*format!(
|
||||
r#"
|
||||
|
||||
Reference in New Issue
Block a user