kostafey / ejc-sql

Emacs SQL client uses Clojure JDBC.
278 stars 29 forks source link

postgre List of relations error #184

Closed sincebyte closed 1 year ago

sincebyte commented 1 year ago

When connect to postgre the execution \d which means List of relations fail. Did there have any ohter method to get the List of relations in postgre? The error in *ejc-sql-output* blew:

Error: ERROR: syntax error at or near "\"
  Position: 1
sincebyte commented 1 year ago
<select name='select'>
SELECT * FROM information_schema.schemata
</select>

<select name='select'>
SELECT * FROM pg_tables
where schemaname='public';
</select>