- 03 Jun, 1997 1 commit
-
-
Vadim B. Mikheev authored
dt.c: In function `timespan2tm': dt.c:1722: warning: unused variable `funit' dt.c:1722: warning: unused variable `iunit' -> got rid of them.
-
- 30 May, 1997 1 commit
-
-
Thomas G. Lockhart authored
Remove references to modf() which is buggy on some platforms (Sparc/Linux).
-
- 23 May, 1997 1 commit
-
-
Thomas G. Lockhart authored
Fix up decoder field masks for timespan and reltime.
-
- 13 May, 1997 1 commit
-
-
Thomas G. Lockhart authored
-
- 11 May, 1997 1 commit
-
-
Thomas G. Lockhart authored
Add type conversion functions for floating point numbers. Check for zero in unary minus floating point code (IEEE allows an explicit negative zero which looks ugly in a query result!). Ensure circle type has non-negative radius.
-
- 27 Apr, 1997 2 commits
-
-
Thomas G. Lockhart authored
Add comparison operators to boolean and smaller/larger operators to datetime and timespan. Fix int4 overflow math problem in timespan comparison operators.
-
Marc G. Fournier authored
-
- 25 Apr, 1997 1 commit
-
-
Marc G. Fournier authored
Here are patches which should help fix timezone problems in the datetime and abstime code. Also, I repatched varlena.c to add in some comments and a little error checking on top of Vadim's earlier repairs. There are slight mods to the circle data type to have the distance operator between circles measure the distance between closest points rather than between centers.
-
- 22 Apr, 1997 1 commit
-
-
Marc G. Fournier authored
Subject: [PATCHES] date/time timezone patches (mail bounced?) Here are some hacks to get timezone behavior for the various time data types to be compatible with v6.0. Although we have some hooks already installed to get timezone info from the client to the server, it still isn't clear if that can correctly transfer enough timezone info to make the behavior the same as if timezone info were derived from the server as is now the case. We certainly won't resolve it in a day, so I think we are stuck with server-only timezones for v6.1.
-
- 05 Apr, 1997 1 commit
-
-
Marc G. Fournier authored
Subject: [HACKERS] Fix for European dates This apparently fixes the European date reading problem reported by several (European) bleeding edge adopters. I tried a few test cases and it doesn't break the non-EuroDate cases in my test suite.
-
- 02 Apr, 1997 1 commit
-
-
Marc G. Fournier authored
Subject: [HACKERS] More date time functions Here are some additional patches mostly related to the date and time data types. It includes some type conversion routines to move between the different date types and some other date manipulation routines such as date_part(units,datetime). I noticed Edmund Mergl et al's neat trick for getting function overloading for builtin functions, so started to use that for the date and time stuff. Later, if someone figures out how to get function overloading directly for internal C code, then we can move to that technique. These patches include documentation updates (don't faint!) for the built-in man page. Doesn't yet include mention of timestamp, since I don't know much about it and since it may change a bit to become a _real_ ANSI timestamp which would include parser support for the declaration syntax (what do you think, Dan?). The patches were developed on the 970330 release, but have been rebuilt off of the 970402 release. The first patch below is to get libpq to compile, on my Linux box, but is not related to the rest of the patches and you can choose not to apply that one at this time. Thanks in advance, scrappy!
-
- 28 Mar, 1997 3 commits
-
-
Marc G. Fournier authored
Subject: [HACKERS] Small date patches (resubmitted) Here a some small patches for the date/time code. They set the default output format for the datetime type to the traditional Postgres style, and fix a date debugging declaration. I submitted these a couple of days ago, but they might have gotten lost... NOTE: the second patch to dt.c is what I believe D'Arcy submitted as well, that I claimed was taken out...sorry D'Arcy, my fault :(
-
Marc G. Fournier authored
Subject: Re: [HACKERS] abstime "now" broken Yes, I broke 'now' :( with an attempt at a bug fix involving servers running in the UTC/GMT timezone. These patches fix the problem, and have been tested in GMT (+00 hours), PST (-08), and NZT (+12) timezones which exercized the code for various cases including across day boundaries. btw, this code fixes the same type of problem for 'today', 'yesterday', 'tomorrow', for DATETIME, ABSTIME, DATE and TIME types. The bugfix itself is quite small, but I have accumulated other changes in the datetime data type and include them here also. One set of changes involves printing ISO-formatted dates and is in response to the helpful information from Kurt Lidl regarding ANSI SQL dates. I'll send another e-mail sometime soon discussing more issues he has raised...
-
Marc G. Fournier authored
From: "D'Arcy J.M. Cain" <darcy@druid.net>
-
- 25 Mar, 1997 3 commits
-
-
Marc G. Fournier authored
Remove 'unused variable' from dt.c
-
Marc G. Fournier authored
-
Marc G. Fournier authored
Subject: [HACKERS] More patches for date/time I have accumulated several patches to add functionality to the datetime and timespan data types as well as to fix reported porting bugs on non-BSD machines. These patches are: dt.c.patch - add datetime_part(), fix bugs dt.h.patch - add quarter and timezone support, add prototypes globals.c.patch - add time and timezone variables miscadmin.h.patch - add time and timezone variables nabstime.c.patch - add datetime conversion routine nabstime.h.patch - add prototypes pg_operator.h.patch - add datetime operators, clean up formatting pg_proc.h.patch - add datetime functions, reassign conflicting date OIDs pg_type.h.patch - add datetime and timespan data types The dt.c and pg_proc.h patches are fairly large; the latter mostly because I tried to get some columns for existing entries to line up.
-
- 18 Mar, 1997 1 commit
-
-
Marc G. Fournier authored
bring in Thomas's updates for the date/time code...
-
- 16 Mar, 1997 3 commits
-
-
Marc G. Fournier authored
Subject: [HACKERS] Patches for 970316 compilation I made a small pre-emptive change in the new datetime code to eliminate calls to infnan(). Hopefully this will make Solaris (and probably other non-GNUlib) systems happier. Didn't find fe-connect.h in the 970316 distribution, so made one up. Also, one of the test routines needs an update for the geo-decls.h -> geo_decls.h name change. Patches appear below...
-
Marc G. Fournier authored
-
Marc G. Fournier authored
-
- 14 Mar, 1997 1 commit
-
-
Marc G. Fournier authored
-
- 03 Nov, 1996 1 commit
-
-
Marc G. Fournier authored
-
- 09 Jul, 1996 1 commit
-
-
Marc G. Fournier authored
-