Holger Hoffstaette wrote: > On Tue, 27 Jan 2009 13:17:30 +0100, Magnus Hagander wrote: > >> Holger Hoffstaette wrote: >>> On Tue, 27 Jan 2009 16:10:26 +0900, ITAGAKI Takahiro wrote: >>> >>>> I'm not sure which directory should we create $PGDATA -- "My Documents", >>>> "Application Data", "Local Settings" or direct child of %USERPROFILE%, but >>>> anyway some of them would be better than "Program Files". >>> %USERNAME%/%APPDATA% >>> >>> These variables exist for good reasons.. >> Yes. For user apps. They pretty much suck for services. > > Wah? Please explain. I was under the impression that a service running > under some account has access to its profile and all the assorted things > that come with it. Is this not the case? It does - in theory. It doesn't always work. For example, consider what happens when your files are on a roaming profile. And yes, profiles can more or less randomly move between being roaming and local-copy in my experience... And you really don't want that for your database files. //Magnus -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general