Move responsibility for copying argv[] array into ps_status.c, where it

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 780cba98805be80e33836c6cd4e69f3247881aa0
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2004-02-22T21:26:55Z
Releases: 8.0.0
Move responsibility for copying argv[] array into ps_status.c, where it
logically belongs.  Arrange to update the _NSGetArgv() copy of the argv
pointer on Darwin.  (It seems likely that other NeXT-derived platforms
also have an _NSGetArgv() problem, but until we have some reports I'll
just make this #ifdef __darwin__.)

Files

PathChange+/−
src/backend/main/main.c modified +27 −41
src/backend/utils/misc/ps_status.c modified +52 −10
src/include/utils/ps_status.h modified +2 −2