From: Andreas Kretschmer <akretschmer@spamfence.net>
To: pgsql-sql@postgresql.org
Subject: Re: Problem with tables and columns names
Date: Mon, 19 Dec 2011 09:26:35 +0100
Message-ID: <20111219082635.GA24771@tux> (raw)
In-Reply-To: <CALy5J6VgJ-9hkxg=KWfN+DeMzYwWiN8K2uXswXcyfnss4-t5sA@mail.gmail.com>
References: <CALy5J6VgJ-9hkxg=KWfN+DeMzYwWiN8K2uXswXcyfnss4-t5sA@mail.gmail.com>
Gabriel Filipiak <gabriel.filipiak@gmail.com> wrote:
> Hi,
>
> so I am working on PostgreSQL 9.1.2 on x86_64-unknown-linux-gnu, compiled by
> gcc (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2, 64-bit.
>
> It seems that i can't give a table name for example testTable it has to be
> test_table, because I can't access it via psql is that right or am I doing
> something wrong? The same thing for columns. Can anyone give me a hint about
> that?
Please consider that "testTable" isn't the same as "testtable" or
"TestTable". If you create a table called "testTable" you have to use
this name everytime. Within psql you have to quote, for instance select
* from "testTable" will work, select from testTable doesn't.
Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect. (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly." (unknown)
Kaufbach, Saxony, Germany, Europe. N 51.05082°, E 13.56889°
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: akretschmer@spamfence.net
Subject: Re: Problem with tables and columns names
In-Reply-To: <20111219082635.GA24771@tux>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox