Re: [HACKERS] How do I get the backend server into gdb? - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] How do I get the backend server into gdb?
Date
Msg-id 199904292356.TAA04688@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] How do I get the backend server into gdb?  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Andy Lewis
Date:
Subject: Re: [HACKERS] PLpgSQL Stat Problem
Next
From: Tatsuo Ishii
Date:
Subject: -T option ignored?