Filter:

Commits in August 2003

Commits96 commits of which 5 backported
0Author
96Committer
0Reviewer
0Reported by
0Co-author
CreditCommitBranchesThread(s)Committed
CommitterMake documentation of pg_restore's -N, -o, -r switches bear some slight resemblance to their actual behavior.
7e2a4cfe
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
No linked threadAug 28, 2003
Committerpg_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.
209a8d63
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
No linked threadAug 28, 2003
CommitterEnsure that FK constraints are dumped after primary/unique constraints, rather than relying on OID order of pg_constraint entries. Per gripe from Greg Stark.
80bc61c8
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
No linked threadAug 28, 2003
CommitterFix stupid typo (mine I suppose) in CopyGetData. Per report from Dave Cramer.
ce2ab413
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
No linked threadAug 28, 2003
CommitterAdjust 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.
d1031cde
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
No linked threadAug 27, 2003
CommitterDepartment of second thoughts: can't reorder merge-join clauses.
64a32f9d
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
No linked threadAug 27, 2003
CommitterPush subplan clauses to the back in qual lists for join plans, not only scan plans. Per observation from Rod Taylor.
73e3edf2
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 26, 2003
CommitterUse 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.
1de9615a
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 26, 2003
CommitterMop-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.
f63cbcca
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 26, 2003
CommitterAdd 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.
3e51c155
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 25, 2003
CommitterAllow 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.
412c57b1
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 25, 2003
CommitterRefactor 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.
a17f2d76
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 25, 2003
CommitterSigh, I'm an idiot ... SSL_ERROR_WANT_READ isn't an error condition at all, it just means 'no data available yet'.
b0a0a806
REL7_3_STABLE7.3.5
No linked threadAug 22, 2003
CommitterTweak 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.
29a43f39
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 22, 2003
CommitterTweak 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.
92ee2528
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 22, 2003
CommitterUpdates for array documentation, from Joe Conway.
432fb5b8
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 19, 2003
CommitterImprove 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.
80860c32
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 19, 2003
CommitterWhen 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.
23e10843
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 18, 2003
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
CommitterRepair 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.
ffafacc1
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 10, 2003
CommitterMake various links point to specific places instead of entire parts (doubtless these are hangovers from the old separate-books days).
18c10877
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 10, 2003
CommitterRequest verbose error message output in bug reports.
0019532f
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 10, 2003
CommitterUpdate docs for 7.4 array features and polymorphic functions. This is Joe Conway's patch of 7-Aug plus further editorializing of my own.
5bfb0540
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 09, 2003
CommitterAvoid malloc(0). Although standard mallocs seem not to object, some debugging malloc packages do.
635d00ec
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 08, 2003
CommitterFix nasty little order-of-operations bug in _SPI_cursor_operation. Per report from Mendola Gaetano.
332c6940
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 08, 2003
CommitterSuppress unused-variable warnings when building without Asserts.
870886af
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 08, 2003
CommitterBackportedConversion functions must be STRICT to prevent them from getting null inputs.
f6564377
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
No linked threadAug 08, 2003
CommitterFix 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.
f2b6bb42
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 08, 2003
CommitterFix typo.
31773533
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 07, 2003
CommitterDon'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.
33ab177a
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 07, 2003
CommitterSCO_ACCEPT_BUG code didn't get updated for new SockAddr struct definition.
fea2ffa7
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 07, 2003
Committercreate_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.
ecbed6e1
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 07, 2003
CommitterDon'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.
d862045d
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 07, 2003
CommitterRemove 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.
b830e933
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 07, 2003
CommitterRename fields of DestReceiver to avoid collisions with (ill-considered) macros in some platforms' sys/socket.h.
338aa57b
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 06, 2003
CommitterAdopt a random backoff algorithm for sleep delays when waiting for a spinlock. Per recent pghackers discussion.
d5f7d2c6
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 06, 2003
CommitterFix 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.
a6672880
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 06, 2003
CommitterImprove 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.
630684d3
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 05, 2003
CommitterBackportedFix 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.
9d41073f
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
No linked threadAug 05, 2003
CommitterFix some copyright notices that weren't updated. Improve copyright tool so it won't miss 'em again.
2f9c859e
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
No linked threadAug 04, 2003
CommitterUpdate vacuumlo to be properly schema-aware. Improve documentation.
77489f45
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
No linked threadAug 04, 2003
CommitterFix erroneous direct reference to postgres.tar.gz, per bug report from Garrick Staples.
c45b851e
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
No linked threadAug 04, 2003
CommitterSub-Makefiles need to explicitly add CFLAGS_SL to CFLAGS, else their object files do not get built with -fpic.
3b29525a
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
No linked threadAug 04, 2003
CommitterFix to build correctly outside source tree.
f237a80d
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
No linked threadAug 04, 2003
CommitterMust print server's failure message before trying reconnect, not after.
17d6721e
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
No linked threadAug 04, 2003
CommitterFix pltcl and plpython to support STATEMENT triggers.
e627dd2d
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
No linked threadAug 04, 2003
CommitterBackportedSSL_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.
e8e1d455
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
No linked threadAug 04, 2003
CommitterBackportedFix some more problems with testing error returns from SSL.
39a9496d
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
No linked threadAug 04, 2003
CommitterMinor cleanups in S_LOCK_TEST code.
963c1fa9
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
No linked threadAug 04, 2003
CommitterHPUX's horology behavior is OS-dependent, not hardware-dependent.
5f6401e2
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
No linked threadAug 04, 2003
CommitterRemove --enable-recode feature, since it's been broken by IPv6 changes, and seems to have too few users to justify maintaining.
4c3c8c04
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
No linked threadAug 04, 2003
CommitterPut back braces removed by pgindent (not really pgindent's fault).
010c6504
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
No linked threadAug 04, 2003
CommitterTighten 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.
455a55fc
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
No linked threadAug 03, 2003
CommitterReconsider context for calling callback functions --- original idea that they aren't part of error processing is clearly faulty.
c1c7b338
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
No linked threadAug 03, 2003
CommitterDon't pull in libbind except on BeOS, per pgsql-bugs discussion around 12 Jun 2003.
850489ab
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
No linked threadAug 03, 2003
CommitterComment out entries for IPv6 localhost connections, since they fail on machines with no IPv6 support.
17bb563a
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
No linked threadAug 01, 2003
CommitterPostmaster erroneously rejected SSL connections on IPv6.
5b545644
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
No linked threadAug 01, 2003
CommitterFix some unprotected references to AF_UNIX ... wouldn't compile on platforms without AF_UNIX sockets.
3b7c5aa5
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
No linked threadAug 01, 2003
Committerinet_recv() wasn't IPv6-ready.
e490ee80
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
No linked threadAug 01, 2003
CommitterCode 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).
57c08791
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
No linked threadAug 01, 2003
CommitterSince 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.
13ac54d1
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
No linked threadAug 01, 2003
CommitterGet the include ordering right for TCL includes vs whatever is coming from --with-includes.
75619cff
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
No linked threadAug 01, 2003
CommitterFix a few of the more blatantly unportable constructs in this file.
6520c666
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
No linked threadAug 01, 2003
CommitterFix inconsistent static-vs-not-static declarations.
3a1ed876
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
No linked threadAug 01, 2003
CommitterFix compile warning.
38a412ec
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
No linked threadAug 01, 2003
CommitterFix for Alpha portability.
2c018f9b
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
No linked threadAug 01, 2003
CommitterUpdate contrib regression tests for recent error message editing.
6ed071bc
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
No linked threadAug 01, 2003
CommitterBackportedAdd missing #include.
1e120a8e
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
No linked threadAug 01, 2003
CommitterFix some minor portability issues, per Chris K-L.
3896f48d
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
No linked threadAug 01, 2003
CommitterFix my own mistake in GUC variable annotation.
30f665d7
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
No linked threadAug 01, 2003
CommitterImprove description of restoring pg_dumpall backups, per gripe from Havard Eidnes.
eb06e6d1
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
No linked threadAug 01, 2003
CommitterAdjust 'permission denied' messages to be more useful and consistent.
c4cf7fb8
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
No linked threadAug 01, 2003