PGconn.connect .... where is disconnect?

20 zobrazení
Přeskočit na první nepřečtenou zprávu

Ralph Shnelvar

nepřečteno,
15. 8. 2017 20:32:2015.08.17
komu: 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

nepřečteno,
20. 8. 2017 4:23:4420.08.17
komu: 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.

Odpovědět všem
Odpověď autorovi
Přeposlat
0 nových zpráv