lib.postgres.impl.impossibl

create-notify

added in 4.0

(create-notify {:keys [host port user pass dbname], :or {host (or (System/getenv "DEFAULT_RT_POSTGRES_HOST") "127.0.0.1"), port (f/parse-long (or (System/getenv "DEFAULT_RT_POSTGRES_PORT") "5432")), user (or (System/getenv "DEFAULT_RT_POSTGRES_USER") "postgres"), pass (or (System/getenv "DEFAULT_RT_POSTGRES_PASS") "postgres")}} {:keys [channel on-close on-notify], :as m})

creates a notify channel

create-pool

(create-pool {:keys [host port user pass dbname], :as m})

execute-statement

(execute-statement pool input execute)

notify-listener

added in 4.0

(notify-listener {:keys [on-notify on-close]})

creates a notification listener