pg.ddx.io pgsql-performance@postgresql.org mailing list archive
help / color / mirror / Atom feedTEXT or LONGTEXT?
3+ messages / 3 participants
[nested] [flat]
* TEXT or LONGTEXT?
@ 2007-09-24 15:21 Fabiola Fernández <fabiola.fg@gmail.com>
0 siblings, 2 replies; 3+ messages in thread
From: Fabiola Fernández @ 2007-09-24 15:21 UTC (permalink / raw)
To: pgsql-performance
Hello,
I have a database with an amount of tables and in several of them I have an
attribute for a semantic definition, for which I use a field of type text. I
am trying to decide if it would be worth using LONGTEXT instead of TEXT, as
maybe it would slow down the data insertion and extraction. I hope that you
could help me. Thank you.
--
Fabiola Fernández Gutiérrez
Grupo de Ingeniería Biomédica
Escuela Superior de Ingeniería
Camino de los Descubrimientos, s/n
Isla de la Cartuja
41092 Sevilla (Spain)
Tfno: +34 954487399
E-mail: fabiola.fg@gmail.com
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: TEXT or LONGTEXT?
@ 2007-09-24 15:29 Alexander Staubo <alex@purefiction.net>
parent: Fabiola Fernández <fabiola.fg@gmail.com>
1 sibling, 0 replies; 3+ messages in thread
From: Alexander Staubo @ 2007-09-24 15:29 UTC (permalink / raw)
To: Fabiola Fernández <fabiola.fg@gmail.com>; +Cc: pgsql-performance
On 9/24/07, Fabiola Fernández <fabiola.fg@gmail.com> wrote:
> I have a database with an amount of tables and in several of them I have an
> attribute for a semantic definition, for which I use a field of type text. I
> am trying to decide if it would be worth using LONGTEXT instead of TEXT, as
> maybe it would slow down the data insertion and extraction. I hope that you
> could help me. Thank you.
Easy choice -- PostgreSQL does not have a data type named "longtext".
Alexander.
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: TEXT or LONGTEXT?
@ 2007-09-24 16:00 Niklas Johansson <spot@tele2.se>
parent: Fabiola Fernández <fabiola.fg@gmail.com>
1 sibling, 0 replies; 3+ messages in thread
From: Niklas Johansson @ 2007-09-24 16:00 UTC (permalink / raw)
To: Fabiola Fernández <fabiola.fg@gmail.com>; +Cc: pgsql-performance
On 24 sep 2007, at 17.21, Fabiola Fernández wrote:
> I am trying to decide if it would be worth using LONGTEXT instead
> of TEXT, as maybe it would slow down the data insertion and
> extraction.
Postgres doesn't have a LONGTEXT datatype, so keep using TEXT.
http://www.postgresql.org/docs/8.2/interactive/datatype-character.html
Sincerely,
Niklas Johansson
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2007-09-24 16:00 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-09-24 15:21 TEXT or LONGTEXT? Fabiola Fernández <fabiola.fg@gmail.com>
2007-09-24 15:29 ` Alexander Staubo <alex@purefiction.net>
2007-09-24 16:00 ` Niklas Johansson <spot@tele2.se>
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