PGconn.connect .... where is disconnect?

20 views
Skip to first unread message

Ralph Shnelvar

unread,
Aug 15, 2017, 8:32:20 PM8/15/17
to Ruby on Rails: Talk
I may have a large group of (Devise) users each of whom is a separate Postgres user, e.g. SomePostgresRole01, SomePostgresRole02, etc.

I can successfully do:
      conn = PGconn.connect("localhost", 5432,"","","db_development","SomePostgresRole01","SomePassword")

I cannot find a conn.disconnect method.  Does such functionality exist?


Rolandas Barysas

unread,
Aug 20, 2017, 4:23:44 AM8/20/17
to rubyonra...@googlegroups.com
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/fb161f5b-3386-4474-9046-ebd283b57015%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages