From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Th Templ <templ_th(at)hotmail(dot)com> |
Cc: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: Length of sql cols in postgresql |
Date: | 2002-09-02 14:04:20 |
Message-ID: | 200209021404.g82E4Ku28075@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
In 7.3, due out in a few months, the length will be 64. You can
increase the length by modifying NAMEDATALEN in include/pg_config.h.in,
running configure again, compiling, and initdb. You can't change it
without a dump/reload of the data.
---------------------------------------------------------------------------
Th Templ wrote:
> Hello,
>
> I have problem with the cols of table. Postgresql truncates some of them
> which are longer than 30 characters.
> And when I execute a request in psql, I have the following message:
>
> psql:/applis/jgenea/test.sql:37: NOTICE: identifier
> "commune_nom_equivalent_naissance"
> will be truncated to "commune_nom_equivalent_naissanc"
>
> Is it possible to increase the maximum length?
> Thianks for your help
> Thierry
>
> _________________________________________________________________
> Chat with friends online, try MSN Messenger: http://messenger.msn.com
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | arun vc | 2002-09-02 14:49:02 | problem in using DatabaseMetaData getColumns() |
Previous Message | Dave Cramer | 2002-09-02 13:42:57 | Re: sigtly off-topic |