Commit Graph

11707 Commits

Author SHA1 Message Date
Tom Lane bb2bff498c Fix to_timestamp/to_date so that zero year input for Y, YY, or YYY
formats will be taken as 2000, not year zero.  Per bug report from
Aasmund Midttun Godal.  Fix from Karel Zak.
2002-01-02 22:09:23 +00:00
Tom Lane e274325e02 Fix incorrect description of rowtype variable declarations. Eventually
(IMHO) the code should be fixed to do what the documentation formerly
claimed, and then revert this change.
2002-01-02 00:41:26 +00:00
Tom Lane 4764ae823b Do not accept interrupts in RESUME_INTERRUPTS() and END_CRIT_SECTION()
macros, but only at explicit CHECK_FOR_INTERRUPTS() calls.  Not clear
whether overenthusiastic acceptance of interrupts accounts for any real
bugs, but it definitely seems risky and unnecessary.
2002-01-01 23:16:22 +00:00
Tom Lane 1ccc67600b Fix race condition that could allow two concurrent transactions
to insert the same key into a supposedly unique index.  The bug is of
low probability, and may not explain any of the recent reports of
duplicated rows; but a bug is a bug.
2002-01-01 20:32:37 +00:00
Thomas G. Lockhart c546170e77 Rename TIME token to ISOTIME to eliminate conflict with gram.y parser
token. Seems to be isolated to datetime.c and datetime.h.
2002-01-01 02:54:33 +00:00
Bruce Momjian 6b086de31a Update dbase for Maarten.Boekhold. 2001-12-31 13:32:04 +00:00
Tom Lane ee051baeac Make sure that all <ctype.h> routines are called with unsigned char
values; it's not portable to call them with signed chars.  I recall doing
this for the last release, but a few more uncasted calls have snuck in.
2001-12-30 23:09:42 +00:00
Tom Lane e7d9a6bf63 Repair example, per note in interactive docs. 2001-12-30 04:36:52 +00:00
Bruce Momjian 23ef0926e1 Update FAQ_DEV. 2001-12-30 04:31:29 +00:00
Bruce Momjian 3f53ad7108 *** empty log message *** 2001-12-30 01:51:10 +00:00
Bruce Momjian 550d38458c Add
> * Make locking of shared data structures more fine-grained
2001-12-30 01:48:23 +00:00
Bruce Momjian 6f901b6f5a Oops, only wanted datetime.c changes in there. lock stuff reversed out. 2001-12-29 21:30:32 +00:00
Bruce Momjian 9e7b9c6f54 Fix newly introduced datetime.c compile failure; not enough parens. 2001-12-29 21:28:18 +00:00
Bruce Momjian 48ad40ba99 Added
> * Change factorial to return a numeric
2001-12-29 20:40:42 +00:00
Bruce Momjian 642f2fe7cf Add missing <varlistentry>; shown in build logs. 2001-12-29 20:29:49 +00:00
Thomas G. Lockhart b7a0af7d64 Check a bit more carefully for preceeding ISO field tags
when decoding date fields.
2001-12-29 18:40:58 +00:00
Thomas G. Lockhart dd0279b1ba Document the precision arguments for date/time types per SQL9x.
Update the list of recognized time zones.
Document the range of arguments allowed for SET TIME ZONE.
Still need to add info on other date/time symbols (e.g. "AM", "T")
 and to freshen the docs on the date/time parsing rules.
2001-12-29 18:35:54 +00:00
Thomas G. Lockhart b5e23db438 Rework the date/time parsing to tighten up some cases and to enable other
cases which should have worked but did not.
Now supports julian day (J2452271), ISO time labels (T040506) and various
 combinations of spaces and run-togethers of dates, times, and time zones.
All regression tests pass, and I have more tests to add after the 7.2
 release (don't want to require changes to the ancillary horology result
 files until after then).
2001-12-29 18:31:48 +00:00
Bruce Momjian 3e87bfc1f1 Add crossdb TODO.detail item. 2001-12-29 17:58:15 +00:00
Bruce Momjian 51517f514d Add crossdb TODO.detail item:
---
> * Allow queries across multiple databases [crossdb]
2001-12-29 17:56:46 +00:00
Bruce Momjian c80a067cae Update server DEBUG startup tag fixes:
> * Change DEBUG startup tag to NOTICE;  change NOTICE to output to client
>   only if client exists (Bruce)

This item is not done:

