git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 7ea9b99) | patch
Turn PGBE_ACTIVITY_SIZE into a GUC variable, track_activity_query_size.
2008年6月30日 10:58:47 +0000 (10:58 +0000)
2008年6月30日 10:58:47 +0000 (10:58 +0000)
commit 995fb7420268c2457c9a64f41394cea54316365f
Turn PGBE_ACTIVITY_SIZE into a GUC variable, track_activity_query_size.

As the buffer could now be a lot larger than before, and copying it could
thus be a lot more expensive than before, use strcpy instead of memcpy to
copy the query string, as was already suggested in comments. Also, only copy
the PgBackendStatus struct and string if the slot is in use.

Patch by Thomas Lee, with some changes by me.
doc/src/sgml/config.sgml diff | blob | blame | history
src/backend/postmaster/pgstat.c diff | blob | blame | history
src/backend/utils/misc/guc.c diff | blob | blame | history
src/backend/utils/misc/postgresql.conf.sample diff | blob | blame | history
src/include/pgstat.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /