Re: length(columnname), solved

From: "Christopher" <christopher(at)chronofish(dot)com>
To: <pgsql-novice(at)postgresql(dot)org>
Subject: Re: length(columnname), solved
Date: 2002-01-14 12:31:49
Message-ID: 000001c19cf7$70971810$6401a8c0@razorfish
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

I am a novice so maybe this is not the right response, but couldn't you
have also quoted your table name? Recompiling the source code seems
like a dangerous way to go - i.e. what happens when the database is
moved to a different system? What if you don't have permission to
rebuild Postgres?

create table
"ThisIsAReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyReal
lyReallyLongTableName" (test int);

I also noticed that you are using capitals in your name and I know you
would have to quote for that reason (at least in the version of Postgres
that I'm using)

- Christopher

-----Original Message-----
From: pgsql-novice-owner(at)postgresql(dot)org
[mailto:pgsql-novice-owner(at)postgresql(dot)org] On Behalf Of Andreas Fitzner
Sent: Monday, January 14, 2002 6:39 AM
To: pgsql-novice(at)postgresql(dot)org
Subject: [NOVICE] length(columnname), solved

Hi,

I discovered src/include/postgres_ext.h, with the definition of
NAMEDATALEN.
problem solved.

thanks,
Andreas

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Jules Alberts 2002-01-14 14:20:06 inheritance and audit columns
Previous Message Andreas Fitzner 2002-01-14 11:38:36 length(columnname), solved