Обсуждение: -T option ignored?

Поиск
Список
Период
Сортировка

-T option ignored?

От
Tatsuo Ishii
Дата:
It seems that postgres does not accept -T option. Checking the source,
I found that T is not given to getopt() while there is a code to parse
the -T option. Is there any reason for this?
---
Tatsuo Ishii



Re: [HACKERS] -T option ignored?

От
Tom Lane
Дата:
Tatsuo Ishii <t-ishii@sra.co.jp> writes:
> It seems that postgres does not accept -T option. Checking the source,
> I found that T is not given to getopt() while there is a code to parse
> the -T option. Is there any reason for this?

Looks like a garden-variety oversight from here.  While you're fixing
it, I suggest making the order of the getopt() list match the order of
the entries in the big switch statement; the postmaster does it that
way, and that made it a whole lot easier to see that things matched...
        regards, tom lane