< * -Make elog(LOG) in WAL its own output type, distinct from DEBUG (Peter E)
---
> * Make elog(LOG) in WAL its own output type, distinct from DEBUG
2001-12-29 17:19:03 +00:00
Bruce Momjian a78337908f Add to java. 2001-12-29 17:06:22 +00:00
Bruce Momjian 0d3aebbc86 Added
> * Add --port flag to regression tests
2001-12-29 05:22:37 +00:00
Bruce Momjian fcac3b09ca Update FAQ_DEV. 2001-12-29 05:15:42 +00:00
Bruce Momjian 54481d10f3 Update FAQ_DEV. 2001-12-29 05:12:45 +00:00
Bruce Momjian 3c70669e7e Added
> * Change FIXED_CHAR_SEL to 0.20 from 0.04 to give better selectivity (Bruce)
2001-12-29 04:55:45 +00:00
Bruce Momjian e0de8d9821 Update FAQ_DEV. 2001-12-29 03:42:59 +00:00
Tom Lane 198152730b Improve LOCK_DEBUG logging code for LWLocks. 2001-12-28 23:26:04 +00:00
Bruce Momjian ce286ff6b5 Added
> * Report failure to find readline or zlib at end of configure run
2001-12-28 19:47:50 +00:00
Bruce Momjian 472186af96 Add
> 	o Change syntax to WITH DELIMITER, (keep old syntax around?)
2001-12-28 19:44:20 +00:00
Bruce Momjian 3ab5ac86e8 Add
> * Add WAL index reliability improvement to non-btree indexes
2001-12-28 19:35:52 +00:00
Peter Eisentraut 9d6d4dfeeb Update from Serguei Mokhov 2001-12-28 18:47:54 +00:00
Bruce Momjian f7dfb1c606 Add pljava messages. 2001-12-28 18:33:44 +00:00
Bruce Momjian e32ee1fabe Typo.
< * Improve access-permissions check on data directory in CYGWIN (Tom)
---
> * Improve access-permissions check on data directory in Cygwin (Tom)
2001-12-28 18:31:14 +00:00
Bruce Momjian ce845c530e Added
<
---
> * Improve access-permissions check on data directory in CYGWIN (Tom)
2001-12-28 18:30:50 +00:00
Tom Lane d3fc362ec2 Ensure that all direct uses of spinlock-protected data structures use
'volatile' pointers to access those structures, so that optimizing
compilers will not decide to move the structure accesses outside of the
spinlock-acquire-to-spinlock-release sequence.  There are no known bugs
in these uses at present, but based on bad experience with lwlock.c,
it seems prudent to ensure that we protect these other uses too.
Per pghackers discussion around 12-Dec.  (Note: it should not be
necessary to worry about structures protected by LWLocks, since the
LWLock acquire and release operations are not inline macros.)
2001-12-28 18:16:43 +00:00
Bruce Momjian 774490c3db Add
> * Allow binding query args over FE/BE protocol
2001-12-28 05:26:25 +00:00
Bruce Momjian 6b2f169d67 Added
> 	o Have ALTER TABLE OWNER change all dependant objects like indexes
2001-12-28 05:09:13 +00:00
Bruce Momjian c23f380ff4 Add thread item. 2001-12-28 05:04:59 +00:00
Bruce Momjian 593377f70c Add more Christof Petig ecpg items. 2001-12-28 05:03:10 +00:00
Bruce Momjian 36e42823fb Christof Petig changes where for HISTORY, not TODO. 2001-12-28 05:02:50 +00:00
Bruce Momjian 52c780e04b Oops, back out paren fix. That is for 7.3. 2001-12-28 05:01:05 +00:00
Bruce Momjian deab927470 Add mention of Christof Petig for ecpg items. 2001-12-28 05:00:32 +00:00
Bruce Momjian dbaddcfd2b Added for Christof Petig:
< 	o Allow SELECT of array of strings into a auto-sized variable
---
> 	o -Allow SELECT of array of strings into a auto-sized variable

> 	o auto allocation for indicator variable arrays (int *ind_p=NULL)
> 	o auto allocation for string arrays (char **foo_pp=NULL)
> 	o ECPGfree_auto_mem fixed
> 	o all function names with external linkage are now prefixed by ECPG
2001-12-28 04:57:55 +00:00
Bruce Momjian a740c228a5 Added:
> * Add OpenBSD's getpeereid() call for local socket authentication (Bruce)
2001-12-28 04:32:44 +00:00
Bruce Momjian a6e59234f7 Update to show current capability and future direction, from Peter:
> * -Allow secure single-user access without passwords using Unix socket permissions
> * Make single-user local socket access permissions the default (Peter E)
2001-12-28 04:30:18 +00:00
Bruce Momjian 107c5a83e1 Added:
! * Add PGPASSWORDFILE environment variable or ~/.pgpass to store
!   user/host/password combinations
2001-12-28 03:30:30 +00:00
Bruce Momjian 21e7e7e724 I know we talked about this in the past but I never got it on the TODO
list:

	* Add optional CRC checksum to heap and index pages
2001-12-28 02:30:37 +00:00
Tom Lane 6f0f5bf2fb Expand on description of when to use or not use TRUST auth method. 2001-12-27 21:37:34 +00:00
Tom Lane 9935a85fa4 Document obj_description and col_description functions; expand
description of COMMENT command.
2001-12-27 21:36:57 +00:00