Commits in August 2003
Commits96 commits
0Author
96Committer
0Reviewer
0Reported by
0Co-author
| Credit | Commit | Branches | Thread(s) | Committed |
|---|---|---|---|---|
| Committer | Make documentation of pg_restore's -N, -o, -r switches bear some slight resemblance to their actual behavior. | master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more | Aug 28, 2003 | |
| Committer | pg_dump and pg_restore -r had managed to diverge on the ordering of different object types. Fix, and centralize logic to try to prevent the same mistake in future. | master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more | Aug 28, 2003 | |
| Committer | Ensure that FK constraints are dumped after primary/unique constraints, rather than relying on OID order of pg_constraint entries. Per gripe from Greg Stark. | master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more | Aug 28, 2003 | |
| Committer | Fix stupid typo (mine I suppose) in CopyGetData. Per report from Dave Cramer. | master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more | Aug 28, 2003 | |
| Committer | Adjust date/time input parsing code to correctly distinguish the four SQLSTATE error codes required by SQL99 (invalid format, datetime field overflow, interval field overflow, invalid time zone displacement value). Also emit a HINT about DateStyle in cases where it seems appropriate. Per recent gripes. | master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more | Aug 27, 2003 | |
| Committer | Department of second thoughts: can't reorder merge-join clauses. | master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more | Aug 27, 2003 | |
| Committer | Push subplan clauses to the back in qual lists for join plans, not only scan plans. Per observation from Rod Taylor. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 26, 2003 | |
| Committer | Use separate SQLSTATE codes for file not found/file exists, rather than lumping them into ERRCODE_UNDEFINED_OBJECT/ERRCODE_DUPLICATE_OBJECT. This seems reasonable since 'object' was meant to refer to 'object in the database' and a file is outside the database. Per request from Dave Cramer. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 26, 2003 | |
| Committer | Mop-up for previous change to determine default shared_buffers and max_connections at initdb time. Get rid of DEF_NBUFFERS and DEF_MAXBACKENDS macros, which aren't doing anything useful anymore, and put more likely defaults into postgresql.conf.sample. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 26, 2003 | |
| Committer | Add the Brazilian time zone abbreviations BRT, BRST, FNT, FNST. ACT and ACST were already present. AMT and AMST conflict with the existing entries for Armenia; no change there for the moment. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 25, 2003 | |
| Committer | Allow parsing of time and timetz inputs to accept the documented input syntax '040506' for '04:05:06', as well as '0405' for '04:05:00'. This has been broken since 7.2 but was only recently complained of. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 25, 2003 | |
| Committer | Refactor code so that to_date() does not call to_timestamp() and then perform a timestamp-to-date coercion. Instead both routines share a subroutine that delivers the parsing result as a struct tm. This avoids problems with timezone dependency of to_date's result, and should be at least marginally faster too. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 25, 2003 | |
| Committer | Sigh, I'm an idiot ... SSL_ERROR_WANT_READ isn't an error condition at all, it just means 'no data available yet'. | REL7_3_STABLE7.3.5 | Aug 22, 2003 | |
| Committer | Tweak grammar to use FastAppend rather than lappend when constructing expr_lists. This appears to be the only remaining O(N^2) bottleneck in processing many-way 'x IN (a,b,c,...)' conditions. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 22, 2003 | |
| Committer | Tweak processing of multiple-index-scan plans to reduce overhead when handling many-way scans: instead of re-evaluating all prior indexscan quals to see if a tuple has been fetched more than once, use a hash table indexed by tuple CTID. But fall back to the old way if the hash table grows to exceed SortMem. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 22, 2003 | |
| Committer | Updates for array documentation, from Joe Conway. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 19, 2003 | |
| Committer | Improve dynahash.c's API so that caller can specify the comparison function as well as the hash function (formerly the comparison function was hardwired as memcmp()). This makes it possible to eliminate the special-purpose hashtable management code in execGrouping.c in favor of using dynahash to manage tuple hashtables; which is a win because dynahash knows how to expand a hashtable when the original size estimate was too small, whereas the special-purpose code was too stupid to do that. (See recent gripe from Stephan Szabo about poor performance when hash table size estimate is way off.) Free side benefit: when using string_hash, the default comparison function is now strncmp() instead of memcmp(). This should eliminate some part of the overhead associated with larger NAMEDATALEN values. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 19, 2003 | |
| Committer | When compiling a plpgsql trigger function, include the OID of the table the trigger is attached to in the hashkey. This ensures that we will create separate compiled trees for each table the trigger is used with, avoiding possible datatype-mismatch problems if the tables have different rowtypes. This is essentially the same bug recently identified in plpython --- though plpgsql doesn't seem as prone to crash when the rowtype changes underneath it. But failing robustly is no substitute for just working. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 18, 2003 | |
| Committer | Fix ARRAY[] construct so that in multidimensional case, elements can be anything yielding an array of the proper kind, not only sub-ARRAY[] constructs; do subscript checking at runtime not parse time. Also, adjust array_cat to make array || array comply with the SQL99 spec. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 17, 2003 | |
| Committer | Clean up locktable init code per recent gripe from Kurt Roeckx. No change in behavior, but old code would have failed to detect overrun of MAX_LOCKMODES. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 17, 2003 | |
| Committer | Somebody forgot to include any actual documentation for ADD_MISSING_FROM. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 17, 2003 | |
| Committer | Update documentation to reflect the fact that ORDER BY, GROUP BY, etc are now driven by the default btree opclass, rather than assuming that particular operator names have the needed semantics. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 17, 2003 | |
| Committer | Fix broken markup. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 17, 2003 | |
| Committer | Create a 'type cache' that keeps track of the data needed for any particular datatype by array_eq and array_cmp; use this to solve problems with memory leaks in array indexing support. The parser's equality_oper and ordering_oper routines also use the cache. Change the operator search algorithms to look for appropriate btree or hash index opclasses, instead of assuming operators named '<' or '=' have the right semantics. (ORDER BY ASC/DESC now also look at opclasses, instead of assuming '<' and '>' are the right things.) Add several more index opclasses so that there is no regression in functionality for base datatypes. initdb forced due to catalog additions. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 17, 2003 | |
| Committer | Rewrite array_cmp to not depend on deconstruct_array. Should be a little faster, but more importantly does not leak memory. Still needs more work though, per my recent note to pgsql-hackers. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 15, 2003 | |
| Committer | Minor copy-editing. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 14, 2003 | |
| Committer | Fix longstanding thinko in SSL protocol documentation: the server's initial response is 'S', not 'Y', when it is willing to do SSL. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 14, 2003 | |
| Committer | Add missing quotes. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 14, 2003 | |
| Committer | Someone moved PageOutput here from common.c, but forgot to move all the #includes it depends on. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 14, 2003 | |
| Committer | Remove unnecessary #include's (see c.h). | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 14, 2003 | |
| Committer | Workaround for platforms that have getaddrinfo() without AI_NUMERICHOST. We don't actually need the flag, so just #define it as zero in such cases. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 14, 2003 | |
| Committer | Handle double-quotes correctly in user names in ACL lists. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 14, 2003 | |
| Committer | libpq failed to cope with COPY FROM STDIN if the command was issued via extended query protocol, because it sends Sync right after Execute without realizing that the command to be executed is COPY. There seems to be no reasonable way for it to realize that, either, so the best fix seems to be to make the backend ignore Sync during copy-in mode. Bit of a wart on the protocol, but little alternative. Also, libpq must send another Sync after terminating the COPY, if the command was issued via Execute. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 13, 2003 | |
| Committer | Add PQexecPrepared() and PQsendQueryPrepared() functions, to allow libpq users to perform Bind/Execute of previously prepared statements. Per yesterday's discussion, this offers enough performance improvement to justify bending the 'no new features during beta' rule. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 13, 2003 | |
| Committer | Move MemoryContextCheck() call from bottom of PostgresMain loop to just before CommitTransactionCommand(). This is a more sensible place to put it since commit discards a lot of contexts, and we'd not find out about stomps affecting only transaction-local contexts. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 13, 2003 | |
| Committer | Include 'IPv4', 'IPv6', or 'Unix' in socket-creation failure messages, in hopes of soothing fears of those with partial IPv6 support. Still an open question whether we should report EAFNOSUPPORT errors at all, though. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 12, 2003 | |
| Committer | Cope with NoData message from backend. Needed for case where PQexecParams is used with a statement that doesn't return data. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 12, 2003 | |
| Committer | Marginal hacks to move some processing out of the per-client-message processing loop; avoids extra overhead when using parse/bind/execute messages instead of single Query message. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 12, 2003 | |
| Committer | Change some frequently-reached elog(DEBUG...) calls to ereport(DEBUG...) for speed reasons. (ereport falls out much more quickly when no output is needed than elog does.) | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 12, 2003 | |
| Committer | Avoid unnecessary work when stats collection is disabled. Tighten search loop in pgstat_initstats. Per report from Gavin Sherry. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 12, 2003 | |
| Committer | Rewriter and planner should use only resno, not resname, to identify target columns in INSERT and UPDATE targetlists. Don't rely on resname to be accurate in ruleutils, either. This fixes bug reported by Donald Fraser, in which renaming a column referenced in a rule did not work very well. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 11, 2003 | |
| Committer | Code cleanup inspired by recent resname bug report (doesn't fix the bug yet, though). Avoid using nth() to fetch tlist entries; provide a common routine get_tle_by_resno() to search a tlist for a particular resno. This replaces a couple uses of nth() and a dozen hand-coded search loops. Also, replace a few uses of nth(length-1, list) with llast(). | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 11, 2003 | |
| Committer | Do not link in libwsock32 on non-win32 platforms. Improve grammar of thread-safety comments. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 11, 2003 | |
| Committer | Repair potential deadlock created by recent changes to recycle btree index pages: when _bt_getbuf asks the FSM for a free index page, it is possible (and, in some cases, even moderately likely) that the answer will be the same page that _bt_split is trying to split. _bt_getbuf already knew that the returned page might not be free, but it wasn't prepared for the possibility that even trying to lock the page could be problematic. Fix by doing a conditional rather than unconditional grab of the page lock. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 10, 2003 | |
| Committer | Make various links point to specific places instead of entire parts (doubtless these are hangovers from the old separate-books days). | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 10, 2003 | |
| Committer | Request verbose error message output in bug reports. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 10, 2003 | |
| Committer | Update docs for 7.4 array features and polymorphic functions. This is Joe Conway's patch of 7-Aug plus further editorializing of my own. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 09, 2003 | |
| Committer | Avoid malloc(0). Although standard mallocs seem not to object, some debugging malloc packages do. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 08, 2003 | |
| Committer | Fix nasty little order-of-operations bug in _SPI_cursor_operation. Per report from Mendola Gaetano. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 08, 2003 | |
| Committer | Suppress unused-variable warnings when building without Asserts. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 08, 2003 | |
| CommitterBackported | Conversion functions must be STRICT to prevent them from getting null inputs. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+22 more | Aug 08, 2003 | |
| Committer | Fix floating-point timestamp comparisons to not go nuts if NaN is encountered; per bug report from Christian van der Leeden 8/7/03. Also, adjust larger/smaller routines (MAX/MIN) to share code with comparisons for timestamp, interval, timetz. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 08, 2003 | |
| Committer | Fix typo. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 07, 2003 | |
| Committer | Don't assume that struct option is available just because we can find a getopt_long(). This is more or less the same problem as we saw earlier with getaddrinfo() and struct addrinfo, and for the same reason: random user-added libraries might contain the subroutine, but there's no guarantee we will find the matching header files. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 07, 2003 | |
| Committer | SCO_ACCEPT_BUG code didn't get updated for new SockAddr struct definition. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 07, 2003 | |
| Committer | create_unique_plan() should not discard existing output columns of the subplan it starts with, as they may be needed at upper join levels. See comments added to code for the non-obvious reason why. Per bug report from Robert Creager. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 07, 2003 | |
| Committer | Don't use HAVE_STRUCT_ADDRINFO as a guide to whether netdb.h defines macros like AI_NUMERICHOST; instead, test the macros individually. Should fix recent reports of trouble on AIX and Unixware. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 07, 2003 | |
| Committer | Remove unnecessary use of multiple cat processes to feed psql; this reduces the number of concurrent processes launched during parallel regression tests, possibly avoiding failures such as exceeding a user's max number of processes. This essentially completes the reversion of 1.27->1.28. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 07, 2003 | |
| Committer | Rename fields of DestReceiver to avoid collisions with (ill-considered) macros in some platforms' sys/socket.h. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 06, 2003 | |
| Committer | Adopt a random backoff algorithm for sleep delays when waiting for a spinlock. Per recent pghackers discussion. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 06, 2003 | |
| Committer | Fix compiler-detected problem for Alphas: it seems strlen returns something wider than int on that platform. Also, remove bogus assumption that sizeof("INT_MAX") has something to do with the maximum number of digits in an int. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 06, 2003 | |
| Committer | Improve documentation of ParseDateTime(). Reorder tests to prevent writing one more value into return arrays than will fit. This is potentially a stack smash, though I do not think it is a problem in current uses of the routine, since a failure return causes elog anyway. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more | Aug 05, 2003 | |
| CommitterBackported | Fix several places where fractional-second inputs were misprocessed in HAVE_INT64_TIMESTAMP cases, including two potential stack smashes when more than six fractional digits were supplied. Per bug report from Philipp Reisner. | master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+22 more | Aug 05, 2003 | |
| Committer | Fix some copyright notices that weren't updated. Improve copyright tool so it won't miss 'em again. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 04, 2003 | |
| Committer | Update vacuumlo to be properly schema-aware. Improve documentation. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 04, 2003 | |
| Committer | Fix erroneous direct reference to postgres.tar.gz, per bug report from Garrick Staples. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 04, 2003 | |
| Committer | Sub-Makefiles need to explicitly add CFLAGS_SL to CFLAGS, else their object files do not get built with -fpic. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 04, 2003 | |
| Committer | Fix to build correctly outside source tree. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 04, 2003 | |
| Committer | Must print server's failure message before trying reconnect, not after. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 04, 2003 | |
| Committer | Fix pltcl and plpython to support STATEMENT triggers. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 04, 2003 | |
| CommitterBackported | SSL_read/SSL_write do not approximate the return conventions of recv() and send() very well at all; and in any case we can't use retval==0 for EOF due to race conditions. Make the same fixes in the backend as are required in libpq. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more | Aug 04, 2003 | |
| CommitterBackported | Fix some more problems with testing error returns from SSL. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more | Aug 04, 2003 | |
| Committer | Minor cleanups in S_LOCK_TEST code. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 04, 2003 | |
| Committer | HPUX's horology behavior is OS-dependent, not hardware-dependent. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 04, 2003 | |
| Committer | Remove --enable-recode feature, since it's been broken by IPv6 changes, and seems to have too few users to justify maintaining. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 04, 2003 | |
| Committer | Put back braces removed by pgindent (not really pgindent's fault). | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 04, 2003 | |
| Committer | Tighten inline_function's test for overly complex parameters. This should catch most situations where repeated inlining blows up the expression complexity unreasonably, as in Joe Conway's recent example. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 03, 2003 | |
| Committer | Reconsider context for calling callback functions --- original idea that they aren't part of error processing is clearly faulty. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 03, 2003 | |
| Committer | Don't pull in libbind except on BeOS, per pgsql-bugs discussion around 12 Jun 2003. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 03, 2003 | |
| Committer | Comment out entries for IPv6 localhost connections, since they fail on machines with no IPv6 support. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 01, 2003 | |
| Committer | Postmaster erroneously rejected SSL connections on IPv6. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 01, 2003 | |
| Committer | Fix some unprotected references to AF_UNIX ... wouldn't compile on platforms without AF_UNIX sockets. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 01, 2003 | |
| Committer | inet_recv() wasn't IPv6-ready. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 01, 2003 | |
| Committer | Code review for sslmode patch: eliminate memory leak, avoid giving a completely useless error message in 'allow' case, don't retry connection at the sendauth stage (by then the server will either let us in or not, no point in wasting cycles on another try in the other SSL state). | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 01, 2003 | |
| Committer | Since HPUX now exists for Itanium, we should decouple the assumption that OS=hpux is the same as CPU=hppa. First steps at doing this. With these patches, we still work on hppa with either gcc or HP's cc. We might work on hpux/itanium with gcc, but I can't test it. Definitely will not work on hpux/itanium with non-gcc compiler, for lack of spinlock code. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 01, 2003 | |
| Committer | Get the include ordering right for TCL includes vs whatever is coming from --with-includes. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 01, 2003 | |
| Committer | Fix a few of the more blatantly unportable constructs in this file. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 01, 2003 | |
| Committer | Fix inconsistent static-vs-not-static declarations. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 01, 2003 | |
| Committer | Fix compile warning. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 01, 2003 | |
| Committer | Fix for Alpha portability. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 01, 2003 | |
| Committer | Update contrib regression tests for recent error message editing. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 01, 2003 | |
| CommitterBackported | Add missing #include. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 01, 2003 | |
| Committer | Fix some minor portability issues, per Chris K-L. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 01, 2003 | |
| Committer | Fix my own mistake in GUC variable annotation. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 01, 2003 | |
| Committer | Improve description of restoring pg_dumpall backups, per gripe from Havard Eidnes. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 01, 2003 | |
| Committer | Adjust 'permission denied' messages to be more useful and consistent. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 01, 2003 |