Re: Bug in my ( newbie ) mind?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Bug in my ( newbie ) mind?
Дата
Msg-id 9492.982737181@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Bug in my ( newbie ) mind?  (Dan Lyke <danlyke@flutterby.com>)
Ответы Re: Bug in my ( newbie ) mind?  (Dan Lyke <danlyke@flutterby.com>)
Список pgsql-general
Dan Lyke <danlyke@flutterby.com> writes:
> So one might think that, with appropriate casting, something more
> like:
>    select (select phone_prefix.prefix order by random() limit 1) || ...
> would be more likely to work (modulo some casting and such).

Note this will not work in pre-7.1 releases --- 7.1 is the first that
allows ORDER BY and LIMIT clauses in a sub-select.

            regards, tom lane

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

Предыдущее
От: Dan Lyke
Дата:
Сообщение: Bug in my ( newbie ) mind?
Следующее
От: Ian Lance Taylor
Дата:
Сообщение: Re: Weird indices