- 04 Dec, 2005 3 commits
-
-
Bruce Momjian authored
> * Add SPI_gettypmod() to return the typemod for a TupleDesc
-
Bruce Momjian authored
> o Consider logging activity either to the logs or a system view
-
Bruce Momjian authored
--with-libedit-preferred prefer BSD Libedit over GNU Readline
-
- 03 Dec, 2005 5 commits
-
-
Tom Lane authored
than owned by nobody. This results in cleaner display of language ACLs, since the backend's aclchk.c uses the same convention. AFAICS there is no practical difference but it's nice to avoid emitting SET SESSION AUTHORIZATION; also this will make it easier to transition pg_dump to some future version in which we may include an explicit ownership column in pg_language. Per gripe from David Begley.
-
Tom Lane authored
Per example from Dirk Pirschel.
-
Bruce Momjian authored
Map them to a single day, so '30 hours' is 'AM'. Have to_char(interval) and to_char(time) use "HH", "HH12" as 12-hour intervals, rather than bypass and print the full interval hours. This is neeeded because to_char(time) is mapped to interval in this function. Intervals should use "HH24", and document suggestion. Allow "D" format specifiers for interval/time.
-
Bruce Momjian authored
< * Add function to return the thread safety status of libpq and ecpg
-
Tom Lane authored
if we already have a stronger lock due to the index's table being the update target table of the query. Same optimization I applied earlier at the table level. There doesn't seem to be much interest in the more radical idea of not locking indexes at all, so do what we can ...
-
- 02 Dec, 2005 8 commits
-
-
Tom Lane authored
-
Tom Lane authored
-
Tom Lane authored
relation if it's already been locked by execMain.c as either a result relation or a FOR UPDATE/SHARE relation. This avoids an extra trip to the shared lock manager state. Per my suggestion yesterday.
-
Bruce Momjian authored
< * Change NUMERIC to enforce the maximum precision, and increase it > * Change NUMERIC to enforce the maximum precision
-
Michael Meskes authored
-
Bruce Momjian authored
< be cleared when a heap tuple is expired. Another idea is to maintain < a bitmap of heap pages where all rows are visible to all backends, < and allow index lookups to reference that bitmap to avoid heap < lookups, perhaps the same bitmap we might add someday to determine < which heap pages need vacuuming. > be cleared when a heap tuple is expired. > > Another idea is to maintain a bitmap of heap pages where all rows > are visible to all backends, and allow index lookups to reference > that bitmap to avoid heap lookups, perhaps the same bitmap we might > add someday to determine which heap pages need vacuuming. Frequently > accessed bitmaps would have to be stored in shared memory. One 8k > page of bitmaps could track 512MB of heap pages.
-
Bruce Momjian authored
-
Tom Lane authored
child plan nodes until we have acquired lock on the relation to scan. The relative order of initialization of plan nodes isn't real important in other cases, but it's critical here because one is supposed to lock a relation before its indexes, not vice versa. The original coding was at least vulnerable to deadlock against DROP INDEX, and perhaps worse things.
-
- 01 Dec, 2005 11 commits
-
-
Bruce Momjian authored
< the heap. One way to allow this is to set a bit to index tuples > the heap. One way to allow this is to set a bit on index tuples < be cleared when a heap tuple is expired. < > be cleared when a heap tuple is expired. Another idea is to maintain > a bitmap of heap pages where all rows are visible to all backends, > and allow index lookups to reference that bitmap to avoid heap > lookups, perhaps the same bitmap we might add someday to determine > which heap pages need vacuuming.
-
Bruce Momjian authored
> [merge] 378a380 > [merge]
-
Bruce Momjian authored
-
Bruce Momjian authored
< * Add MERGE command that does UPDATE/DELETE, or on failure, INSERT (rules, < triggers?) > * Add SQL-standard MERGE command, typically used to merge two tables > > This is similar to UPDATE, then for unmatched rows, INSERT. > Whether concurrent access allows modifications which could cause > row loss is implementation independent. > > * Add REPLACE or UPSERT command that does UPDATE, or on failure, INSERT
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Tom Lane authored
Also add a retry for Unixen returning EINTR, which hasn't been reported as an issue but at least theoretically could be. Patch by Qingqing Zhou, some minor adjustments by me.
-
Bruce Momjian authored
-
Tom Lane authored
Michael Fuhr.
-
Neil Conway authored
-
Alvaro Herrera authored
-
- 30 Nov, 2005 3 commits
-
-
Tom Lane authored
change errno. No reported bugs here, but why take a chance?
-
Tom Lane authored
#2075: consider an index redundant if any of its index conditions were already used, rather than if all of them were. Also, make the selectivity comparison a bit fuzzy, so that very small differences in estimated selectivities don't skew the results.
-
Michael Meskes authored
- Made several variables "const char *" instead of "char *" as proposed by Qingqing Zhou <zhouqq@cs.toronto.edu>. - Replaced all strdup() calls by ECPGstrdup(). - Set ecpg library version to 5.2. - Set ecpg version to 4.2.1.
-
- 29 Nov, 2005 4 commits
-
-
Bruce Momjian authored
< #A hyphen, "-", marks changes that will appear in the upcoming 8.1 release.# > #A hyphen, "-", marks changes that will appear in the upcoming 8.2 release.#
-
Bruce Momjian authored
< * Remove Win32 rename/unlink looping if unnecessary
-
Alvaro Herrera authored
-
Tom Lane authored
the executor. This allows, for example, JDBC clients to use '?' bound parameters in these commands. Per gripe from Virag Saksena.
-
- 28 Nov, 2005 6 commits
-
-
Tom Lane authored
it's worth probing the outer relation for emptiness before building the hash table. To wit, if we're rescanning a join previously performed, remember whether we found it nonempty the previous time, and don't bother with the probe if it was nonempty. This buys back the performance lost in examples like Mario Weilguni's.
-
Bruce Momjian authored
and IFNULL. Backpatch to 8.1.X.
-
Tom Lane authored
-
Bruce Momjian authored
> * Allow COMMENT ON to accept an expression rather than just a string
-
Tom Lane authored
After a proposal by Martijn van Oosterhout (not exactly his patch though).
-
Alvaro Herrera authored
Per suggestion from Tom Lane.
-