From: ts Date: 2000-02-25T09:37:41+01:00 Subject: [ruby-talk:01576] postgres Apparently all errors in postgres are fatal, it's normal ? In this example 'aa' is an invalid column name. aestivum% cat b.rb #!/usr/bin/ruby require "postgres" require 'passwd' begin conn = PGconn.connect("", -1, "", "", "microsat", $USER, $PASS) print "HERE #{conn}\n" result = conn.exec("select aa from donnees") rescue print "ERROR\n" ensure conn.close; end aestivum% b.rb HERE # ./b.rb:7:in `exec': server fatal error. Please report to your db administrator (PGError) from ./b.rb:7 aestivum% it work fine if I replace 'aa' with '*' in conn.exec() Guy Decoux