Search Postgresql Archives

Re: Need advise for database structure for non linear data.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andre Lopes wrote on 03.01.2011 12:11:

     array(
'name' => 'Don',
'age'  => '31'
          );


     array(
'name' => 'Peter',
'age'  => '28',
'car'  => 'ford',
'km'   => '2000'
          );

In a specific website search I will store only "name" and "age", and
in other website I will store "name", "age", "car" and "km".

I don't know If I explain weel my problem. My english is not very
good.

That's exactly what the hstore data type supports:

http://www.postgresql.org/docs/current/static/hstore.html

Regards
Thomas


--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux