aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/tsquery_gist.c
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2007-10-23 17:58:01 +0000
committerMagnus Hagander <magnus@hagander.net>2007-10-23 17:58:01 +0000
commit344d0cae64dbf398559b855806fc7338ec0a2e64 (patch)
treefa4f3d2cf4c9daf3ee59466aedf44e3f19912066 /src/backend/utils/adt/tsquery_gist.c
parent12f25e70a6feb40b7fba1dcc17deabcffcdfcc3d (diff)
downloadpostgresql-344d0cae64dbf398559b855806fc7338ec0a2e64.tar.gz
postgresql-344d0cae64dbf398559b855806fc7338ec0a2e64.zip
Use snprintf instead of wsprintf, and use getenv("APPDATA") instead of
SHGetFolderPath. This removes the direct dependency on shell32.dll and user32.dll, which eats a lot of "desktop heap" for each backend that's started. The desktop heap is a very limited resource, causing backends to no longer start once it's been exhausted. We still have indirect depdendencies on user32.dll through third party libraries, but those can't easily be removed. Dave Page
Diffstat (limited to 'src/backend/utils/adt/tsquery_gist.c')
0 files changed, 0 insertions, 0 deletions