Application should work with any server starting at 8.1 with any RAM size
(probably starting at 1 GB).
How to find safe value which does not cause error in SET work_mem command ?
If I use 2 GB maybe this can cause excaption when running in server with 1
GB RAM where this setting may be not allowed.
Andrus.