Обсуждение: How to display full query in logs

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

How to display full query in logs

От
"Campbell, Lance"
Дата:

PostgreSQL 9.2.2

Is there a configuration parameter in PostgreSQL that will allow a full query to be displayed in the log file?

 

What I see:

UPDATE abc.table set def=$1 WHERE id=$2

 

What I want to see:

UPDATE abc.table set def=’hi bob’ WHERE id=12

 

Thanks,

 

Lance Campbell

Software Architect

Web Services at Public Affairs

217-333-0382

University of Illinois at Urbana-Champaign logo

 

 

Re: How to display full query in logs

От
"Campbell, Lance"
Дата:

I sent this to the wrong mailing list.  Sorry.

 

 

Thanks,

 

Lance Campbell

Software Architect

Web Services at Public Affairs

217-333-0382

University of Illinois at Urbana-Champaign logo

 

 

From: pgadmin-support-owner@postgresql.org [mailto:pgadmin-support-owner@postgresql.org] On Behalf Of Campbell, Lance
Sent: Tuesday, January 08, 2013 9:46 AM
To: pgadmin-support@postgresql.org
Subject: [pgadmin-support] How to display full query in logs

 

PostgreSQL 9.2.2

Is there a configuration parameter in PostgreSQL that will allow a full query to be displayed in the log file?

 

What I see:

UPDATE abc.table set def=$1 WHERE id=$2

 

What I want to see:

UPDATE abc.table set def=’hi bob’ WHERE id=12

 

Thanks,

 

Lance Campbell

Software Architect

Web Services at Public Affairs

217-333-0382

University of Illinois at Urbana-Champaign logo

 

 

Вложения