Re: [GENERAL] arrays
От | Achilleus Mantzios |
---|---|
Тема | Re: [GENERAL] arrays |
Дата | |
Msg-id | Pine.LNX.4.44.0209301613230.32609-100000@matrix.gatewaynet.com обсуждение исходный текст |
Ответ на | Re: [GENERAL] arrays (Bruno Wolff III <bruno@wolff.to>) |
Список | pgsql-sql |
On Mon, 30 Sep 2002, Bruno Wolff III wrote: > > It is unusual to want to store arrays in a database. Normally you want to > use additional tables instead. For example multilanguage titles is something > I would expect to be in a table that had a column referencing back to > another table defining the object a title was for, a column with the > title and a column with the language. I think arrays are one of the cool features of postgres (along with gist indexes). Here are some common uses: - Tree representation (the genealogical from child to ancestors approach) - Storing of polynomial formulae of arbitary degree checkout the intarray package in contrib for further info. I think pgsql arrays provide a natural solution to certain problems where it fits. ================================================================== Achilleus Mantzios S/W Engineer IT dept Dynacom Tankers Mngmt Nikis 4, Glyfada Athens 16610 Greece tel: +30-10-8981112 fax: +30-10-8981877 email: achill@matrix.gatewaynet.com mantzios@softlab.ece.ntua.gr
В списке pgsql-sql по дате отправления: