postgresql/src/include/libpq
Tom Lane 39edcf59a2 Repair an error introduced by log_line_prefix patch: it is not acceptable
to assume that the string pointer passed to set_ps_display is good forever.
There's no need to anyway since ps_status.c itself saves the string, and
we already had an API (get_ps_display) to return it.
I believe this explains Jim Nasby's report of intermittent crashes in
elog.c when %i format code is in use in log_line_prefix.
While at it, repair a previously unnoticed problem: on some platforms such as
Darwin, the string returned by get_ps_display was blank-padded to the maximum
length, meaning that lock.c's attempt to append " waiting" to it never worked.
2005-11-05 03:05:05 +00:00
..
auth.h Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
be-fsstubs.h Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
crypt.h Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
hba.h Fix a read of uninitialized memory in next_token() of hba.c, spotted via 2004-02-02 16:58:30 +00:00
ip.h Some more missed copyright notices. Many of these look like they 2005-01-01 20:44:34 +00:00
libpq-be.h Repair an error introduced by log_line_prefix patch: it is not acceptable 2005-11-05 03:05:05 +00:00
libpq-fs.h Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
libpq.h Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
pqcomm.h Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
pqformat.h Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
pqsignal.h Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00