Search Postgresql Archives

Re: Concatenating several rows with a semicolon

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

 



On Tue, Dec 28, 2010 at 10:31 PM, Dmitriy Igrishin <dmitigr@xxxxxxxxx> wrote:
>> > <user id="bla bla bla ...>
>> >  <pref_money date="2010-52" money="760" />
>> >  <pref_money date="2010-51" money="3848" />
>> >  ... etc ...
>> > </user>
>
> Well, generally storing data in attributes should be avoided:
>
> <user id="id">
>   <pref_money>
>     <date>...</date>
>     <money>...</money>
>   </pref_money>
>   ...
> </user>
> is a better.

Attributes give me smaller size...

Regards
Alex

-- 
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