Re: Version data type. - DONE

Поиск
Список
Период
Сортировка
От Ashley Cambrell
Тема Re: Version data type. - DONE
Дата
Msg-id 39DB4D21.B7B42583@freaky-namuh.com
обсуждение исходный текст
Ответ на Version data type.  (Ashley Cambrell <ash@freaky-namuh.com>)
Список pgsql-hackers
Hello all,

I thought I would give it a try anyways...

This data type is based on Garrett A. Wollman isbn / issn code

It can be downloaded from:

ftp://ftp.freaky-namuh.com/pub/devel/Postgresql/version_number/version_number-0.2.tar.gz

The README file explains most of it.

It's not perfect, but it's still useful...  (and I don't know enough
about Postgres's internals to know if it's "done right" (tm).)


Ashley Cambrell


Ashley Cambrell wrote:

> Hi all,
>
> Just wondering if anyone has already created a version data type where
> 1.100 > 1.10 > 1.9 > 1.01  etc...
>
> I don't want to reinvent the wheel...
>
> I was thinking that an array with a '.' as the delimeter would work
> best, but I don't know how ORDER BY 's work on arrays....
>
> Thank You
>
> Ashley Cambrell



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

Предыдущее
От: Michael Meskes
Дата:
Сообщение: yacc guru needed
Следующее
От: Tom Lane
Дата:
Сообщение: Re: postgres functions and C++