Ruby on Rails Sunday, August 20, 2017

Have you tried conn.finish()?


On 16 Aug 2017, at 03:32, Ralph Shnelvar <ralphs@dos32.com> wrote:

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?



--
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-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@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.

No comments:

Post a Comment