- 24 7月, 2003 1 次提交
-
-
由 Tom Lane 提交于
was modified for IPv6. Use a robust definition of struct sockaddr_storage, do a proper configure test to see if ss_len exists, don't assume that getnameinfo() will handle AF_UNIX sockets, don't trust getaddrinfo to return the protocol we ask for, etc. This incorporates several outstanding patches from Kurt Roeckx, but I'm to blame for anything that doesn't work ...
-
- 23 7月, 2003 2 次提交
- 12 6月, 2003 1 次提交
-
-
由 Bruce Momjian 提交于
Kurt Roeckx Andrew Dunstan
-
- 16 5月, 2003 1 次提交
-
-
由 Bruce Momjian 提交于
Win32 port is now called 'win32' rather than 'win' add -lwsock32 on Win32 make gethostname() be only used when kerberos4 is enabled use /port/getopt.c new /port/opendir.c routines disable GUC unix_socket_group on Win32 convert some keywords.c symbols to KEYWORD_P to prevent conflict create new FCNTL_NONBLOCK macro to turn off socket blocking create new /include/port.h file that has /port prototypes, move out of c.h new /include/port/win32_include dir to hold missing include files work around ERROR being defined in Win32 includes
-
- 28 4月, 2003 1 次提交
-
-
由 Tom Lane 提交于
I had inadvertently omitted it while rearranging things to support length-counted incoming messages. Also, change the parser's API back to accepting a 'char *' query string instead of 'StringInfo', as the latter wasn't buying us anything except overhead. (I think when I put it in I had some notion of making the parser API 8-bit-clean, but seeing that flex depends on null-terminated input, that's not really ever gonna happen.)
-
- 26 4月, 2003 1 次提交
-
-
由 Tom Lane 提交于
new stats collector oftener than once a minute. Per gripe from Erik Walthinsen 4/25/03.
-
- 25 4月, 2003 1 次提交
-
-
由 Bruce Momjian 提交于
it, and map that to close() on Unix.
-
- 20 3月, 2003 1 次提交
-
-
由 Bruce Momjian 提交于
Neil Conway
-
- 25 10月, 2002 1 次提交
-
-
由 Tom Lane 提交于
field is signed. Clean up casting.
-
- 22 10月, 2002 1 次提交
-
-
由 Tom Lane 提交于
pgstat_vacuum_tabstat(). Assume that caller (namely, VACUUM) has done the appropriate state checking beforehand.
-
- 26 9月, 2002 1 次提交
-
-
由 Tom Lane 提交于
ProcKill instead, where we still have a PGPROC with which to wait on LWLocks. This fixes 'can't wait without a PROC structure' failures occasionally seen during backend shutdown (I'm surprised they weren't more frequent, actually). Add an Assert() to LWLockAcquire to help catch any similar mistakes in future. Fix failure to update MyProcPid for standalone backends and pgstat processes.
-
- 06 9月, 2002 1 次提交
-
-
由 Peter Eisentraut 提交于
recvfrom(), not void*.)
-
- 05 9月, 2002 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 02 9月, 2002 2 次提交
-
-
由 Bruce Momjian 提交于
because c.h has sys/types.h.
-
由 Tom Lane 提交于
(overlaying low byte of page size) and add HEAP_HASOID bit to t_infomask, per earlier discussion. Simplify scheme for overlaying fields in tuple header (no need for cmax to live in more than one place). Don't try to clear infomask status bits in tqual.c --- not safe to do it there. Don't try to force output table of a SELECT INTO to have OIDs, either. Get rid of unnecessarily complex three-state scheme for TupleDesc.tdhasoids, which has already caused one recent failure. Improve documentation.
-
- 29 8月, 2002 1 次提交
-
-
由 Tatsuo Ishii 提交于
-
- 04 8月, 2002 1 次提交
-
-
由 Bruce Momjian 提交于
the statistics collector and makes a number of corrections to the documentation for SET, SHOW, and COPY. Neil Conway
-
- 20 7月, 2002 1 次提交
-
-
由 Bruce Momjian 提交于
bitmap, if present). Per Tom Lane's suggestion the information whether a tuple has an oid or not is carried in the tuple descriptor. For debugging reasons tdhasoid is of type char, not bool. There are predefined values for WITHOID, WITHOUTOID and UNDEFOID. This patch has been generated against a cvs snapshot from last week and I don't expect it to apply cleanly to current sources. While I post it here for public review, I'm working on a new version against a current snapshot. (There's been heavy activity recently; hope to catch up some day ...) This is a long patch; if it is too hard to swallow, I can provide it in smaller pieces: Part 1: Accessor macros Part 2: tdhasoid in TupDesc Part 3: Regression test Part 4: Parameter withoid to heap_addheader Part 5: Eliminate t_oid from HeapTupleHeader Part 2 is the most hairy part because of changes in the executor and even in the parser; the other parts are straightforward. Up to part 4 the patched postmaster stays binary compatible to databases created with an unpatched version. Part 5 is small (100 lines) and finally breaks compatibility. Manfred Koizar
-
- 21 5月, 2002 1 次提交
-
-
由 Tom Lane 提交于
yesterday's proposal to pghackers. Also remove unnecessary parameters to heap_beginscan, heap_rescan. I modified pg_proc.h to reflect the new numbers of parameters for the AM interface routines, but did not force an initdb because nothing actually looks at those fields.
-
- 05 5月, 2002 1 次提交
-
-
由 Tom Lane 提交于
As proof of concept, provide an alternate implementation based on POSIX semaphores. Also push the SysV shared-memory implementation into a separate file so that it can be replaced conveniently.
-
- 03 4月, 2002 1 次提交
-
-
由 Tom Lane 提交于
per recent discussion on pghackers. Also, fix PGSTAT code to report errors via elog, not scribbling directly on stderr.
-
- 06 3月, 2002 1 次提交
-
-
由 Bruce Momjian 提交于
o Change all current CVS messages of NOTICE to WARNING. We were going to do this just before 7.3 beta but it has to be done now, as you will see below. o Change current INFO messages that should be controlled by client_min_messages to NOTICE. o Force remaining INFO messages, like from EXPLAIN, VACUUM VERBOSE, etc. to always go to the client. o Remove INFO from the client_min_messages options and add NOTICE. Seems we do need three non-ERROR elog levels to handle the various behaviors we need for these messages. Regression passed.
-
- 08 2月, 2002 1 次提交
-
-
由 Tom Lane 提交于
Patch from sugita@sra.co.jp.
-
- 04 12月, 2001 1 次提交
-
-
由 Tom Lane 提交于
-
- 27 11月, 2001 1 次提交
-
-
由 Tom Lane 提交于
member offset.
-
- 25 10月, 2001 1 次提交
-
-
由 Bruce Momjian 提交于
tests pass.
-
- 23 10月, 2001 1 次提交
-
-
由 Tom Lane 提交于
environment strings need to be moved around, do so when called from initial startup (main.c), not in init_ps_status. This eliminates the former risk of invalidating saved environment-string pointers, since no code has yet had a chance to grab any such pointers when main.c is running.
-
- 21 10月, 2001 1 次提交
-
-
由 Tom Lane 提交于
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.
-
- 17 10月, 2001 1 次提交
-
-
由 Tom Lane 提交于
-
- 06 10月, 2001 1 次提交
-
-
由 Tom Lane 提交于
readability. Bizarre '(long *) TRUE' return convention is gone, in favor of just raising an error internally in dynahash.c when we detect hashtable corruption. HashTableWalk is gone, in favor of using hash_seq_search directly, since it had no hope of working with non-LONGALIGNable datatypes. Simplify some other code that was made undesirably grotty by promixity to HashTableWalk.
-
- 02 10月, 2001 1 次提交
-
-
由 Tom Lane 提交于
Partial support for BEOS (not sure whether second fork of grandchild process needs these extra calls or not; someone who has BEOS will need to test it).
-
- 01 10月, 2001 1 次提交
-
-
由 Tom Lane 提交于
portability issues). Caller-visible data structures are now allocated on MAXALIGN boundaries, allowing safe use of datatypes wider than 'long'. Rejigger hash_create API so that caller specifies size of key and total size of entry, not size of key and size of rest of entry. This simplifies life considerably since each number is just a sizeof(), and padding issues etc. are taken care of automatically.
-
- 24 8月, 2001 1 次提交
-
-
由 Tom Lane 提交于
(TransactionIdPrecedes, TransactionIdFollows, etc). First step on the way to transaction ID wrap solution ...
-
- 05 8月, 2001 1 次提交
-
-
由 Tom Lane 提交于
Make sure it exits immediately when collector process dies --- in old code, buffer process would hang around and compete with the new buffer process for packets. Make sure it doesn't block on writing the pipe when the collector falls more than a pipeload behind. Avoid leaking pgstats FDs into every backend.
-
- 04 8月, 2001 1 次提交
-
-
由 Tom Lane 提交于
platforms system(2) gets confused unless the signal handler is set to SIG_DFL, not SIG_IGN. pgstats.c now uses pqsignal() as it should, not signal(). Also, arrange for the stats collector process to show a reasonable ID in 'ps', rather than looking like a postmaster.
-
- 05 7月, 2001 1 次提交
-
-
由 Jan Wieck 提交于
Jan
-
- 01 7月, 2001 1 次提交
-
-
由 Peter Eisentraut 提交于
-
- 30 6月, 2001 1 次提交
-
-
由 Jan Wieck 提交于
for speed. Jan
-
- 23 6月, 2001 1 次提交
-
-
由 Jan Wieck 提交于
Jan
-