Tom Lane
780cba9880
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__.)
2004-02-22 21:26:55 +00:00
PostgreSQL Daemon
55b113257c
make sure the $Id tags are converted to $PostgreSQL as well ...
2003-11-29 22:41:33 +00:00
Bruce Momjian
ea08e6cd55
New pgindent run with fixes suggested by Tom. Patch manually reviewed,
...
initdb/regression tests pass.
2001-11-05 17:46:40 +00:00
Bruce Momjian
6783b2372e
Another pgindent run. Fixes enum indenting, and improves #endif
...
spacing. Also adds space for one-line comments.
2001-10-28 06:26:15 +00:00
Bruce Momjian
b81844b173
pgindent run on all C files. Java run to follow. initdb/regression
...
tests pass.
2001-10-25 05:50:21 +00:00
Tom Lane
b2e92a712e
Fix getopt-vs-init_ps_display problem by copying original argv[] info,
...
per suggestion from Peter. Simplify several APIs by transmitting the
original argv location directly from main.c to ps_status.c, instead of
passing it down through several levels of subroutines.
2001-10-21 03:25:36 +00:00
Bruce Momjian
9e1552607a
pgindent run. Make it all clean.
2001-03-22 04:01:46 +00:00
Bruce Momjian
df43800fc8
Clean up #include's.
2000-06-15 03:33:12 +00:00
Peter Eisentraut
209aa77d98
New ps display code, works on more platforms.
...
Install a default configuration file.
Clean up some funny business in the config file code.
2000-06-04 01:44:38 +00:00
Bruce Momjian
f19ae14612
Update so init displays status with setproctitle too, like the rest of them.
2000-05-24 00:24:17 +00:00
Bruce Momjian
a267c88d3b
Make setproctitle update for every query.
2000-05-24 00:14:26 +00:00
Bruce Momjian
962c258027
Comment out no-op ps updates for setproctitle(), until we figure out
...
what to do.
2000-05-23 22:50:55 +00:00
Marc G. Fournier
be4ae8f4b2
this fixes the bug where setting the entry in he process table no longer works
...
under FreeBSD ... basically, if setproctitle() exists, use it ...
the draw back right now is the PS_SET_STATUS stuff doesn't work, but am looking
into that one right now ... at lesat now you can see who is connecting where
and from where ...
2000-05-12 14:33:08 +00:00
Bruce Momjian
97580f6993
A few more macro cleanups
2000-04-12 20:33:37 +00:00
Bruce Momjian
52f77df613
Ye-old pgindent run. Same 4-space tabs.
2000-04-12 17:17:23 +00:00
Bruce Momjian
6d79d6027c
>> 5. empty define that results in an empty but terminated line ( ; )
...
easy (maybe dumb) fix for 5 in attachment define.patch
greetings, Andreas
2000-03-23 23:16:49 +00:00
Tatsuo Ishii
d31ff14ed8
Fix memory overrun while setting ps status
1999-12-10 10:29:01 +00:00
Bruce Momjian
d0634aca39
configure cleanup
1999-07-18 17:38:25 +00:00
Bruce Momjian
3406901a29
Move some system includes into c.h, and remove duplicates.
1999-07-17 20:18:55 +00:00
Bruce Momjian
0cf1b79528
Cleanup of /include #include's, for 6.6 only.
1999-07-14 01:20:30 +00:00
Bruce Momjian
bd6f98af31
I suggest the following portability patch, which does not
...
change functionality, but makes the code more ANSI C'ish.
My AIX xlc compiler barfs on all of these. Can someone please
review and apply to current.
<<port.patch>>
Thanks
Andreas
1999-03-19 18:56:43 +00:00
Bruce Momjian
6724a50787
Change my-function-name-- to my_function_name, and optimizer renames.
1999-02-13 23:22:53 +00:00
Bruce Momjian
4090d17fee
SET_ARGS cleanup
1999-02-02 23:53:26 +00:00
Bruce Momjian
fa1a8d6a97
OK, folks, here is the pgindent output.
1998-09-01 04:40:42 +00:00
Marc G. Fournier
82555376a1
missed adding a new include file
1998-08-25 21:29:16 +00:00