Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

DBI::Row.column_names & case

0 views
Skip to first unread message

lede...@gmail.com

unread,
Mar 5, 2005, 3:54:49 AM3/5/05
to
Hello,

There is difference in Oracle and Posgtres in the case of
column_names values. Column names are uppercase in Oracle and lowercase
in Postgres. It is not a good thing that I (a next level food chain
developer) have to think about the case when accessing columns. It
should be either standartized on low/upper case or transparently
compared with the values of COL_NAME as in row['COL_NAME'], IMHO.

PS. as an Oracle ruby dbi library I use oci8.

--
/Dmitry

0 new messages