Re: pgAdmin III issue - quotes in table names - Mailing list pgadmin-support

From Dave Page
Subject Re: pgAdmin III issue - quotes in table names
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E407B3DB@ratbert.vale-housing.co.uk
Whole thread Raw
In response to pgAdmin III issue - quotes in table names  (George Moudry <gmoudry@yahoo.com>)
List pgadmin-support


-----Original Message-----
From: pgadmin-support-owner@postgresql.org on behalf of George Moudry
Sent: Tue 8/31/2004 6:09 AM
To: pgadmin-support@postgresql.org
Subject: [pgadmin-support] pgAdmin III issue - quotes in table names

> I believe that there might be 2 bugs here:
> 1) table creation - if there are no spaces, quotes should not be added.

No, this is not correct. Any object name that doesn't consist entirely of lower case letters, numerics and the
underscorecharacter may have the quotes ommitted (unless it's a reserved word), anything else needs quotes. So "Table1"
iscorrect. 

2) treeview showing system objects - should display table name as it
really is, ie. with quotes.

The quotes are simply there to delimit the name so the parser can properly recognise it - they are not actually part of
thename, hence they are not displayed as such, except in generated SQL. 

Regards, Dave.



pgadmin-support by date:

Previous
From: George Moudry
Date:
Subject: pgAdmin III issue - quotes in table names
Next
From: Martin Sarsale
Date:
Subject: cursor disappears