Re: [HACKERS] Alternative to LIMIT in SELECT ?

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема Re: [HACKERS] Alternative to LIMIT in SELECT ?
Дата
Msg-id 199810140553.OAA22316@srapc451.sra.co.jp
обсуждение исходный текст
Ответ на Re: [HACKERS] Alternative to LIMIT in SELECT ?  (Bruce Momjian <maillist@candle.pha.pa.us>)
Ответы Re: [HACKERS] Alternative to LIMIT in SELECT ?
Список pgsql-hackers
>> + #ifdef QUERY_LIMIT
>> + static bool
>> + parse_query_limit(const char *value)
>> + {
>> +   int32 limit;
>> +
>> +   if (value == NULL) {
>> +     reset_query_limit();
>> +     return(TRUE);
>> +   }
>
>Any idea how 'value' could be null?  I could not see how that would
>happen.

Not sure. I just followed the way other set commands are doing.

>I can see how GEQO could have a NULL when you say ON, and no
>value.  Same with rplans.

Hmm... I think in that case, 'value' would be 'ON', not NULL. right?
--
Tatsuo Ishii
t-ishii@sra.co.jp

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Alternative to LIMIT in SELECT ?
Следующее
От: Tom Ivar Helbekkmo
Дата:
Сообщение: Re: [HACKERS] Re: inet/cidr/bind