-T option ignored?

Started by Tatsuo Ishiiover 26 years ago2 messages
#1Tatsuo Ishii
t-ishii@sra.co.jp

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

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Tatsuo Ishii (#1)
Re: [HACKERS] -T option ignored?

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