- 09 Sep, 2005 1 commit
-
-
Tom Lane authored
in the zic database or zone names found in the date token table. This preserves the old ability to do AT TIME ZONE 'PST' along with the new ability to do AT TIME ZONE 'PST8PDT'. Per gripe from Bricklen Anderson. Also, fix some inconsistencies in usage of TZ_STRLEN_MAX --- the old code had the potential for one-byte buffer overruns, though given alignment considerations it's unlikely there was any real risk.
-
- 25 Aug, 2005 1 commit
-
-
Bruce Momjian authored
-
- 24 Aug, 2005 1 commit
-
-
Tom Lane authored
going to keep it after all.
-
- 15 Aug, 2005 1 commit
-
-
Bruce Momjian authored
and creation columns to behave for Unix or Win32.
-
- 13 Aug, 2005 1 commit
-
-
Tom Lane authored
remember the output parameter set for himself. It's a bit of a kluge but fixing array_in to work in bootstrap mode looks worse. I removed the separate pg_file_length() function, as it no longer has any real notational advantage --- you can write (pg_stat_file(...)).length.
-
- 12 Aug, 2005 3 commits
-
-
Tom Lane authored
should surely be timestamptz not timestamp; fix some but not all of the holes in check_and_make_absolute(); other minor cleanup. Also put in the missed catversion bump.
-
Bruce Momjian authored
-
Bruce Momjian authored
pg_stat_file() pg_read_file() pg_ls_dir() pg_reload_conf() pg_rotate_logfile() Dave Page Andreas Pflug
-
- 02 Aug, 2005 1 commit
-
-
Tom Lane authored
-
- 30 Jul, 2005 2 commits
-
-
Tom Lane authored
place.
-
Bruce Momjian authored
tests for the new interval->day changes. I added tests for justify_hours() and justify_days() to interval.sql, as they take interval input and produce interval output. If there's a more appropriate place for them, please let me know. Michael Glaesemann
-
- 29 Jul, 2005 1 commit
-
-
Bruce Momjian authored
pg_tablespace_size pg_database_size pg_relation_size pg_complete_relation_size pg_size_pretty Remove /contrib/dbsize. Dave Page
-
- 26 Jul, 2005 2 commits
-
-
Tom Lane authored
doesn't automatically inherit the privileges of roles it is a member of; for such a role, membership in another role can be exploited only by doing explicit SET ROLE. The default inherit setting is TRUE, so by default the behavior doesn't change, but creating a user with NOINHERIT gives closer adherence to our current reading of SQL99. Documentation still lacking, and I think the information schema needs another look.
-
Tom Lane authored
existing ones for object privileges. Update the information_schema for roles --- pg_has_role() makes this a whole lot easier, removing the need for most of the explicit joins with pg_user. The views should be a tad faster now, too. Stephen Frost and Tom Lane.
-
- 25 Jul, 2005 1 commit
-
-
Tom Lane authored
I'm still working on the has_role function and information_schema changes.
-
- 22 Jul, 2005 1 commit
-
-
Bruce Momjian authored
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.
-
- 20 Jul, 2005 1 commit
-
-
Bruce Momjian authored
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
-
- 18 Jul, 2005 1 commit
-
-
Tom Lane authored
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 #.
-
- 15 Jul, 2005 1 commit
-
-
Bruce Momjian authored
-
- 14 Jul, 2005 1 commit
-
-
Neil Conway authored
is used as if it were the latest (and/or still valid) SQL standard. SQL:2003 is used in its place. Patch from Simon Riggs.
-
- 10 Jul, 2005 1 commit
-
-
Bruce Momjian authored
The specification of this function is as follows. regexp_replace(source text, pattern text, replacement text, [flags text]) returns text Replace string that matches to regular expression in source text to replacement text. - pattern is regular expression pattern. - replacement is replace string that can use '\1'-'\9', and '\&'. '\1'-'\9': back reference to the n'th subexpression. '\&' : entire matched string. - flags can use the following values: g: global (replace all) i: ignore case When the flags is not specified, case sensitive, replace the first instance only. Atsushi Ogawa
-
- 06 Jul, 2005 1 commit
-
-
Bruce Momjian authored
possible compression. Mark Kirkwood
-
- 29 Jun, 2005 1 commit
-
-
Bruce Momjian authored
Karl O. Pinc
-
- 28 Jun, 2005 1 commit
-
-
Tom Lane authored
and pg_auth_members. There are still many loose ends to finish in this patch (no documentation, no regression tests, no pg_dump support for instance). But I'm going to commit it now anyway so that Alvaro can make some progress on shared dependencies. The catalog changes should be pretty much done.
-
- 26 Jun, 2005 1 commit
-
-
Tom Lane authored
-
- 24 Jun, 2005 1 commit
-
-
Tom Lane authored
to the existing X-direction tests. An rtree class now includes 4 actual 2-D tests, 4 1-D X-direction tests, and 4 1-D Y-direction tests. This involved adding four new Y-direction test operators for each of box and polygon; I followed the PostGIS project's lead as to the names of these operators. NON BACKWARDS COMPATIBLE CHANGE: the poly_overleft (&<) and poly_overright (&>) operators now have semantics comparable to box_overleft and box_overright. This is necessary to make r-tree indexes work correctly on polygons. Also, I changed circle_left and circle_right to agree with box_left and box_right --- formerly they allowed the boundaries to touch. This isn't actually essential given the lack of any r-tree opclass for circles, but it seems best to sync all the definitions while we are at it.
-
- 15 Jun, 2005 2 commits
-
-
Neil Conway authored
-
Bruce Momjian authored
"AT TIME ZONE", and not just the shorlist previously available. For example: SELECT CURRENT_TIMESTAMP AT TIME ZONE 'Europe/London'; works fine now. It will also obey whatever DST rules were in effect at just that date, which the previous implementation did not. It also supports the AT TIME ZONE on the timetz datatype. The whole handling of DST is a bit bogus there, so I chose to make it use whatever DST rules are in effect at the time of executig the query. not sure if anybody is actuallyi *using* timetz though, it seems pretty unpredictable just because of this... Magnus Hagander
-
- 14 Jun, 2005 2 commits
-
-
Bruce Momjian authored
Pavel Stehule
-
Bruce Momjian authored
Euler Taveira de Oliveira Matthias Schmidt
-
- 13 Jun, 2005 1 commit
-
-
Neil Conway authored
reference page for SQL commands, so that the link text is italicized.
-
- 09 Jun, 2005 1 commit
-
-
Bruce Momjian authored
function that accepts a double precision argument assumed to be a Unix epoch timestamp and returns timestamp with time zone, and accompanying documentation. Usage: test=# select to_timestamp(200120400); to_timestamp ------------------------ 1976-05-05 14:00:00+09 (1 row) Michael Glaesemann
-
- 07 Jun, 2005 1 commit
-
-
Neil Conway authored
last nextval() or setval() performed by the current session. Update the docs, add regression tests, and bump the catalog version. Patch from Dennis Björklund, various improvements by Neil Conway.
-
- 06 Jun, 2005 1 commit
-
-
Tom Lane authored
-
- 23 May, 2005 2 commits
-
-
Neil Conway authored
to the entire table: as of current sources, they are no longer slow provided there is an index on the column.
-
Neil Conway authored
function descriptions in func.sgml; other minor SGML tweaks.
-
- 20 May, 2005 1 commit
-
-
Neil Conway authored
from Abhijit Menon-Sen, minor editorialization from Neil Conway. Also, improve md5(text) to allocate a constant-sized buffer on the stack rather than via palloc. Catalog version bumped.
-
- 11 May, 2005 2 commits
-
-
Neil Conway authored
-
Bruce Momjian authored
Update Chinese FAQ for HTML.
-
- 13 Apr, 2005 1 commit
-
-
Neil Conway authored
-