Re: temporal period type and select distinct gives equality error

Поиск
Список
Период
Сортировка
От Arturo Perez
Тема Re: temporal period type and select distinct gives equality error
Дата
Msg-id arturo-5A594C.07321527012011@news.gmane.org
обсуждение исходный текст
Ответ на temporal period type and select distinct gives equality error  (Arturo Perez <arturo@pleeque.com>)
Ответы Re: temporal period type and select distinct gives equality error
Список pgsql-general
In article <1296066333.11513.364.camel@jdavis>,
 Jeff Davis <pgsql@j-davis.com> wrote:

> On Wed, 2011-01-26 at 09:27 -0500, Arturo Perez wrote:
> > > and yet when I do a select distinct with a join I get
> > >
> > > QueryLogger - *** error.
> > > org.postgresql.util.PSQLException: ERROR: could not identify an equality
> > > operator for type period
> > >
> > > If I leave the period column out of the select list then it works fine.
> > >
> > > Did I install it wrong?  Or is something else going on?
> > >
> > > tia
> > > arturo
> >
> > No suggestions from anyone?  Anyone out there? :-)
>
> Sorry, I missed this the first time.
>
> I have added support for this in the CVS repository, but have not
> included it in the latest release. The thing that's missing from the
> released files is a "btree opclass", which is what postgresql uses to
> find the right equality operator for DISTINCT.


I thought I saw that in CVS but when I checked it out and installed it
the error did not go away.

Let me try that again.  Do you think I'd need to reinstall the server
itself to insure the proper behavior?

tia,
arturo

В списке pgsql-general по дате отправления:

Предыдущее
От: Girts Laudaks
Дата:
Сообщение: Dumpall without OID
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Dumpall without OID