Filter:

Commits in week 33 (Aug 11 - Aug 17, 2003)

Commits25 commits
0Author
25Committer
0Reviewer
0Reported by
0Co-author
CreditCommitBranchesThread(s)Committed
CommitterFix 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.
e9452463
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
No linked threadAug 17, 2003
CommitterClean 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.
de9c553f
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
No linked threadAug 17, 2003
CommitterSomebody forgot to include any actual documentation for ADD_MISSING_FROM.
c7718381
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
No linked threadAug 17, 2003
CommitterUpdate 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.
42159479
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
No linked threadAug 17, 2003
CommitterFix broken markup.
1b687044
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
No linked threadAug 17, 2003
CommitterCreate 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.
ec646dbc
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
No linked threadAug 17, 2003
CommitterRewrite 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.
432ca911
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
No linked threadAug 15, 2003
CommitterMinor copy-editing.
0684043e
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
No linked threadAug 14, 2003
CommitterFix longstanding thinko in SSL protocol documentation: the server's initial response is 'S', not 'Y', when it is willing to do SSL.
483363b0
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
No linked threadAug 14, 2003
CommitterAdd missing quotes.
4529d2cf
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
No linked threadAug 14, 2003
CommitterSomeone moved PageOutput here from common.c, but forgot to move all the #includes it depends on.
80cedf9b
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
No linked threadAug 14, 2003
CommitterRemove unnecessary #include's (see c.h).
dbb4dd29
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
No linked threadAug 14, 2003
CommitterWorkaround for platforms that have getaddrinfo() without AI_NUMERICHOST. We don't actually need the flag, so just #define it as zero in such cases.
71b0fe5b
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
No linked threadAug 14, 2003
CommitterHandle double-quotes correctly in user names in ACL lists.
2b5f049f
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
No linked threadAug 14, 2003
Committerlibpq 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.
c01641f8
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
No linked threadAug 13, 2003
CommitterAdd 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.
0be731ad
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
No linked threadAug 13, 2003
CommitterMove 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.
5be44fa4
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
No linked threadAug 13, 2003
CommitterInclude '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.
92345910
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
No linked threadAug 12, 2003
CommitterCope with NoData message from backend. Needed for case where PQexecParams is used with a statement that doesn't return data.
90ade5b7
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
No linked threadAug 12, 2003
CommitterMarginal 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.
b6e5823e
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
No linked threadAug 12, 2003
CommitterChange 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.)
fcb90fdc
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
No linked threadAug 12, 2003
CommitterAvoid unnecessary work when stats collection is disabled. Tighten search loop in pgstat_initstats. Per report from Gavin Sherry.
1c6702f6
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
No linked threadAug 12, 2003
CommitterRewriter 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.
302f1a86
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
No linked threadAug 11, 2003
CommitterCode 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().
88381ade
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
No linked threadAug 11, 2003
CommitterDo not link in libwsock32 on non-win32 platforms. Improve grammar of thread-safety comments.
cae912d0
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
No linked threadAug 11, 2003