Commits in week 33 (Aug 11 - Aug 17, 2003)
Commits25 commits
0Author
25Committer
0Reviewer
0Reported by
0Co-author
| Credit | Commit | Branches | Thread(s) | Committed |
|---|---|---|---|---|
| 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 |