On Fri, Nov 8, 2013 at 12:29 AM, Jim Nasby <jna...@enova.com> wrote: > decibel@decina.cashnetusa=# SELECT 'Moo'::regclass; > ERROR: relation "moo" does not exist at character 8 > > Obviously in this example it doesn't matter, but this can definitely > confuse users. >
I would actually say *not* downcasing would be more likely to confuse users. It's actually looking for a relation named "moo". If they actually had one named "Moo" and it said "relation "Moo" does not exist" that would be even more confusing and less likely to result in them figuring out what they've done wrong. -- greg