pg.ddx.io  pgsql-ru-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dmitry E. Oboukhov <unera@debian.org>
To: pgsql-ru-general@postgresql.org
Subject: Re: Re: [pgsql-ru-general] Re: [pgsql-ru-general] hstore & plperl & массивы
Date: Fri, 11 Mar 2011 09:02:25 +0300
Message-ID: <20110311060224.GB3920@apache.rbscorp.ru> (raw)
In-Reply-To: <AANLkTikK8vKGxi3iEEj6ToKV4_nB=AAWV5Ft-28LbVNj@mail.gmail.com>
References: <20110309201825.GA20505@apache.rbscorp.ru>
	<AANLkTim41aUYun5gRzjNgqTNvhm_gWU7JnU+WbRtGMH5@mail.gmail.com>
	<20110310060604.GB20505@apache.rbscorp.ru>
	<AANLkTikK8vKGxi3iEEj6ToKV4_nB=AAWV5Ft-28LbVNj@mail.gmail.com>


DI> Не совсем понятно, зачем нужен упорядоченный по ключу массив hstore?
DI> Да и вообще, куда принципиально помещать элементы такого массива, если
DI> у них отсутствует ключ, по котору производится упорядочивание?
DI> Возможно, здесь не совсем продуманное проектное решение.

ну примерно так: работает прибор, передает данные на сервер. сервер
добавляет эти данные в массив hstore.
прибор снимает точки 1. 2. 3. ...
но при передаче точки могут прийти так 2. 1. 3. ... (если не удалось
передать точку, делаются повторы итп)

можно конечно точки сортировать в момент их выборки, а можно в момент
помещения точки в массив точек. как-то так :)
-- 

. ''`.                               Dmitry E. Oboukhov
: :’  :   email: unera@debian.org jabber://UNera@uvw.ru
`. `~’              GPGKey: 1024D / F8E26537 2006-11-21
  `- 1B23 D4F8 8EC0 D902 0555  E438 AB8C 00CF F8E2 6537

Attachments:

  [application/pgp-signature] signature.asc (197B, ../20110311060224.GB3920@apache.rbscorp.ru/2-signature.asc)
  download

view thread (12+ messages)  latest in thread

Message-ID: <20110311060224.GB3920@apache.rbscorp.ru>
Permalink:  ../20110311060224.GB3920@apache.rbscorp.ru/
Also on:    postgresql.org/message-id/20110311060224.GB3920@apache.rbscorp.ru

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-ru-general@postgresql.org
  Cc: unera@debian.org
  Subject: Re: Re: [pgsql-ru-general] Re: [pgsql-ru-general] hstore & plperl & массивы
  In-Reply-To: <20110311060224.GB3920@apache.rbscorp.ru>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox