On Tue, Feb 26, 2019 at 4:58 PM David Storrs <david.sto...@gmail.com> wrote:

> Given a database handle, I'd like to be able to ask it what user it's
> connected as.  Is there a way to do this?
>
>
I don't see anything in the `db` library's API to get this, but your
database probably allows you to do it in SQL (at the cost of a DB
round-trip, of course). E.g., in Postgres: `SELECT current_user`.

- Jon

-- 
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