Re: data type to store a lot of text and tables of data

From: Raymond O'Donnell <rod(at)iol(dot)ie>
To: Karina Guardado <kguardado(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: data type to store a lot of text and tables of data
Date: 2010-03-24 22:44:44
Message-ID: 4BAA95DC.3030707@iol.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 24/03/2010 22:39, Karina Guardado wrote:
> You know I need to design a table where some attributes have a data type
> that allow me to store text mixed with tables and other information. I
> use PHP code to get the information and store it in to the database so I
> wonder if this is posible to do. I found in the link you provided me
> that If character varying is used without length specifier, the type
> accepts strings of any size. So this is useful for me when only text has
> to be stored but when the user wants to store information mixed with
> tables like the following :

I suppose it depends on what the format of the data is.... the example
you posted is HTML, which is pure text, so could be stored in a VARCHAR
or TEXT column.

Ray.

--
Raymond O'Donnell :: Galway :: Ireland
rod(at)iol(dot)ie

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message william wayne 2010-03-25 01:12:34 boualem guechtouli
Previous Message Karina Guardado 2010-03-24 22:39:25 Re: data type to store a lot of text and tables of data