This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-08-15
Channels
- # architecture (5)
- # babashka (34)
- # beginners (72)
- # calva (42)
- # cherry (31)
- # cider (14)
- # clojure (27)
- # clojure-europe (11)
- # clojure-norway (17)
- # clojure-uk (1)
- # clojurescript (25)
- # community-development (13)
- # conjure (1)
- # core-async (11)
- # datascript (18)
- # datomic (11)
- # emacs (12)
- # fulcro (10)
- # integrant (5)
- # introduce-yourself (3)
- # jobs (8)
- # juxt (2)
- # malli (22)
- # off-topic (11)
- # pathom (18)
- # polylith (62)
- # rdf (18)
- # reagent (8)
- # releases (1)
- # shadow-cljs (35)
- # sql (3)
- # squint (141)
- # tools-deps (12)
- # vim (4)
- # xtdb (4)
This is bit of a hopeless question but I have this query in production:
{:select [[[:exists {:select :*
:from :pg_catalog.pg-tables
:where [:and
[:= :schemaname "public"]
[:= :tablename table-name-string]]}]]]}
which returns {:exists? false}
in the defn where it naturally is invoked. But if I repl-connect to that same prod server, and perform the same query, it returns {:exists? true}
.
What could be going on? I don't have any caching here. (I do have HikariCP...)permissions issue? Is that table accessible to the user running the above query in prod?