| Committer | Show index predicate when doing \d on a partial index. 4cba72cc | master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more | No linked thread | Aug 05, 2001 |
| Committer | Endeavor to make pgstats buffer process (a) safe and (b) useful. 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. e8f10973 | master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more | No linked thread | Aug 05, 2001 |
| Committer | Remove no-longer-needed fcntl call (I'm not sure it *ever* did anything useful, in fact). 5181d37e | master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more | No linked thread | Aug 05, 2001 |
| Committer | Fix handling of SIGCHLD, per recent pghackers discussion: on some 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. dad8e410 | master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more | No linked thread | Aug 04, 2001 |
| Committer | Fix residual breakage from Windows socket-errno patch: the routines that should use regular errno, not WSAGetLastError(), now do so again. 2b769c82 | master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more | No linked thread | Aug 03, 2001 |
| Committer | Fix win32.mak to support MULTIBYTE build --- it was pulling in several backend files that it shouldn't anymore, causing compile failures. Per report from Darko Prenosil. 886d7dec | master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more | No linked thread | Aug 03, 2001 |
| Committer | For some reason, CREATE TYPE has only accepted alignment specifications of 'int4' and 'double'. Add 'char' and 'int2' to allow user-defined types to access the full set of supported alignments. fd61fbe8 | master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more | No linked thread | Aug 03, 2001 |
| Committer | Back-patch fixes for dumping user-defined types and dumping comments on views. 7df68bdd | REL7_1_STABLE7.1.3 | No linked thread | Aug 03, 2001 |
| Committer | Fix pg_dump so that comments on views are dumped in the proper sequence. Dump the alignment and storage information for user-defined types (how'd that manage to slip through the cracks?), and don't dump 'shell' types that don't have typisdefined set. Fix badly broken logic for dependencies of type definitions (did not work for more than one user-defined type...). Avoid memory leakage within pg_dump by being more careful to release storage used by PQExpBuffer objects. 8f0ee46d | master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more | No linked thread | Aug 03, 2001 |
| Committer | Clean up various memory leaks within plpgsql, and re-enable the exec_eval_simple_expr shortcut, which was diked out in 7.1 because it leaked too much space. CVS tip now leaks no memory in Chris Ruprecht's example, which formerly leaked to the tune of 500 MB. (Much of this is work that Jan already did; this commit just cleans up around the edges.) 42fbb6db | master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more | No linked thread | Aug 02, 2001 |
| Committer | Add a SPI_copytupledesc function that parallels SPI_copytuple --- ie, it copies the tupdesc into upper-executor memory. This is necessary for returning tuple descriptors without leaking all of lower exec memory. f59f3c88 | master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more | No linked thread | Aug 02, 2001 |
| Committer | Tweak memory context sizing for saved SPI plans. ba4d223c | master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more | No linked thread | Aug 02, 2001 |
| Committer | Fix some poor decisions about sizing of trigger-related memory contexts. ecaa2e01 | master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more | No linked thread | Aug 02, 2001 |
| Committer | Even though SO_PEERCRED is probably totally unportable, might as well declare the getsockopt parameter as ACCEPT_TYPE_ARG3 to be consistent with our other uses of getsockopt. d00b2722 | master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more | No linked thread | Aug 02, 2001 |
| Committer | Remove SO_PASSCRED step in ident_unix --- according to Helge Bahmann, that call is not needed to prepare for SO_PEERCRED. Also, simplify code so that #ifdef SO_PEERCRED appears in only one place, to make it easier to support other platforms with variants of this capability. 49435fb9 | master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more | No linked thread | Aug 02, 2001 |
| Committer | Digging through previous discussion of this patch, I note where Peter E. points out how silly it is to use Autoconf to test for a preprocessor symbol, when one can equally easily #ifdef on the symbol itself. Accordingly, revert configure to prior state and do it that way. cb90b2da | master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more | No linked thread | Aug 01, 2001 |
| Committer | Support ident authentication on local (Unix) socket connections, if the system supports SO_PEERCRED requests for Unix sockets. This is an amalgamation of patches submitted by Helge Bahmann and Oliver Elphick, with some editorializing by yours truly. bc042e0a | master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more | No linked thread | Aug 01, 2001 |
| Committer | Message typo was fixed in sources, but not in de.po. 8c6761ac | master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more | No linked thread | Aug 01, 2001 |
| Committer | Cleanup code for preparsing pg_hba.conf and pg_ident.conf. Store line number in the data structure so that we can give at least a minimally useful idea of where the mistake is when we issue syntax error messages. Move the ClientAuthentication() call to where it should have been in the first place, so that postmaster memory releasing can happen in a reasonable place also. Update obsolete comments, correct one real bug (auth_argument was not picked up correctly). 77896d1f | master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more | No linked thread | Jul 31, 2001 |
| Committer | Further thought shows that has_distinct_on_clause() needs to take much more care with resjunk tlist entries than it was doing. The original coding ignored resjunk entries entirely, but a resjunk entry that is in either the distinctClause or sortClause lists indicates that DISTINCT ON was used. It's important for ruleutils.c to get this right, else we may dump views using DISTINCT ON incorrectly. 0889bd00 | master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more | No linked thread | Jul 31, 2001 |
| Committer | Fix optimizer to not try to push WHERE clauses down into a sub-SELECT that has a DISTINCT ON clause, per bug report from Anthony Wood. While at it, improve the DISTINCT-ON-clause recognizer routine to not be fooled by out- of-order DISTINCT lists. Also, back-patch earlier fix to not push down into sub-SELECT with LIMIT. a1e17cd5 | REL7_1_STABLE7.1.3 | No linked thread | Jul 31, 2001 |
| Committer | Fix optimizer to not try to push WHERE clauses down into a sub-SELECT that has a DISTINCT ON clause, per bug report from Anthony Wood. While at it, improve the DISTINCT-ON-clause recognizer routine to not be fooled by out- of-order DISTINCT lists. 421467cd | master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more | No linked thread | Jul 31, 2001 |
| Committer | Remove WIN32_NON_BLOCKING_CONNECTIONS tests, since we don't need 'em anymore. 6d0d838c | master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more | No linked thread | Jul 31, 2001 |
| Committer | Fix unportable coding for FRONTEND case. c4c194f1 | master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more | No linked thread | Jul 31, 2001 |
| Committer | Change SQL commands embedded in the initdb script from the style echo "command" | postgres to the style postgres <<EOF command EOF This makes the script more legible (IMHO anyway) by reducing the need to escape quotes, and allows us to execute successive SQL commands in a single standalone-backend run, rather than needing to start a new standalone backend for each command. With all the CREATE VIEWs that are getting done now, this makes for a rather substantial reduction in the runtime of initdb. (Some of us do initdb often enough to care how long it runs ;-).) 267a8f82 | master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more | No linked thread | Jul 31, 2001 |