| От | Chris |
|---|---|
| Тема | Re: is any of the SQL parser exposed ? |
| Дата | |
| Msg-id | 4CEDCB4A.2020704@gmail.com обсуждение исходный текст |
| Ответ на | is any of the SQL parser exposed ? (Mark Rostron <mrostron@ql2.com>) |
| Список | pgsql-general |
On 25/11/10 13:04, Mark Rostron wrote: > Hi > > We are running a mixture of 8.3 and 8.4 server versions. > > We are putting together a historical log of statement patterns of long > running statement output ( via log_min_duration_statement), extracted > from csv files in pg_log. > > I would like to take a statement of form, say, > > “select columns from mytable where column1 = “hard-code-text-value’” (or > whatever) > > And then store it as a more general pattern like > “select columns from mytable where column1 = $1” > > The latter form would be more useful for profiling an app. Check out pgfouine - http://pgfouine.projects.postgresql.org/ - it already does all of that sort of thing for you. -- Postgresql & php tutorials http://www.designmagick.com/
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера