In PostgreSQL, clusters contain databases contain schemas.

I think the answer is to use "SET SCHEMA" or the more general "SET search_path". See

  https://www.postgresql.org/docs/current/static/ddl-schemas.html
  https://www.postgresql.org/docs/current/static/sql-set.html

Ryan

On 10/06/2016 06:21 PM, Jon Zeppieri wrote:
Isn't the #:database parameter in postgresql-connect what you're looking
for?

On Oct 6, 2016, at 6:12 PM, David Storrs <david.sto...@gmail.com
<mailto:david.sto...@gmail.com>> wrote:

Is it possible to connect to a specific schema in a Postgres database,
or to set the current schema of an existing connection?

The 'postgresql-connect' function has no parameter for schema...in
fact, the only mention of schemas in the docs for db is in the
Database Catalog section
(https://docs.racket-lang.org/db/query-api.html#%28part._.Database_.Catalog_.Information%29)

--
You received this message because you are subscribed to the Google
Groups "Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to racket-users+unsubscr...@googlegroups.com
<mailto:racket-users+unsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google
Groups "Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to racket-users+unsubscr...@googlegroups.com
<mailto:racket-users+unsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Racket 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to