From: matz@... (Yukihiro Matsumoto) Date: 2000-02-25T17:59:31+09:00 Subject: [ruby-talk:01577] Re: postgres Hi, In message "[ruby-talk:01576] postgres" on 00/02/25, ts writes: | Apparently all errors in postgres are fatal, it's normal ? | In this example 'aa' is an invalid column name. PGError is (wrongly) subclass of Exception. Please specify PGError explicitly in rescue clause, e.g. begin conn = PGconn.connect("", -1, "", "", "microsat", $USER, $PASS) print "HERE #{conn}\n" result = conn.exec("select aa from donnees") rescue PGError print "ERROR\n" ensure conn.close; end It should be subclass of StandardError, in fact I fixed it locally, and forgot to release. X-< I'll release Ruby/Postgres-0.5.4 real soon. matz. p.s. And new Ruby/Postgres maintainer is wanted.