Filter:

Commits in October 2006

Commits87 commits of which 15 backported
0Author
87Committer
0Reviewer
0Reported by
0Co-author
CreditCommitBranchesThread(s)Committed
CommitterFix misstatement about the results of using -1 with BEGIN.
7e63445d
master8.2beta3REL_19_STABLE8.2beta3REL_18_STABLE8.2beta3REL_17_STABLE8.2beta3REL_16_STABLE8.2beta3REL_15_STABLE8.2beta3REL_14_STABLE8.2beta3REL_13_STABLE8.2beta3+18 more
No linked threadOct 31, 2006
Committerexpression_tree_walker failed to let walker function see the immediate child node of a SubLink or SubPlan testexpr field. Bug resulted from replacing the old lefthand/exprs list fields with a simple expression field, and not remembering that expression_tree_walker is coded to save a few cycles by recursing directly to self on list fields (on the assumption the walker isn't interested in List nodes per se). On non-list fields it must of course call the walker. Possibly that hack isn't worth the risk of more such bugs, but I'll leave it be for now. Per bug report from James Robinson.
76d5f6f0
master8.2beta3REL_19_STABLE8.2beta3REL_18_STABLE8.2beta3REL_17_STABLE8.2beta3REL_16_STABLE8.2beta3REL_15_STABLE8.2beta3REL_14_STABLE8.2beta3REL_13_STABLE8.2beta3+18 more
No linked threadOct 25, 2006
CommitterFix check for whether a clauseless join has to be forced in the presence of outer joins. Originally it was only looking for overlap of the righthand side of a left join, but we have to do it on the lefthand side too. Per example from Jean-Pierre Pelletier.
4df8de7a
master8.2beta3REL_19_STABLE8.2beta3REL_18_STABLE8.2beta3REL_17_STABLE8.2beta3REL_16_STABLE8.2beta3REL_15_STABLE8.2beta3REL_14_STABLE8.2beta3REL_13_STABLE8.2beta3+18 more
No linked threadOct 24, 2006
CommitterTweak zic.c to compile cleanly on MSVC: use CopyFile instead of CopyFileEx. This avoids a warning about the function not being present on older Windows versions. Magnus Hagander
d8221dfa
master8.2beta3REL_19_STABLE8.2beta3REL_18_STABLE8.2beta3REL_17_STABLE8.2beta3REL_16_STABLE8.2beta3REL_15_STABLE8.2beta3REL_14_STABLE8.2beta3REL_13_STABLE8.2beta3+18 more
No linked threadOct 24, 2006
CommitterRewrite discussion of ORDER BY to emphasize the SQL99 expression case instead of the SQL92 output-column-ID case.
cfb3a428
master8.2beta3REL_19_STABLE8.2beta3REL_18_STABLE8.2beta3REL_17_STABLE8.2beta3REL_16_STABLE8.2beta3REL_15_STABLE8.2beta3REL_14_STABLE8.2beta3REL_13_STABLE8.2beta3+18 more
No linked threadOct 24, 2006
CommitterStamp 8.2beta2.
66f5264a
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 23, 2006
CommitterFix broken markup.
28b14b03
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 23, 2006
CommitterRemove an unnecessary HOLD_INTERRUPTS/RESUME_INTERRUPTS pair. This was required back when RESUME_INTERRUPTS could actually execute ProcessInterrupts, but that hasn't been true since 2001...
954c1813
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 22, 2006
CommitterCode cleanup for pg_buffercache, from Mark Kirkwood.
bd95c749
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 22, 2006
CommitterVarious MSVC build fixes from Magnus; also remove stray Windows newlines.
c2c0b140
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 22, 2006
CommitterSome desultory copy-editing.
fa5d08fb
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 22, 2006
CommitterSome marginal editorial improvements and updates in the tutorial.
ed193933
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 21, 2006
CommitterFurther release-note editorialization.
890ce397
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 21, 2006
CommitterEditorial improvements for recent plpython doc updates.
425417d4
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 21, 2006
CommitterRewrite discussion of string constant syntax to bring it into line with the politically correct view that backslash escapes are deprecated.
a003bd07
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 21, 2006
CommitterMake index entry more specific.
c9c1c4ed
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 21, 2006
CommitterUpdate release notes to current, and do a pass of editorial corrections.
554032b3
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 20, 2006
CommitterBackportedBack-patch second version of AIX getaddrinfo fix.
8a6ed093
REL8_1_STABLE8.1.6REL8_0_STABLE8.0.10REL7_4_STABLE7.4.15
No linked threadOct 20, 2006
CommitterMarginal code cleanups in pg_logdir_ls: use ReadDir not readdir, and avoid scribbling on its result (might be safe but why risk it)
7feedda0
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 20, 2006
CommitterTry to fix the AIX getaddrinfo mess in a way that works on all versions. Going to wait for buildfarm results before backpatching, this time.
33af0876
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 19, 2006
CommitterClarify note about interaction of log_statement logging with errors. Remove obsolete note about logging of statements generated by plpgsql function execution ... that doesn't happen anymore.
0549ba82
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 19, 2006
CommitterMarginal improvement in logging: include the function name when logging a fastpath function call.
1b84441a
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 19, 2006
CommitterRename our substitute qsort to pg_qsort at the link-symbol level (but provide a macro so code can still just say qsort). Avoids linker warnings on pickier platforms such as Darwin, and outright failure on MSVC.
4887f5f9
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 19, 2006
CommitterAdd externs for optarg/optind where apparently needed. Per Magnus.
443abd83
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 19, 2006
CommitterHandle missing M_PI the same way we've been doing in the core code, instead of inserting an MSVC dependency.
28997903
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 19, 2006
CommitterFurther MSVC portability fixes from Magnus.
f6e00ae1
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 19, 2006
CommitterFix a couple of places that were assuming debug_query_string couldn't be NULL ... seems an unsafe assumption.
2315df21
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 19, 2006
CommitterMake sure that debug_query_string contains the original query text, if available (which it usually should be), during processing of Bind and Execute protocol messages. This improves usefulness of log_min_error_statement logging for extended query protocol.
68189220
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 19, 2006
CommitterClean up local redeclarations of variables with DLLIMPORT, per report from Magnus that MSVC complains about this.
def651f4
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 19, 2006
CommitterSimplify contrib Makefiles by removing unnecessary SRCS macro, per Magnus.
72ec567a
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 19, 2006
CommitterBackportedWork around reported problem that AIX's getaddrinfo() doesn't seem to zero sin_port in the returned IP address struct when servname is NULL. This has been observed to cause failure to bind the stats collection socket, and could perhaps cause other issues too. Per reports from Brad Nicholson and Chris Browne.
dbb397f3
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+21 more
No linked threadOct 19, 2006
CommitterAdd some code to CREATE DATABASE to check for pre-existing subdirectories that conflict with the OID that we want to use for the new database. This avoids the risk of trying to remove files that maybe we shouldn't remove. Per gripe from Jon Lapham and subsequent discussion of 27-Sep.
1e758d52
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 18, 2006
CommitterFix up timetz input so that a date is required only when the specified timezone actually has a daylight-savings rule. This avoids breaking cases that used to work because they went through the DecodePosixTimezone code path. Per contrib regression failures (mea culpa for not running those yesterday...). Also document the already-applied change to allow GMT offsets up to 14 hours.
877f08da
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 18, 2006
CommitterFix up some problems in handling of zic-style time zone names in datetime input routines. Remove the former "DecodePosixTimezone" function in favor of letting the zic code handle POSIX-style zone specs (see tzparse()). In particular this means that "PST+3" now means the same as "-03", whereas it used to mean "-11" --- the zone abbreviation is effectively just a noise word in this syntax. Make sure that all named and POSIX-style zone names will be parsed as a single token. Fix long-standing bogosities in printing and input of fractional-hour timezone offsets (since the tzparse() code will accept these, we'd better make 'em work). Also correct an error in the original coding of the zic-zone-name patch: in "timestamp without time zone" input, zone names are supposed to be allowed but ignored, but the coding was such that the zone changed the interpretation anyway.
022fd996
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 17, 2006
CommitterFix unexpected side-effect of changes for case insensitivity of timezone names.
14914e0d
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 17, 2006
CommitterArrange for timezone names to be recognized case-insensitively; for example SET TIME ZONE 'america/new_york' works now. This seems a good idea on general user-friendliness grounds, and is part of the solution to the timestamp-input parsing problems I noted recently.
0b35b01e
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 16, 2006
CommitterRedesign the patch for allocation of shmem space and LWLocks for add-on modules; the first try was not usable in EXEC_BACKEND builds (e.g., Windows). Instead, just provide some entry points to increase the allocation requests during postmaster start, and provide a dedicated LWLock that can be used to synchronize allocation operations performed by backends. Per discussion with Marc Munro.
e0dece12
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 15, 2006
CommitterAdjust plperl to ensure that all strings and hash keys passed to Perl are marked as UTF8 when the database encoding is UTF8. This should avoid inconsistencies like that exhibited in bug #2683 from Vitali Stupin.
a3dff39c
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 15, 2006
CommitterCode review for --no-data-for-failed-tables patch. Instead of trashing one of the program's core data structures, make use of the existing ability to selectively exclude TOC items by ID. Slightly more code but much less likely to create future maintenance problems.
1314983f
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 14, 2006
CommitterCode and docs review for ALTER TABLE INHERIT/NO INHERIT patch.
f58eac82
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 13, 2006
CommitterBackportedFix typo in version number.
7de6cf27
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+19 more
No linked threadOct 13, 2006
CommitterStamp 7.3.16.
53d7eece
REL7_3_STABLE7.3.16
No linked threadOct 12, 2006
CommitterStamp 7.4.14.
62f9cbf4
REL7_4_STABLE7.4.14
No linked threadOct 12, 2006
CommitterStamp 8.0.9.
9a0d9968
REL8_0_STABLE8.0.9
No linked threadOct 12, 2006
CommitterStamp 8.1.5.
87d57b6c
REL8_1_STABLE8.1.5
No linked threadOct 12, 2006
CommitterSync 8.1 pg_config.h.in with expected autoheader output (looks like someone did this manually last time ...)
424157a8
REL8_1_STABLE8.1.5
No linked threadOct 12, 2006
CommitterBackportedUpdate release notes for SQL functions vs triggers fix.
0c998388
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+20 more
No linked threadOct 12, 2006
CommitterBackportedFix mishandling of after-trigger state when a SQL function returns multiple rows --- if the surrounding query queued any trigger events between the rows, the events would be fired at the wrong time, leading to bizarre behavior. Per report from Merlin Moncure.
d2e17e1d
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+20 more
No linked threadOct 12, 2006
CommitterUse Min() instead of min() in qsort, for consistency and to avoid redefined-macro warnings on some platforms. Per gripe from Hiroshi Saito.
b38900c7
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 12, 2006
CommitterRemove somebody's ill-considered free() call, per report from Chander Ganesan. No, I do not care whether Coverity considers this a memory leak. It's entirely not worth the code space to do it correctly.
a50606de
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 12, 2006
CommitterBackportedA bit of copy-editing on back-branch release notes.
953c8564
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+22 more
No linked threadOct 11, 2006
CommitterBackportedRepair incorrect check for coercion of unknown literal to ANYARRAY, a bug I introduced in 7.4.1 :-(. It's correct to allow unknown to be coerced to ANY or ANYELEMENT, since it's a real-enough data type, but it most certainly isn't an array datatype. This can cause a backend crash but AFAICT is not exploitable as a security hole. Per report from Michael Fuhr.
772c5ba3
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+21 more
No linked threadOct 11, 2006
CommitterBackportedCREATE TABLE ... LIKE ... should mark the columns it creates with attislocal = true, since they are not really inherited but merely copied from the original table. I'm not sure if there are any cases where it makes a real difference given the existing uses of the flag, but wrong is wrong. This was fixed in passing in HEAD by the LIKE INCLUDING CONSTRAINTS patch, but never back-patched.
97fc0f6e
REL8_1_STABLE8.1.5REL8_0_STABLE8.0.9REL7_4_STABLE7.4.14
No linked threadOct 11, 2006
CommitterCode review for LIKE INCLUDING CONSTRAINTS patch --- improve comments, don't cheat on the raw-vs-cooked status of a constraint.
8f2f180f
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 11, 2006
CommitterBackportedFix psql \d commands to behave properly when a pattern using regex | is given. Formerly they'd emit '^foo|bar$' which is wrong because the anchors are parsed as part of the alternatives; must emit '^(foo|bar)$' to get expected behavior. Same as bug found previously in similar_escape(). Already fixed in HEAD, this is just back-porting the part of that patch that was a bug fix.
9c2b6ec6
REL8_1_STABLE8.1.5REL8_0_STABLE8.0.9REL7_4_STABLE7.4.14REL7_3_STABLE7.3.16
No linked threadOct 10, 2006
CommitterRevise psql pattern-matching switches as per discussion. The rule is now to process all inclusion switches then all exclusion switches, so that the behavior is independent of switch ordering. Use of -T does not cause non-table objects to be suppressed. And the patterns are now interpreted the same way psql's \d commands do it, rather than as pure regex commands; this allows for example -t schema.tab to do what it should have been doing all along. Re-enable the --blobs switch to do something useful, ie, add back blobs into a dump they were otherwise suppressed from.
24e97528
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 09, 2006
CommitterImprove description of the pattern matching rules used by psql's \d commands (and soon by pg_dump).
77d2b1b6
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 09, 2006
CommitterMove processNamePattern into dumputils.c in preparation for using it in pg_dump as well as psql. Since psql already uses dumputils.c, while there's not any code sharing in the other direction, this seems the easiest way. Also, fix misinterpretation of patterns using regex | by adding parentheses (same bug found previously in similar_escape()). This should be backpatched.
39ed8c40
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 09, 2006
CommitterBackportedFix back-branch pg_regress scripts to try the "canonical" expected file if we tried a variant file from resultmap and it didn't match. This is already done in HEAD's C-code version, and is needed because OpenBSD has recently migrated to a more standard handling of float underflow --- see buildfarm results from emu.
b7edaccc
REL8_1_STABLE8.1.5REL8_0_STABLE8.0.9REL7_4_STABLE7.4.14REL7_3_STABLE7.3.16
No linked threadOct 09, 2006
CommitterUpdate Darwin dlopen() support to avoid deprecation warnings with latest Apple developer tools. We now use dlopen directly if available, and fall back to the older code if not. Chris Campbell
c50b36d2
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 08, 2006
CommitterOn Windows, we know the backend stack size limit because we have to specify it explicitly in backend/Makefile. Arrange for this value to be known by get_stack_depth_rlimit() too. Per suggestion from Magnus.
c7611f99
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 08, 2006
CommitterBackportedFix ancient oversight in psql's \d pattern processing code: when seeing two quote chars inside quote marks, should emit one quote *and stay in inquotes mode*. No doubt the lack of reports of this have something to do with the poor documentation of the feature ...
06290309
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+22 more
No linked threadOct 07, 2006
CommitterFix thinko in comment.
95389382
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 07, 2006
CommitterWhen planning a query at Bind time, be careful to pass the correct query_list into the Portal, ie, the one seen and possibly modified by the planner. My fault :-( Per report from Sergey Koposov.
dc9142f4
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 07, 2006
CommitterOn platforms that have getrlimit(RLIMIT_STACK), use it to ensure that max_stack_depth is not set to an unsafe value.
71a6f8b8
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 07, 2006
CommitterAdjust HINT for stack depth limit to mention checking the underlying platform limit, rather than just blindly raising max_stack_depth. Also, tweak the code to work properly if someone sets max_stack_depth to more than 2Gb, which guc.c will allow on a 64-bit machine.
1c160291
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 07, 2006
CommitterBackportedFix string_to_array() to correctly handle the case where there are overlapping possible matches for the separator string, such as string_to_array('123xx456xxx789', 'xx'). Also, revise the logic of replace(), split_part(), and string_to_array() to avoid O(N^2) work from redundant searches and conversions to pg_wchar format when there are N matches to the separator string. Backpatched the full patch as far as 8.0. 7.4 also has the bug, but the code has diverged a lot, so I just went for a quick-and-dirty fix of the bug itself in that branch.
452fa214
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+21 more
No linked threadOct 07, 2006
CommitterFix bcc32.mak to create and remove pg_config_os.h properly. Apparently win32.mak got patched for this, but not bcc32.mak.
11d4d424
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 06, 2006
CommitterBackportedFix SysCacheGetAttr() to handle the case where the specified syscache has not been initialized yet. This can happen because there are code paths that call SysCacheGetAttr() on a tuple originally fetched from a different syscache (hopefully on the same catalog) than the one specified in the call. It doesn't seem useful or robust to try to prevent that from happening, so just improve the function to cope instead. Per bug#2678 from Jeff Trout. The specific example shown by Jeff is new in 8.1, but to be on the safe side I'm backpatching 8.0 as well. We could patch 7.x similarly but I think that's probably overkill, given the lack of evidence of old bugs of this ilk.
6ea8f495
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+20 more
No linked threadOct 06, 2006
CommitterCleanup for pglz_compress code: remove dead code, const-ify API of remaining functions, simplify pglz_compress's API to not require a useless data copy when compression fails. Also add a check in pglz_decompress that the expected amount of data was decompressed.
378c79dc
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 05, 2006
CommitterMake use of qsort_arg in several places that were formerly using klugy static variables. This avoids any risk of potential non-reentrancy, and in particular offers a much cleaner workaround for the Intel compiler bug that was affecting ginutil.c.
e378f82e
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 05, 2006
CommitterWork around buggy strtod on (some versions of?) IRIX. Combination of proposed patches from John Jorgensen and Steve Singer.
b2c04d5e
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 05, 2006
CommitterSecond try at fixing libedit configuration for Bob Friesenhahn. Buildfarm results from 'gazelle' show that there are indeed libedit versions for which history.h is a needed header, even though it's apparently been dropped entirely in other versions. Grumble.
9e6c3582
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 05, 2006
CommitterAdjust configure's handling of libedit to not look for a history.h file. Per Bob Friesenhahn's report, this file is not supplied by some versions of libedit, and even when it is supplied it seems to be just a link to readline.h, so we don't need to include it anyway. Also, ensure that we won't try to use a too-old version of Bison. The previous coding would bleat but then use it anyway; better to invoke the 'missing' script if any grammar files need to be rebuilt.
bdef2bf2
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 04, 2006
CommitterFix initdb's logic for picking shared_buffers/max_fsm_pages, which had gotten rather thoroughly whacked out by careless recent changes: the intended ratio between the two was off by a lot, and the minimum number of shared buffers tried had increased by a lot. Problem exposed by failures on buildfarm members with smaller SHMMAX values.
ff400571
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 04, 2006
CommitterFix comment to agree with presentation.
af0af42f
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 04, 2006
CommitterImprove error messages from to_tsquery per yesterday's discussion: provide the bad input, and be sure to mention that we are talking about a tsearch query.
c48f2e31
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 04, 2006
CommitterAdd qsort and qsort_arg to MSVC list of src/port files.
0d2aed94
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 04, 2006
CommitterSwitch over to using our own qsort() all the time, as has been proposed repeatedly. Now that we don't have to worry about memory leaks from glibc's qsort, we can safely put CHECK_FOR_INTERRUPTS into the tuplesort comparators, as was requested a couple months ago. Also, get rid of non-reentrancy and an extra level of function call in tuplesort.c by providing a variant qsort_arg() API that passes an extra void * argument through to the comparison routine. (We might want to use that in other places too, I didn't look yet.)
6edd2b4a
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 03, 2006
CommitterRearrange MSVC errcode hack, fix incorrect _MSC_VER test. Magnus
0184c683
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 03, 2006
CommitterProperly handle the case where strlcpy() exists in libc but isn't declared in the system headers. Per report from Bruce than some BSDen are like this.
1e05359f
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 02, 2006
CommitterImprove documentation of configure's readline/libedit switches.
7ceec34a
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 01, 2006
CommitterMake some marginal performance improvements in reportErrorPosition(), which turns out to be a dominant part of the runtime in scenarios involving lots of parse-time warnings (such as Stephen Frost's example of an INSERT with a lot of backslash-containing strings). There's not a whole lot we can do about the character-at-a-time scanning, but we can at least avoid traversing the query twice.
db2dcf58
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 01, 2006
CommitterDo a CHECK_FOR_INTERRUPTS after emitting a message of less than ERROR severity. This is to ensure the user can cancel a query that's spitting out lots of notice/warning messages, even if they're coming from a loop that doesn't otherwise contain a CHECK_FOR_INTERRUPTS. Per gripe from Stephen Frost.
8e4fe3ba
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 01, 2006
CommitterBackporteddate_trunc also accepts 'quarter'. Noted by Yoshihisa Nakano.
e69c09c1
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+21 more
No linked threadOct 01, 2006
CommitterRemove accented characters in comments, to avoid failures when this file is read with an incompatible client_encoding setting. Per report from Tim N. van der Leeuw.
363c8cf2
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+18 more
No linked threadOct 01, 2006
CommitterBackportedFix overly enthusiastic Assert introduced in 8.1: it's expecting a CaseTestExpr, but forgot that the optimizer is sometimes able to replace CaseTestExpr by Const.
514ce7a3
master8.2beta2REL_19_STABLE8.2beta2REL_18_STABLE8.2beta2REL_17_STABLE8.2beta2REL_16_STABLE8.2beta2REL_15_STABLE8.2beta2REL_14_STABLE8.2beta2REL_13_STABLE8.2beta2+19 more
No linked threadOct 01, 2006