| From: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | guenther mair <mairg(at)efferd(dot)nettz(dot)com> |
| Cc: | pgsql-general(at)postgreSQL(dot)org |
| Subject: | Re: [GENERAL] maximal length of varchar |
| Date: | 1999-06-24 16:08:35 |
| Message-ID: | 199906241608.MAA17542@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
>
> > prova=> create table a1(a varchar(99999));
> > ERROR: length for type 'varchar' cannot exceed 8064
> > prova=> create table a1(a varchar(8064));
> > CREATE
>
> thanks, for this quick answer!
>
> i did the test by myself and found out, that on the my system (freebsd
> 3.2) where i do actualy my tests, varchar is limited to 4096. this creates
> the problem of plattfrom dependence.
I changed This in 6.5 to something near 8k. It may be too large because
I am not sure how a row is going to be updated inside the page. Not
sure if this is an issue.
--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Roeland M.J. Meyer | 1999-06-24 16:18:42 | RE: [GENERAL] Limitation |
| Previous Message | Bruce Momjian | 1999-06-24 15:39:40 | Re: [GENERAL] Limitation |