From: ts Date: 2004-02-25T19:39:36+09:00 Subject: Re: PGresult#type (and other postgres questions) >>>>> "G" == Gavin Kistner writes: G> PGresult#print( file, opt ) G> What's this do? http://www.postgresql.org/docs/7.4/static/libpq-exec.html#LIBPQ-EXEC-SELECT-INFO PQprint Prints out all the rows and, optionally, the column names to the specified output stream. There is an example in sample/psql.rb Guy Decoux