Re: Tom thinks it's bad code was 8.3 vs 8.2 sql compatibility issue

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: Tom thinks it's bad code was 8.3 vs 8.2 sql compatibility issue
Дата
Msg-id 20071116015455.GG5031@tamriel.snowman.net
обсуждение исходный текст
Ответ на Tom thinks it's bad code was 8.3 vs 8.2 sql compatibility issue  (Tony Caduto <tony_caduto@amsoftwaredesign.com>)
Список pgsql-general
Tony,

* Tony Caduto (tony_caduto@amsoftwaredesign.com) wrote:
> You guys really should keep such kind words to yourself. Not sure how in
> the hell you can say its bad code when it is just a little piece. You don't
> even know what it does.

Erm, I'm pretty confident Tom knows exactly what it does.  It's not
exactly complicated and, really, it is *terrible*.  Additionally, you
wouldn't need the casts if you were doing it the way Tom suggested and
it'd be about a billion times cleaner and faster.  I would suggest you
read up on PostgreSQL arrays, how they work, and the operations
available on them, before attempting to do any more with them.

    Thanks,

        Stephen

Вложения

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

Предыдущее
От: Ow Mun Heng
Дата:
Сообщение: getting the number of rows affected by a query
Следующее
От: "Kevin Martins"
Дата:
Сообщение: ERROR: cache lookup failed for type