I'm trying to debug some queries and have 

        log_statement = 'all'

in my postgresql.conf.  When I look in the resultant log file, I see
entries like this:

        INSERT INTO servers (
                hostname, last_modified, serial,
                asset_tag, grid, admin )
        VALUES
                ( $1,CURRENT_DATE,$2,
                        $3,$4,$5
                )

What I'd actually like to see is the fully-parsed version, e.g.

        INSERT INTO servers (
                hostname, last_modified, serial,
                asset_tag, grid, admin )
        VALUES
                ( 'loki', CURRENT_DATE, '10-129CF',
                        '213457','23G','ut1'
                )

...so I can see what the client is actually sending.  Is there a
way to do this?


andrew fabbro                                            [EMAIL PROTECTED] 
------------------------------[ quote-o-matic] ----------------------------- 
"I didn't say that." 
        -- Oliver Wendell Holmes

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Reply via email to