Re: alter view foo set () -- fixed in 9.2 stable, but when will it be released?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: alter view foo set () -- fixed in 9.2 stable, but when will it be released?
Дата
Msg-id 26953.1352074251@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: alter view foo set () -- fixed in 9.2 stable, but when will it be released?  (Chris Angelico <rosuav@gmail.com>)
Список pgsql-general
Chris Angelico <rosuav@gmail.com> writes:
> Point of random curiosity: The commit mentioned adds the following line:
> if (rinfo->reloptions && strlen(rinfo->reloptions) > 0)
> Is there a reason this isn't done as:
> if (rinfo->reloptions && *rinfo->reloptions)

Just that the former is the general coding style in pg_dump, not the
latter.

pg_dump typically isn't working with long strings in these places, so
I'd be pretty surprised if this was a worthwhile optimization.  But if
we were going to do it we should do it throughout pg_dump, not just here.

            regards, tom lane


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

Предыдущее
От: Chris Angelico
Дата:
Сообщение: Re: alter view foo set () -- fixed in 9.2 stable, but when will it be released?
Следующее
От: Hernán Cano Martínez
Дата:
Сообщение: About PostgreSQL as developer