Обсуждение: about uppercase

Поиск
Список
Период
Сортировка

about uppercase

От
"Leo Liou"
Дата:
Hello, I'm a newbie at using Postgresql.
I have a huge problem at using uppercase and lowercase.

My question is if there is any possible way to set
my Postgresql7.4.3 to uppercase?
I mean if it's possible to set the DB server so that when i
create a new table without double-quote at tablename and
column name, i get a table with uppercase tablename and
column name.
I'm using Postgresql7.4.3 at WinXP SP1.

Thank you very much in advance.



Re: about uppercase

От
Robert Treat
Дата:
On Monday 27 December 2004 22:14, Leo Liou wrote:
> Hello, I'm a newbie at using Postgresql.
> I have a huge problem at using uppercase and lowercase.
>
> My question is if there is any possible way to set
> my Postgresql7.4.3 to uppercase?
> I mean if it's possible to set the DB server so that when i
> create a new table without double-quote at tablename and
> column name, i get a table with uppercase tablename and
> column name.
> I'm using Postgresql7.4.3 at WinXP SP1.
>

The short answer is no, you'll have to double quote or live with lower casing.

The longer answer is that it is possible to hack the source code and then
recompile it, however no one has ever claimed to have run such a change in
any type of production system and there are several theories about things
that would break under such a configuration.

--
Robert Treat
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL

Re: about uppercase

От
"Goulet, Dick"
Дата:
As far as I'm concerned I really don't care so long as the DBMS is
consistent on the matter.  Both Oracle & PostGreSql do that.


Dick Goulet
Senior Oracle DBA
Oracle Certified 8i DBA
-----Original Message-----
From: Robert Treat [mailto:xzilla@users.sourceforge.net]
Sent: Tuesday, December 28, 2004 10:31 PM
To: Leo Liou
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] about uppercase

On Monday 27 December 2004 22:14, Leo Liou wrote:
> Hello, I'm a newbie at using Postgresql.
> I have a huge problem at using uppercase and lowercase.
>
> My question is if there is any possible way to set
> my Postgresql7.4.3 to uppercase?
> I mean if it's possible to set the DB server so that when i
> create a new table without double-quote at tablename and
> column name, i get a table with uppercase tablename and
> column name.
> I'm using Postgresql7.4.3 at WinXP SP1.
>

The short answer is no, you'll have to double quote or live with lower
casing.

The longer answer is that it is possible to hack the source code and
then
recompile it, however no one has ever claimed to have run such a change
in
any type of production system and there are several theories about
things
that would break under such a configuration.

--
Robert Treat
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faqs/FAQ.html