Hello Dmitriy, I think this combination of attributes and children: >> >> > <user id="bla bla bla ...> >> >> > <pref_money date="2010-52" money="760" /> >> >> > <pref_money date="2010-51" money="3848" /> >> >> > ... etc ... >> >> > </user> will be a good balance between size and my original problem (combining user data and their stats in 1 chunk of information). And I don't use JSON, because it is not natively supported by Flex/Flash and my app is in Flex (here is its pic: http://stackoverflow.com/questions/4548878/pl-pgsql-concatenating-row-values-to-a-json-like-string ) >> > Well, generally storing data in attributes should be avoided: You haven't backuped your statement by any arguments Regards Alex -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general