summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-07-25Add SET ROLE. This is a partial commit of Stephen Frost's recent patch;Tom Lane
I'm still working on the has_role function and information_schema changes.
2005-07-25Add username for psql password prompt, if the username was specified.Bruce Momjian
Adrian Maier
2005-07-25Add:Bruce Momjian
> o Allow postgresql.conf file values to be changed via an SQL API > o Allow the server to be stopped/restarted via an SQL API
2005-07-25Awhile back we replaced all uses of strcasecmp and strncasecmp withTom Lane
pg_strcasecmp and pg_strncasecmp ... but I see some of the former have crept back in. Eternal vigilance is the price of locale independence, apparently.
2005-07-25Change build of regress.so to use Makefile.shlib instead of dependingTom Lane
on the not-very-good .so pattern rules in the port-specific Makefiles. (This leaves only pgxs' MODULES case needing those rules.) Also, compile pgsleep.c locally and add it to regress.so to avoid failure on AIX.
2005-07-24Partial fixes for contrib build on AIX: include -lm where needed.Tom Lane
Per Rocco Altier.
2005-07-24Regenerate badly-obsolete README file.Tom Lane
2005-07-24With the interval/day patch, the horology regression test no longerTom Lane
fails near DST transition days, so remove the advice about that testing problem. Also improve the description of variant-comparison-file selection.
2005-07-24Add variant expected file to cope with different spelling of a PythonTom Lane
error message in Python 2.3 and before. Per Michael Fuhr and buildfarm results.
2005-07-24Fix rounding problem in interval_div by using rint(), and improveBruce Momjian
interval_mul function.
2005-07-24Fix logic error in tbm_intersect: the intersection of a normal page andTom Lane
a lossy page has to be lossy, because we don't know exactly which tuples on the page should remain part of the bitmap. Per Jie Zhang.
2005-07-24Fix some failures to initialize table entries induced by recent autovacuumTom Lane
integration. Not clear this explains recent stats problems, but it's definitely wrong.
2005-07-23Simple constraint exclusion. For now, only child tables of inheritanceTom Lane
scans are candidates for exclusion; this should be fixed eventually. Simon Riggs, with some help from Tom Lane.
2005-07-23Remove unintended code addition.Bruce Momjian
2005-07-23Macro alignment cleanup.Bruce Momjian
2005-07-23Improve computations of interval_div to prevent rounding problem on AIX.Bruce Momjian
2005-07-23Andrew pointed out that the current fix didn't handle dates that wereBruce Momjian
near daylight savings time boudaries. This handles it properly, e.g. test=> select '2005-04-03 04:00:00'::timestamp at time zone 'America/Los_Angeles'; timezone ------------------------ 2005-04-03 07:00:00-04 (1 row)
2005-07-23In the stats test, delay for the stats collector to catch up using aTom Lane
function that actually sleeps, instead of busy-waiting. Perhaps this will resolve some of the intermittent stats failures we keep seeing.
2005-07-23Fix AT TIME ZONE for timestamps without time zones:Bruce Momjian
test=> select (CURRENT_DATE + '05:00'::time)::timestamp at time zone 'Canada/Pacific'; timezone ------------------------ 2005-07-22 08:00:00-04 (1 row)
2005-07-22Fix AT TIME ZONE for timestamps without time zones:Bruce Momjian
test=> select ('2005-07-20 00:00:00'::timestamp without time zone) at time zone 'Europe/Paris'; timezone ------------------------ 2005-07-19 22:00:00-04 Udpate documentation.
2005-07-22Fix insufficient check for overflow in tm2abstime(), per report from jw.Tom Lane
2005-07-22Fix compare_fuzzy_path_costs() to behave a bit more sanely. The originalTom Lane
coding would ignore startup cost differences of less than 1% of the estimated total cost; which was OK for normal planning but highly not OK if a very small LIMIT was applied afterwards, so that startup cost becomes the name of the game. Instead, compare startup and total costs fuzzily but independently. This changes the plan selected for two queries in the regression tests; adjust expected-output files for resulting changes in row order. Per reports from Dawid Kuroczko and Sam Mason.
2005-07-22More removal of unneeded parentheses.Bruce Momjian
2005-07-22More spacing adjustmentsBruce Momjian
2005-07-22Update date/time comments.Bruce Momjian
2005-07-22More minor spacing improvements.Bruce Momjian
2005-07-22Code spacing improvement, particularly *tm spacing.Bruce Momjian
2005-07-21More comment update of time macros.Bruce Momjian
2005-07-21Update DAYS_PER_MONTH comment.Bruce Momjian
Add SECS_PER_YEAR and MINS_PER_HOUR macros.
2005-07-21Add comment about void* use in MemSet.Bruce Momjian
2005-07-21Add:Bruce Momjian
< > * Research storing disk pages with no alignment/padding
2005-07-21Fix integer timestamp build for macro changes.Bruce Momjian
2005-07-21Add comment marking non-exact time conversion macros.Bruce Momjian
2005-07-21Remove unnecessary parentheses in assignments.Bruce Momjian
Add spaces where needed. Reference time interval variables as tinterval.
2005-07-21Fix storage size for btree_gist interval indexes. Fix penaltyTom Lane
calculations for interval and time/timetz to behave sanely for both integer and float timestamps; up to now I think it's been doing something pretty strange...
2005-07-21Add time/date macros for code clarity:Bruce Momjian
#define DAYS_PER_YEAR 365.25 #define MONTHS_PER_YEAR 12 #define DAYS_PER_MONTH 30 #define HOURS_PER_DAY 24
2005-07-20Fix breakage of INSTALL document build.Tom Lane
2005-07-20/contrib/btree_gist adjustments for new 'day' interval value.Bruce Momjian
2005-07-20Update catalog version for INTERVAL day addition.Bruce Momjian
2005-07-20Add 'day' field to INTERVAL so 1 day interval can be distinguished fromBruce Momjian
24 hours. This is very helpful for daylight savings time: select '2005-05-03 00:00:00 EST'::timestamp with time zone + '24 hours'; ?column? ---------------------- 2005-05-04 01:00:00-04 select '2005-05-03 00:00:00 EST'::timestamp with time zone + '1 day'; ?column? ---------------------- 2005-05-04 01:00:00-04 Michael Glaesemann
2005-07-20Fix interval division and multiplication, before:Bruce Momjian
test=> select '4 months'::interval / 5; ?column? --------------- 1 mon -6 days (1 row) after: test=> select '4 months'::interval / 5; ?column? ---------- 24 days (1 row) The problem was the use of rint() to round, and then find the remainder, causing the negative values.
2005-07-19Documentation tweak: make <command>CREATE OPERATOR CLASS</command> intoNeil Conway
an <xref/>.
2005-07-18Fix some bogosities in geometric-function documentation: add an entryTom Lane
for circle(polygon), which was missing; remove bogus entry for point(lseg, lseg), which does not exist, and the documentation seemed to describe lseg_interpt, which we already document as an operator not a function. Also remove entry for box_intersect, which likewise is preferentially used via the operator #.
2005-07-18\pset numericsep -> numericlocale.Bruce Momjian
2005-07-18Fix len so decimal length is only added when a period appears in the output.Bruce Momjian
2005-07-18Avoid use of E'', and thereby creating an unnecessary version-dependency,Tom Lane
by using LIKE...ESCAPE instead. Per suggestion by andrew@supernews.
2005-07-18Avoid need for E'' construct by using regexp instead of LIKE. MoreTom Lane
readable, and more like the other places in this file.
2005-07-18Fix numiericsep length computations.Bruce Momjian
Eugen Nedelcu
2005-07-18Adjust psql describe queries so that any pg_foo_is_visible() conditionTom Lane
is applied last, after other constraints such as name patterns. This is useful first because the pg_foo_is_visible() functions are relatively expensive, and second because it minimizes the prospects for race conditions. The change is fragile though since it makes unwarranted assumptions about planner behavior, ie, that WHERE clauses will be executed in the original order if there's not reason to change it. This should fix ... or at least hide ... an intermittent failure in the prepared_xacts regression test, while we think about what else to do.
2005-07-18pgcrypto documentation update. Marko KreenTom Lane