Re: Add Metadata to Postgre SQL

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Add Metadata to Postgre SQL
Date: 2012-08-14 11:52:30
Message-ID: 502A3BFE.4060109@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 08/14/12 4:32 AM, José Pedro Santos wrote:
> With the files should came metadata to describe what is inside the
> file. I can't put in the comment options because is not ISO standart
> that allow to produce metadata.
>
> I'm rookie with Postgre what do you mean by "stored in a text field of
> a table"? comment option?
>
> If exist one option in the table options called "Metadata" would be
> great because allow to insert all the information there.
>

you have a table with your data stored in it, right? something like...

create table myrasters (id serial, rasterdata bytea); ?

well, add another text field, metadata, like...

alter table myrasters add column metadata text;

and store your metadata there.

--
john r pierce N 37, W 122
santa cruz ca mid-left coast

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message José Pedro Santos 2012-08-14 13:34:02 Re: Add Metadata to Postgre SQL
Previous Message Pavel Stehule 2012-08-14 11:51:04 Re: Add Metadata to Postgre SQL