Filter:

Commits in 2001

Commits858 commits of which 11 backported
0Author
858Committer
0Reviewer
0Reported by
0Co-author
CreditCommitBranchesThread(s)Committed
CommitterMake sure that all <ctype.h> routines are called with unsigned char values; it's not portable to call them with signed chars. I recall doing this for the last release, but a few more uncasted calls have snuck in.
ee051bae
master7.2beta5REL_19_STABLE7.2beta5REL_18_STABLE7.2beta5REL_17_STABLE7.2beta5REL_16_STABLE7.2beta5REL_15_STABLE7.2beta5REL_14_STABLE7.2beta5REL_13_STABLE7.2beta5+23 more
No linked threadDec 30, 2001
CommitterRepair example, per note in interactive docs.
e7d9a6bf
master7.2beta5REL_19_STABLE7.2beta5REL_18_STABLE7.2beta5REL_17_STABLE7.2beta5REL_16_STABLE7.2beta5REL_15_STABLE7.2beta5REL_14_STABLE7.2beta5REL_13_STABLE7.2beta5+23 more
No linked threadDec 30, 2001
CommitterImprove LOCK_DEBUG logging code for LWLocks.
19815273
master7.2beta5REL_19_STABLE7.2beta5REL_18_STABLE7.2beta5REL_17_STABLE7.2beta5REL_16_STABLE7.2beta5REL_15_STABLE7.2beta5REL_14_STABLE7.2beta5REL_13_STABLE7.2beta5+23 more
No linked threadDec 28, 2001
CommitterEnsure that all direct uses of spinlock-protected data structures use 'volatile' pointers to access those structures, so that optimizing compilers will not decide to move the structure accesses outside of the spinlock-acquire-to-spinlock-release sequence. There are no known bugs in these uses at present, but based on bad experience with lwlock.c, it seems prudent to ensure that we protect these other uses too. Per pghackers discussion around 12-Dec. (Note: it should not be necessary to worry about structures protected by LWLocks, since the LWLock acquire and release operations are not inline macros.)
d3fc362e
master7.2beta5REL_19_STABLE7.2beta5REL_18_STABLE7.2beta5REL_17_STABLE7.2beta5REL_16_STABLE7.2beta5REL_15_STABLE7.2beta5REL_14_STABLE7.2beta5REL_13_STABLE7.2beta5+23 more
No linked threadDec 28, 2001
CommitterExpand on description of when to use or not use TRUST auth method.
6f0f5bf2
master7.2beta5REL_19_STABLE7.2beta5REL_18_STABLE7.2beta5REL_17_STABLE7.2beta5REL_16_STABLE7.2beta5REL_15_STABLE7.2beta5REL_14_STABLE7.2beta5REL_13_STABLE7.2beta5+23 more
No linked threadDec 27, 2001
CommitterDocument obj_description and col_description functions; expand description of COMMENT command.
9935a85f
master7.2beta5REL_19_STABLE7.2beta5REL_18_STABLE7.2beta5REL_17_STABLE7.2beta5REL_16_STABLE7.2beta5REL_15_STABLE7.2beta5REL_14_STABLE7.2beta5REL_13_STABLE7.2beta5+23 more
No linked threadDec 27, 2001
CommitterFix directions for a client-only install, per comments from Alexey Borzov and Vivek Khera.
6896693d
master7.2beta5REL_19_STABLE7.2beta5REL_18_STABLE7.2beta5REL_17_STABLE7.2beta5REL_16_STABLE7.2beta5REL_15_STABLE7.2beta5REL_14_STABLE7.2beta5REL_13_STABLE7.2beta5+23 more
No linked threadDec 23, 2001
CommitterUpdate description of CURRENT_TIMESTAMP and friends.
ce4d01d9
master7.2beta5REL_19_STABLE7.2beta5REL_18_STABLE7.2beta5REL_17_STABLE7.2beta5REL_16_STABLE7.2beta5REL_15_STABLE7.2beta5REL_14_STABLE7.2beta5REL_13_STABLE7.2beta5+23 more
No linked threadDec 23, 2001
CommitterType interval takes a precision, too.
78ec1cb0
master7.2beta5REL_19_STABLE7.2beta5REL_18_STABLE7.2beta5REL_17_STABLE7.2beta5REL_16_STABLE7.2beta5REL_15_STABLE7.2beta5REL_14_STABLE7.2beta5REL_13_STABLE7.2beta5+23 more
No linked threadDec 23, 2001
CommitterFix mispeling ...
aed0c29f
master7.2beta5REL_19_STABLE7.2beta5REL_18_STABLE7.2beta5REL_17_STABLE7.2beta5REL_16_STABLE7.2beta5REL_15_STABLE7.2beta5REL_14_STABLE7.2beta5REL_13_STABLE7.2beta5+23 more
No linked threadDec 23, 2001
CommitterUse MemSet() rather than a loop to do blank-padding on PS_USE_CLOBBER_ARGV machines. I have just been observing some scenarios where set_ps_display accounts for more than 10% of the backend CPU, and this loop has to be the reason.
12d17deb
master7.2beta5REL_19_STABLE7.2beta5REL_18_STABLE7.2beta5REL_17_STABLE7.2beta5REL_16_STABLE7.2beta5REL_15_STABLE7.2beta5REL_14_STABLE7.2beta5REL_13_STABLE7.2beta5+23 more
No linked threadDec 21, 2001
CommitterSelect proper geometry comparison file for freebsd/alpha. Per report from Christopher Kings-Lynne.
ba8d7ac8
master7.2beta5REL_19_STABLE7.2beta5REL_18_STABLE7.2beta5REL_17_STABLE7.2beta5REL_16_STABLE7.2beta5REL_15_STABLE7.2beta5REL_14_STABLE7.2beta5REL_13_STABLE7.2beta5+23 more
No linked threadDec 21, 2001
CommitterFix buffer-overrun problem in pretty printer.
8647c142
master7.2beta5REL_19_STABLE7.2beta5REL_18_STABLE7.2beta5REL_17_STABLE7.2beta5REL_16_STABLE7.2beta5REL_15_STABLE7.2beta5REL_14_STABLE7.2beta5REL_13_STABLE7.2beta5+23 more
No linked threadDec 19, 2001
CommitterFix pgstattuple to acquire a read lock on the target table. This prevents embarassments such as having the table dropped or truncated partway through the scan. Also, fix free space calculation to include pages that currently contain no tuples.
89708371
master7.2beta5REL_19_STABLE7.2beta5REL_18_STABLE7.2beta5REL_17_STABLE7.2beta5REL_16_STABLE7.2beta5REL_15_STABLE7.2beta5REL_14_STABLE7.2beta5REL_13_STABLE7.2beta5+23 more
No linked threadDec 19, 2001
CommitterTemporarily dike out GetUndoRecPtr() in checkpoint generation, since we do not use the undo pointer anyway. This is a quick-hack solution for the three-way deadlock condition discussed in pghackers 17-Dec-01. Need to find a better way of doing it.
9aa2e7da
master7.2beta5REL_19_STABLE7.2beta5REL_18_STABLE7.2beta5REL_17_STABLE7.2beta5REL_16_STABLE7.2beta5REL_15_STABLE7.2beta5REL_14_STABLE7.2beta5REL_13_STABLE7.2beta5+23 more
No linked threadDec 19, 2001
CommitterTweak to make freebsd/alpha use the correct float8 comparison file.
14e12705
master7.2beta5REL_19_STABLE7.2beta5REL_18_STABLE7.2beta5REL_17_STABLE7.2beta5REL_16_STABLE7.2beta5REL_15_STABLE7.2beta5REL_14_STABLE7.2beta5REL_13_STABLE7.2beta5+23 more
No linked threadDec 19, 2001
CommitterMake sure that all variants of HeapTupleSatisfies will do the right thing if presented with a tuple in process of being moved by VACUUM. Per bug report from Brian Hirt.
de593708
master7.2beta5REL_19_STABLE7.2beta5REL_18_STABLE7.2beta5REL_17_STABLE7.2beta5REL_16_STABLE7.2beta5REL_15_STABLE7.2beta5REL_14_STABLE7.2beta5REL_13_STABLE7.2beta5+23 more
No linked threadDec 19, 2001
CommitterDon't accept names of complex types (ie, relation types) as being requests for implicit trivial coercions. Prevents sillinesses like this one: regression=# select x.int8_tbl.q1 from int8_tbl x; ERROR: fmgr_info: function 270997776: cache lookup failed
990eb855
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadDec 12, 2001
CommitterMake sure that inlined S_UNLOCK is marked as an update of a 'volatile' object. This should prevent the compiler from reordering loads and stores into or out of a critical section.
4433eb1d
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadDec 11, 2001
CommitterRepair roundoff-error problem for stddev/variance results near zero, per complaint from Kemin Zhou. Fix lack of precision in numeric stddev/variance.
07009651
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadDec 11, 2001
CommitterSuppress subquery pullup and pushdown when the subquery has any set-returning functions in its target list. This ensures that we won't rewrite the query in a way that places set-returning functions into quals (WHERE clauses). Cf. bug reports from Joe Conway.
63cc56de
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadDec 10, 2001
CommitterDeclare LWLock pointers as volatile to prevent AIX compiler from reordering operations at its whim. Releasing TAS lock before we've finished updating proc structure is uncool.
584f818b
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadDec 10, 2001
CommitterAIX 5 needs same resultmap tweaks as AIX 4.
4e65c89f
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadDec 10, 2001
CommitterRepair case-conversion error in to_date's handling of roman numerals. From Manuel Sugawara, approved by Karel Zak.
f3f8499b
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadDec 10, 2001
CommitterEnforce restriction that COPY DELIMITERS string must be exactly one character; replace strchr() search with simple comparison to speed up COPY IN. Per discussion in pghackers.
969cc16c
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadDec 04, 2001
CommitterChange appendStringInfoChar to appendStringInfoCharMacro in a couple of hot spots --- buys about 10% in Verner's INSERT example.
a0734d1e
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadDec 04, 2001
CommitterReplace pq_getbytes(&ch, 1) calls with pq_getbyte(), which is easier to use and significantly faster. This tweak saves 25% (!) of the runtime of COPY IN in a test with 8000-character lines. I wouldn't normally commit a performance improvement this late in the cycle, but 25% got my attention...
f4bd04bb
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadDec 04, 2001
CommitterRemove now-dead code for processing CONSTR_UNIQUE nodes in AlterTableAddConstraint. Earlier reorganization of the parser's processing of ALTER TABLE means that these node types no longer get here.
dae887ab
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadDec 04, 2001
CommitterSuppress data directory access-permissions check when __CYGWIN__, per recent pghackers discussions. Improving this should be a TODO for 7.3.
0e9e888e
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadDec 04, 2001
CommitterRecommend --enable-debug with somewhat more enthusiasm.
e469fac2
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadDec 04, 2001
CommitterFix trigger example for PG 7.2 change: count(*) now returns int8.
05321754
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadDec 04, 2001
CommitterDocument max-processes-per-user limit as a possible cause of failures in the parallel regression tests. Suggest editing parallel_schedule as a workaround if one cannot fix the system limits.
7321eed9
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadDec 04, 2001
CommitterAdd some more material to the section about partial indexes.
05dada08
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadDec 04, 2001
CommitterA quickie FAQ_IRIX covering some known issues, from Luis Amigo.
2de42e19
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadDec 03, 2001
CommitterFix latent bug in checking for failure of hashtable creation.
c3cf68de
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadDec 03, 2001
CommitterUpdate IRIX geometry results to match newer MIPS FPUs, rather than older ones. We really gotta get out of the business of matching every last low-order bit in this test ...
18e45238
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadDec 03, 2001
CommitterAdd configure-time check whether sig_atomic_t is defined; if not, provide a default definition equating it to 'int'. Should trigger only on machines with pre-ANSI-C header files, eg SunOS 4.1.x.
18ab41ee
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadDec 03, 2001
CommitterPg_lo_open must OR together multiple modes, not AND them. Per report from Andreas Kretzer.
4ea2b8f5
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadDec 03, 2001
CommitterRemove code to lookup WinSock error strings in netmsg.dll; according to Magnus Hagander that DLL only contains error strings for the Net*** functions, *not* WinSock. We need to look for a workable solution for older Windows flavors ... but it won't happen for PG 7.2.
ae8a9b8a
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadDec 03, 2001
CommitterHPUX 11 should use geometry-solaris-precision, not geometry-positive-zeros as is needed for HPUX 9 and 10.
acf7aa62
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadDec 02, 2001
CommitterProvide some documentation for EXISTS, IN, NOT IN, ANY/SOME/ALL, and row comparisons. How'd this manage to slip through the cracks?
53f11733
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadDec 01, 2001
CommitterTry to make genbki.sh a little more bulletproof, per trouble report from Paul Stavrides.
ac06a7a2
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadNov 30, 2001
CommitterRepair failure to mark an inserted Materialize node with the appropriate extParam/locParam lists. Per bug #526.
c31bcbc8
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadNov 30, 2001
CommitterTweak plpgsql's expression reader to be smarter about parentheses and to give more useful error messages. Stephen Szabo's example of this morning ('loop' used as a variable name inside a subselect) works correctly now, and a FOR that is misinterpreted as an integer FOR will draw 'missing .. at end of SQL expression', which is at least marginally helpful.
8830ce54
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadNov 29, 2001
CommitterFix array_out's failure to backslash backslashes, per bug# 524. Also, remove brain-dead rule that double quotes are needed if and only if the datatype is pass-by-reference; neither direction of the implication holds water. Instead, examine the actual data string to see if it contains any characters that force us to quote it. Add some documentation about quoting of array values, which was previously explained nowhere AFAICT.
636a939f
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadNov 29, 2001
CommitterLoad netmsg.dll locally in winsock_strerror, to avoid actual and potential problems discussed in pgsql-interfaces.
3312b8ed
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadNov 28, 2001
CommitterClarify per suggestion from Bruno Wolff.
9d596e0e
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadNov 28, 2001
CommitterPoint out the dependency on having int8 arithmetic available.
d2f60825
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadNov 28, 2001
CommitterReiterate that parsing of plpgsql functions is per-process.
0dd3afad
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadNov 28, 2001
CommitterFix nasty memory leak in pg_restore: _PrintData called inflateInit but never did inflateEnd, thus leaking some tens of KB per call. Which added up *real fast* when dealing with, say, thousands of BLOBs. Thanks to Lane Rollins for the bug report.
e7257b8e
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadNov 27, 2001
CommitterAdd a section about loading libpgtcl; fix errors and omissions in documentation of pg_select command.
f441621e
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadNov 27, 2001
Committerstrcat should obviously be strcpy here.
b3ff03b5
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadNov 27, 2001
CommitterFix various bogosities in usage message.
d7decc61
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadNov 26, 2001
CommitterFix confusion about -f switch: it's output not input.
9a9d9e88
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadNov 26, 2001
CommitterFix unportable, non-spec-compliant use of offsetof() with a nonconstant member offset.
8e75b36a
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadNov 26, 2001
CommitterChange display of FieldSelect nodes from arg.field to field(arg), per bug report from Stefan Hadjistoytchev. There are some cases where the dot notation works, but there are more where it doesn't. Eventually ought to consider fixing the parser to allow cases like func().field, but for now this is the simplest patch.
2337780e
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadNov 26, 2001
CommitterRepair problem with listing rules that have a WHERE condition and have an INSERT...SELECT as the first or only action. Per bug report from Sergio Pili.
e5933499
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadNov 26, 2001
CommitterFurther work on postmaster and postgres reference pages.
665066f3
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadNov 25, 2001
CommitterAdd cross-reference to standalone-backend ref page.
78263b43
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadNov 25, 2001
CommitterRemove bogus pg_amop insertion commands, per discussion of 25-Oct. No change in results of script, but perhaps less confusion for people reading it.
56f5dc90
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadNov 24, 2001
CommitterTweak int8in to accept -9223372036854775808, per recent discussion in pgsql-patches.
2ec95872
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadNov 24, 2001
CommitterRemove extraneous space that somehow got into expected alter_table.out. The default diff switches prevented regression tests from complaining, but that doesn't make it correct.
3e8b887e
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadNov 24, 2001
CommitterFix boundary condition in btbulkdelete: don't examine high key in case where rightmost index page splits while we are waiting to obtain exclusive lock on it. Not clear this would actually hurt (probably the callback would always fail), but better safe than sorry. Also, improve comments describing concurrency considerations in this code.
cd255bb0
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadNov 23, 2001
CommitterCopy-editing.
b104ffbd
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadNov 23, 2001
CommitterCopy-editing.
ec27da1c
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadNov 23, 2001
CommitterAdd description of SSL request protocol. Miscellaneous copy-editing.
e7243dce
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadNov 22, 2001
CommitterSpell 'precedes', 'preceding' correctly in various places.
6c134eb6
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadNov 21, 2001
CommitterAdd documentation for pg_get_ruledef and friends.
cf3b164a
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadNov 21, 2001
CommitterSpelling and grammatical corrections.
22e22a52
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadNov 21, 2001
CommitterInsert CommandCounterIncrement call into SPI_cursor_open.
82bad53c
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadNov 21, 2001
CommitterTweak interval_avg support to avoid coredump with Alpha/Tru64 compiler. Per report from Bernd Tegge.
dcdf9119
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadNov 21, 2001
CommitterUpdate regress tests to reflect removal of 'current'.
52ca149b
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadNov 21, 2001
CommitterBruce's octet_length change breaks this regression test.
e1c0bc1b
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadNov 20, 2001
CommitterExpand discussion of logfile management a little bit.
bb2ff5f2
master7.2beta4REL_19_STABLE7.2beta4REL_18_STABLE7.2beta4REL_17_STABLE7.2beta4REL_16_STABLE7.2beta4REL_15_STABLE7.2beta4REL_14_STABLE7.2beta4REL_13_STABLE7.2beta4+23 more
No linked threadNov 20, 2001
CommitterSome minor tweaks of REINDEX processing: grab exclusive lock a little earlier, make error checks more uniform.
604f54cd
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 20, 2001
CommitterExpand description of how to use REINDEX.
fb726283
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 20, 2001
CommitterDouble quotes in ln command to guard against spaces in path.
1436b212
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 20, 2001
CommitterFill in empty tutorial section about transactions.
0dfe9138
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 19, 2001
CommitterTweak format_type so that we get good behavior for both column type display (with a typemod) and function arg/result type display (without a typemod).
ed1ff847
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 19, 2001
CommitterTry to be a little bit clearer about the implications of GRANT TO PUBLIC and REVOKE FROM PUBLIC: the latter is not the same as 'revoke from all users', but the ref page blurred the difference.
ec62ba93
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 19, 2001
CommitterGrammatical and spelling fixes.
5e86d226
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 19, 2001
Committerpg_restore should exit with status 0, not 1, on success.
abd6014d
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 19, 2001
CommitterFix a few typos, grammatical problems, etc in new tutorial material. Overall a really nice job here, Peter ...
375dcf9c
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 19, 2001
CommitterA bunch of small doco updates motivated by scanning the comments on the interactive docs.
9b03776f
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 19, 2001
CommitterAdd example of using 'sameuser' followed by 'all' pg_hba records to enforce a limit on who can connect to databases other than their own. From a recent discussion in pg-admin.
9f07cb70
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 18, 2001
CommitterFix some typos.
8cf87ac3
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 18, 2001
CommitterUpdate various obsolete remarks about VACUUM.
0ad017fc
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 18, 2001
CommitterFix typo.
ea6f2e69
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 18, 2001
Committerutils/geo-decls.h should be utils/geo_decls.h, per report from StÃ…phane Raimbault.
acac465e
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 18, 2001
CommitterMention that LIKE ... ESCAPE '' is allowed to specify no escape character.
deab4956
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 18, 2001
CommitterPoint out that TRUNCATE can't be used inside a transaction block.
b16f6c6b
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 18, 2001
CommitterMention the option to submit bug reports via a web-form. Minor copy editing.
e2548526
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 18, 2001
CommitterFix obsolete claim that only btree indexes support multiple columns; GiST does now, too. (Someone needs to write a description of GiST to add to this chapter. I don't know enough about it ...)
5906d7e0
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 18, 2001
CommitterClean up treatment of creating/dropping databases in User's Guide and Admin Guide. Move discussion of template databases out of footnotes in CREATE DATABASE ref page and into a section of the Admin Guide. Clean up various obsolete claims, do some copy-editing.
0729c4a6
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 18, 2001
CommitterCopy-editing.
c9a85cb2
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 17, 2001
CommitterExpand documentation for sequence functions (nextval and friends). Place it in the expected place in the User's Guide, rather than hiding it in the command reference page for CREATE SEQUENCE.
2043340b
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 17, 2001
CommitterFix performance problems in TOAST compressor. The management of search lists was broken in such a way that only the most recent instance of a given hash code would ever be searched, thus possibly missing longer matches further back. Fixing this gave 5 to 10% compression improvement on some text test cases. Additional small tweaks to improve speed of inner loops a little bit. There is no compatibility issue created by this change, since the compressed data format and decompression algorithm don't change.
6b516f59
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 17, 2001
CommitterIsSystemRelationName() treats TOAST relations as system relations. This seems the right thing for most usages, but I notice two places where it is the wrong thing. One is that the default permissions on TOAST rels should be no-access, not world-readable; the other is that PrepareForTupleInvalidation doesn't really need to spend time looking at tuples of TOAST relations.
c845b427
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 16, 2001
Committerplpython security and error handling fixes, from Kevin Jacobs and Brad McLean.
1ca717f3
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 16, 2001
CommitterOnce again, Michael has overwritten someone else's patch ...
100e7f0c
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 16, 2001
CommitterRemove 'triggered data change violation' error check, per recent discussions in pghackers.
7c50767f
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 16, 2001
CommitterUpdate keyword lists per suggestions by Peter. There are now four mutually exclusive keyword lists spanning all known keywords --- including AS. Moved COALESCE and a few other ColLabels into the can-be-ColId list.
2a4660f5
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 16, 2001
CommitterFix silly error in plpgsql example.
7e422ac0
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 16, 2001
CommitterAdd documentation for new plpgsql cursor operations. Also, another round of editorial effort.
fa09b6d7
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 15, 2001
CommitterFix some problems in new plpgsql cursor operations, found while trying to reverse-engineer documentation for them.
4be20187
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 15, 2001
CommitterAutoconf.
10d4faab
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 15, 2001
CommitterSignificant editorial overhaul of plpgsql documentation.
307e449e
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 15, 2001
CommitterOverhaul SPI documentation: bring it into some semblance of agreement with reality, and add doco for Jan's recent round of enhancements.
b3bbeed1
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 14, 2001
CommitterTry to be a little less terse about dealing with variable-length structs in C, but recommend that newbies who don't recognize this trick should do some studying ...
a370cad9
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 14, 2001
CommitterGive a more intelligible and useful error message for SELECT with no destination in plpgsql.
1c2d2dbb
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 13, 2001
CommitterTweak parser so that there is a defined representation for datatypes bpchar, bit, numeric with typmod -1. Alter format_type so that this representation is printed when the typmod is -1. This ensures that tables having such columns can be pg_dump'd and reloaded correctly. Also, remove the rather useless and non-SQL-compliant default precision and scale for type NUMERIC. A numeric column declared as such (with no precision/scale) will now have typmod -1 which means that numeric values of any precision/scale can be stored in it, without conversion to a uniform scale. This seems significantly more useful than the former behavior. Part of response to bug #513.
a585c20d
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 12, 2001
CommitterIf the alternatives for a CASE construct all have the same typmod, use that typmod not -1 as the typmod of the CASE result. Part of response to bug#513.
d4d23852
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 12, 2001
CommitterIf the inputs of a UNION/INTERSECT/EXCEPT construct all agree on the typmod of a particular column, mark the output with that same typmod, not -1 as formerly. -1 is still used if there is any disagreement. Part of response to bug#513.
e433bf5a
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 12, 2001
CommitterRepair crash in EvalPlanQual of query involving nestloop with inner index scan. Problem was that link to outer tuple wasn't being stored everyplace it needed to be.
611afd9f
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 12, 2001
CommitterRemove duplicate extern declaration.
0f214ede
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 12, 2001
Committerpsql's \do was going out of its way to lie about the result type of operators. Should report the declared oprresult type, not the return type of the underlying proc, which might be only binary-compatible (cf. textcat entries).
112bd6f0
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 12, 2001
CommitterRemove a bunch more no-longer-used stuff in libpq-be.h.
93713250
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 12, 2001
CommitterSuppress duplicate error messages in pq_flush. Write error messages to postmaster log with elog(DEBUG) so that they will be timestamped etc. Once upon a time I think elog() was unsafe here, but it shouldn't be anymore.
7be18072
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 12, 2001
Committersend() attempt for IDENT communication should retry on EINTR.
1131ba31
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 12, 2001
CommitterThe PacketReceive/PacketSend routines aren't used anymore.
a7f6210d
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 12, 2001
CommitterMake ALTER TABLE RENAME update foreign-key trigger arguments correctly. Brent Verner, with review and kibitzing from Tom Lane.
f14fdad8
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 12, 2001
CommitterClean up a bunch of ScanKeyEntryInitialize calls that weren't bothering to apply the proper Datum conversion macros to search key values.
8bfc4373
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 12, 2001
CommitterTest program needs to declare MaxBackends, per Bernd Tegge.
801a1acc
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 11, 2001
CommitterDefend against brain-dead QNX implementation of qsort(). Per report from Bernd Tegge, 10-Nov-01.
69a59150
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 11, 2001
CommitterIn find_mergeclauses_for_pathkeys, it's okay to return multiple merge clauses per path key. Indeed, we *must* do so or we will be unable to form a valid plan for FULL JOIN with overlapping join conditions, eg select * from a full join b on a.v1 = b.v1 and a.v2 = b.v2 and a.v1 = b.v2.
c5c97318
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 11, 2001
Committersort_inner_and_outer needs a check to ensure that it's consumed all the mergeclauses in RIGHT/FULL join cases, just like the other routines have. I'm not quite sure why I thought it didn't need one --- but Nick Fankhauser's recent bug report proves that it does.
ad511a3f
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 11, 2001
CommitterDefend against possibility that SSL error reporting mechanism returns a NULL pointer. Per report from Stephen Pillinger 8-Nov-01.
15c21bf8
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 11, 2001
CommitterClean up usage-statistics display code (ShowUsage and friends). StatFp is gone, usage messages now go through elog(DEBUG).
f6ee99a0
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 10, 2001
CommitterRestructure child-exit logging messages for easier translation, per suggestion from Peter.
0c1669c8
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 10, 2001
CommitterAllow TIMESTAMP, VARCHAR, et al to be used as unquoted column names, though alas not as unquoted function names. De-reserve a bunch of keywords that could have been in ColId rather than ColLabel all along. Per recent proposal in pgsql-patches.
ec438886
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 10, 2001
CommitterRepair erroneous ALTER DROP CONSTRAINT example.
26e8a4f3
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 10, 2001
CommitterPostgreSQL works again on Mac OS X 10.1. Hold your nose before investigating the kluge that makes it so...
7e16f3c0
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 08, 2001
CommitterAdd casts to suppress compiler warnings observed on Darwin platform (surprised no one has reported these yet...)
64af43a1
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 08, 2001
CommitterAdd some notes about conditional rules used with views.
4a3bf197
master7.2beta3REL_19_STABLE7.2beta3REL_18_STABLE7.2beta3REL_17_STABLE7.2beta3REL_16_STABLE7.2beta3REL_15_STABLE7.2beta3REL_14_STABLE7.2beta3REL_13_STABLE7.2beta3+23 more
No linked threadNov 06, 2001
CommitterUpdate for latest version of horology test.
27e7ac19
master7.2beta2REL_19_STABLE7.2beta2REL_18_STABLE7.2beta2REL_17_STABLE7.2beta2REL_16_STABLE7.2beta2REL_15_STABLE7.2beta2REL_14_STABLE7.2beta2REL_13_STABLE7.2beta2+23 more
No linked threadNov 06, 2001
CommitterClean up formatting of child process exit-status reports so that they are correct, consistent, and complete ... motivated by gripe from Oliver Elphick, but I see someone had already made an incomplete stab at this.
d22e9456
master7.2beta2REL_19_STABLE7.2beta2REL_18_STABLE7.2beta2REL_17_STABLE7.2beta2REL_16_STABLE7.2beta2REL_15_STABLE7.2beta2REL_14_STABLE7.2beta2REL_13_STABLE7.2beta2+23 more
No linked threadNov 06, 2001
CommitterAdd Darwin to list of known systems for ps_status.
d980ddb5
master7.2beta2REL_19_STABLE7.2beta2REL_18_STABLE7.2beta2REL_17_STABLE7.2beta2REL_16_STABLE7.2beta2REL_15_STABLE7.2beta2REL_14_STABLE7.2beta2REL_13_STABLE7.2beta2+23 more
No linked threadNov 06, 2001
CommitterThe extra semaphore that proc.c now allocates for checkpoint processes should be accounted for in the PROC_SEM_MAP_ENTRIES() macro. Otherwise the ports that rely on this macro to size data structures are broken. Mea culpa.
ca7578d4
master7.2beta2REL_19_STABLE7.2beta2REL_18_STABLE7.2beta2REL_17_STABLE7.2beta2REL_16_STABLE7.2beta2REL_15_STABLE7.2beta2REL_14_STABLE7.2beta2REL_13_STABLE7.2beta2+23 more
No linked threadNov 06, 2001
CommitterFix coredump in plpgsql when trying to return a rowtype result. Need to return a TupleTableSlot, not just a bare tuple.
0053cebe
master7.2beta2REL_19_STABLE7.2beta2REL_18_STABLE7.2beta2REL_17_STABLE7.2beta2REL_16_STABLE7.2beta2REL_15_STABLE7.2beta2REL_14_STABLE7.2beta2REL_13_STABLE7.2beta2+23 more
No linked threadNov 05, 2001
CommitterCREATE TABLE foo (x,y,z) AS SELECT ... can't apply target column names to the target list in gram.y; it must wait till after expansion of the target list in analyze.c. Per bug report 4-Nov: lx=# CREATE TABLE abc (a char, b char, c char); CREATE lx=# CREATE TABLE xyz (x, y, z) AS SELECT * FROM abc; ERROR: CREATE TABLE/AS SELECT has mismatched column count
5251e7b3
master7.2beta2REL_19_STABLE7.2beta2REL_18_STABLE7.2beta2REL_17_STABLE7.2beta2REL_16_STABLE7.2beta2REL_15_STABLE7.2beta2REL_14_STABLE7.2beta2REL_13_STABLE7.2beta2+23 more
No linked threadNov 05, 2001
CommitterRemove ill-considered Assert.
d556920a
master7.2beta2REL_19_STABLE7.2beta2REL_18_STABLE7.2beta2REL_17_STABLE7.2beta2REL_16_STABLE7.2beta2REL_15_STABLE7.2beta2REL_14_STABLE7.2beta2REL_13_STABLE7.2beta2+23 more
No linked threadNov 05, 2001
CommitterFix now-obsolete comment.
430cd88a
master7.2beta2REL_19_STABLE7.2beta2REL_18_STABLE7.2beta2REL_17_STABLE7.2beta2REL_16_STABLE7.2beta2REL_15_STABLE7.2beta2REL_14_STABLE7.2beta2REL_13_STABLE7.2beta2+23 more
No linked threadNov 04, 2001
CommitterMerge three existing ways of signaling postmaster from child processes, so that only one signal number is used not three. Flags in shared memory tell the reason(s) for the current signal. This method is extensible to handle more signal reasons without chewing up even more signal numbers, but the immediate reason is to keep pg_pwd reloads separate from SIGHUP processing in the postmaster. Also clean up some problems in the postmaster with delayed response to checkpoint status changes --- basically, it wouldn't schedule a checkpoint if it wasn't getting connection requests on a regular basis.
fb5f1b2c
master7.2beta2REL_19_STABLE7.2beta2REL_18_STABLE7.2beta2REL_17_STABLE7.2beta2REL_16_STABLE7.2beta2REL_15_STABLE7.2beta2REL_14_STABLE7.2beta2REL_13_STABLE7.2beta2+23 more
No linked threadNov 04, 2001
CommitterClean up wrong, misleading, or obsolete documentation about array types, particularly in the CREATE TYPE reference page. Fix some other errors in the CREATE TYPE page, too.
3d5ddc0b
master7.2beta2REL_19_STABLE7.2beta2REL_18_STABLE7.2beta2REL_17_STABLE7.2beta2REL_16_STABLE7.2beta2REL_15_STABLE7.2beta2REL_14_STABLE7.2beta2REL_13_STABLE7.2beta2+23 more
No linked threadNov 03, 2001
CommitterWindows portability macros SOCK_ERRNO and SOCK_STRERROR should be in libpq-int.h, not cluttering application namespace in libpq-fe.h.
c42d3b3c
master7.2beta2REL_19_STABLE7.2beta2REL_18_STABLE7.2beta2REL_17_STABLE7.2beta2REL_16_STABLE7.2beta2REL_15_STABLE7.2beta2REL_14_STABLE7.2beta2REL_13_STABLE7.2beta2+23 more
No linked threadNov 02, 2001
CommitterAdd default expressions to INSERTs during planning, not during parse analysis. This keeps stored rules from prematurely absorbing default information, which is necessary for ALTER TABLE SET DEFAULT to work unsurprisingly with rules. See pgsql-bugs discussion 24-Oct-01.
9685afb0
master7.2beta2REL_19_STABLE7.2beta2REL_18_STABLE7.2beta2REL_17_STABLE7.2beta2REL_16_STABLE7.2beta2REL_15_STABLE7.2beta2REL_14_STABLE7.2beta2REL_13_STABLE7.2beta2+23 more
No linked threadNov 02, 2001
CommitterFix pg_pwd caching mechanism, which was broken by changes to fork postmaster children before client auth step. Postmaster now rereads pg_pwd on receipt of SIGHUP, the same way that pg_hba.conf is handled. No cycles need be expended to validate password cache validity during connection startup.
8a069abd
master7.2beta2REL_19_STABLE7.2beta2REL_18_STABLE7.2beta2REL_17_STABLE7.2beta2REL_16_STABLE7.2beta2REL_15_STABLE7.2beta2REL_14_STABLE7.2beta2REL_13_STABLE7.2beta2+23 more
No linked threadNov 02, 2001
CommitterSuppress compiler warning (only seen in MULTIBYTE case).
6babf6ea
master7.2beta2REL_19_STABLE7.2beta2REL_18_STABLE7.2beta2REL_17_STABLE7.2beta2REL_16_STABLE7.2beta2REL_15_STABLE7.2beta2REL_14_STABLE7.2beta2REL_13_STABLE7.2beta2+23 more
No linked threadNov 02, 2001
CommitterFix problem reported by Alex Korn: if a relation has been dropped and recreated since the start of our transaction, our first reference to it errored out because we'd try to reuse our old relcache entry for it. Do this by accepting SI inval messages just before relcache search in heap_openr, so that dead relcache entries will be flushed before we search. Also, break heap_open/openr into two pairs of routines, relation_open(r) and heap_open(r). The relation_open routines make no tests on relkind and so can be used to open anything that has a pg_class entry. The heap_open routines are wrappers that add a relkind test to preserve their established behavior. Use the relation_open routines in several places that had various kluge solutions for opening rels that might be either heap or index rels.
7d053108
master7.2beta2REL_19_STABLE7.2beta2REL_18_STABLE7.2beta2REL_17_STABLE7.2beta2REL_16_STABLE7.2beta2REL_15_STABLE7.2beta2REL_14_STABLE7.2beta2REL_13_STABLE7.2beta2+23 more
No linked threadNov 02, 2001
CommitterMinor code cleanups.
3c9b549a
master7.2beta2REL_19_STABLE7.2beta2REL_18_STABLE7.2beta2REL_17_STABLE7.2beta2REL_16_STABLE7.2beta2REL_15_STABLE7.2beta2REL_14_STABLE7.2beta2REL_13_STABLE7.2beta2+23 more
No linked threadNov 01, 2001
CommitterReject tabs and linefeeds in usernames and passwords that are being stored in pg_pwd, to guard against failures of the sort observed by Tom Yackel. Note: in the case of encrypted passwords this is no restriction, since the string we are interested in is the MD5 hash.
7663e6bb
master7.2beta2REL_19_STABLE7.2beta2REL_18_STABLE7.2beta2REL_17_STABLE7.2beta2REL_16_STABLE7.2beta2REL_15_STABLE7.2beta2REL_14_STABLE7.2beta2REL_13_STABLE7.2beta2+23 more
No linked threadNov 01, 2001
CommitterAdd missing #include.
bdea97ea
master7.2beta2REL_19_STABLE7.2beta2REL_18_STABLE7.2beta2REL_17_STABLE7.2beta2REL_16_STABLE7.2beta2REL_15_STABLE7.2beta2REL_14_STABLE7.2beta2REL_13_STABLE7.2beta2+23 more
No linked threadNov 01, 2001
CommitterSuppress trivial compiler warning.
4877c592
master7.2beta2REL_19_STABLE7.2beta2REL_18_STABLE7.2beta2REL_17_STABLE7.2beta2REL_16_STABLE7.2beta2REL_15_STABLE7.2beta2REL_14_STABLE7.2beta2REL_13_STABLE7.2beta2+23 more
No linked threadNov 01, 2001
CommitterFix broken markup.
fe61b6cc
master7.2beta2REL_19_STABLE7.2beta2REL_18_STABLE7.2beta2REL_17_STABLE7.2beta2REL_16_STABLE7.2beta2REL_15_STABLE7.2beta2REL_14_STABLE7.2beta2REL_13_STABLE7.2beta2+23 more
No linked threadNov 01, 2001
CommitterCopy-editing.
d14147de
master7.2beta2REL_19_STABLE7.2beta2REL_18_STABLE7.2beta2REL_17_STABLE7.2beta2REL_16_STABLE7.2beta2REL_15_STABLE7.2beta2REL_14_STABLE7.2beta2REL_13_STABLE7.2beta2+23 more
No linked threadNov 01, 2001
CommitterUpdate solaris-1947 variant files for new datetime regression tests. Results checked by Olivier Prenant.
9a88b8a6
master7.2beta2REL_19_STABLE7.2beta2REL_18_STABLE7.2beta2REL_17_STABLE7.2beta2REL_16_STABLE7.2beta2REL_15_STABLE7.2beta2REL_14_STABLE7.2beta2REL_13_STABLE7.2beta2+23 more
No linked threadOct 30, 2001
CommitterGrammatical corrections.
b9cd4c83
master7.2beta2REL_19_STABLE7.2beta2REL_18_STABLE7.2beta2REL_17_STABLE7.2beta2REL_16_STABLE7.2beta2REL_15_STABLE7.2beta2REL_14_STABLE7.2beta2REL_13_STABLE7.2beta2+23 more
No linked threadOct 30, 2001
CommitterFix problems with subselects used in GROUP BY expressions, per gripe from Philip Warner. Side effect of change is that GROUP BY expressions will not be re-evaluated at multiple plan levels anymore, whereas this sometimes happened with old code.
96ca8ffe
master7.2beta2REL_19_STABLE7.2beta2REL_18_STABLE7.2beta2REL_17_STABLE7.2beta2REL_16_STABLE7.2beta2REL_15_STABLE7.2beta2REL_14_STABLE7.2beta2REL_13_STABLE7.2beta2+23 more
No linked threadOct 30, 2001
CommitterUpdate WAL configuration discussion to reflect post-7.1 tweaking. Minor copy-editing.
6b0be334
master7.2beta2REL_19_STABLE7.2beta2REL_18_STABLE7.2beta2REL_17_STABLE7.2beta2REL_16_STABLE7.2beta2REL_15_STABLE7.2beta2REL_14_STABLE7.2beta2REL_13_STABLE7.2beta2+23 more
No linked threadOct 26, 2001
CommitterMore cleanup of CREATE FUNCTION examples.
8394e472
master7.2beta2REL_19_STABLE7.2beta2REL_18_STABLE7.2beta2REL_17_STABLE7.2beta2REL_16_STABLE7.2beta2REL_15_STABLE7.2beta2REL_14_STABLE7.2beta2REL_13_STABLE7.2beta2+23 more
No linked threadOct 26, 2001
CommitterRemove no-longer-needed dependencies on DLSUFFIX.
8dcf998d
master7.2beta2REL_19_STABLE7.2beta2REL_18_STABLE7.2beta2REL_17_STABLE7.2beta2REL_16_STABLE7.2beta2REL_15_STABLE7.2beta2REL_14_STABLE7.2beta2REL_13_STABLE7.2beta2+23 more
No linked threadOct 26, 2001
CommitterEditorial work on xfunc chapter --- better explanations about SQL functions handling composite types and sets, various minor cleanups.
62651c01
master7.2beta2REL_19_STABLE7.2beta2REL_18_STABLE7.2beta2REL_17_STABLE7.2beta2REL_16_STABLE7.2beta2REL_15_STABLE7.2beta2REL_14_STABLE7.2beta2REL_13_STABLE7.2beta2+23 more
No linked threadOct 26, 2001
CommitterRemove 294 reduce/reduce conflicts.
40ce3a93
master7.2beta2REL_19_STABLE7.2beta2REL_18_STABLE7.2beta2REL_17_STABLE7.2beta2REL_16_STABLE7.2beta2REL_15_STABLE7.2beta2REL_14_STABLE7.2beta2REL_13_STABLE7.2beta2+23 more
No linked threadOct 25, 2001
CommitterFix a couple of places where lack of parenthesization of a cast causes pgindent to make weird formatting decisions. Easiest fix seems to be to put in the extra parens...
22d9e912
master7.2beta2REL_19_STABLE7.2beta2REL_18_STABLE7.2beta2REL_17_STABLE7.2beta2REL_16_STABLE7.2beta2REL_15_STABLE7.2beta2REL_14_STABLE7.2beta2REL_13_STABLE7.2beta2+23 more
No linked threadOct 25, 2001
CommitterAdd int2-to-int8 and int8-to-int2 conversion routines. Needed to avoid breaking existing pg_dump scripts, which try to assign the result of count(*) to an int2 variable. catversion bumped.
a0cd9919
master7.2beta2REL_19_STABLE7.2beta2REL_18_STABLE7.2beta2REL_17_STABLE7.2beta2REL_16_STABLE7.2beta2REL_15_STABLE7.2beta2REL_14_STABLE7.2beta2REL_13_STABLE7.2beta2+23 more
No linked threadOct 25, 2001
CommitterAdd missing output routine for FkConstraint nodes.
92e82822
master7.2beta2REL_19_STABLE7.2beta2REL_18_STABLE7.2beta2REL_17_STABLE7.2beta2REL_16_STABLE7.2beta2REL_15_STABLE7.2beta2REL_14_STABLE7.2beta2REL_13_STABLE7.2beta2+23 more
No linked threadOct 25, 2001
CommitterEditorial work on descriptions of options.
92e1b743
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 23, 2001
CommitterForbid the switch combination --clean --create, which is pointless (why bother dropping individual objects in a just-created database?) as well as dangerous (as the code stands, the drops will be issued in the wrong database, namely the one you were originally connected to).
b662e321
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 23, 2001
CommitterDocument range restriction on bit values used in INTERVAL typmod.
2628d9b3
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 23, 2001
CommitterAdd support for INTERVAL's new typmod values to format_type.
d0667af9
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 23, 2001
CommitterFix foreign keys on system columns.
01b73d3f
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 23, 2001
CommitterMake SPI's column-accessing functions work for system columns as well as user columns. Needed for foreign keys on OID, but useful in general.
57dd2ce7
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 23, 2001
CommitterAdd error checking to PageRepairFragmentation to ensure that it can never overwrite adjacent pages with copied data, even if page header and/or item pointers are already corrupt. Change inspired by trouble report from Alvaro Herrera.
087771ae
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 23, 2001
CommitterAdd note explaining that multiple prompts for a password are normal behavior when password auth is used.
453f3503
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 22, 2001
CommitterCause transformIndexConstraints() to do the right thing with requests for indexes on system columns. Per complaint from Peter.
dab708ea
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 22, 2001
CommitterConsolidate tables of known system attributes into one table.
c59839ac
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 22, 2001
CommitterUpdate for latest fixes.
b00c6c84
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 22, 2001
CommitterFurther cleanup of ps_status setup code. On platforms where the environment strings need to be moved around, do so when called from initial startup (main.c), not in init_ps_status. This eliminates the former risk of invalidating saved environment-string pointers, since no code has yet had a chance to grab any such pointers when main.c is running.
94daee3c
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 22, 2001
CommitterAdd defenses against invalid operator names passed in CREATE OPERATOR arguments (where the parser doesn't check them already). Minor code cleanups too.
a19f2605
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 22, 2001
CommitterRebuild cached function definition after CREATE OR REPLACE FUNCTION. Fix typlen-vs-typmod errors inherited from pltcl.
970a2d1c
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 22, 2001
CommitterGenerate correct syntax for DROP OPERATOR with unary operators.
b2e859a4
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 22, 2001
CommitterFix FindExec() for case where executable is found via a relative path in .:/home/postgres/testversion/bin:/opt/perl5.6.1/bin:/home/postgres/bin:/usr/local/bin:/usr/bin:/opt/ansic/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/nettladm/bin:/opt/pd/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/upgrade/bin:/opt/CC/bin:/opt/langtools/bin:/opt/graphics/phigs/bin:/opt/java/bin:/bin:/opt/imake/bin:/opt/hparray/bin:/opt/aCC/bin:/opt/lrom/bin:/usr/local/nmh/bin:. (I suppose the only common case for this is '.').
6ec5eaad
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 21, 2001
CommitterFix getopt-vs-init_ps_display problem by copying original argv[] info, per suggestion from Peter. Simplify several APIs by transmitting the original argv location directly from main.c to ps_status.c, instead of passing it down through several levels of subroutines.
b2e92a71
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 21, 2001
CommitterRevert change to autodetect '__getopt_initialized' variable ... turns out glibc doesn't actually export this variable, so we need a different solution.
2b7206a9
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 20, 2001
CommitterFix plperl to discard cached function definition after CREATE OR REPLACE FUNCTION. Clean up typlen/typmod errors inherited from pltcl.
3a484d9e
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 19, 2001
CommitterProper fix for glibc getopt() botch. Surprising we did not see this before.
379268aa
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 19, 2001
CommitterFix a lot of confusion between typlen and typmod. Didn't hurt too much back when only varlena types paid any attention to typmod ...
58f6b951
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 19, 2001
CommitterSet optreset on platforms that have it before launching postmaster subprocesses; perhaps this will fix portability problem just noted by Lockhart. Also, move test for bad permissions of DataDir to a more logical place.
861a679f
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 19, 2001
CommitterEnsure that all startup paths (postmaster, standalone postgres, or bootstrap) check for a valid PG_VERSION file before looking at anything else in the data directory. This fixes confusing error report when trying to start current sources in a pre-7.1 data directory. Per trouble report from Rich Shepard 10/18/01.
6430e6e2
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 19, 2001
CommitterRename macro arg to avoid useless compiler warning when building plperl.
3d510653
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 19, 2001
CommitterFix pltcl to update cached function def after CREATE OR REPLACE FUNCTION.
abbc95e5
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 19, 2001
CommitterTypo.
6b5aeb79
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 19, 2001
CommitterMove init_ps_display from postgres.c to postmaster.c, putting it just after receipt of the startup packet. Now, postmaster children that are waiting for client authentication response will show as 'postgres: user database host authentication'. Also, do an init_ps_display for startup/shutdown/checkpoint subprocesses, so that they are readily identifiable as well. Fix an obscure race condition that could lead to Assert failure in the postmaster --- attempting to start a checkpoint process before any connections have been received led to calling PostmasterRandom before setting random_seed.
eb133197
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 19, 2001
CommitterSpell 'between' correctly, clean up spacing in error messages.
90472927
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 18, 2001
CommitterFix memory leakage when sending notice messages to client.
43568d11
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 18, 2001
CommitterFix authentication so that it doesn't record an extra 'Password authentication failed' and a 'send() failed: Broken pipe' message on every connection from psql in password auth mode. Problem is that psql doesn't ask user for a password until it sees a password challenge failure, and libpq just closes the connection unceremoniously if it's challenged for a password when it hasn't got one to send. Accordingly, EOF from the client after asking for a password is normal behavior and should not result in postmaster log entries.
aed378e8
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 18, 2001
CommitterAdd STATUS_EOF value needed for auth.c. Remove a bunch of unused STATUS_xxx macros to reduce clutter.
13e467f7
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 18, 2001
CommitterFix several problems with simple_prompt() --- the nastiest being that the entered password would get echoed on some platforms, eg HPUX. We have enough copies of this code that I'm thinking it ought to be moved into libpq, but that's a task for another day.
4fec55af
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 18, 2001
CommitterUpdate for new expected results.
b522ce0b
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 18, 2001
CommitterDidn't compile on non-HAVE_TM_ZONE machines.
f9b65837
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 18, 2001
CommitterRepair missing brace in HAVE_INT_TIMEZONE case.
369c9e3b
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 18, 2001
CommitterExtend code that deduces implied equality clauses to detect whether a clause being added to a particular restriction-clause list is redundant with those already in the list. This avoids useless work at runtime, and (perhaps more importantly) keeps the selectivity estimation routines from generating too-small estimates of numbers of output rows. Also some minor improvements in OPTIMIZER_DEBUG displays.
6254465d
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 18, 2001
CommitterAdd documentation about statistics collector and stats views & functions.
8be02853
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 16, 2001
CommitterMake sure to clean out old activity string when recycling a backend entry.
b2070810
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 16, 2001
CommitterUse LEFT JOIN, not FULL JOIN, in statistical views.
70e6003c
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 16, 2001
CommitterAdd a section about the planner's statistics, including a description of the new pg_stats view.
2bb6b98d
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 16, 2001
CommitterAdd note about pg_stats to pg_statistic entry; add sections for pg_largeobject, pg_listener, pg_rewrite, pg_trigger; miscellaneous small improvements.
daf72bba
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 15, 2001
CommitterDoesn't anyone test stuff before they commit it?
e158670c
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 15, 2001
CommitterFix some portability problems (get it to compile, at least, on HP's cc)
77f27d5e
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 15, 2001
CommitterFix some portability problems (get it to compile, at least, on HP's cc)
aa6970ef
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 15, 2001
CommitterFix some portability problems (get it to compile, at least, on HP's cc)
1e277911
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 15, 2001
CommitterUpdated regression test for tsearch, from Teodor Sigaev.
b261cb9f
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 15, 2001
CommitterSuggest placing audit trail on pg_shadow, not its view pg_user.
8f6d72cb
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 15, 2001
CommitterUpdate examples of type coercion rules --- some of them no longer worked as the example claimed, because of changes elsewhere in the system.
9bc15d49
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 15, 2001
CommitterSynchronize with main parser's keyword list (someone didn't check his last commit very carefully...)
e3b3eb20
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 15, 2001
CommitterMake selectivity routines cope gracefully with NaNs, infinities, and NUMERIC values that are out of the range of 'double'. Per trouble report from Mike Quinn.
e482dcb0
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 13, 2001
CommitterFixing closed-path intersection logic causes this test to find more streets than it used to...
9ca41c04
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 13, 2001
Committerpath_inter, path_distance, path_length, dist_ppath now do the right things with closed paths --- ie, include the closing line segment in their calculations. Per bug report from Curtis Barrett 9-Oct-01.
cf5dc330
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 13, 2001
CommitterAdd missing prototype to suppress gcc warning.
58dc94ab
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 13, 2001
CommitterResidual cleanup from making pltcl unknown support always enabled.
f42b88d1
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 13, 2001
CommitterAutoconf.
b2c37b4c
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 13, 2001
Committertxtidx datatype for full text indexing with GiST. From Oleg Bartunov and Teodor Sigaev.
b5770567
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 12, 2001
CommitterBreak transformCreateStmt() into multiple routines and make transformAlterStmt() use these routines, instead of having lots of duplicate (not to mention should-have-been-duplicate) code. Adding a column with a CHECK constraint actually works now, and the tests to reject unsupported DEFAULT and NOT NULL clauses actually fire now. ALTER TABLE ADD PRIMARY KEY works, modulo having to have created the column(s) NOT NULL already.
f9e6e27c
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 12, 2001
CommitterSuppress gcc warnings.
97d0c8b2
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 11, 2001
CommitterChange plpgsql compiler so that all elogs are trapped and a suitable NOTICE added about error location (same method already used by plpgsql executor). Add checking of pg_proc row xmin/cmin to ensure that plpgsql functions will be recompiled after they've been modified by CREATE OR REPLACE FUNCTION.
2f1c24cb
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 09, 2001
CommitterFix typo in error message. Noted by laser@zhengmai.com.cn.
c7816006
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 09, 2001
CommitterCorrect some errors in plpgsql examples, as reported by Junichi Kobayasi.
2034086e
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 09, 2001
CommitterChange plpgsql to depend on main parser's type-declaration grammar, rather than having its own somewhat half-baked notion of what a type declaration looks like. This is necessary now to ensure that plpgsql will think a 'timestamp' variable has the same semantics as 'timestamp' does in the main SQL grammar; and it should avoid divergences in future.
0b3bca6c
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 09, 2001
CommitterAnother go-round with FigureColname, to produce less surprising results for nested typecasts. It now produces a column header of 'timestamptz' for 'SELECT CURRENT_TIMESTAMP', rather than 'text' as it was doing for awhile there.
7ecc40c2
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 08, 2001
CommitterFix transformExpr() to not scribble on its input datastructure while transforming CASE expressions. This was definitely confusing FigureColname, and might lead to bad things elsewhere as well.
71f2993c
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 08, 2001
CommitterFix ruleutils to depend on format_type, rather than having a private copy of code that knows about displaying types with typmod info. Needed so that it does the right thing with timestamp datatypes now.
1c7bef32
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 08, 2001
CommitterMake ALTER TABLE RENAME COLUMN update column names of indexes that refer to the renamed column. Brent Verner, with a little help from tgl.
b6a79482
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 08, 2001
CommitterRemove redundant code, update comments, cause CURRENT_TIME to agree with CURRENT_TIME(n).
7249562f
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 08, 2001
CommitterRearrange fmgr.c and relcache so that it's possible to keep FmgrInfo lookup info in the relcache for index access method support functions. This makes a huge difference for dynamically loaded support functions, and should save a few cycles even for built-in ones. Also tweak dfmgr.c so that load_external_function is called only once, not twice, when doing fmgr_info for a dynamically loaded function. All per performance gripe from Teodor Sigaev, 5-Oct-01.
85801a4d
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 06, 2001
CommitterFurther cleanup of dynahash.c API, in pursuit of portability and readability. Bizarre '(long *) TRUE' return convention is gone, in favor of just raising an error internally in dynahash.c when we detect hashtable corruption. HashTableWalk is gone, in favor of using hash_seq_search directly, since it had no hope of working with non-LONGALIGNable datatypes. Simplify some other code that was made undesirably grotty by promixity to HashTableWalk.
8a52b893
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 05, 2001
CommitterDon't try to hack pg_description if not superuser. (Really want a COMMENT ON LARGE OBJECT command instead, but no time for it now.) Fix some code that would not work with OIDs > 2G.
c24e5ddf
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 04, 2001
CommitterConsider interpreting a function call as a trivial (binary-compatible) type coercion after failing to find an exact match in pg_proc, but before considering interpretations that involve a function call with one or more argument type coercions. This avoids surprises wherein what looks like a type coercion is interpreted as coercing to some third type and then to the destination type, as in Dave Blasby's bug report of 3-Oct-01. See subsequent discussion in pghackers.
03b0a589
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 04, 2001
CommitterOoops, I was a little too enthusiastic about suppressing default index opclasses; they might be default for some other datatype, in which case we mustn't suppress 'em.
1ca0874f
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 04, 2001
CommitterPlug memory leaks introduced by dynamic-search-path changes. From Teodor Sigaev.
3f8a50c0
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 04, 2001
CommitterMake the world safe for atttypmod=0 ... this didn't use to mean anything, but timestamp now wants it to mean something.
38633cf8
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 04, 2001
CommitterMake current_time deliver a fractional-second answer.
dd154dde
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 04, 2001
CommitterAdjustTimeForTypmod has the same bug ...
1392cbd0
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 04, 2001
CommitterMake regress tests safe for variable-resolution timestamps.
04d975f0
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 04, 2001
CommitterFix some problems in new variable-resolution-timestamp code.
64dff0be
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 04, 2001
CommitterConsistently use gcc's __attribute__((format)) to check sprintf-style format strings wherever possible. Remarkably, this exercise didn't turn up any inconsistencies, but it seems a good idea for the future.
fcd2e372
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 03, 2001
CommitterDROP AGGREGATE and COMMENT ON AGGREGATE now accept the expected syntax 'aggname (aggtype)'. The old syntax 'aggname aggtype' is still accepted for backwards compatibility. Fix pg_dump, which was actually broken for most cases of user-defined aggregates. Clean up error messages associated with these commands.
2e5fda7b
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 03, 2001
CommitterUpdate error message wording for format_type change.
16def00f
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 03, 2001
CommitterRemove no-longer-used macros.
9488aad6
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 03, 2001
CommitterUpdate incorrect expected file. Use 'timestamp without time zone' datatype in test, to try to avoid any dependency on local time zone.
2d6b1f29
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 03, 2001
CommitterTeach format_type about time/timestamp precision, so that pg_dump and psql's \d option work properly.
5c35b597
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 03, 2001
CommitterAdd missing TIMESTAMPTZ case.
2684f15e
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 03, 2001
CommitterSome further kibitzing on cachability of datetime functions. In particular, mark all I/O functions that can produce or consume a date as noncachable, in light of existence of DateStyle variable.
2b7ccb17
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 03, 2001
CommitterUpdate for latest regression tests.
cf447626
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 03, 2001
CommitterAdjustTimestampForTypmod does not work (at least not portably) on -infinity and +infinity. Put TIMESTAMP_NOT_FINITE guard into the routine, instead of forgetting it at some call sites. Fixes regression test failures here.
77be5f94
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 03, 2001
CommitterNeatnik fetishism.
a390975c
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 03, 2001
CommitterTweak to test HAVE_GETOPT_H before including <getopt.h>, so as to build on systems without.
a5dafa31
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 02, 2001
CommitterAdd CREATE OR REPLACE FUNCTION syntax to allow replacing a function definition without changing the function's OID, thereby not breaking rules, views, triggers, etc that depend on it. From Gavin Sherry.
f2c65737
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 02, 2001
CommitterRevise shmget() and semget() failure messages to mention the possibility of coping by reducing shared_buffers/max_connections settings.
c7a7107f
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 01, 2001
CommitterFix typo (block size is 8 kB not 8192 kB).
d7bdfab4
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 01, 2001
CommitterChange pg_dump to produce CREATE INDEX commands by using the backend's pg_get_indexdef() function, rather than reaching into the system catalogs for itself. This eliminates a fair amount of redundant code. Also, since I just changed pg_get_indexdef() to suppress display of default index opclasses, this will mean that 7.2 and later dumps will not mention opclasses unless they are non-default opclasses. Should make life easier for future index opclass reorganizations.
1929a90b
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 01, 2001
CommitterExtend pg_get_indexdef() to know about index predicates. Also, tweak it to suppress index opclass output for opclasses that are the default for their datatype; only non-default opclasses are shown explicitly. This is expected to improve portability of the CREATE INDEX command across future versions of Postgres --- we've changed index opclasses too often in the past to think we won't do so again.
e5bbf196
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 01, 2001
CommitterMake inclusion logic for sys/sem.h and sys/ipc.h consistent across all the files that need them. Per trouble report from Teodor.
0648d78a
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 01, 2001
CommitterFix a couple of stray // comments.
6d18c038
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 01, 2001
CommitterClean up a little more carefully around fork of pgstat subprocess. Partial support for BEOS (not sure whether second fork of grandchild process needs these extra calls or not; someone who has BEOS will need to test it).
87fd2dbe
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 01, 2001
CommitterAnother round of cleanups for dynahash.c (maybe it's finally clean of portability issues). Caller-visible data structures are now allocated on MAXALIGN boundaries, allowing safe use of datatypes wider than 'long'. Rejigger hash_create API so that caller specifies size of key and total size of entry, not size of key and size of rest of entry. This simplifies life considerably since each number is just a sizeof(), and padding issues etc. are taken care of automatically.
5999e78f
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 01, 2001
CommitterSuppress timestamp_ops for backwards compatibility with 7.1 pg_dump.
f5817966
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadOct 01, 2001
CommitterMake libpq++ safe again for older C++ compilers. Do 'using namespace std' only if configure found it was safe to do so; do not assume const_cast is available.
95d4821b
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 30, 2001
CommitterClean up encode/decode functions a little bit.
7eff804b
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 30, 2001
CommitterFix sloppiness about static vs non-static declaration of functions. Some compilers are pickier about this than gcc is.
12054ba5
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 30, 2001
Committerpg_stat_get_backend_idset should reset fmgr_info->fn_extra at end of execution, so that it restarts correctly if query tree is used again.
b16a8f49
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 30, 2001
CommitterAllow the postmaster to accept changes in PGC_BACKEND GUC variables from the config file, so that these changes will propagate to backends started later. Already-started backends continue to ignore changes in these variables.
f00da6d8
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 30, 2001
CommitterISTM that IsUnderPostmaster should mean we are a child process of the postmaster ... it should not be set in the postmaster itself.
e43d51fd
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 30, 2001
CommitterCreate a GUC parameter max_files_per_process that is a configurable upper limit on what we will believe from sysconf(_SC_OPEN_MAX). The default value is 1000, so that under ordinary conditions it won't affect the behavior. But on platforms where the kernel promises far more than it can deliver, this can be used to prevent running out of file descriptors. See numerous past discussions, eg, pgsql-hackers around 23-Dec-2000.
f9f25828
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 30, 2001
CommitterAddition of xid=int4 operator makes opr_sanity unhappy.
40ed132c
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 30, 2001
Committerwinsock_strerror crashed on me. This fixes a line of code that looks cleverer than it actually is ;-) Braces are good for you :-)
650c1750
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 30, 2001
CommitterChanges:
14b0da2a
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 30, 2001
CommitterUpdate required due to recent changes in FigureColname.
5798ccc4
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 30, 2001
CommitterTweak btree page split logic so that when splitting a page that is rightmost on its tree level, we split 2/3 to the left and 1/3 to the new right page, rather than the even split we use elsewhere. The idea is that when faced with a steadily increasing series of inserted keys (such as sequence or timestamp values), we'll end up with a btree that's about 2/3ds full not 1/2 full, which is much closer to the desired steady-state load for a btree. Per suggestion from Ann Harrison of IBPhoenix.
1663f338
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 29, 2001
CommitterCope with the likelihood that setlocale and localeconv will return pointers to data that will be changed by any later call to setlocale. Must copy what they return to be sure we get the right answer. Karel Zak, further tweaks by Tom Lane.
8ca61476
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 29, 2001
CommitterFix the setlocale problem in a way that actually works. setlocale returns a string corresponding to the new setting, not the old, therefore the previous patch was quite wrong.
dc05a996
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 29, 2001
CommitterClean up comments.
742d0f25
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 29, 2001
CommitterWhoops, I was a tad too enthusiastic about using shared lock mode for SInvalLock. GetSnapshotData(true) has to use exclusive lock, since it sets MyProc->xmin.
2a314add
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 29, 2001
CommitterFixes for datetime-related regress tests, from Tom Lockhart.
6fdf7bed
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 29, 2001
CommitterRemove mistakenly-included file, per request from John Gray.
793bcc67
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 29, 2001
Committertimetz test was omitted from parallel_schedule.
e3831d83
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 29, 2001
CommitterUpdate horology-no-DST-before-1970.out for new horology test. Still need an update for horology-solaris-1947.out ...
c0bff32c
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 29, 2001
CommitterImplement new 'lightweight lock manager' that's intermediate between existing lock manager and spinlocks: it understands exclusive vs shared lock but has few other fancy features. Replace most uses of spinlocks with lightweight locks. All remaining uses of spinlocks have very short lock hold times (a few dozen instructions), so tweak spinlock backoff code to work efficiently given this assumption. All per my proposal on pghackers 26-Sep-01.
499abb0c
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 29, 2001
CommitterMove s_lock.c and spin.c into lmgr subdirectory, which seems a much more reasonable location for them.
90aebf7f
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 27, 2001
CommitterRemove useless LockDisable() function and associated overhead, per my proposal of 26-Aug.
3d59ad00
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 27, 2001
CommitterThe trailing semicolon in a plpgsql function definition is now optional. Per gripe 9/26.
cdd91468
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 26, 2001
CommitterRepair oversight in recent changes to index-creation: tuple time qual check *can* return HEAPTUPLE_INSERT_IN_PROGRESS or HEAPTUPLE_DELETE_IN_PROGRESS, even though we have ShareLock on the relation. To wit, this can happen if the tuple was inserted/deleted by our own transaction. Per report from Justin Clift 9/23.
d435592f
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 26, 2001
CommitterRemove useless test for time field in pg_control being > 0. We don't need this, and it will create a Y2038 failure. Per report from David Wheeler, who is evidently running on a platform where time_t is already negative.
1481b3b2
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 26, 2001
CommitterAdd 'reload' option to pg_ctl to send SIGHUP to the postmaster.
196700c3
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 21, 2001
CommitterCode review for MD5 authorization patch. Clean up some breakage (salts were always zero!?), add much missing documentation.
c1c888a9
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 21, 2001
CommitterAdd an overall timeout on the client authentication cycle, so that a hung client or lost connection can't indefinitely block a postmaster child (not to mention the possibility of deliberate DoS attacks). Timeout is controlled by new authentication_timeout GUC variable, which I set to 60 seconds by default ... does that seem reasonable?
35b7601b
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 21, 2001
CommitterFix type_maximum_size() to give the right answer in MULTIBYTE cases. Avoid use of prototype-less function pointers in MB code.
e3f5bc34
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 21, 2001
CommitterProduce slightly saner-looking EXPLAIN output for a Result node.
6f33c179
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 21, 2001
CommitterGive VACUUM its own GUC parameter for memory usage, rather than piggybacking on SortMem. Add documentation for some recently-added GUC parameters that had so far escaped it.
c969fed7
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 21, 2001
CommitterQuick-and-dirty fix for recursive plpgsql functions, per bug report from Frank Miles 7-Sep-01. This is really just sticking a finger in the dike. Frank's case works now, but we still couldn't support a recursive function returning a set. Really need to restructure querytrees and execution state so that the querytree is *read only*. We've run into this over and over and over again ... it has to happen sometime soon.
ae3129fd
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 21, 2001
CommitterSuppress gcc warning.
ac0c234c
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 20, 2001
CommitterRemove some dead code and obsolete, misleading comments.
272b914a
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 20, 2001
CommitterEXPLAIN ANALYZE feature to measure and show actual runtimes and tuple counts alongside the planner's estimates. By Martijn van Oosterhout, with some further work by Tom Lane.
89fa5518
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 18, 2001
CommitterFix bogus failure-return value from lo_create, per report from Gavin Sherry. Also clean up leakage of open files and LOs in failure exits from lo_import and lo_export.
a839258d
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 17, 2001
CommitterSimplify and clean up FigureColname; make it work without coredumping for TypeCast case.
052c2eaa
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 17, 2001
CommitterUse portable putenv(), not unportable setenv().
ec7ddc15
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 17, 2001
CommitterSuppress compiler warning.
220ae48c
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 17, 2001
CommitterUpdate documentation's info about location of our CVSROOT.
2aa6ad11
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 16, 2001
CommitterBack-patch deadlock recovery fix into 7.1 tree, in case someone needs it.
e419d86f
REL7_1_STABLEunreleased
No linked threadSep 12, 2001
CommitterClean up some confusion about where and how to set whereToSendOutput. We will no longer try to send elog messages to the client before we have initialized backend libpq (oops); however, reporting bogus commandline switches via elog does work now (not irrelevant, because of PGOPTIONS). Fix problem with inappropriate sending of checkpoint-process messages to stderr.
02b1a7fd
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 08, 2001
CommitterChange addlit() to not assume its input is null-terminated, so that we don't have more bugs like the quote-quote-quote-quote one. Propagate fix into ecpg lexer, too.
09e99a10
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 07, 2001
CommitterRevert treatment of NOTIFY in rules to its pre-7.1 behavior: notify will occur unconditionally, even if the rule should otherwise execute conditionally. This is more useful than giving an error, even though it's not truly the correct behavior. Per today's pghackers discussion.
17c03b30
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 07, 2001
CommitterRevise overflow test in int84() to avoid codegen bug in some older versions of gcc. We don't really need to explicitly test the limits anyway, just reverse-convert and see if we get the same answer.
0fc7779d
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 07, 2001
CommitterFix a number of places where pg_dump was careless about explicitly coercing OID literals to OID in its queries. Depending on the query and the server version, this could cause failures for OIDs over 2 billion.
ee3c51d4
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 07, 2001
CommitterMissed a few places that referred to a compile-time limit on max_connections.
e67bb7af
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 07, 2001
CommitterGet rid of PID entries in shmem hash table; there is no longer any need for them, and making them just wastes time during backend startup/shutdown. Also, remove compile-time MAXBACKENDS limit per long-ago proposal. You can now set MaxBackends as high as your kernel can stand without any reconfiguration/recompilation.
863aceb5
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 07, 2001
CommitterFix handling of pg_type.typdefault per bug report from Dave Blasby. If there's anyone out there who's actually using datatype-defined default values, this will be an incompatible change in behavior ... but the old behavior was so broken that I doubt anyone was using it.
6c91eef7
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 06, 2001
CommitterAdd some debugging details to some of the elog(STOP) conditions for WAL. Standardize on %X/%X as the formatting for XLOG position display --- we had a couple of different formats before, and none of 'em were as useful as hex offsets IMHO.
f2b604ec
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 06, 2001
CommitterFix code so that we recover cleanly if there are no free semaphores available in freeSemMap. As noted by Tatsuo, this is now a likely scenario for detecting MaxBackends-exceeded; if MaxBackends is a multiple of PROC_NSEMS_PER_SET then we will fail here and not in sinval.c. The cleanup path did not work correctly before, anyway.
76355439
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 04, 2001
Committerunixdate subdirectory is gone.
29c22eec
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 04, 2001
CommitterFix comment, add Assert.
936114a0
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 04, 2001
CommitterFix typo.
bc1a61a3
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 04, 2001
CommitterClean up the lock state properly when aborting because of early deadlock detection in ProcSleep(). Bug noted by Tomasz Zielonka --- how did this escape detection for this long??
b553cba1
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadSep 04, 2001
CommitterAvoid #ifdef inside printf() ... that loses on platforms where printf() is a macro.
9d4a45e2
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 28, 2001
CommitterFix some typos.
a1e28d35
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 27, 2001
CommitterAdd some minimal exercising of functional-index feature to regression tests.
7d66bf26
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 27, 2001
CommitterSuppress definitions of 'true' and 'false' macros if __cplusplus. Since we're assuming a C++ compiler knows what 'bool' is, seems we should assume it knows 'true' and 'false' too. This prevents problems on some systems, per report from Leandro Fanzone.
c92b4508
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 27, 2001
CommitterUse a cursor for fetching data in -d or -D mode, so that pg_dump doesn't run out of memory with large tables in these modes. Patch from Martijn van Oosterhout.
814f40cf
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 27, 2001
CommitterFix confusion over static-ness of a subroutine.
545c6696
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 27, 2001
CommitterRemove unneeded/unportable extern.
51633946
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 27, 2001
CommitterQuick-hack solution to regproc/oid issue was not the right solution.
d15a118a
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 27, 2001
CommitterUn-break pg_dump --- pg_class.indproc is now regproc not oid, which for some reason displays a zero oid differently. Possibly we should revert that schema change, but it's easy to make pg_dump accept both spellings so I'll do that for now.
ceca2a7d
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 27, 2001
CommitterDocumentation for transaction-ID-wraparound changes. Add a chapter to the Admin Guide about routine maintenance tasks. Currently this only discusses the various reasons for doing VACUUM, but perhaps it could be fleshed out with topics like log rotation.
8e0d642c
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 26, 2001
CommitterTransaction IDs wrap around, per my proposal of 13-Aug-01. More documentation to come, but the code is all here. initdb forced.
bc7d37a5
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 26, 2001
CommitterFix portability problem in new CLOG code, per report from Rene Pijlman.
ca86791a
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 25, 2001
CommitterReplace implementation of pg_log as a relation accessed through the buffer manager with 'pg_clog', a specialized access method modeled on pg_xlog. This simplifies startup (don't need to play games to open pg_log; among other things, OverrideTransactionSystem goes away), should improve performance a little, and opens the door to recycling commit log space by removing no-longer-needed segments of the commit log. Actual recycling is not there yet, but I felt I should commit this part separately since it'd still be useful if we chose not to do transaction ID wraparound.
2589735d
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 25, 2001
CommitterEnsure that all TransactionId comparisons are encapsulated in macros (TransactionIdPrecedes, TransactionIdFollows, etc). First step on the way to transaction ID wrap solution ...
7326e78c
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 23, 2001
CommitterMakefile forgot to install README.btree_gist.
29ec29ff
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 23, 2001
CommitterAdd chkpass.
3563e90a
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 23, 2001
CommitterBring chkpass build process into sync with other contrib modules; make it use Makefile.shlib, etc.
0525ddc3
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 23, 2001
CommitterRemove test of 'inf' since it introduces a platform dependency (some Unixen spell it 'Inf'). Not worth adding multiple expected files and a resultmap just for this.
119fd795
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 23, 2001
Committertskey_cmp() should use timestamp_cmp() instead of doing its own interval arithmetic. From Teodor Sigaev.
07f6c02e
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 23, 2001
CommitterAllow the return value of an SQL function to be binary-compatible with the declared result type, rather than requiring exact type match as before. Per pghackers discusssion of 14-Aug.
5b2208a8
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 23, 2001
CommitterNew contrib module for BTREE emulation in GiST. From Oleg Bartunov and Teodor Sigaev.
a9289708
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 22, 2001
CommitterUpdate GiST for new pg_opclass arrangement (finally a clean solution for haskeytype). Update GiST contrib modules too. Add linear-time split algorithm for R-tree GiST opclass. From Oleg Bartunov and Teodor Sigaev.
a54075a6
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 22, 2001
CommitterPersuade new pgcrypto stuff to compile.
38a4c351
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 22, 2001
CommitterRemove special-case treatment of all-zeroes MAC address, per today's discussion in pgsql-general.
b04e3a25
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 21, 2001
CommitterRestructure pg_opclass, pg_amop, and pg_amproc per previous discussions in pgsql-hackers. pg_opclass now has a row for each opclass supported by each index AM, not a row for each opclass name. This allows pg_opclass to show directly whether an AM supports an opclass, and furthermore makes it possible to store additional information about an opclass that might be AM-dependent. pg_opclass and pg_amop now store "lossy" and "haskeytype" information that we previously expected the user to remember to provide in CREATE INDEX commands. Lossiness is no longer an index-level property, but is associated with the use of a particular operator in a particular index opclass.
f933766b
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 21, 2001
Committergeo_distance function needs to be marked strict. From Mark Stosberg.
a61e15a5
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 16, 2001
CommitterSequences are now based on int8, not int4, arithmetic. SERIAL pseudo-type has an alias SERIAL4 and a sister SERIAL8. SERIAL8 is just the same except the created column is type int8 not int4. initdb forced. Note this also breaks any chance of pg_upgrade from 7.1, unless we hack up pg_upgrade to drop and recreate sequences. (Which is not out of the question, but I don't wanna do it.)
d4f4b971
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 16, 2001
Committersum() on int2 and int4 columns now uses an int8, not numeric, accumulator for speed reasons; its result type also changes to int8. avg() on these datatypes now accumulates the running sum in int8 for speed; but we still deliver the final result as numeric, so that fractional accuracy is preserved.
5f7c2bdb
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 14, 2001
CommitterFix brokenness of nested EXCEPT/INTERSECT queries. prepunion was being a tad sloppy about generating the targetlist for some nodes, by generating a tlist entry that claimed to be a constant when the value wasn't actually constant. This caused setrefs.c to do the wrong thing later on.
4bc9f5e9
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 14, 2001
CommitterHmm, looks like Bruce's auto-run-autoconf script doesn't work for old branches...
bbdf4ab4
REL7_1_STABLE7.1.3
No linked threadAug 13, 2001
CommitterBackportedMake hashjoin give the right answer with toasted input data.
38cfc958
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+24 more
No linked threadAug 13, 2001
CommitterAdd comparison operators and btree indexing support for type bytea. From Joe Conway.
95f8901a
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 13, 2001
CommitterMake ALTER TABLE RENAME on a view rename the view's on-select rule too. Needed to keep pg_dump from getting confused.
1b5cffac
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 12, 2001
CommitterCREATE VIEW with optional column name list wasn't quite right for the case where there are resjunk columns in the query.
dfb8e3f1
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 11, 2001
CommitterDocument column-name-list option of CREATE VIEW ... which has been there awhile, but the man page didn't know it.
548512ad
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 10, 2001
CommitterRevert removal of relhaspkey support; fix unnecessary use of pg_index.oid.
458bc445
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 10, 2001
CommitterMention that COPY cannot be used on a view (per recent suggestion). Other small improvements.
65689398
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 10, 2001
CommitterSince PQoidStatus is deprecated, we should probably stop using it in our own code ...
135dea63
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 10, 2001
CommitterCleanup some minor oversights in optional-OIDs stuff.
ef6ccb0b
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 10, 2001
CommitterMake OIDs optional, per discussions in pghackers. WITH OIDS is still the default, but OIDS are removed from many system catalogs that don't need them. Some interesting side effects: TOAST pointers are 20 bytes not 32 now; pg_description has a three-column key instead of one.
bf56f075
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 10, 2001
CommitterFix collateral damage from error message cleanup.
d062f0f4
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 10, 2001
CommitterBackportedFix Cygwin build, per Jason Tishler.
de4dc29a
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+24 more
No linked threadAug 09, 2001
CommitterAdd TOAST table to the set of relkinds known to \d.
50982933
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 09, 2001
CommitterBack-patch fix to disallow COPY TO/FROM a view (or anything else that's not a plain relation).
6281f348
REL7_1_STABLE7.1.3
No linked threadAug 08, 2001
CommitterBack-patch fix to prevent infinite loop when $PGDATA is not writable.
a11c8be9
REL7_1_STABLE7.1.3
No linked threadAug 08, 2001
CommitterFix thinko (revealed by gcc warning).
0bc291e0
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 07, 2001
CommitterDoesn't seem to be much point in keeping this README up to date anymore, since it's completely redundant with regress.sgml. I think we agreed to remove it awhile back, actually, but no one got around to doing it.
2f4759d5
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 06, 2001
CommitterUpdate now-obsolete example of platform-specific regression comparison files.
af3487e9
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 06, 2001
CommitterSeems like a bad idea to free() a string we are about to use in an error message.
80185f4b
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 06, 2001
CommitterModify partial-index-predicate applicability tester to test whether clauses are equal(), before trying to match them up using btree opclass inference rules. This allows it to recognize many simple cases involving non-btree operations, for example 'x IS NULL'. Clean up code a little.
24679346
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 06, 2001
CommitterEvaluate LIMIT/OFFSET expressions with ExecEvalExprSwitchContext, not ExecEvalExpr, to avoid possible memory leak.
7d6fbe15
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 06, 2001
CommitterSurely the pg_stat interrogation functions must not be marked proiscachable.
172ef163
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 06, 2001
CommitterShow index predicate when doing \d on a partial index.
4cba72cc
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 05, 2001
CommitterEndeavor to make pgstats buffer process (a) safe and (b) useful. Make sure it exits immediately when collector process dies --- in old code, buffer process would hang around and compete with the new buffer process for packets. Make sure it doesn't block on writing the pipe when the collector falls more than a pipeload behind. Avoid leaking pgstats FDs into every backend.
e8f10973
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 05, 2001
CommitterRemove no-longer-needed fcntl call (I'm not sure it *ever* did anything useful, in fact).
5181d37e
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 05, 2001
CommitterFix handling of SIGCHLD, per recent pghackers discussion: on some platforms system(2) gets confused unless the signal handler is set to SIG_DFL, not SIG_IGN. pgstats.c now uses pqsignal() as it should, not signal(). Also, arrange for the stats collector process to show a reasonable ID in 'ps', rather than looking like a postmaster.
dad8e410
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 04, 2001
CommitterFix residual breakage from Windows socket-errno patch: the routines that should use regular errno, not WSAGetLastError(), now do so again.
2b769c82
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 03, 2001
CommitterFix win32.mak to support MULTIBYTE build --- it was pulling in several backend files that it shouldn't anymore, causing compile failures. Per report from Darko Prenosil.
886d7dec
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 03, 2001
CommitterFor some reason, CREATE TYPE has only accepted alignment specifications of 'int4' and 'double'. Add 'char' and 'int2' to allow user-defined types to access the full set of supported alignments.
fd61fbe8
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 03, 2001
CommitterBack-patch fixes for dumping user-defined types and dumping comments on views.
7df68bdd
REL7_1_STABLE7.1.3
No linked threadAug 03, 2001
CommitterFix pg_dump so that comments on views are dumped in the proper sequence. Dump the alignment and storage information for user-defined types (how'd that manage to slip through the cracks?), and don't dump 'shell' types that don't have typisdefined set. Fix badly broken logic for dependencies of type definitions (did not work for more than one user-defined type...). Avoid memory leakage within pg_dump by being more careful to release storage used by PQExpBuffer objects.
8f0ee46d
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 03, 2001
CommitterClean up various memory leaks within plpgsql, and re-enable the exec_eval_simple_expr shortcut, which was diked out in 7.1 because it leaked too much space. CVS tip now leaks no memory in Chris Ruprecht's example, which formerly leaked to the tune of 500 MB. (Much of this is work that Jan already did; this commit just cleans up around the edges.)
42fbb6db
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 02, 2001
CommitterAdd a SPI_copytupledesc function that parallels SPI_copytuple --- ie, it copies the tupdesc into upper-executor memory. This is necessary for returning tuple descriptors without leaking all of lower exec memory.
f59f3c88
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 02, 2001
CommitterTweak memory context sizing for saved SPI plans.
ba4d223c
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 02, 2001
CommitterFix some poor decisions about sizing of trigger-related memory contexts.
ecaa2e01
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 02, 2001
CommitterEven though SO_PEERCRED is probably totally unportable, might as well declare the getsockopt parameter as ACCEPT_TYPE_ARG3 to be consistent with our other uses of getsockopt.
d00b2722
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 02, 2001
CommitterRemove SO_PASSCRED step in ident_unix --- according to Helge Bahmann, that call is not needed to prepare for SO_PEERCRED. Also, simplify code so that #ifdef SO_PEERCRED appears in only one place, to make it easier to support other platforms with variants of this capability.
49435fb9
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 02, 2001
CommitterDigging through previous discussion of this patch, I note where Peter E. points out how silly it is to use Autoconf to test for a preprocessor symbol, when one can equally easily #ifdef on the symbol itself. Accordingly, revert configure to prior state and do it that way.
cb90b2da
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 01, 2001
CommitterSupport ident authentication on local (Unix) socket connections, if the system supports SO_PEERCRED requests for Unix sockets. This is an amalgamation of patches submitted by Helge Bahmann and Oliver Elphick, with some editorializing by yours truly.
bc042e0a
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 01, 2001
CommitterMessage typo was fixed in sources, but not in de.po.
8c6761ac
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadAug 01, 2001
CommitterCleanup code for preparsing pg_hba.conf and pg_ident.conf. Store line number in the data structure so that we can give at least a minimally useful idea of where the mistake is when we issue syntax error messages. Move the ClientAuthentication() call to where it should have been in the first place, so that postmaster memory releasing can happen in a reasonable place also. Update obsolete comments, correct one real bug (auth_argument was not picked up correctly).
77896d1f
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJul 31, 2001
CommitterFurther thought shows that has_distinct_on_clause() needs to take much more care with resjunk tlist entries than it was doing. The original coding ignored resjunk entries entirely, but a resjunk entry that is in either the distinctClause or sortClause lists indicates that DISTINCT ON was used. It's important for ruleutils.c to get this right, else we may dump views using DISTINCT ON incorrectly.
0889bd00
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJul 31, 2001
CommitterFix optimizer to not try to push WHERE clauses down into a sub-SELECT that has a DISTINCT ON clause, per bug report from Anthony Wood. While at it, improve the DISTINCT-ON-clause recognizer routine to not be fooled by out- of-order DISTINCT lists. Also, back-patch earlier fix to not push down into sub-SELECT with LIMIT.
a1e17cd5
REL7_1_STABLE7.1.3
No linked threadJul 31, 2001
CommitterFix optimizer to not try to push WHERE clauses down into a sub-SELECT that has a DISTINCT ON clause, per bug report from Anthony Wood. While at it, improve the DISTINCT-ON-clause recognizer routine to not be fooled by out- of-order DISTINCT lists.
421467cd
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJul 31, 2001
CommitterRemove WIN32_NON_BLOCKING_CONNECTIONS tests, since we don't need 'em anymore.
6d0d838c
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJul 31, 2001
CommitterFix unportable coding for FRONTEND case.
c4c194f1
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJul 31, 2001
CommitterChange SQL commands embedded in the initdb script from the style echo "command" | postgres to the style postgres <<EOF command EOF This makes the script more legible (IMHO anyway) by reducing the need to escape quotes, and allows us to execute successive SQL commands in a single standalone-backend run, rather than needing to start a new standalone backend for each command. With all the CREATE VIEWs that are getting done now, this makes for a rather substantial reduction in the runtime of initdb. (Some of us do initdb often enough to care how long it runs ;-).)
267a8f82
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJul 31, 2001
CommitterBackportedArrange for GRANT/REVOKE on a view to be dumped at the right time, namely after the view definition rather than before it. Bug introduced in 7.1 by changes to dump stuff in OID ordering.
8d464d05
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+24 more
No linked threadJul 29, 2001
CommitterSuppress gcc warning in USE_LOCALE case.
94cb3fd8
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJul 22, 2001
CommitterMinor performance improvement in MultiRecordFreeSpace.
8a59f336
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJul 19, 2001
CommitterArrange to recycle old XLOG log segment files as new segment files, rather than deleting them only to have to create more. Steady state is 2*CHECKPOINT_SEGMENTS + WAL_FILES + 1 segment files, which will simply be renamed rather than constantly deleted and recreated. To make this safe, added current XLOG file/offset number to page header of XLOG pages, so that an un-overwritten page from an old incarnation of a logfile can be reliably told from a valid page. This change means that if you try to restart postmaster in a CVS-tip database after installing the change, you'll get a complaint about bad XLOG page magic number. If you don't want to initdb, run contrib/pg_resetxlog (and be sure you shut down the old postmaster cleanly).
7d4d5c00
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJul 19, 2001
CommitterNew-style vacuum neglected to update pg_class statistics about indexes if there were no deletions to do.
ccf193f1
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJul 18, 2001
CommitterDisallow non-cachable functions in functional indexes and in index predicates. Per suggestion from Hiroshi.
75586cb5
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJul 17, 2001
CommitterAvoid assuming that pg_index table entries have unique OIDs, or even that they have OIDs at all (the primary key for this table is indexrelid, not OID). Simplify overly complex query to get name of primary key.
84a36344
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJul 17, 2001
CommitterImprove documentation about reasoning behind the order of operations in GetSnapshotData, GetNewTransactionId, CommitTransaction, AbortTransaction, etc. Correct race condition in transaction status testing in HeapTupleSatisfiesVacuum --- this wasn't important for old VACUUM with exclusive lock on its table, but it sure is important now. All per pghackers discussion 7/11/01 and 7/12/01.
ed5c4e4a
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJul 16, 2001
CommitterDo not push down quals into subqueries that have LIMIT/OFFSET clauses, since the added qual could change the set of rows that get past the LIMIT. Per discussion on pgsql-sql 7/15/01.
40db52af
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJul 16, 2001
CommitterPartial indexes work again, courtesy of Martijn van Oosterhout. Note: I didn't force an initdb, figuring that one today was enough. However, there is a new function in pg_proc.h, and pg_dump won't be able to dump partial indexes until you add that function.
f31dc0ad
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJul 16, 2001
CommitterRestructure index AM interface for index building and index tuple deletion, per previous discussion on pghackers. Most of the duplicate code in different AMs' ambuild routines has been moved out to a common routine in index.c; this means that all index types now do the right things about inserting recently-dead tuples, etc. (I also removed support for EXTEND INDEX in the ambuild routines, since that's about to go away anyway, and it cluttered the code a lot.) The retail indextuple deletion routines have been replaced by a "bulk delete" routine in which the indexscan is inside the access method. I haven't pushed this change as far as it should go yet, but it should allow considerable simplification of the internal bookkeeping for deletions. Also, add flag columns to pg_am to eliminate various hardcoded tests on AM OIDs, and remove unused pg_am columns.
c8076f09
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJul 15, 2001
CommitterAdd ORDER BY to a couple of test queries whose output ordering is not as predictable as it used to be, due to recycling of free space with new VACUUM.
997439f5
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJul 15, 2001
CommitterInitial implementation of concurrent VACUUM. Ifdef'd out for the moment, because index locking issues are not handled correctly yet. Need to go work on the index AMs next.
4046e58c
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJul 13, 2001
CommitterMinor code cleanup/beautification in RelationPutHeapTuple.
20ca834c
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJul 13, 2001
CommitterRemove grammar restrictions on order of optional clauses in CREATE GROUP. From Vince Vielhaber.
3284758a
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJul 12, 2001
CommitterCreate a new HeapTupleSatisfiesVacuum() routine in tqual.c that embodies the validity checking rules for VACUUM. Make some other rearrangements of the VACUUM code to allow more code to be shared between full and lazy VACUUM. Minor code cleanups and added comments for TransactionId manipulations.
b9f3a929
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJul 12, 2001
CommitterInstead of believing SOMAXCONN from the system header files (which is a lie on many Unixen), invoke listen() with MIN(MaxBackends*2, 10000). The clamp value 10000 is configurable in config.h.in, if that proves to be necessary --- hopefully it won't.
153f4006
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJul 11, 2001
CommitterRemove direct calls of index_insert(), instead use ExecInsertIndexTuples(). This makes VACUUM work properly with partial indexes, and avoids memory leakage with functional indexes. Also, suppress complaint about fewer index tuples than heap tuples when the index is a partial index. From Martijn van Oosterhout.
11ac469f
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJul 11, 2001
CommitterChanges from Vince Vielhaber to allow the optional clauses of CREATE USER and ALTER USER to appear in any order, not only the fixed order they used to be required to appear in. Also, some changes from Tom Lane to create a FULL option for VACUUM; it doesn't do anything yet, but I needed to change many of the same files to make that happen, so now seemed like a good time.
320b6db0
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJul 10, 2001
CommitterRemove formatter's assumption that year would never exceed four digits. Enforce MAXTZLEN for all datestyles, not just some. Remove macro definitions that were redundant with datetime.h.
975da0a7
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJul 10, 2001
CommitterEnsure macros are adequately parenthesized.
b1f10c84
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJul 10, 2001
CommitterRemove unnecessarily enthusiastic parenthesizing in reverse-listing of IS NULL, IS TRUE, and friends (my fault...)
fa9a95d6
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJul 10, 2001
CommitterFix rule rewriter so that new ordering of ON INSERT actions applies in cases of qualified rules as well as unqualified ones. Tweak rules test to avoid cluttering output with dummy SELECT results. Update documentation to match code.
cb052e0b
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJul 09, 2001
CommitterAdd SHARE UPDATE EXCLUSIVE lock mode, coming soon to a VACUUM near you. Name chosen per pghackers discussion around 6/22/01.
4fe42dfb
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJul 09, 2001
CommitterImplement LockBufferForCleanup(), which will allow concurrent VACUUM to wait until it's safe to remove tuples and compact free space in a shared buffer page. Miscellaneous small code cleanups in bufmgr, too.
55432fed
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJul 06, 2001
CommitterDon't assume that max offset number stays fixed on a page when we're not holding a pin on the page. Use double instead of long to count rows in relation, so that code still works for > LONG_MAX rows in rel.
fb0919fb
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJul 05, 2001
CommitterProhibit a column from appearing twice in a PRIMARY KEY or UNIQUE constraint. This case (a) is useless, (b) violates SQL92, and (c) is certain to cause a failure downstream when we try to create an index with duplicated column names. So give an appropriate error message instead of letting the index failure occur. Per report from Colin Strickland. NOTE: currently, CREATE INDEX fooi ON foo(f1,f1) still fails with 'cannot insert duplicate key' error. Should we change that too? What about functional indexes?
499c81d3
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJul 04, 2001
CommitterAdd a little more error checking and reporting to readDatum().
3ec9fb89
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJul 03, 2001
CommitterStart the stats collector at a less randomly chosen time. Bad idea to start it before we have acquired the data directory lock; also a bad idea to start it before we have set up to catch SIGCHLD signals.
31c1fea6
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJul 03, 2001
CommitterDon't go into infinite loop if /home/postgres/testversion/data directory is not writable.
c8fe66df
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJul 03, 2001
CommitterFirst non-stub implementation of shared free space map. It's not super useful as yet, since its primary source of information is (full) VACUUM, which makes a concerted effort to get rid of free space before telling the map about it ... next stop is concurrent VACUUM ...
42748087
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJul 02, 2001
CommitterIn any case, it seems the REL7_1 branch needs the update too...
e0c8f4bb
REL7_1_STABLE7.1.3
No linked threadJul 02, 2001
CommitterUpdate abstime expected results to match post-30-June-2001 reality. Probably the right fix is to remove 'current' special value entirely, but I don't want to see regression test failures until that happens.
755e367c
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJul 02, 2001
CommitterMake the found-a-buffer-when-we-were-expecting-to-extend-the-rel path actually work. It had been throwing an Assert as of my recent changes to bufmgr.c, but was not really right even before that AFAICT.
a29f6c09
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJul 02, 2001
CommitterUnder new theory of operation wherein postmaster forks children immediately, we will fork a child even if the database state does not permit connections to be accepted (eg, we are in recovery mode). The child process will correctly reject the connection and exit as soon as it's finished collecting the connection request message. However, this means that reaper() must be prepared to see child process exit signals even while it's waiting for startup or shutdown process to finish. As was, a connection request arriving during a database recovery or shutdown would cause postmaster abort.
109d50dd
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJul 01, 2001
Committergcc did not like new pg_stat macros, for good and sufficient reason. Add 'do { ... } while (0)' decoration to eliminate compiler warnings.
201aa35d
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 29, 2001
CommitterFurther work on connecting the free space map (which is still just a stub) into the rest of the system. Adopt a cleaner approach to preventing deadlock in concurrent heap_updates: allow RelationGetBufferForTuple to select any page of the rel, and put the onus on it to lock both buffers in a consistent order. Remove no-longer-needed isExtend hack from API of ReleaseAndReadBuffer.
af5ced9c
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 29, 2001
CommitterFix VACUUM so that it can use pages as move targets even if they do not have any newly-dead tuples on them. This is a longstanding deficiency that prevents VACUUM from compacting a file as much as one would expect. Change requires fixing repair_frag to not assume that fraged_pages is a subset of vacuum_pages. Also make some further cleanups of places that assumed page numbers fit in int and tuple counts fit in uint32.
0eab92c0
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 29, 2001
CommitterBackportedFix longstanding error in VACUUM: sometimes would examine a buffer page after writing/unpinning it. An actual failure is unlikely, unless the system is tremendously short of buffers ... but a bug is a bug.
39381507
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+24 more
No linked threadJun 29, 2001
CommitterFix erroneous GUC variable references from commandline-GUC patch.
f889b12b
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 29, 2001
CommitterRepair logic error for multi-key indexes. From Oleg Bartunov.
fb2c3289
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 28, 2001
CommitterInstall infrastructure for shared-memory free space map. Doesn't actually do anything yet, but it has the necessary connections to initialization and so forth. Make some gestures towards allowing number of blocks in a relation to be BlockNumber, ie, unsigned int, rather than signed int. (I doubt I got all the places that are sloppy about it, yet.) On the way, replace the hardwired NLOCKS_PER_XACT fudge factor with a GUC variable.
e0c9301c
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 27, 2001
CommitterRemove another unused include file with obsolete, useless, confusing definitions in it.
14807a3c
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 27, 2001
CommitterFix a couple remaining places where GUC variables were assigned to directly, rather than through SetConfigOption().
5ba723e9
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 25, 2001
CommitterFix a couple remaining places where GUC variables were assigned to directly, rather than through SetConfigOption().
2e67a677
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 25, 2001
CommitterOptimizer can now estimate selectivity of IS NULL, IS NOT NULL, IS TRUE, etc, with some degree of verisimilitude. Split out selectivity support functions from builtins.h into a new header file selfuncs.h, so as to reduce the number of header files builtins.h must depend on. Fix a few missing inclusions exposed thereby. From Joe Conway, with some kibitzing from Tom Lane.
4d58a7ca
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 25, 2001
CommitterSuppress gcc warning.
c31545af
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 25, 2001
CommitterMention that EXPLAIN results on small tables shouldn't be extrapolated to large tables. Recommend ANALYZE or VACUUM ANALYZE after populating a table.
7d6e2814
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 22, 2001
CommitterAdd support to lock manager for conditionally locking a lock (ie, return without waiting if we can't get the lock immediately). Not used yet, but will be needed for concurrent VACUUM.
d8d9ed93
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 22, 2001
CommitterRemove unused include file for long-dead flavors of locking.
986915c1
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 21, 2001
CommitterTweak error message.
695e5754
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 21, 2001
CommitterA bit of code beautification/cleanup of obsolete comments. Rethink ordering of startup operations in one or two places.
f3868f8a
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 21, 2001
CommitterAdd IS UNKNOWN, IS NOT UNKNOWN boolean tests, fix the existing boolean tests to return the correct results per SQL9x when given NULL inputs. Reimplement these tests as well as IS [NOT] NULL to have their own expression node types, instead of depending on special functions. From Joe Conway, with a little help from Tom Lane.
116d2bba
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 19, 2001
CommitterFix badly broken RelationGetRelationName().
8c30aca2
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 19, 2001
CommitterClean up some longstanding problems in shared-cache invalidation. SI messages now include the relevant database OID, so that operations in one database do not cause useless cache flushes in backends attached to other databases. Declare SI messages properly using a union, to eliminate the former assumption that Oid is the same size as int or Index. Rewrite the nearly-unreadable code in inval.c, and document it better. Arrange for catcache flushes at end of command/transaction to happen before relcache flushes do --- this avoids loading a new tuple into the catcache while setting up new relcache entry, only to have it be flushed again immediately.
bbbc00af
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 19, 2001
CommitterBring RelationGetRelationName into sync with new temp rel names. Quick hack -- need to decide which header should include the other.
d47e10bf
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 19, 2001
CommitterFix some references to USE_AUSTRALIAN_RULES that Bruce missed; plus a few trivial improvements in wording.
ec96f1da
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 18, 2001
CommitterDo some restructuring to improve performance of the catcaches. Teach CatalogCacheFlushRelation (formerly called SystemCacheRelationFlushed) how to distinguish tuples it should flush from those it needn't; this means a relcache flush event now only removes the catcache entries it ought to, rather than zapping the caches completely as it used to. Testing with the regression tests indicates that this considerably improves the lifespan of catcache entries. Also, rearrange catcache data structures so that the limit on number of cached tuples applies globally across all the catcaches, rather than being per-catcache. It was a little silly to have the same size limit on both, say, pg_attribute caches and pg_am caches (there being only four possible rows in the latter...). Doing LRU removal across all the caches instead of locally in each one should reduce cache reload traffic in the more heavily used caches and improve the efficiency of cache memory use.
2c5aa2ac
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 18, 2001
CommitterKeep the list of to-be-NOTIFYed names in a plain List palloc'd in TopTransactionContext, rather than using Dllist. This simplifies and speeds up the code, and eliminates a former risk of coredump when out of memory (since the old code didn't bother to check for malloc failure). It also moves us one step closer to retiring Dllist...
6054b332
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 17, 2001
CommitterMake inet/cidr << and <<= operators indexable. From Alex Pilosov <alex@pilosoft.com>.
1f1ca182
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 17, 2001
CommitterTweak startup sequence so that running out of PROC array slots is detected sooner in backend startup, and is treated as an expected error (it gives 'Sorry, too many clients already' now). This allows us not to have to enforce the MaxBackends limit exactly in the postmaster. Also, remove ProcRemove() and fold its functionality into ProcKill(). There's no good reason for a backend not to be responsible for removing its PROC entry, and there are lots of good reasons for the postmaster not to be touching shared-memory data structures.
2917f0a5
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 16, 2001
CommitterIt turns out that the relcache thinks it can distinguish different rules and triggers by OID. So, even though we have no cross-references in the system catalogs to pg_rewrite.oid or pg_trigger.oid, we'd better have unique indexes on them. Put back pg_rewrite_oid_index, which I mistakenly removed a few days ago, and add pg_trigger_oid_index.
668db147
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 16, 2001
CommitterOops, forgot to commit doco updates for has_table_privilege.
2adf1ce6
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 15, 2001
CommitterAdd missing PG_SETMASK(&BlockSig) to SIGHUP_handler().
823ab922
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 14, 2001
CommitterRevoke public read access from pg_statistic, create new system view pg_stats to provide controlled (and, hopefully, more readable) access to statistics. Comments on definition of pg_stats welcome. I didn't force initdb, but the rules regress test will fail until you do one.
16ea152b
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 14, 2001
Committerhas_table_privilege functions from Joe Conway (with some kibitzing from Tom Lane). For the moment, only the OID/name variants are provided. I didn't force initdb, but the additions to the 'privileges' regress test won't pass until you do one.
c9499e68
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 14, 2001
CommitterAllow a non-superuser database owner to vacuum all tables in his database, including system catalogs (but not the shared catalogs, since they don't really belong to his database). This is per recent mailing list discussion. Clean up some other code that also checks for database ownerness by introducing a test function is_dbadmin().
1a6bb6d8
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 13, 2001
CommitterDon't assume free(NULL) is OK. Yes, I know ANSI C says it is.
df3f152e
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 13, 2001
CommitterUpdate some obsolete examples.
c74dc128
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 13, 2001
CommitterRemove some dead code, simplify calling convention.
bbb7b6f6
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 13, 2001
CommitterBack-patch fix for attempt to pfree a value that's not palloc'd (it's a field of a tuple). I see Jan has already fixed this in current sources, but 7.1.* is pretty badly broken here.
807a2626
REL7_1_STABLE7.1.3
No linked threadJun 13, 2001
CommitterExtend GUC concepts of parse_hook and assign_hook to all four supported datatypes, not only strings. parse_hook is useless for bool, I suppose, but it seems possibly useful for int and double to apply variable-specific constraints that are more complex than simple range limits. assign_hook is definitely useful for all datatypes --- we need it right now for bool to support date cache reset when changing Australian timezone rule setting. Also, clean up some residual problems with the reset all/show all patch, including memory leaks and mistaken reset of PostPortNumber. It seems best that RESET ALL not touch variables that don't have SUSET or USERSET context.
2938eec7
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 12, 2001
CommitterBackportedRepair problem with multi-action rules in combination with any nontrivial manipulation of rtable/jointree by planner. Rewriter was generating actions that shared rtable/jointree substructure, which caused havoc when planner got to the later actions that it'd already mucked up.
2a06b3bd
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+24 more
No linked threadJun 12, 2001
CommitterClean up various to-do items associated with system indexes: pg_database now has unique indexes on oid and on datname. pg_shadow now has unique indexes on usename and on usesysid. pg_am now has unique index on oid. pg_opclass now has unique index on oid. pg_amproc now has unique index on amid+amopclaid+amprocnum. Remove pg_rewrite's unnecessary index on oid, delete unused RULEOID syscache. Remove index on pg_listener and associated syscache for performance reasons (caching rows that are certain to change before you need 'em again is rather pointless). Change pg_attrdef's nonunique index on adrelid into a unique index on adrelid+adnum.
1d584f97
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 12, 2001
CommitterNest macros with slightly less enthusiasm, for performance and to avoid having non-gcc compilers spit up.
88e94821
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 11, 2001
CommitterMove temporary files into 'pg_tempfiles' subdirectory of each database directory (which can be made a symlink to put temp files on another disk). Add code to delete leftover temp files during postmaster startup. Bruce, with some kibitzing from Tom.
2a6f7ac4
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 11, 2001
Committercontrib/intarray updates from Oleg Bartunov: it's reimplemented to use function interface version 1 and special treating of degenerated signatures.
6f2182fe
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 11, 2001
CommitterUpdate EXPLAIN discussion and examples to match current sources.
88ba4018
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 11, 2001
CommitterMake planner compute the number of hash buckets the same way that nodeHash.c will compute it (by sharing code).
01a819ab
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 11, 2001
CommitterMark inet,cidr,macaddr '=' operators as mergejoinable.
ccda1a67
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 10, 2001
CommitterFix thinko in hash cost estimation: average frequency should be computed from total number of distinct values in whole relation, not # distinct values we expect to have after restriction clauses are applied.
a8fe109a
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 10, 2001
CommitterTeach convert_to_scalar about datatypes timetz, inet, cidr, macaddr.
202548d6
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 09, 2001
CommitterAdd #define for OID of type macaddr.
e8637ec9
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 09, 2001
CommitterRemove RelationGetBufferWithBuffer(), which is horribly confused about appropriate pin-count manipulation, and instead use ReleaseAndReadBuffer. Make use of the fact that the passed-in buffer (if there is one) must be pinned to avoid grabbing the bufmgr spinlock when we are able to return this same buffer. Eliminate unnecessary 'previous tuple' and 'next tuple' fields of HeapScanDesc and IndexScanDesc, thereby removing a whole lot of bookkeeping from heap_getnext() and related routines.
bdadc9bf
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 09, 2001
CommitterFix a few missed NOIND usages.
7c106621
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 09, 2001
Committerget_seq_name should truncate name to NAMEDATALEN, so that this works: create sequence a1234567890123456789012345678901234567890; select nextval('a1234567890123456789012345678901234567890');
a6697b36
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 06, 2001
CommitterBe a little smarter about deciding how many most-common values to save.
b67fc007
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 06, 2001
CommitterBack-patch change to not keep WAL segments just for UNDO information.
ef20c699
REL7_1_STABLE7.1.3
No linked threadJun 06, 2001
CommitterAdjust WAL code so that checkpoints truncate the xlog at the previous checkpoint's redo pointer, not its undo pointer, per discussion in pghackers a few days ago. No point in hanging onto undo information until we have the ability to do something with it --- and this solves a rather large problem with log space for long-running transactions. Also, change all calls of write() to detect the case where write returned a count less than requested, but failed to set errno. Presume that this situation indicates ENOSPC, and give the appropriate error message, rather than a random message associated with the previous value of errno.
1173344e
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 06, 2001
CommitterCorrect permissions-checking bugs associated with ancient decision to copy PUBLIC access rights into each newly created ACL entry. Instead treat each ACL entry as independent flags. Also clean up some ugliness in acl.h API.
fb97d2b6
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 05, 2001
CommitterImprove planning of OR indexscan plans: for quals like WHERE (a = 1 or a = 2) and b = 42 and an index on (a,b), include the clause b = 42 in the indexquals generated for each arm of the OR clause. Essentially this is an index- driven conversion from CNF to DNF. Implementation is a bit klugy, but better than not exploiting the extra quals at all ...
cdd230d6
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 05, 2001
CommitterFurther work on making use of new statistics in planner. Adjust APIs of costsize.c routines to pass Query root, so that costsize can figure more things out by itself and not be so dependent on its callers to tell it everything it needs to know. Use selectivity of hash or merge clause to estimate number of tuples processed internally in these joins (this is more useful than it would've been before, since eqjoinsel is somewhat more accurate than before).
7c579fa1
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 05, 2001
CommitterGive error message, rather than coredump, for utility statements in conditional rules (rules with WHERE clauses). We cannot support these since there's noplace to hang a condition on a utility statement. We caught the other case (attempt to attach a condition at rewrite time) awhile ago, but this one escaped notice until now.
eeaa497e
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 04, 2001
CommitterAccept and output '-Infinity' as well as 'Infinity', per long-ago suggestion from Ross Reedstrom. Still needs work to make those symbols convert to actual IEEE infinities (on machines where such things exist).
277a47ad
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 02, 2001
CommitterTweak sorting so that nulls appear at the front of a descending sort (vs. at the end of a normal sort). This ensures that explicit sorts yield the same ordering as a btree index scan. To be really sure that that equivalence holds, we use the btree entries in pg_amop to decide whether we are looking at a '<' or '>' operator. For a sort operator that has no btree association, we put the nulls at the front if the operator is named '>' ... pretty grotty, but it does the right thing in simple ASC and DESC cases, and at least there's no possibility of getting a different answer depending on the plan type chosen.
5433b483
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 02, 2001
CommitterParanoia about unordered comparisons in IEEE float math. If we are given values that compare as unordered, make sure we reply that they are equal, which is better than giving an arbitrary answer --- at least it doesn't depend on which one is passed as which arg.
58193c5f
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 02, 2001
CommitterCheck for malloc failure.
c6b1ef8f
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 01, 2001
CommitterGuard against malloc failure. Also, don't examine segP->lastBackend until we hold the spinlock.
ddd96e1f
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 01, 2001
CommitterCheck for malloc failure.
d8adce89
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 01, 2001
CommitterIf spi.c wants to use malloc, it better test for malloc failure.
25ee08e1
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 01, 2001
Committerpltcl, plperl, and plpython all suffer the same bug previously fixed in plpgsql: they fail for datatypes that have old-style I/O functions due to caching FmgrInfo structs with wrong fn_mcxt lifetime.
7748e9e7
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 01, 2001
CommitterNew improved version of bpcharin() may have got the truncation case right, but it failed to get the padding case right.
7c0c9b3c
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 01, 2001
CommitterRemove fastpath.c's lame attempt at caching function lookup info across calls. This has never actually cached anything, because postgres.c does each fastpath call as a separate transaction command, and so fastpath.c would always decide that its cache was outdated. If it had worked, it would now be failing for calls of oldstyle functions due to dangling pointers in the FmgrInfo struct. Rip it out for simplicity and bug- proofing.
a51ec450
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 01, 2001
CommitterClean up some minor problems exposed by further thought about Panon's bug report on old-style functions invoked by RI triggers. We had a number of other places that were being sloppy about which memory context FmgrInfo subsidiary data will be allocated in. Turns out none of them actually cause a problem in 7.1, but this is for arcane reasons such as the fact that old-style triggers aren't supported anyway. To avoid getting burnt later, I've restructured the trigger support so that we don't keep trigger FmgrInfo structs in relcache memory. Some other related cleanups too: it's not really necessary to call fmgr_info at all while setting up the index support info in relcache entries, because those ScanKeyEntry structs are never used to invoke the functions. This should speed up relcache initialization a tiny bit.
0b370ea7
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJun 01, 2001
CommitterOoops, forgot to commit Makefile along with other changes.
5bcf9233
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadMay 31, 2001
CommitterSupport for emulating RTREE indexing in GiST. Contributed by Oleg Bartunov and Teodor Sigaev.
16f85390
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadMay 31, 2001
CommitterUpdates to make GIST work with multi-key indexes (from Oleg Bartunov and Teodor Sigaev). Declare key values as Datum where appropriate, rather than char* (Tom Lane).
3043810d
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadMay 31, 2001
CommitterBackportedRI triggers would fail for datatypes using old-style equal function, because cached fmgr info contained reference to a shorter-lived data structure. Also guard against possibility that fmgr_info could fail, leaving an incomplete entry present in the hash table.
e1107fc2
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+24 more
No linked threadMay 31, 2001
CommitterAdd "#define GIST_AM_OID".
8eb9c925
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadMay 30, 2001
CommitterTweak StrategyEvaluation data structure to eliminate hardwired limit on number of strategies supported by an index AM. Add missing copyright notices and CVS $Header$ markers to GIST source files.
f1d5d090
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadMay 30, 2001
CommitterRemove unused, redundant header files.
baf57ee0
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadMay 30, 2001
CommitterFix broken $Header$ declaration.
6625cf5f
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadMay 30, 2001
CommitterCorrect obsolete example of FROM-less query.
7d4854f8
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadMay 30, 2001
CommitterMake text <=> char conversion functions convert zero character to and from an empty text string. This makes them consistent with the de facto behavior of type char's I/O conversion functions, and avoids generating text values with embedded nulls, which confuse many text operators.
8a3b80de
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadMay 28, 2001
CommitterCause plpgsql's PERFORM to behave according to its documentation, which says that PERFORM will execute any SELECT query and discard the result. The former implementation would in fact raise an error if the result contained more than one row or more than one column.
a056f14b
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadMay 28, 2001
CommitterSuppress useless memmove() when buffer already contains left-justified data.
2ba48262
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadMay 28, 2001
CommitterWhen using a junkfilter, the output tuple should NOT be stored back into the same tuple slot that the raw tuple came from, because that slot has the wrong tuple descriptor. Store it into its own slot with the correct descriptor, instead. This repairs problems with SPI functions seeing inappropriate tuple descriptors --- for example, plpgsql code failing to cope with SELECT FOR UPDATE.
9e724306
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadMay 27, 2001
CommitterCause ExecCountSlots() accounting to bear some relationship to reality. Rather surprising we hadn't seen bug reports about this ...
a3855c57
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadMay 27, 2001
CommitterFix eqjoinsel() to make use of new statistics.
73d1040b
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadMay 27, 2001
CommitterModify optimizer data structures so that IndexOptInfo lists built for create_index_paths are not immediately discarded, but are available for subsequent planner work. This allows avoiding redundant syscache lookups in several places. Change interface to operator selectivity estimation procedures to allow faster and more flexible estimation. Initdb forced due to change of pg_proc entries for selectivity functions!
be03eb25
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadMay 20, 2001
CommitterSuppress compiler warnings about pid_t vs int.
a9da3fed
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadMay 18, 2001
CommitterAdd regression test to catch future breakage of avg(interval). This aggregate seems uniquely fragile, because it's the only one with an agginitval that's at all likely to change in format.
78b674ba
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadMay 18, 2001
CommitterCorrect recently-broken avg(interval) definition. We can't force an initdb to fix this in 7.1 installations, but it seems better to be shipping a correct entry than a wrong one.
1bf14819
REL7_1_STABLE7.1.2
No linked threadMay 18, 2001
CommitterCorrect recently-broken avg(interval) definition.
19450963
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadMay 18, 2001
CommitterReplace poorly-coded vac_find_eq routine with call to standard bsearch library code. Tweak progress messages to include elapsed real time, not only CPU time.
77f27757
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadMay 17, 2001
CommitterBack-patch fix for race condition in heap_update (make sure we hold the buffer lock while checking page free space).
a246bf93
REL7_1_STABLE7.1.2
No linked threadMay 17, 2001
CommitterRepair race condition introduced into heap_update() in 7.1 --- PageGetFreeSpace() was being called while not holding the buffer lock, which not only could yield a garbage answer, but even if it's the right answer there might be less space available after we reacquire the buffer lock.
27336e4f
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadMay 16, 2001
CommitterRemove unnecessary EvalPlanQual support code --- since this plan node type never scans a relation directly, it can't be an EPQ target. Explicitly drop subplan's tuple table to ensure we have no buffer pin leaks.
6f3da9ae
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadMay 15, 2001
CommitterSome badly needed documentation about EvalPlanQual.
7809cbf7
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadMay 15, 2001
CommitterBackportedEvalPlanQual was thoroughly broken for concurrent update/delete on inheritance trees (mostly my fault). Repair. Also fix long-standing bug in ExecReplace: after recomputing a concurrently updated tuple, we must recheck constraints. Make EvalPlanQual leak memory with somewhat less enthusiasm than before, although plugging leaks fully will require more changes than I care to risk in a dot-release.
a4155d3b
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+24 more
No linked threadMay 15, 2001
CommitterLet's stick to the documented number of digits in CATVERSION, shall we?
e6113488
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadMay 15, 2001
CommitterBackportedCurrent implementation of FOR UPDATE has no hope of working correctly for relations on the nullable side of an OUTER JOIN. For now I think we'd better refuse such queries.
24818256
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+24 more
No linked threadMay 14, 2001
CommitterBackportedproisstrict must be assumed FALSE when dumping from a 7.0 database, not TRUE. Otherwise we break pl call handler functions. fmgr_oldstyle will take care of making sure the semantics are the same for C functions. Clean up some slightly grotty coding in 7.0 pg_class reading, also.
e7c56392
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+24 more
No linked threadMay 12, 2001
CommitterModify RelationGetBufferForTuple() so that we only do lseek and lock when we need to move to a new page; as long as we can insert the new tuple on the same page as before, we only need LockBuffer and not the expensive stuff. Also, twiddle bufmgr interfaces to avoid redundant lseeks in RelationGetBufferForTuple and BufferAlloc. Successive inserts now require one lseek per page added, rather than one per tuple with several additional ones at each page boundary as happened before. Lock contention when multiple backends are inserting in same table is also greatly reduced.
eedb7d18
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadMay 12, 2001
CommitterAdd comment to explain need for bizarre-looking coding in HandleSlashCmds.
02549a2d
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadMay 12, 2001
CommitterImprove discussion of %TYPE and %ROWTYPE.
0ad9abe7
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadMay 11, 2001
CommitterSuppress failures in parallel regress tests due to use of same table name in two different tests. This solution does not meet with universal approval, so it may get changed later ...
1c1eb0fa
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadMay 11, 2001
CommitterAvoid unnecessary lseek() calls by cleanups in md.c. mdfd_lstbcnt was not being consulted anywhere, so remove it and remove the _mdnblocks() calls that were used to set it. Change smgrextend interface to pass in the target block number (ie, current file length) --- the caller always knows this already, having already done smgrnblocks(), so it's silly to do it over again inside mdextend. Net result: extension of a file now takes one lseek(SEEK_END) and a write(), not three lseeks and a write.
642107d5
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadMay 10, 2001
CommitterFirst cut at making indexscan cost estimates depend on correlation between index order and table order.
c23bc6fb
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadMay 09, 2001
CommitterCause planner to make use of average-column-width statistic that is now collected by ANALYZE. Also, add some modest amount of intelligence to guesses that are used for varlena columns in the absence of any ANALYZE statistics. The 'width' reported by EXPLAIN is finally something less than totally bogus for varlena columns ... and, in consequence, hashjoin estimating should be a little better ...
6cda3ad8
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadMay 09, 2001
CommitterBackportedAppend and SubqueryScan nodes were not passing changed-parameter signals down to their children, leading to misbehavior if they had any children that paid attention to chgParam (most plan node types don't). Append's bug has been there a long time, but nobody had noticed because it used to be difficult to create a query where an Append would be used below the top level of a plan; so there were never any parameters getting passed down. SubqueryScan is new in 7.1 ... and I'd modeled its behavior on Append :-(
5708a567
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+24 more
No linked threadMay 08, 2001
CommitterFurther cleanup of RAISE discussion; in particular, remove example that doesn't actually work.
46c93bd5
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadMay 08, 2001
CommitterBackportedUn-break exec_move_row() for case that a NULL tuple and tupdesc are passed, which occurs when no rows are retrieved by a SELECT. Mea maxima culpa ... I should have caught this.
eb62f076
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+24 more
No linked threadMay 08, 2001
CommitterRewrite of planner statistics-gathering code. ANALYZE is now available as a separate statement (though it can still be invoked as part of VACUUM, too). pg_statistic redesigned to be more flexible about what statistics are stored. ANALYZE now collects a list of several of the most common values, not just one, plus a histogram (not just the min and max values). Random sampling is used to make the process reasonably fast even on very large tables. The number of values and histogram bins collected is now user-settable via an ALTER TABLE command.
f905d65e
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadMay 07, 2001
CommitterCOMMIT_DELAY and COMMIT_SIBLINGS were missing from the list of WAL configuration parameters in chapter 3.
e669b8d7
master7.1.1REL_19_STABLE7.1.1REL_18_STABLE7.1.1REL_17_STABLE7.1.1REL_16_STABLE7.1.1REL_15_STABLE7.1.1REL_14_STABLE7.1.1REL_13_STABLE7.1.1+24 more
No linked threadMay 04, 2001
CommitterMakefile should have automatic dependency for parser.o too, if it's going to have any at all.
28ac24e4
master7.1.1REL_19_STABLE7.1.1REL_18_STABLE7.1.1REL_17_STABLE7.1.1REL_16_STABLE7.1.1REL_15_STABLE7.1.1REL_14_STABLE7.1.1REL_13_STABLE7.1.1+24 more
No linked threadMay 04, 2001
CommitterSeems like we should not hold off cancel/die interrupts while we are running deferred triggers. They are really part of the regular transaction, and they could take awhile.
e2e19ca0
master7.1.1REL_19_STABLE7.1.1REL_18_STABLE7.1.1REL_17_STABLE7.1.1REL_16_STABLE7.1.1REL_15_STABLE7.1.1REL_14_STABLE7.1.1REL_13_STABLE7.1.1+24 more
No linked threadMay 04, 2001
CommitterConsolidate several near-identical uses of mktime() into a single routine DetermineLocalTimeZone(). In that routine, be more wary of broken mktime() implementations than the original code was: don't allow mktime to change the already-set y/m/d/h/m/s information, and don't use tm_gmtoff if mktime failed. Possibly this will resolve some of the complaints we've been hearing from users of Middle Eastern timezones on RedHat.
f5ba72ea
master7.1.1REL_19_STABLE7.1.1REL_18_STABLE7.1.1REL_17_STABLE7.1.1REL_16_STABLE7.1.1REL_15_STABLE7.1.1REL_14_STABLE7.1.1REL_13_STABLE7.1.1+24 more
No linked threadMay 03, 2001
CommitterPermission checking wasn't quite right for insert/update/delete rules, either :-(.
d05b4bd7
master7.1.1REL_19_STABLE7.1.1REL_18_STABLE7.1.1REL_17_STABLE7.1.1REL_16_STABLE7.1.1REL_15_STABLE7.1.1REL_14_STABLE7.1.1REL_13_STABLE7.1.1+24 more
No linked threadMay 03, 2001
CommitterEnsure that btree sort ordering functions and boolean comparison operators give consistent results for all datatypes. Types float4, float8, and numeric were broken for NaN values; abstime, timestamp, and interval were broken for INVALID values; timetz was just plain broken (some possible pairs of values were neither < nor = nor >). Also clean up text, bpchar, varchar, and bit/varbit to eliminate duplicate code and thereby reduce the probability of similar inconsistencies arising in the future.
2792374c
master7.1.1REL_19_STABLE7.1.1REL_18_STABLE7.1.1REL_17_STABLE7.1.1REL_16_STABLE7.1.1REL_15_STABLE7.1.1REL_14_STABLE7.1.1REL_13_STABLE7.1.1+24 more
No linked threadMay 03, 2001
CommitterDescribe handling of multiply-inherited fields correctly.
77fe28f3
master7.1.1REL_19_STABLE7.1.1REL_18_STABLE7.1.1REL_17_STABLE7.1.1REL_16_STABLE7.1.1REL_15_STABLE7.1.1REL_14_STABLE7.1.1REL_13_STABLE7.1.1+24 more
No linked threadMay 03, 2001
CommitterPermissions were not checked correctly when one view invokes another. Per bug report from Lieven Van Acker, 5/2/01.
f2122d09
master7.1.1REL_19_STABLE7.1.1REL_18_STABLE7.1.1REL_17_STABLE7.1.1REL_16_STABLE7.1.1REL_15_STABLE7.1.1REL_14_STABLE7.1.1REL_13_STABLE7.1.1+24 more
No linked threadMay 03, 2001
CommitterCorrect pg_description entry for type macaddr.
8571e6c6
master7.1.1REL_19_STABLE7.1.1REL_18_STABLE7.1.1REL_17_STABLE7.1.1REL_16_STABLE7.1.1REL_15_STABLE7.1.1REL_14_STABLE7.1.1REL_13_STABLE7.1.1+24 more
No linked threadMay 03, 2001
CommitterFixes to make ecpg work on Cygwin, from Jason Tishler <Jason.Tishler@dothill.com>.
f13cb7e5
master7.1.1REL_19_STABLE7.1.1REL_18_STABLE7.1.1REL_17_STABLE7.1.1REL_16_STABLE7.1.1REL_15_STABLE7.1.1REL_14_STABLE7.1.1REL_13_STABLE7.1.1+24 more
No linked threadMay 03, 2001
CommitterPrevious commit mistakenly converted all newlines to DOS style (CR/LF). Convert back to Unix style --- it seems some versions of nmake insist on this.
d67a618e
master7.1.1REL_19_STABLE7.1.1REL_18_STABLE7.1.1REL_17_STABLE7.1.1REL_16_STABLE7.1.1REL_15_STABLE7.1.1REL_14_STABLE7.1.1REL_13_STABLE7.1.1+24 more
No linked threadMay 02, 2001
CommitterFix slightly confused description of debug options.
d45c0794
master7.1.1REL_19_STABLE7.1.1REL_18_STABLE7.1.1REL_17_STABLE7.1.1REL_16_STABLE7.1.1REL_15_STABLE7.1.1REL_14_STABLE7.1.1REL_13_STABLE7.1.1+24 more
No linked threadMay 01, 2001
CommitterSynced gram.y and preproc.y.
ac2b9aee
master7.1.1REL_19_STABLE7.1.1REL_18_STABLE7.1.1REL_17_STABLE7.1.1REL_16_STABLE7.1.1REL_15_STABLE7.1.1REL_14_STABLE7.1.1REL_13_STABLE7.1.1+24 more
No linked threadMay 01, 2001
CommitterUpdate FAQ_HPUX now that we have reports of out-of-the-box build on HPUX 11.
48bdf021
master7.1.1REL_19_STABLE7.1.1REL_18_STABLE7.1.1REL_17_STABLE7.1.1REL_16_STABLE7.1.1REL_15_STABLE7.1.1REL_14_STABLE7.1.1REL_13_STABLE7.1.1+24 more
No linked threadApr 30, 2001
CommitterDocument pltcl's return_null command.
c8b5598a
master7.1.1REL_19_STABLE7.1.1REL_18_STABLE7.1.1REL_17_STABLE7.1.1REL_16_STABLE7.1.1REL_15_STABLE7.1.1REL_14_STABLE7.1.1REL_13_STABLE7.1.1+24 more
No linked threadApr 30, 2001
CommitterRepair freshly-broken markup.
955c8771
master7.1.1REL_19_STABLE7.1.1REL_18_STABLE7.1.1REL_17_STABLE7.1.1REL_16_STABLE7.1.1REL_15_STABLE7.1.1REL_14_STABLE7.1.1REL_13_STABLE7.1.1+24 more
No linked threadApr 30, 2001
Committerexec_move_row() should be more forgiving of tuples with a different number of columns than it was expecting, for reasons that are now documented in the code...
8bb3c8fe
master7.1.1REL_19_STABLE7.1.1REL_18_STABLE7.1.1REL_17_STABLE7.1.1REL_16_STABLE7.1.1REL_15_STABLE7.1.1REL_14_STABLE7.1.1REL_13_STABLE7.1.1+24 more
No linked threadApr 30, 2001
CommitterSuppress pull-up of subqueries that are in the nullable side of an outer join. This is needed to avoid improper evaluation of expressions that should be nulled out, as in Victor Wagner's bug report of 4/27/01. Pretty ugly solution, but no time to do anything better for 7.1.1.
e2004dfc
master7.1.1REL_19_STABLE7.1.1REL_18_STABLE7.1.1REL_17_STABLE7.1.1REL_16_STABLE7.1.1REL_15_STABLE7.1.1REL_14_STABLE7.1.1REL_13_STABLE7.1.1+24 more
No linked threadApr 30, 2001
CommitterRemove bogus Assert from AbsoluteTimeIsBefore(). (If you don't think it's bogus, try building a btree index on the regress tests' abstime_tbl.)
2adff4b2
master7.1.1REL_19_STABLE7.1.1REL_18_STABLE7.1.1REL_17_STABLE7.1.1REL_16_STABLE7.1.1REL_15_STABLE7.1.1REL_14_STABLE7.1.1REL_13_STABLE7.1.1+24 more
No linked threadApr 26, 2001
CommitterTweak nestloop costing to weight restart cost of inner path more heavily. Without this, it was making some pretty silly decisions about whether an expensive sub-SELECT should be the inner or outer side of a join...
a43f20cb
master7.1.1REL_19_STABLE7.1.1REL_18_STABLE7.1.1REL_17_STABLE7.1.1REL_16_STABLE7.1.1REL_15_STABLE7.1.1REL_14_STABLE7.1.1REL_13_STABLE7.1.1+24 more
No linked threadApr 25, 2001
CommitterUndo pgindent brain damage, so that node type numbers can once again be counted off by lines ...
e89bf125
master7.1.1REL_19_STABLE7.1.1REL_18_STABLE7.1.1REL_17_STABLE7.1.1REL_16_STABLE7.1.1REL_15_STABLE7.1.1REL_14_STABLE7.1.1REL_13_STABLE7.1.1+24 more
No linked threadApr 24, 2001
CommitterBehave sanely when database name is omitted from command line.
5c48b253
master7.1.1REL_19_STABLE7.1.1REL_18_STABLE7.1.1REL_17_STABLE7.1.1REL_16_STABLE7.1.1REL_15_STABLE7.1.1REL_14_STABLE7.1.1REL_13_STABLE7.1.1+24 more
No linked threadApr 23, 2001
CommitterDefend against ancient versions of zlib by checking that zlib.h defines z_streamp.
19c97b85
master7.1.1REL_19_STABLE7.1.1REL_18_STABLE7.1.1REL_17_STABLE7.1.1REL_16_STABLE7.1.1REL_15_STABLE7.1.1REL_14_STABLE7.1.1REL_13_STABLE7.1.1+24 more
No linked threadApr 23, 2001
Committercompatible_oper needs to do ReleaseSysCache in one path to avoid complaints about 'Cache reference leak'. Per report from Don Baccus.
a933bcea
master7.1.1REL_19_STABLE7.1.1REL_18_STABLE7.1.1REL_17_STABLE7.1.1REL_16_STABLE7.1.1REL_15_STABLE7.1.1REL_14_STABLE7.1.1REL_13_STABLE7.1.1+24 more
No linked threadApr 23, 2001
CommitterDon't bomb out on indexes on system attributes other than 'oid'. (Not sure such an index is actually useful, but just because it's useless doesn't mean pg_dump should coredump.)
0e29d760
master7.1.1REL_19_STABLE7.1.1REL_18_STABLE7.1.1REL_17_STABLE7.1.1REL_16_STABLE7.1.1REL_15_STABLE7.1.1REL_14_STABLE7.1.1REL_13_STABLE7.1.1+24 more
No linked threadApr 22, 2001
CommitterRemove useless setuid() call, instead add a check that real and effective userids are the same. Per today's pghackers discussion.
8407bb3c
master7.1.1REL_19_STABLE7.1.1REL_18_STABLE7.1.1REL_17_STABLE7.1.1REL_16_STABLE7.1.1REL_15_STABLE7.1.1REL_14_STABLE7.1.1REL_13_STABLE7.1.1+24 more
No linked threadApr 21, 2001
CommitterKluge solution for Alex Pilosov's report of problems with whole-tuple function arguments in join queries: copy the tuples into TransactionCommandContext so they don't get recycled too soon. This is horrid, but not any worse than 7.0 or before, which also leaked such tuples until end of query. A proper fix will require allowing tuple datums to be physically stored inside larger tuple datums, which opens up a bunch of issues that can't realistically be solved for 7.1.1.
2dbdba86
master7.1.1REL_19_STABLE7.1.1REL_18_STABLE7.1.1REL_17_STABLE7.1.1REL_16_STABLE7.1.1REL_15_STABLE7.1.1REL_14_STABLE7.1.1REL_13_STABLE7.1.1+24 more
No linked threadApr 19, 2001
CommitterFurther tweaking of error messages for cases involving attributes & functions of join or subselect aliases. It'd be awfully nice if this code knew for sure whether it was dealing with 'x.f' or 'f(x)' syntax; maybe we can fix that in a future cycle.
23436bd5
master7.1.1REL_19_STABLE7.1.1REL_18_STABLE7.1.1REL_17_STABLE7.1.1REL_16_STABLE7.1.1REL_15_STABLE7.1.1REL_14_STABLE7.1.1REL_13_STABLE7.1.1+24 more
No linked threadApr 18, 2001
CommitterMake the world safe for passing whole rows of views to functions. This already worked fine for whole rows of tables, but not so well for views...
d5096af2
master7.1.1REL_19_STABLE7.1.1REL_18_STABLE7.1.1REL_17_STABLE7.1.1REL_16_STABLE7.1.1REL_15_STABLE7.1.1REL_14_STABLE7.1.1REL_13_STABLE7.1.1+24 more
No linked threadApr 18, 2001
CommitterMake rule lister do the right thing with Vars representing whole tuples.
40136f44
master7.1.1REL_19_STABLE7.1.1REL_18_STABLE7.1.1REL_17_STABLE7.1.1REL_16_STABLE7.1.1REL_15_STABLE7.1.1REL_14_STABLE7.1.1REL_13_STABLE7.1.1+24 more
No linked threadApr 18, 2001
CommitterAdd some defenses to guard against case where a rule refers to a table or view that's been dropped and then recreated with the same name (but, perhaps, different columns). Eventually we'd like to support this but for now all we can do is fail cleanly, rather than possibly coredumping if we proceed using the obsolete rule.
c273e8b1
master7.1.1REL_19_STABLE7.1.1REL_18_STABLE7.1.1REL_17_STABLE7.1.1REL_16_STABLE7.1.1REL_15_STABLE7.1.1REL_14_STABLE7.1.1REL_13_STABLE7.1.1+24 more
No linked threadApr 17, 2001
CommitterAvoid reversing user-given order of WHERE clauses while attaching clauses to specific base or join RelOptInfo nodes during planning. This preserves the more-intuitive behavior of 7.0.* --- if you write an expensive clause (such as a sub-select) last, it should get evaluated last. Someday we ought to try to have some intelligence about the order of evaluation of WHERE clauses, but for now we should not override what the user wrote.
cdcaec5c
master7.1.1REL_19_STABLE7.1.1REL_18_STABLE7.1.1REL_17_STABLE7.1.1REL_16_STABLE7.1.1REL_15_STABLE7.1.1REL_14_STABLE7.1.1REL_13_STABLE7.1.1+24 more
No linked threadApr 16, 2001
Committergetdatabaseencoding() and PG_encoding_to_char() were being sloppy about converting char* strings to type 'name'. Imagine my surprise when 7.1 release coredumped upon start when compiled --enable-multibyte ...
fbee9766
master7.1.1REL_19_STABLE7.1.1REL_18_STABLE7.1.1REL_17_STABLE7.1.1REL_16_STABLE7.1.1REL_15_STABLE7.1.1REL_14_STABLE7.1.1REL_13_STABLE7.1.1+24 more
No linked threadApr 16, 2001
CommitterRemove error report from pq_endmessage when pq_putmessage fails. The only possible failure is in pq_flush, which will log a (better!) report anyway --- so pq_endmessage is just cluttering the log with a redundant entry. This matters when a client crashes partway through a large query, since we will emit many broken-pipe reports before finishing the query and exiting.
6ccb2af7
master7.1.1REL_19_STABLE7.1.1REL_18_STABLE7.1.1REL_17_STABLE7.1.1REL_16_STABLE7.1.1REL_15_STABLE7.1.1REL_14_STABLE7.1.1REL_13_STABLE7.1.1+24 more
No linked threadApr 16, 2001
CommitterAdd LDFLAGS_SL to AIX shlib building command, per report from Rocco Altier <roccoa@routescape.com>.
382a429d
master7.1.1REL_19_STABLE7.1.1REL_18_STABLE7.1.1REL_17_STABLE7.1.1REL_16_STABLE7.1.1REL_15_STABLE7.1.1REL_14_STABLE7.1.1REL_13_STABLE7.1.1+24 more
No linked threadApr 15, 2001
CommitterConstant expressions that appear in ORDER BY, GROUP BY, DISTINCT ON lists should be reverse-compiled into targetlist index numbers, because that's the only interpretation the parser allows for a constant in these clauses. (Ergo, the only way they could have gotten into the list in the first place is to have come from the targetlist; so this should always work.) Per problem report from Peter E.
ffbeafb1
master7.1.1REL_19_STABLE7.1.1REL_18_STABLE7.1.1REL_17_STABLE7.1.1REL_16_STABLE7.1.1REL_15_STABLE7.1.1REL_14_STABLE7.1.1REL_13_STABLE7.1.1+24 more
No linked threadApr 15, 2001
CommitterPrevent generation of invalid plans for RIGHT or FULL joins with multiple join clauses. The mergejoin executor wants all the join clauses to appear as merge quals, not as extra joinquals, for these kinds of joins. But the planner would consider plans in which partially-sorted input paths were used, leading to only some of the join clauses becoming merge quals. This is fine for inner/left joins, not fine for right/full joins.
f9094c44
master7.1.1REL_19_STABLE7.1.1REL_18_STABLE7.1.1REL_17_STABLE7.1.1REL_16_STABLE7.1.1REL_15_STABLE7.1.1REL_14_STABLE7.1.1REL_13_STABLE7.1.1+24 more
No linked threadApr 15, 2001
CommitterAnother try at making numeric MODULO operator produce the right answer. Although it was now using the right equation, it was making bogus choices of the precision to compute intermediate results to. I'm not sure this is really right even yet, but it's better than before ...
83c94a88
master7.1.1REL_19_STABLE7.1.1REL_18_STABLE7.1.1REL_17_STABLE7.1.1REL_16_STABLE7.1.1REL_15_STABLE7.1.1REL_14_STABLE7.1.1REL_13_STABLE7.1.1+24 more
No linked threadApr 14, 2001
CommitterSuppress compiler warnings in Vax and NS32K assembly code: 'register foo' is not a complete declaration.
ca224d2b
master7.1.1REL_19_STABLE7.1.1REL_18_STABLE7.1.1REL_17_STABLE7.1.1REL_16_STABLE7.1.1REL_15_STABLE7.1.1REL_14_STABLE7.1.1REL_13_STABLE7.1.1+24 more
No linked threadApr 13, 2001
CommitterSince plpgsql keeps its compiled function parsetrees until backend exit, it needs to ensure that data structures attached to fmgr info records in the trees will stick around that long, too. Current code was crashing on cases like datatypes with old-style I/O functions.
a3ed622b
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadApr 06, 2001
CommitterFix comment that Vadim found confusing.
f10596c3
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadApr 05, 2001
Committerpg_dump needs to use ONLY when selecting data from user tables, in case they have children. As it stood, -d dump mode was badly broken.
3ced3cff
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadApr 05, 2001
CommitterClean up AIX makefile to recognize subversions of AIX 4.1 correctly. This patch is Peter E's, but I'm applying it on his behalf so it'll get into 7.1RC3 tonight (I'm guessing Peter went to bed already).
011f1e31
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadApr 04, 2001
CommitterFix/cleanup DLLLIBS handling for Cygwin port. If it works it's to Jason Tishler's credit, if it's broken it's my fault ...
6faf150a
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadApr 04, 2001
CommitterRemove daylight-savings-time-dependent tests of 'time with time zone' datatype. Perhaps someday we can figure out a way of getting reproducible results from testing this type, but for now ...
71d578ab
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadApr 04, 2001
CommitterProvide snprintf() if system hasn't got it.
5f5db804
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadApr 03, 2001
CommitterCorrect bogus mktime() calls.
1c68f278
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadApr 03, 2001
CommitterCheck for failure of malloc() and realloc() when allocating space for VFD entries. On platforms where dereferencing a null pointer doesn't lead to coredump, it's possible that this omission could have led to unpleasant behavior like deleting the wrong file.
08bf4d79
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadApr 03, 2001
Committeropen(2) flags saved for re-opening a virtual file should probably not include O_CREAT.
6cc6f18d
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadApr 03, 2001
CommitterRestore pre-7.1 behavior of allowing DROP of a table whose underlying physical file has disappeared. There is no really good reason why relcache should be opening the underlying file at all, AFAICS. In any case we needn't raise a hard error here.
503c80d2
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadApr 02, 2001
Committer_mdfd_getrelnfd() should include kernel error code in failure message.
244fd471
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadApr 02, 2001
CommitterComplain if the same column name is inherited from multiple parents with different default values, unless the child table redeclares the column with an explicit default. This was judged to be the approach least likely to cause unpleasant surprises.
e18f5011
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadApr 02, 2001
CommitterRemove duplicate definition of DLLLIBS, per gripe from Fred Yankowski.
ba8b844f
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadApr 02, 2001
CommitterTom Ivar Helbekkmo <tih@kpnQwest.no> says that dynamic linking works now on VAX NetBSD. Hence, remove #ifdef'd disable tests.
5967dbd0
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadApr 02, 2001
CommitterPlanner wasn't correctly handling adjustment of tuple_fraction for the case of LIMIT in a sub-select.
2ef99ee7
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadApr 01, 2001
CommitterOn Cygwin, do initial connect() call in blocking mode, per report from Jason Tishler.
98f75156
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 31, 2001
CommitterpqWait() should check for exception status as well as read or write ready. It appears that most (all?) Unixen will consider a socket to be read or write ready if it has an error condition, but of course Microsoft does things differently.
fc0d3f14
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 31, 2001
CommitterRe-allow specification of a new default value for an inherited column in CREATE TABLE, but give a warning notice. Clean up inconsistent handling of defaults and NOT NULL flags from multiply-inherited columns. Per pghackers discussion 28-Mar through 30-Mar.
648c0918
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 30, 2001
CommitterAdd appropriately ifdef'd hack to make ARM compiler allocate ItemPointerData as six bytes not eight. This fixes a regression test failure but more importantly avoids wasting four bytes of pad space in every tuple header. Also add some commentary about what's going on.
dcbbdb1b
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 30, 2001
Committerrandom_seed => seed ...
d0f6ae68
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 30, 2001
CommitterCorrect erroneous description of MVCC Read Committed semantics.
0cadec78
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 28, 2001
CommitterQuick hack to fix Oliver Elphick's problem with subselects in an inheritance query: make duplicate copies of subplans in adjust_inherited_attrs. When we redesign querytrees we really gotta do something about this issue of whether querytrees are read-only and can share substructure or not.
f155cc82
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 27, 2001
CommitterRepair pgindent damage to comments.
fa0f2c65
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 27, 2001
CommitterSpell __volatile__ correctly.
ff713018
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 27, 2001
CommitterAdd #define HAVE_ATEXIT, per report from Magnus.
7e733dc9
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 26, 2001
Committerpqsignal call needs to be #ifndef WIN32, per report from Magnus.
b8c2421e
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 26, 2001
CommitterFix unportable assumptions about alignment of local char[n] variables.
ccd415c6
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 25, 2001
CommitterImprove comments for xlog item size #defines.
571dbe46
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 25, 2001
CommitterFix unportable assumptions about alignment of local char[n] variables.
1ed61b3a
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 25, 2001
CommitterThe regexp pattern characters ^ and $ should be explained as matching at the beginning and end of the input string, not the beginning and end of "a line", since Postgres does not allow them to match at newline characters in the data.
39ceedf5
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 25, 2001
CommitterRe-order declarations to un-break the non-HAS_TEST_AND_SET case.
42eaad05
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 25, 2001
CommitterFix code that incorrectly assumed a 'char foo[N]' local variable would be aligned on a word boundary. Per report from Steve Nicolai.
00713cb7
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 25, 2001
CommitterPortability fix from Steve Nicolai.
f2c8f278
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 24, 2001
CommitterHadn't built on a PARISC 1.1 box in a long time ... but when I did, it turned out that the libpq makefile chokes on '-L /lib/pa1.1'. Need to remove the space so filter rule works.
5b4045d5
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 24, 2001
CommitterUpdate info about mailing lists, make a few other minor improvements.
1a9840cd
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 24, 2001
CommitterMiscellaneous updates and minor copy-editing.
27b5a8ef
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 24, 2001
CommitterDoc update from Roberto Mello: improved versions of instr() examples.
3311e250
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 23, 2001
CommitterWhen using 'long long int' for int64 type, check to see if the compiler accepts nnnLL syntax for long long constants. If so, decorate the CRC64 constants with LL to avoid warnings and/or erroneous results from certain non-standards-compliant compilers.
e458ebfd
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 23, 2001
CommitterMark exception and assert global variables as DLLIMPORT, so that plpgsql can be compiled with asserts enabled on Windoze.
32924c1c
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 23, 2001
CommitterFix SPI example to reflect new-style calling convention for textout().
4e911c84
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 23, 2001
CommitterFix problems with coredumps due to ^C when longjmp buffer isn't valid. Now, we will only catch ^C at times when it is valid.
a0624736
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 23, 2001
CommitterFix Joubert's complaint that int8-sized numeric literals are mishandled on Alpha (because parser mistakenly assumes that a nonoverflow result from strtol means the value will fit into int4). A scan for other uses of strtol and strtoul found a couple other places with the same mistake; fix them too. The changes are all conditional on HAVE_LONG_INT_64 to avoid complaints from compilers that think x != x is a silly test (cf. pg_atoi).
b32cac80
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 22, 2001
CommitterRecommend CREATE TABLE AS in preference to SELECT INTO. Remove the (inadequate anyway) mention of SELECT INTO from the main SELECT ref page. Point out that SELECT INTO means something else in plpgsql and ecpg.
40dc76e3
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 20, 2001
CommitterRepair intarray's problems with TOASTed input, avoid scribbling on source data, improve split algorithm for intbig_ops. Oleg Bartunov with some kibitzing from Tom Lane.
2ef6e7ee
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 20, 2001
CommitterMention that parallel regress script needs to be run under ksh not sh on HPUX.
9e07c9a3
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 20, 2001
CommitterDiscuss LOCALE differences as a reason for regression test failure.
ca03b551
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 20, 2001
CommitterTweak out-of-memory error messages to include the request size, so that it's easier to tell whether a bug report is talking about progressive memory exhaustion or a wacko requested chunk size.
68bc8487
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 19, 2001
CommitterMake regular-expression error messages a tad less obscure, per gripe from Josh Berkus.
184fb14b
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 19, 2001
CommitterRestore include-file updates, and fix some of the more glaring macro sloppiness (insufficient parenthesization, etc). It still fails regress test for me, however.
31b5c058
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 18, 2001
CommitterRestore Peter's makefile fixes.
8f82141b
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 18, 2001
CommitterGive postmaster enough time to update the pidfile before checking to see if it's been updated. Skip the whole mess if we didn't see any old pidfile.
7c9f2954
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 18, 2001
CommitterRemove NEXTXID xlog record type to avoid three-way deadlock risk. NEXTXID isn't really necessary, per previous discussion in pghackers, but I mulishy insisted we should put it in anyway. Mea culpa.
af6e88a9
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 18, 2001
CommitterWhen we add 'waiting' to the ps_status display, there should be a space in front of it. Improve comments a little.
ddc5bc95
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 18, 2001
CommitterConsidering the BeOS port didn't compile without IPC_STAT and shm_nattch, I'm betting the QNX4 port does not either ...
934126b5
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 18, 2001
CommitterPatches from Cyril Velter to make shared-memory-conflict-detection code work in BeOS port.
4bd983bf
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 18, 2001
CommitterFix coredump due to writing one more byte than we'd allocated.
fd5bac6d
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 18, 2001
CommitterMake sure ControlFile logId/logSeg don't go backwards (barely possible given a slow backend, if we update unconditionally as the code did before).
ae293d33
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 18, 2001
CommitterRearrange XLogFileInit so that control-file spinlock is not held while filling the new log file with zeroes, only while renaming it into place. This should prevent problems with 'stuck spinlock' errors under heavy load.
5a38af7f
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 17, 2001
CommitterDocumentation update from Marko Kreen.
10a4e0c2
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 16, 2001
CommitterSupport syncing WAL log to disk using either fsync(), fdatasync(), O_SYNC, or O_DSYNC (as available on a given platform). Add GUC parameter to control sync method. Also, add defense to XLogWrite to prevent it from going nuts if passed a target write position that's past the end of the buffers so far filled by XLogInsert.
9d645fd8
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 16, 2001
CommitterResetting the XLOG can't include rewinding it to logical position zero, because we need page LSNs stored in the main database to be less than the current XLOG position. Hence, generate the new XLOG segment at last old segment number plus one.
4eb5e27a
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 16, 2001
CommitterUpdate sample error messages to agree with current code.
25f03eb3
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 15, 2001
CommitterImprove description of to_char templates.
d584bf48
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 15, 2001
CommitterGive a more reasonable error message for a bad attribute name applied to a join or subselect alias ... cf. Oliver Elphick's complaint 13-Mar.
7f020491
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 14, 2001
CommitterReduce amount of memory used per tuple for after-event triggers. This is still a memory leak, but a little less bad than it was.
7fdaf78e
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 14, 2001
CommitterCOPY should handle after-insert triggers the same as execMain.c does. I'm not sure that it's really necessary to save insert events when there are only after update or delete triggers, but certainly it's wrong for COPY to behave differently from an INSERT query.
c9f26d7a
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 14, 2001
CommitterUse SEP_CHAR consistently in forming XLOG pathnames.
cfab4f65
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 14, 2001
CommitterRemove obsolete PowerPC-specific hack for comparisons to DBL_MIN (per recent discussion with Tatsuo). Hopefully the compilers with that old bug are all long gone.
7ebbf207
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 14, 2001
CommitterMove -Bsymbolic for HPUX to Makefile.hpux, per Peter E's recommendation.
c6c1fea0
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 14, 2001
CommitterDon't go belly-up if fork() fails for a routine checkpoint subprocess. Just try again later.
5dd04603
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 14, 2001
CommitterFix numeric modulo operator for case of fractional right argument.
286d1fc3
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 14, 2001
CommitterFirst cut at XLOG file reset utility. Could do with more testing, but it works in the simple cases.
eeaf3fc3
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 14, 2001
CommitterChange xlog page-header format to include StartUpID. Use the SUI to detect case that next page in log came from an older run than the prior page. This avoids the necessity to re-zero the log after recovery from a crash, which is good because we need not risk destroying valuable log information. This forces another initdb since yesterday :-(. Need to get that log reset utility done...
1b87e24c
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 13, 2001
CommitterUpdate for new pg_control format.
0c383155
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 13, 2001
CommitterXLOG (and related) changes:
4d14fe00
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 13, 2001
CommitterAvoid O(N^2) behavior in deferredTriggerAddEvent() for large numbers of tuples inserted/deleted/updated in a single transaction. On my machine, this reduced the time to delete 80000 tuples in a foreign-key-referencing table from ~15min to ~8sec.
b246510c
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 12, 2001
CommitterTurns out the HPUX linker likes -Bsymbolic too. Without this, ODBC driver does not work because its internal cross-references get bound to similarly named functions in unixODBC shared library.
9c2c9fcd
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 10, 2001
CommitterProvide a hack to let initialization happen on platforms for which psqlodbc.c's constructor-making techniques do not work.
5ab642fd
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 10, 2001
CommitterDo not accept values from sections following the specified section.
eb9033ce
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 10, 2001
CommitterBOX documentation disagreed with code about corner order.
af129857
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 10, 2001
CommitterFATAL errors should cause exit with nonzero status if we are not running under the postmaster --- specifically, if we are a standalone backend running under the initdb script, this is critical!
2cfc8fcb
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 10, 2001
CommitterDon't choke on superuser names containing random punctuation.
5490195f
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 09, 2001
CommitterA subplan invoked within an aggregate function's argument should be allowed to receive ungrouped variables of the current query level. Curious that no one reported this bug before...
d73e9df0
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 08, 2001
CommitterModify wchar conversion routines to not fetch the next byte past the end of a counted input string. Marinos Yannikos' recent crash report turns out to be due to applying pg_ascii2wchar_with_len to a TEXT object that is smack up against the end of memory. This is the second just-barely- reproducible bug report I have seen that traces to some bit of code fetching one more byte than it is allowed to. Let's be more careful out there, boys and girls. While at it, I changed the code to not risk a similar crash when there is a truncated multibyte character at the end of an input string. The output in this case might not be the most reasonable output possible; if anyone wants to improve it further, step right up...
572fda27
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 08, 2001
CommitterRepair a number of places that didn't bother to check whether PageAddItem succeeds or not. Revise rtree page split algorithm to take care about making a feasible split --- ie, will the incoming tuple actually fit? Failure to make a feasible split, combined with failure to notice the failure, account for Jim Stone's recent bug report. I suspect that hash and gist indices may have the same type of bug, but at least now we'll get error messages rather than silent failures if so. Also clean up rtree code to use Datum rather than char* where appropriate.
b109b03f
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 07, 2001
CommitterBelieve $POSTGRES_LIB and $POSTGRES_INCLUDE only if they name actual directories, per suggestion from Robert Creager.
5e00557f
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 06, 2001
CommitterDocument TEMP option.
aee52a6d
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 03, 2001
CommitterEnsure previous setting of pset.queryFout is restored after a failed backslash-g command.
ea7b4f1f
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadMar 01, 2001
CommitterTweak portal (cursor) code so that it will not call the executor again when user does another FETCH after reaching end of data, or another FETCH backwards after reaching start. This is needed because some plan nodes are not very robust about being called again after they've already returned NULL; for example, MergeJoin will crash in some states but not others. While the ideal approach would be for them all to handle this correctly, it seems foolish to assume that no such bugs would creep in again once cleaned up. Therefore, the most robust answer is to prevent the situation from arising at all.
778a21ca
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 27, 2001
CommitterMark new text<->date, text<->time, text<->timetz conversion functions as noncachable, so that CURRENT_DATE and CURRENT_TIME work as functions again, rather than being collapsed to constants immediately. Marking the reverse conversions noncachable might be overkill, but I'm not sure; do these datatypes have the notion of a CURRENT value? Better safe than sorry, for now.
f5ea88ac
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 27, 2001
CommitterImplement COMMIT_SIBLINGS parameter to allow pre-commit delay to occur only if at least N other backends currently have open transactions. This is not a great deal of intelligence about whether a delay might be profitable ... but it beats no intelligence at all. Note that the default COMMIT_DELAY is still zero --- this new code does nothing unless that setting is changed. Also, mark ENABLEFSYNC as a system-wide setting. It's no longer safe to allow that to be set per-backend, since we may be relying on some other backend's fsync to have synced the WAL log.
9c993658
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 26, 2001
CommitterAt least on HPUX, select with delay.tv_sec = 0 and delay.tv_usec = 1000000 does not lead to a one-second delay, but to an immediate EINVAL failure. This causes CHECKPOINT to crash with s_lock_stuck much too quickly :-(. Fix by breaking down the requested wait div/mod 1e6.
496ea7a8
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 24, 2001
CommitterWhen under postmaster, bogus arguments should cause proc_exit(0) not proc_exit(1). Unless you think a system-wide restart is an appropriate response to bogus PGOPTIONS, that is.
f1e0044b
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 24, 2001
CommitterFix pg_dump crashes caused by bogus use of va_start/va_end (only seen on some platforms, which is not too surprising considering how platform specific these macros must be).
2b0f8ae0
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 23, 2001
CommitterAs long as we're fixing this space calculation, let's actually do it right. We should MAXALIGN the individual items because we'll allocate them individually, not as an array.
e74ce0a5
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 23, 2001
CommitterAdjust expected error message due to change of keyword case-folding.
b200d099
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 22, 2001
CommitterDocument timeofday(), mention start-of-transaction vs. current-time semantics, a few other small improvements.
e14a9deb
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 21, 2001
CommitterCorrect bogus output formatting of timeofday() function. A number of microseconds < 100000 should be displayed as, eg, 13.000126, not 13.126.
4dba6814
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 21, 2001
CommitterChange case-folding of keywords to conform to SQL99 and fix misbehavior in Turkish locale. Keywords are now checked under pure ASCII case-folding rules ('A'-'Z'->'a'-'z' and nothing else). However, once a word is determined not to be a keyword, it will be case-folded under the current locale, same as before. See pghackers discussion 20-Feb-01.
be92ad49
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 21, 2001
CommitterClean out any old versions of no-longer-installed header files that may be lurking in the install target directory. But don't zap up-to-date headers (so install-all-headers before regular install will work). Per suggestion from Larry Rosenman.
5ba0f855
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 20, 2001
CommitterRemove unportable #warning directive.
17137d6c
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 20, 2001
CommitterRemove obsolete claim that it doesn't work to use gcc with HP's C++ compiler or g++ with HP's C compiler.
c4a9023d
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 20, 2001
CommitterSelect optimization by default for HP's C compiler.
d1864e38
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 20, 2001
CommitterTruncate incoming username and database name to NAMEDATALEN-1 characters so that we don't reject overlength names unnecessarily.
d18c1d1f
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 20, 2001
CommitterFix pg_passwd's failure to cope with usernames > 8 chars.
f35252de
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 20, 2001
CommitterRemove inclusion of <varargs.h> on SunOS; this does not work since we use the ANSI varargs style (<stdarg.h>) not the old style. Tatsuo had reported this change was necessary back in the 7.0 beta cycle (4/13/00) but for some reason, making the edit never got done.
a24b04de
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 20, 2001
CommitterDocument --enable-cassert.
28840738
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 19, 2001
CommitterChange plpgsql's GET DIAGNOSTICS statement to use SQL99-compatible syntax. Fix the RESULT_OID case, which never worked. Add documentation.
414f94f2
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 19, 2001
CommitterUpdate example of partially constraining join order to use a subselect in FROM instead of an auxiliary view. We didn't have subselect-in-FROM when I wrote this originally...
a276392e
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 19, 2001
CommitterAND/OR truth table needs another row IMHO.
fa0cd643
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 19, 2001
CommitterAdd --template option to createdb script to allow access to WITH TEMPLATE option of CREATE DATABASE. In pg_regress, create regression database from template0 to ensure that any installation-local cruft in template1 will not mess up the tests.
c3b00e7e
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 18, 2001
CommitterAdd note that partial indices are not currently supported.
df8186b2
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 18, 2001
CommitterUpdate description of fsync option for 7.1.
c3151c29
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 18, 2001
CommitterChange default commit_delay to zero, update documentation.
57e08471
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 18, 2001
CommitterChange s_lock to not use any zero-delay select() calls; these are just a waste of cycles on single-CPU machines, and of dubious utility on multi-CPU machines too. Tweak s_lock_stuck so that caller can specify timeout interval, and increase interval before declaring stuck spinlock for buffer locks and XLOG locks. On systems that have fdatasync(), use that rather than fsync() to sync WAL log writes. Ensure that WAL file is entirely allocated during XLogFileInit.
33cc5d8a
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 18, 2001
CommitterRemove bogus set_ps_display call --- changing displayed status here is either wrong or unnecessary in most cases, and on systems where setting status takes a kernel call, the overhead of setting status three times per command rather than two is annoying.
58c4ab9d
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 18, 2001
CommitterCatch some stray references to .htm files.
81ff09ee
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 17, 2001
CommitterNo more .htm files, so don't try to add them to the doc tarballs.
ec22e312
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 17, 2001
CommitterSeems a bad idea to assume that select(2) doesn't touch the input masks if it returns EINTR.
81357b3c
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 17, 2001
CommitterAdd current seek position to FDDEBUG output for FileRead, FileWrite, FileSeek.
b634118a
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 17, 2001
CommitterJust noticed that use of 'volatile' in HPPA S_UNLOCK() was causing gcc to generate unnecessarily stupid code. Tweak macro to describe a series of store-constant ops, not store/load/store/load/store/load/store.
6249971b
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 16, 2001
CommitterUpdate README's install instructions to agree with current reality.
810c0b85
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 16, 2001
CommitterDefend against starting a non-MULTIBYTE-enabled backend in a database with encoding other than SQL_ASCII. Per recent discussion in pghackers.
1ad93b7e
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 16, 2001
Committerichar() has been renamed to chr(), so fix translation table.
eb90c16d
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 16, 2001
CommitterFix bugs in pltcl's new return_null command: it was liable to go belly up if the return datatype's input converter was at all strict, because the converter would get called on junk data when returning NULL. Also ensure that it gives an error rather than coredumping if someone tries to use it in a trigger function.
a2dafc64
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 16, 2001
CommitterFix erroneous sort request in pltcl selftest.
60d1d671
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 16, 2001
CommitterClean up two rather nasty bugs in operator selection code.
13cc7eb3
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 16, 2001
CommitterTake OUTER JOIN semantics into account when estimating the size of join relations. It's not very bright, but at least it now knows that A LEFT JOIN B must produce at least as many rows as are in A ...
b29f68f6
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 16, 2001
CommitterAdd some notes about memory management of RI plans.
6da3b76a
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 15, 2001
CommitterUpdate comments about memory management.
db3ac67d
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 15, 2001
CommitterUpdate notes about memory context scheme.
5c2abb96
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 15, 2001
CommitterUpdate obsolete wording of error message.
bf0078d2
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 15, 2001
CommitterAlthough we can't support out-of-line TOAST storage in indexes (yet), compressed storage works perfectly well. Might as well have a coherent strategy for applying it, rather than the haphazard store-what-you-get approach that was in the code before. The strategy I've set up here is to attempt compression of any compressible index value exceeding BLCKSZ/16, or about 500 bytes by default.
059e3614
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 15, 2001
CommitterFurther polishing of documentation about new fmgr call convention.
5341cddb
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 15, 2001
CommitterReduce default selectivity estimates for geometric operators; it seems the old ones were not small enough to ensure r-tree and gist indexes would get picked when available. These numbers are totally bogus anyway, but in the absence of any real estimation technique, we'd like to select indexes when available ...
39b9c9f2
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 15, 2001
CommitterUpdate a couple of obsolete comments.
83b4ab53
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 15, 2001
CommitterClarify meaning of GEQO_THRESHOLD parameter.
21deb428
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 15, 2001
CommitterImprove documentation of JOIN syntax. Explain NATURAL as an alternative to ON and USING for specifying the join condition, not as an independent kind of join semantics.
52cacf46
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 15, 2001
CommitterArrange for ORDER BY an expression on a UNION/INTERSECT/EXCEPT result, such as SELECT f1 FROM foo UNION SELECT ... ORDER BY upper(f1) to draw 'ORDER BY on a UNION/INTERSECT/EXCEPT result must be on one of the result columns' rather than the uninformative 'f1 not found' we were producing before. Eventually this should actually work, but that looks much too hard to try to implement in late beta...
de434c2d
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 15, 2001
CommitterRepair problems with duplicate index names generated when CREATE TABLE specifies redundant UNIQUE conditions.
c7d2ce7b
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 14, 2001
CommitterChange scoping of table and join refnames to conform to SQL92: a JOIN clause with an alias is a <subquery> and therefore hides table references appearing within it, according to the spec. This is the same as the preliminary patch I posted to pgsql-patches yesterday, plus some really grotty code in ruleutils.c to reverse-list a query tree with the correct alias name depending on context. I'd rather not have done that, but unless we want to force another initdb for 7.1, there's no other way for now.
4a66f9dd
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 14, 2001
CommitterClean up portability problems in regexp package: change all routine definitions from K&R to ANSI C style, and fix broken assumption that int and long are the same datatype. This repairs problems observed on Alpha with regexps having between 32 and 63 states.
f7a839bc
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 13, 2001
CommitterHmm, this isn't used either.
cf167339
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 12, 2001
CommitterRemove unused and largely-broken-anyway compatibility defs.
d40f4aea
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 12, 2001
CommitterSuppress compiler warning on Alpha.
dd580f18
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 12, 2001
CommitterRearrange order of operations in heap_create_with_catalog so that if two transactions create the same table name concurrently, the one that fails will complain about unique index pg_class_relname_index, rather than about pg_type_typname_index which'll confuse most people. Free side benefit: pg_class.reltype is correctly linked to the pg_type entry now. It's been zero in all but the preloaded pg_class entries since who knows when.
aa88e59a
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 12, 2001
CommitterSOCK_get_next_byte should not return garbage after error/EOF. Return zero bytes instead.
d9eb5b75
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 11, 2001
CommitterImprove error message when startup or shutdown proc fails.
68590993
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 11, 2001
CommitterMinor improvements and copy-editing.
a25a785f
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 10, 2001
CommitterFix example of syntactic ambiguity between prefix/infix/postfix operators --- Postgres now accepts the example we claimed it wouldn't. Miscellaneous copy-editing as well.
08265ef9
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 10, 2001
CommitterFix documentation of EXECUTE, add documentation of FOR ... EXECUTE.
618733de
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 10, 2001
CommitterFix byte-vs-word-width oversight in m68k TAS() code. Man, this brings back some old memories ...
af0a1528
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 10, 2001
CommitterUpdate findoidjoins notes for 7.1.
11da9e5c
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 10, 2001
CommitterCompile a little more cleanly.
fce33c7f
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 10, 2001
CommitterAdd oid2name subdirectory to contrib Makefile.
2a1553c7
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 10, 2001
CommitterIgnore leading whitespace when trying to determine statement type, so that ODBC driver doesn't go belly up by failing to recognize a SELECT as such.
5b6acff6
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 10, 2001
CommitterRestructure the key include files per recent pghackers discussion: there are now separate files "postgres.h" and "postgres_fe.h", which are meant to be the primary include files for backend .c files and frontend .c files respectively. By default, only include files meant for frontend use are installed into the installation include directory. There is a new make target 'make install-all-headers' that adds the whole content of the src/include tree to the installed fileset, for use by people who want to develop server-side code without keeping the complete source tree on hand. Cleaned up a whole lot of crufty and inconsistent header inclusions.
d08741ea
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 10, 2001
CommitterThis hasn't been used for anything for a long time...
b1e4cfa5
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 09, 2001
CommitterRemove link to dead subdirectory 'linux'.
ed4f2f82
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 09, 2001
CommitterWhen updating a tuple containing compressed-in-line fields, do not decompress the existing fields unnecessarily.
7fdca537
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 09, 2001
Committerplpgsql's private copy of xlateSqlType was out of sync. Again. This is clearly not maintainable, so dike it out in favor of calling the real version in the backend's gram.y.
dfbd5d65
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 09, 2001
CommitterDocument PL/TclU language variant, and do some minor copy-editing.
467f43d2
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 09, 2001
CommitterRestructure discussion of PL installation to emphasize createlang as the recommended install procedure, rather than mentioning it as an afterthought.
1f78ad26
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 09, 2001
CommitterRemove no-longer-needed mklang script; now superseded by createlang.
b8cbb8c7
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 09, 2001
CommitterEXECUTE of a SELECT ... INTO now draws a 'not implemented' error, rather than executing the INTO clause with non-plpgsql semantics as it was doing for the last few weeks/months. This keeps our options open for making it do the right plpgsql-ish thing in future without creating a backwards compatibility problem. There is no loss of functionality since people can get the same behavior with CREATE TABLE AS.
8a2cdd77
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 09, 2001
CommitterWhen launching a child backend, take care to close file descriptors for any other client connections that may exist (which would only happen if another client is currently in the authentication cycle). This avoids wastage of open descriptors in a child. It might also explain peculiar behaviors like not closing connections when expected, since the kernel will probably not signal EOF as long as some other backend is randomly holding open a reference to the connection, even if the client went away long since ...
897a895d
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 08, 2001
CommitterBack-patch password leak fix for Vaschenko.
1a604c3c
REL7_0_PATCHESunreleased
No linked threadFeb 07, 2001
CommitterRepair postmaster memory leakage during password authentication.
6b52dc74
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 07, 2001
CommitterRedo pgaccess' queries about views so that they will work in both 7.1 and prior releases --- rely on pg_views view instead of direct access to pg_class and pg_rewrite.
6aa0821b
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 07, 2001
CommitterNot sure why this work script was in the repository ... but it doesn't belong ...
62a029b5
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 07, 2001
CommitterMinor copy-editing.
2394083b
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 07, 2001
CommitterUse explicit path to libpgtcl.so, instead of relying on LD_LIBRARY_PATH or local equivalent. Also, honor --with-pgport configure option for default port number, and allow PGPORT environment variable to override this.
a7e24eda
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 07, 2001
CommitterMake DEF_PGPORT available to Makefiles, so it can be substituted into scripts like pgaccess.
a8b9cbfa
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 07, 2001
CommitterActually, it looks like DEF_PGPORT belongs over in config.h.win32 for the Windows build...
5add3e8e
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 07, 2001
CommitterRemove broken (and unnecessary) definition of DEF_PGPORT.
b6ffc70d
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 07, 2001
CommitterNeed to specify DYNAMIC_PATH flag to shl_load, else HPUX's dld will not honor library search path that we so carefully installed into the executable ...
080af3db
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 07, 2001
CommitterNow that I look at it, PQoidValue() ain't quite right either.
300e2888
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 06, 2001
CommitterRepair PQoidStatus() bug reported by darcy@druid.net.
8558054a
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 06, 2001
CommitterOut-of-bounds memory allocation request sizes should be treated as just elog(ERROR) not an Assert trap, since we've downgraded out-of-memory to elog(ERROR) not a fatal error. Also, change the hard boundary from 256Mb to 1Gb, just so that anyone who's actually got that much memory to spare can play with TOAST objects approaching a gigabyte.
85c17dbf
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 06, 2001
CommitterFix inappropriate attempt to push down qual clauses into a view that has UNION/INTERSECT/EXCEPT operations. Per bug report from Ferrier.
503f042c
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadFeb 03, 2001
CommitterClean up handling of tuple descriptors so that result-tuple descriptors allocated by plan nodes are not leaked at end of query. This doesn't really matter for normal queries, but it sure does for queries invoked repetitively inside SQL functions. Clean up some other grotty code associated with tupdescs, and fix a few other memory leaks exposed by tests with simple SQL functions.
0d54d6ac
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 29, 2001
CommitterFix failure to create sequences for more than one SERIAL column in a table.
80caa741
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 27, 2001
CommitterLooks like I broke cases involving combinations of deferred update/delete triggers ... oops ... but the regress tests should have covered this ...
a6f0adbe
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 27, 2001
CommitterDon't crash if subquery appears multiple times in jointree. This should not happen anyway, but let's try not to get completely confused if it does (due to rewriter bugs or whatever).
f44639e1
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 27, 2001
CommitterRepair bug reported by Huxton, 1/24/01. We need to include a rule's original table ('OLD' table) in its join tree if OLD is referenced by either the rule action, the rule qual, or the original query qual that will be added to the rule action. However, we only want one instance of the original table to be included; so beware of the possibility that the rule action already has a jointree entry for OLD.
352871ac
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 27, 2001
CommitterRefuse to try to attach a condition to a NOTIFY or other utility statement, rather than coredumping (as prior 7.1 code did) or silently dropping the condition (as 7.0 did). This is annoying but there doesn't seem to be any good way to fix it, short of a major querytree restructuring.
c9c8d53d
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 27, 2001
CommitterSuppress coredump when EXPLAINing query that is rewritten to include a NOTIFY.
c1a63c94
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 27, 2001
CommitterRe-read Unix-socket lock file every so often (every CheckPoint interval, actually) to ensure that its file access time doesn't get old enough to tempt a /tmp directory cleaner to remove it. Still another reason we should never have put the sockets in /tmp in the first place ...
1dc30510
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 27, 2001
CommitterChange float8-to-int8 conversion to round to nearest, rather than truncating to integer. Remove regress test that checks whether 4567890123456789 can be converted to float without loss; since that's 52 bits, it's on the hairy edge of failing with IEEE float8s, and indeed rint seems to give platform-dependent results for it.
b78d1bed
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 26, 2001
Committergcc complains about improperly terminated comment.
7edafafd
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 26, 2001
CommitterSpecial case in ProcSleep() wasn't sufficiently general: must check to see if we shouldn't block whenever we insert ourselves anywhere before the end of the queue, not only at the front.
f433d0d3
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 26, 2001
CommitterWhoops, forgot to do ProcLockWakeup() after deadlock checker rearranges wait queues.
211f5afd
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 25, 2001
CommitterRe-implement deadlock detection and resolution, per design notes posted to pghackers on 18-Jan-01.
a05eae02
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 25, 2001
CommitterMake functional index copy attstorage from the column data type, rather than forcing 'plain'. This probably does not matter right now, but I think it needs to be consistent with the regular (not-functional) index case, where attstorage is copied from the underlying table. Clean up some other dead and infelicitous code too.
997ee516
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 24, 2001
CommitterNarrow scope of critical section, per discussion 1/19/01.
c654c69c
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 23, 2001
CommitterDo _bt_wrtbuf() outside critical section, per discussion with Vadim 1/19.
4e27b308
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 23, 2001
CommitterGive 'a_expr ::= a_expr Op' production a slightly lower precedence than Op, so that the sequence 'a_expr Op Op a_expr' will be parsed as a_expr Op (Op a_expr) not (a_expr Op) Op a_expr as formerly. In other words, prefer treating user-defined operators as prefix operators to treating them as postfix operators, when there is an ambiguity. Also clean up a couple of other infelicities in production priority assignment --- for example, BETWEEN wasn't being given the intended priority, but that of AND.
f69ff0c4
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 23, 2001
CommitterFix all the places that called heap_update() and heap_delete() without bothering to check the return value --- which meant that in case the update or delete failed because of a concurrent update, you'd not find out about it, except by observing later that the transaction produced the wrong outcome. There are now subroutines simple_heap_update and simple_heap_delete that should be used anyplace that you're not prepared to do the full nine yards of coping with concurrent updates. In practice, that seems to mean absolutely everywhere but the executor, because *noplace* else was checking.
786f1a59
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 23, 2001
CommitterRemove no-longer-needed restriction against referencing system attributes in a FieldSelect node --- all the places that manipulate these work just fine with system attribute numbers. OK, it's a new feature, so shoot me ...
b686fb5b
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 23, 2001
CommitterImprove realloc() per idea from Karel Zak --- if chunk to be enlarged is at end of its block, maybe we can enlarge it in-place.
728b0aa2
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 23, 2001
CommitterRemove rangechecks on errno; just call strerror unconditionally. This eliminates a raft of portability issues, including whether sys_nerr exists, whether the platform has any valid negative errnos, etc. The downside is minimal: errno shouldn't ever contain an invalid value anyway, and if it does, reasonably modern versions of strerror will not choke. This rangecheck idea seemed good at the time, but it's clearly a net loss, and I apologize to all concerned for having ever put it in.
e9c936ff
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 22, 2001
CommitterClean up lockmanager data structures some more, in preparation for planned rewrite of deadlock checking. Lock holder objects are now reachable from the associated LOCK as well as from the owning PROC. This makes it practical to find all the processes holding a lock, as well as all those waiting on the lock. Also, clean up some of the grottier aspects of the SHMQueue API, and cause the waitProcs list to be stored in the intuitive direction instead of the nonintuitive one. (Bet you didn't know that the code followed the 'prev' link to get to the next waiting process, instead of the 'next' link. It doesn't do that anymore.)
e84c4290
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 22, 2001
CommitterMinor fixes.
7e091913
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 22, 2001
CommitterClean up per-tuple memory leaks in trigger firing and plpgsql expression evaluation.
c9fe1283
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 22, 2001
CommitterAll the global memory contexts should be DLLIMPORT, if any are.
59a3a401
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 22, 2001
CommitterDeal with C++ incompatibility of sys_nerr declaration by taking it out of c.h altogether, and putting it into the only places that use it (elog.c and exc.c), instead. Modify these routines to check for a NULL or empty-string return from strerror, too, since some platforms define strerror to return empty string for unknown errors (what a useless definition that is ...). Clean up some cruft in ExcPrint while at it.
023a48b8
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 21, 2001
CommitterGet rid of sunos4-only strerror() macro, and arrange to use the implementation in backend/port/strerror.c if configure finds no strerror in libc, same as we do for snprintf and inet_aton.
37fd1984
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 20, 2001
CommitterRemove no-longer-used STRERROR2 config symbol.
531cd44f
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 20, 2001
CommitterGet rid of initdb -t bugs by the simple expedient of getting rid of initdb -t. This option is obsoleted by 7.1's ability to drop and recreate template1 during normal operation.
a2405d55
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 20, 2001
CommitterGive a good error message for what's likely to be a common syntax error, namely omitting the alias clause for a sub-SELECT in FROM.
1a02edae
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 20, 2001
CommitterStill further tweaking of s_lock assembler: do not assume that leading whitespace is unimportant in assembly code. Also, move VAX definition of typedef slock_t to port header files to be like all the other ports. Note that netbsd.h and openbsd.h are now identical, and I rather think that freebsd.h is broken in the places where it doesn't agree --- but I'll leave it to the freebsders to look at that.
a7ea9f46
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 20, 2001
CommitterMake critical sections (elog->crash) and interrupt holdoff sections into distinct concepts, per recent discussion on pghackers.
6ce0ed28
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 19, 2001
CommitterMake pqexpbuffer a little more robust, per bug report from Heinz Ekker.
6bb6209b
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 19, 2001
CommitterSuppress compiler warning in MULTIBYTE code.
86a2c259
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 19, 2001
CommitterSuppress compiler warning in MULTIBYTE case.
bdb72d87
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 19, 2001
CommitterSuppress unused-variable warning in non-Assert compilations.
c78e1954
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 19, 2001
CommitterUpdate docs to explain that 7.1 locks down LC_COLLATE and LC_CTYPE at initdb time. A few copy-editing cleanups, too.
1073123b
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 19, 2001
CommitterFix performance issue with qualifications on VIEWs: outer query should try to push restrictions on the view down into the view subquery, so that they can become indexscan quals or what-have-you rather than being applied at the top level of the subquery. 7.0 and before were able to do this, though in a much klugier way, and I'd hate to have anyone complaining that 7.1 is stupider than 7.0 ...
b06fbc7a
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 18, 2001
CommitterRemove bogus backslashes in sed command.
4c4f305b
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 16, 2001
CommitterOops, I had managed to break query-cancel-while-waiting-for-lock.
dae52bf3
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 16, 2001
CommitterRename fields of lock and lockholder structures to something a tad less confusing, and clean up documentation.
64e6c608
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 16, 2001
CommitterShow intarray contrib module in contrib/README and Makefile.
2dbc457e
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 15, 2001
CommitterFix problems with parentheses around sub-SELECT --- for the last time, I hope. I finally realized that we were going at it backwards: when there are excess parentheses, they need to be treated as part of the sub-SELECT, not as part of the surrounding expression. Although either choice yields an unambiguous grammar, only this way produces a grammar that is LALR(1). With the old approach we were guaranteed to fail on either 'SELECT (((SELECT 2)) + 3)' or 'SELECT (((SELECT 2)) UNION SELECT 2)' depending on which way we resolve the initial shift/reduce conflict. With the new way, the same reduction track can be followed in both cases until we have advanced far enough to know whether we are done with the sub-SELECT or not.
3db4056e
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 15, 2001
CommitterTweak heap_update/delete so that we do not hold the buffer context lock on the old tuple's page while we are doing TOAST pushups.
efd6cade
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 15, 2001
CommitterMinor coding cleanups.
0b5d194a
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 14, 2001
CommitterAnother go-round on making GetRawDatabaseInfo behave as well as it can, given the fundamental restriction of not looking at transaction commit data in pg_log. Use code that is actually based on tqual.c rather than ad-hoc tests. Also write the tuple fetch loop using standard access macros rather than ad-hoc code.
a904181a
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 14, 2001
Committerpg_database's datpath column must not be marked toastable, because GetRawDatabaseInfo() won't cope with a compressed path spec (much less a moved-off one). I'm not going to force an initdb for this change, because it's noncritical --- we're not actually using datpath at all right now. But it seems a good idea to apply the fix while I'm thinking about it.
8a0c9b17
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 14, 2001
CommitterNeed to do BufferSync at end of DROP DATABASE as well as CREATE DATABASE. Otherwise, newly connecting backends will still think the deleted DB is valid, and will generate unexpected error messages.
a3cac3a0
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 14, 2001
CommitterMake aclcontains() do something that's at least vaguely reasonable: it now returns true if the aclitem argument exactly matches any one of the elements of the aclitem[] argument. Per complaint from Wolff 1/10/01.
c0f06994
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 14, 2001
CommitterRestructure backend SIGINT/SIGTERM handling so that 'die' interrupts are treated more like 'cancel' interrupts: the signal handler sets a flag that is examined at well-defined spots, rather than trying to cope with an interrupt that might happen anywhere. See pghackers discussion of 1/12/01.
36839c19
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 14, 2001
CommitterBack-patch fix for crash in GetRawDatabaseInfo(), just in case someone else needs it.
7bfec168
REL7_0_PATCHESunreleased
No linked threadJan 14, 2001
CommitterRelax test on typmod matching between a table and its proposed ON SELECT rule. Needed to avoid failure when reloading a 7.0 pg_dump of a view that has a NUMERIC column.
160675ec
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 13, 2001
CommitterAdd more critical-section calls: all code sections that hold spinlocks are now critical sections, so as to ensure die() won't interrupt us while we are munging shared-memory data structures. Avoid insecure intermediate states in some code that proc_exit will call, like palloc/pfree. Rename START/END_CRIT_CODE to START/END_CRIT_SECTION, since that seems to be what people tend to call them anyway, and make them be called with () like a function call, in hopes of not confusing pg_indent. I doubt that this is sufficient to make SIGTERM safe anywhere; there's just too much code that could get invoked during proc_exit().
6162432d
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 12, 2001
CommitterBring CREATE TABLE syntax synopsis into line with reality; update a bunch of old or poorly-worded documentation.
359459a4
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 12, 2001
CommitterPreserve constraints and column defaults during CLUSTER. Wish they were all this easy ...
565639cd
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 12, 2001
CommitterDo The Right Thing (tm) if asked to cluster a temp table. Previous code would cluster, but table would magically lose its tempness.
412cb388
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 10, 2001
CommitterFix oversight in planning of GROUP queries: when an expression is used as both a GROUP BY item and an output expression, the top-level Group node should just copy up the evaluated expression value from its input, rather than re-evaluating the expression. Aside from any performance benefit this might offer, this avoids a crash when there is a sub-SELECT in said expression.
07c741e6
master7.1beta3REL_19_STABLE7.1beta3REL_18_STABLE7.1beta3REL_17_STABLE7.1beta3REL_16_STABLE7.1beta3REL_15_STABLE7.1beta3REL_14_STABLE7.1beta3REL_13_STABLE7.1beta3+24 more
No linked threadJan 09, 2001
CommitterFix small but critical typo ...
4cb0950c
master7.1beta3REL_19_STABLE7.1beta3REL_18_STABLE7.1beta3REL_17_STABLE7.1beta3REL_16_STABLE7.1beta3REL_15_STABLE7.1beta3REL_14_STABLE7.1beta3REL_13_STABLE7.1beta3+24 more
No linked threadJan 09, 2001
CommitterPrevent vacuumdb from trying to vacuum template0.
f19238e0
master7.1beta3REL_19_STABLE7.1beta3REL_18_STABLE7.1beta3REL_17_STABLE7.1beta3REL_16_STABLE7.1beta3REL_15_STABLE7.1beta3REL_14_STABLE7.1beta3REL_13_STABLE7.1beta3+24 more
No linked threadJan 08, 2001
CommitterDocument the system attributes ctid and tableoid, which for some reason were never yet mentioned anywhere in our documentation. Improve explanations of the other system attributes, too.
10fb290a
master7.1beta3REL_19_STABLE7.1beta3REL_18_STABLE7.1beta3REL_17_STABLE7.1beta3REL_16_STABLE7.1beta3REL_15_STABLE7.1beta3REL_14_STABLE7.1beta3REL_13_STABLE7.1beta3+24 more
No linked threadJan 08, 2001
CommitterDocument that we don't support ORDER BY with general expressions on the output of UNION/INTERSECT/EXCEPT.
6334ef86
master7.1beta3REL_19_STABLE7.1beta3REL_18_STABLE7.1beta3REL_17_STABLE7.1beta3REL_16_STABLE7.1beta3REL_15_STABLE7.1beta3REL_14_STABLE7.1beta3REL_13_STABLE7.1beta3+24 more
No linked threadJan 08, 2001
Committercheck for failure after vacuuming each DB, not only the last one.
bf74477b
master7.1beta3REL_19_STABLE7.1beta3REL_18_STABLE7.1beta3REL_17_STABLE7.1beta3REL_16_STABLE7.1beta3REL_15_STABLE7.1beta3REL_14_STABLE7.1beta3REL_13_STABLE7.1beta3+24 more
No linked threadJan 08, 2001
CommitterAdd some debugging support code (ifdef'd out in normal use).
b95f81a5
master7.1beta3REL_19_STABLE7.1beta3REL_18_STABLE7.1beta3REL_17_STABLE7.1beta3REL_16_STABLE7.1beta3REL_15_STABLE7.1beta3REL_14_STABLE7.1beta3REL_13_STABLE7.1beta3+24 more
No linked threadJan 08, 2001
CommitterLockBuffer should not elog while holding buffer's cntx_lock.
e2586c3c
master7.1beta3REL_19_STABLE7.1beta3REL_18_STABLE7.1beta3REL_17_STABLE7.1beta3REL_16_STABLE7.1beta3REL_15_STABLE7.1beta3REL_14_STABLE7.1beta3REL_13_STABLE7.1beta3+24 more
No linked threadJan 08, 2001
CommitterMake outfuncs/readfuncs treat OIDs properly as unsigned values. Clean up inconsistent coding practices for handling Index values and booleans, too.
1112a2a0
master7.1beta3REL_19_STABLE7.1beta3REL_18_STABLE7.1beta3REL_17_STABLE7.1beta3REL_16_STABLE7.1beta3REL_15_STABLE7.1beta3REL_14_STABLE7.1beta3REL_13_STABLE7.1beta3+24 more
No linked threadJan 08, 2001
CommitterCorrect nasty error in heap_update: it was releasing the buffer refcount before calling RelationInvalidateHeapTuple(), which is bad because the latter needs to look at the tuple data, which is in the shared disk buffer. If another backend manages to recycle the buffer while this is going on, we will compute the wrong hashindex for the tuple or maybe even crash outright. Must hold buffer refcount until afterwards. (This bug is not in 7.0.*; seems to be have introduced during WAL changes.)
a4ddbbd1
master7.1beta3REL_19_STABLE7.1beta3REL_18_STABLE7.1beta3REL_17_STABLE7.1beta3REL_16_STABLE7.1beta3REL_15_STABLE7.1beta3REL_14_STABLE7.1beta3REL_13_STABLE7.1beta3+24 more
No linked threadJan 07, 2001
CommitterClear QueryCancel and ProcDiePending at start of proc_exit, to ensure that leftover cancel/die requests cannot interfere with exit activities.
542b7c64
master7.1beta3REL_19_STABLE7.1beta3REL_18_STABLE7.1beta3REL_17_STABLE7.1beta3REL_16_STABLE7.1beta3REL_15_STABLE7.1beta3REL_14_STABLE7.1beta3REL_13_STABLE7.1beta3+24 more
No linked threadJan 07, 2001
CommitterFix recent breakage of query-cancel logic, see my pghackers message of 6 Jan 2001 21:55.
cb7ce7d0
master7.1beta3REL_19_STABLE7.1beta3REL_18_STABLE7.1beta3REL_17_STABLE7.1beta3REL_16_STABLE7.1beta3REL_15_STABLE7.1beta3REL_14_STABLE7.1beta3REL_13_STABLE7.1beta3+24 more
No linked threadJan 07, 2001
CommitterResultmap updates for OpenBSD, per report from bpalmer@crimelabs.net.
4ced15ec
master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more
No linked threadJan 07, 2001
CommitterModify readfuncs so that recursive use of stringToNode will not crash and burn. Just for added luck, change reading of CONST nodes so that we do not need to consult pg_type rows while reading them; this means that no database access occurs during stringToNode. This requires changing the order in which const-node fields are written, which means an initdb is forced.
4057b64f
master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more
No linked threadJan 07, 2001
CommitterClean up checking of relkind for ALTER TABLE and LOCK TABLE commands. Disallow cases like adding constraints to sequences :-(, and eliminate now-unnecessary search of pg_rewrite to decide if a relation is a view.
14022014
master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more
No linked threadJan 07, 2001
CommitterLog memory context stats to stderr when reporting a 'Memory exhausted' error, so as to provide a starting point for debugging.
deb21f0f
master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more
No linked threadJan 06, 2001
CommitterFix memory leak in relcache handling of rules: allocate rule parsetrees in per-entry sub-memory-context, where they were supposed to go, rather than in CacheMemoryContext where the code was putting them. Must've suffered a severe brain fade when I wrote this :-(
e69b8d46
master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more
No linked threadJan 06, 2001
CommitterNo need for screen_size to be static.
24a4aff6
master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more
No linked threadJan 06, 2001
CommitterBring CREATE RULE reference page into some semblance of agreement with what's actually implemented.
96bd67f6
master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more
No linked threadJan 06, 2001
CommitterFix NOT NULL option for plpgsql variables (doesn't look like it could ever have worked...)
682b1289
master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more
No linked threadJan 06, 2001
CommitterFix misplaced strdup(), which could lead to error messages referencing deallocated memory later on.
0ad5e437
master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more
No linked threadJan 06, 2001
CommitterRename and document some invalidation routines to make it clearer that they don't themselves flush any cache entries, only add to to-do lists that will be processed later.
81d08fcf
master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more
No linked threadJan 05, 2001
CommitterRemove not-really-standard implementation of CREATE TABLE's UNDER clause, and revert documentation to describe the existing INHERITS clause instead, per recent discussion in pghackers. Also fix implementation of SQL_inheritance SET variable: it is not cool to look at this var during the initial parsing phase, only during parse_analyze(). See recent bug report concerning misinterpretation of date constants just after a SET TIMEZONE command. gram.y really has to be an invariant transformation of the query string to a raw parsetree; anything that can vary with time must be done during parse analysis.
2fb6cc90
master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more
No linked threadJan 05, 2001
CommitterDisallow creation of a child table by a user who does not own the parent table, per pghackers discussion around 22-Dec-00.
e62c38d0
master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more
No linked threadJan 05, 2001
CommitterBack-patch fix for 'btree: failed to add item to the page in _bt_sort (2)' failure during index creation. This problem should be gone in current sources, but I just thought I'd commit the 7.0.* patch in case anyone else needs it.
de9b43f3
REL7_0_PATCHESunreleased
No linked threadJan 04, 2001
CommitterClean up some unnecessary fragility in EXECUTE command.
afeb8c48
master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more
No linked threadJan 04, 2001
CommitterRepair guaranteed core dump in SPI_exec(). Guess this routine wasn't used before ...
f9d6ffc5
master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more
No linked threadJan 04, 2001
Committerpg_dump failed to handle backslashes embedded in function definitions (and most other places where it needed to output a string literal, too, except for data INSERT statements). Per bug report from Easter, 12/1/00.
ea608bfd
master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more
No linked threadJan 04, 2001
CommitterFix breakage of rules using NOTIFY actions, per bug report and patch from sergiop@sinectis.com.ar.
60500d58
master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more
No linked threadJan 03, 2001
CommitterNew file format for COPY BINARY, in accordance with pghackers discussions of early December 2000. COPY BINARY is now TOAST-safe.
676cf18c
master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more
No linked threadJan 03, 2001
CommitterMakeRetrieveViewRuleName was scribbling on memory that didn't belong to it. Bad dog.
8fd2e269
master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more
No linked threadJan 03, 2001
CommitterDocument tuple ordering differences as a possible cause of regression test 'failures'.
3bdadd04
master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more
No linked threadJan 02, 2001
CommitterClean up non-reentrant interface for hash_seq/HashTableWalk, so that starting a new hashtable search no longer clobbers any other search active anywhere in the system. Fix RelationCacheInvalidate() so that it will not crash or go into an infinite loop if invoked recursively, as for example by a second SI Reset message arriving while we are still processing a prior one.
1b8a219e
master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more
No linked threadJan 02, 2001
CommitterTweak temporary-installation setup so that it doesn't break when the configured install --prefix begins with /data/...
25d88e4c
master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more
No linked threadJan 02, 2001
CommitterUpdate geometry-alpha-precision.out per reports from Brent Verner and Adriaan Joubert.
144ec3c1
master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more
No linked threadJan 01, 2001
CommitterDefine HAVE_LIBZ only if we detect <zlib.h> as well as libz.a/.so. Otherwise, build falls over on a machine with a non-devel RPM of libz.
4300e290
master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more
No linked threadJan 01, 2001
CommitterCLUSTER forgot to create a TOAST table for the clustered relation.
ad0169b1
master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more
No linked threadJan 01, 2001
CommitterEnsure attcacheoff is written out as -1 when writing pg_attribute tuples for a relation. Needed to prevent Assert failure in CLUSTER.
9315ff55
master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more
No linked threadJan 01, 2001
CommitterUpdate comment.
473763e6
master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more
No linked threadJan 01, 2001