Re: [HACKERS] How do I get the backend server into gdb?

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: tgl(at)sss(dot)pgh(dot)pa(dot)us (Tom Lane)
Cc: dz(at)cs(dot)unitn(dot)it, hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] How do I get the backend server into gdb?
Date: 1999-04-29 23:56:11
Message-ID: 199904292356.TAA04688@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Since it's a -o option, I see no need to force it to be used on every
> connection. Instead start psql with environment variable
> PGOPTIONS="-W 15"
> or whatever you need for the particular session. The PGOPTIONS are sent
> in the connection request and then catenated to whatever the postmaster
> might have in its -o switch.
>
> (BTW, it might be a good idea to go through the backend command-line
> switches carefully and see if any of them could be security holes.
> I'm feeling paranoid because of Matthias Schmitt's unresolved report...)

I didn't know it did that.

--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tatsuo Ishii 1999-04-30 01:03:35 -T option ignored?
Previous Message Andy Lewis 1999-04-29 23:23:35 Re: [HACKERS] PLpgSQL Stat Problem