On Mon, 2 Apr 2001, Wade Burlingame wrote:
> ...and is there any way I can get rid of this requirement? I'm just getting
> into PGSQL and I find the quotes very distracting.
The quotes are only *needed* around tables/columns/etc if they contain
characters not in the alphanumeric set, or if it conflicts with a reserved
word.
So, one can say
CREATE TABLE foo
but must use quotes for
CREATE TABLE "foo is the word"
or
CREATE TABLE "table"
or such.
The only time you normally see them (if you haven't used them) is w/tools
like pg_dump. And there's a command-line switch to not show them if not
neccssary, IIRC.
HTH,
--
Joel Burton <jburton@scw.org>
Director of Information Systems, Support Center of Washington