- 19 Jan, 2004 2 commits
-
-
Tom Lane authored
UNION/INTERSECT/EXCEPT (without ALL). This adds on to the previous optimization for subqueries using DISTINCT.
-
Tom Lane authored
dynamically loaded C functions). Some limited testing suggests that this puts the lookup speed for external functions just about on par with built-in functions. Per discussion with Eric Ridge.
-
- 18 Jan, 2004 3 commits
-
-
Peter Eisentraut authored
-
Tom Lane authored
in a COPY error message. It seems that glibc gets indigestion if it is asked to truncate strings that contain invalid UTF-8 encoding sequences. vsnprintf will return -1 in such cases, leading to looping and eventual memory overflow in elog.c. Instead use our own, more robust pg_mbcliplen routine. I believe this problem accounts for several recent reports of unexpected 'out of memory' errors during COPY IN.
-
Tom Lane authored
check instead of hardwiring assumptions that only certain plan node types can appear at the places where we are testing. This was always a pretty fragile assumption, and it turns out to be broken in 7.4 for certain cases involving IN-subselect tests that need type coercion. Also, modify code that builds finished Plan tree so that node types that don't do projection always copy their input node's targetlist, rather than having the tlist passed in from the caller. The old method makes it too easy to write broken code that thinks it can modify the tlist when it cannot.
-
- 17 Jan, 2004 1 commit
-
-
Tom Lane authored
a run-time key (that is, a nonconstant expression compared to the index variable), the key is evaluated just once per scan, but we were charging costs as though it were evaluated once per visited index entry.
-
- 16 Jan, 2004 1 commit
-
-
Tom Lane authored
tuptoaster.c --- fields that are compressed in-line are not a reason to invoke the toaster. Along the way, add a couple more htup.h macros to eliminate confusing negated tests, and get rid of the already vestigial TUPLE_TOASTER_ACTIVE symbol.
-
- 15 Jan, 2004 2 commits
-
-
Peter Eisentraut authored
as the result of the SGML-based tool chain.
-
Jan Wieck authored
ARC buffer replacement strategy. Jan
-
- 14 Jan, 2004 5 commits
-
-
Tom Lane authored
for sure...). Rather than relying on the query context of a rangetable entry to identify what permissions it wants checked, store a full AclMode mask in each RTE, and check exactly those bits. This allows an RTE specifying, say, INSERT privilege on a view to be copied into a derived UPDATE query without changing meaning. Per recent discussion thread. initdb forced due to change of stored rule representation.
-
Dennis Bjorklund authored
-
Tom Lane authored
-
Tom Lane authored
not apply to system views. It never mattered before 7.4, but it does now.
-
Tom Lane authored
incorrect permissions checking, but in fact disabled most all permissions checks for view updates. This corrects problems reported by Sergey Yatskevich among others, at the cost of re-introducing the problem previously reported by Tim Burgess. However, since we'd lived with that problem for quite awhile without knowing it, we can live with it awhile longer until a proper fix can be made in 7.5.
-
- 13 Jan, 2004 3 commits
-
-
Peter Eisentraut authored
-
Peter Eisentraut authored
-
Bruce Momjian authored
-
- 12 Jan, 2004 2 commits
- 11 Jan, 2004 8 commits
-
-
Dennis Bjorklund authored
-
Dennis Bjorklund authored
-
Peter Eisentraut authored
-
Dennis Bjorklund authored
-
Dennis Bjorklund authored
-
Neil Conway authored
-
Neil Conway authored
expressions supported by CREATE SCHEMA. Also added the beginning of some regression tests for CREATE SCHEMA; plenty more work is needed here.
-
Bruce Momjian authored
fork/exec portion of the port), and fixes a handful of whitespace issues Claudio Natoli
-
- 10 Jan, 2004 10 commits
-
-
Neil Conway authored
word16, and word32.
-
Neil Conway authored
intended to allow application authors to insulate themselves from changes to the default value of 'default_with_oids' in future releases of PostgreSQL. This patch also fixes a bug in the earlier implementation of the 'default_with_oids' GUC variable: code in gram.y should not examine the value of GUC variables directly due to synchronization issues.
-
Peter Eisentraut authored
-
Tom Lane authored
variables, not just simple variables. This was foreseen in the original coding of this routine, but not implemented until now. Responds to performance gripe from Laurent Perez.
-
Dennis Bjorklund authored
-
Dennis Bjorklund authored
-
Dennis Bjorklund authored
-
Bruce Momjian authored
-
Bruce Momjian authored
TRANSACTION.
-
Tom Lane authored
'simple' references another view that is not simple. Must recheck conditions after performing recursive pullup. Per example from Laurent Perez, 9-Jan-04.
-
- 09 Jan, 2004 3 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-