1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-23 14:01:44 +03:00
Commit Graph

14036 Commits

Author SHA1 Message Date
f27b0eeea7 Remove:
< * Allow only owner to create indexes
2002-01-04 04:53:26 +00:00
dc6b4deb97 Require ownership permission for CREATE INDEX, per bug report.
Disallow CREATE INDEX on system catalogs, non-tables (views, sequences, etc).
Disallow CREATE/DROP TRIGGER on system catalogs, non-tables.
Disallow ALTER TABLE ADD/DROP CONSTRAINT on system catalogs.
Disallow FOREIGN KEY reference to non-table.
None of these things can actually work in the present system structure,
but the code was letting them pass without complaint.
2002-01-03 23:21:32 +00:00
d02f0aaa3b Instead of waiting a fixed amount of time for the test postmaster to
start up, wait until a psql connection attempt succeeds.  Per gripe
from Jason Tishler.
2002-01-03 21:52:05 +00:00
0e3793e621 Prefer savepoints term:
< 	  allow error codes to be specified; requires nested transactions
---
> 	  allow error codes to be specified; requires savepoints
321c321
< * Allow nested transactions / savepoints [transactions]
---
> * Allow savepoints / nested transactions [transactions]
2002-01-03 21:15:04 +00:00
a2dc469ac7 Update:
< 	  allow error codes to be specified
---
> 	  allow error codes to be specified; requires nested transactions
2002-01-03 20:42:23 +00:00
ab20692e1e SPI_cursor_open must copy by-reference parameter values into the
portal's memory context, so that they will live as long as the portal does.
2002-01-03 20:30:47 +00:00
6d78fdae7f Add:
> 	o Allow COPY to report error lines and continue;  optionally
> 	  allow error codes to be specified
2002-01-03 18:25:43 +00:00
258af1d57a Add:
> * Make equals sign optional in CREATE DATABASE WITH param = 'val'
2002-01-03 18:22:43 +00:00
8dcc4c058d Added:
> * Prevent create/drop scripts from allowing extra args (Bruce)
2002-01-03 18:13:14 +00:00
f7fb29dec3 Shouldn't try to copy null datums with datumCopy. 2002-01-03 18:01:59 +00:00
b8ef396d6b Added:
> * Allow only owner to create indexes
2002-01-03 17:31:52 +00:00
13acb5b37d Updated:
< * Add config file check for $ODBCINI, $HOME/.odbc.ini, and /etc/odbc.ini
---
> * Add config file check for $ODBCINI, $HOME/.odbc.ini, installpath/etc/odbc.ini
2002-01-03 17:29:31 +00:00
85974a75fc Add to java mention of pl/j. 2002-01-03 17:18:19 +00:00
b9da4b726c Droplang didn't have test for -l, list. This was really broken too.
Took test from createlang.
2002-01-03 08:53:00 +00:00
4ecd278991 Add mention that createlang.sh indirection not needed but kept for later. 2002-01-03 08:38:00 +00:00
8be67450aa Update FAQ_DEV. 2002-01-03 08:20:54 +00:00
5b24a98f2a Update FAQ_DEV. 2002-01-03 08:13:51 +00:00
9c00d0de57 Added
> * Add config file check for $ODBCINI, $HOME/.odbc.ini, and /etc/odbc.ini
2002-01-03 08:04:16 +00:00
b96b0415fa Added suggested syntax:
> * Make it easier to create a database owned by someone who can't createdb,
>   perhaps CREATE DATABASE dbname WITH USER = "user"
2002-01-03 08:01:17 +00:00
b490469cb9 > > On Fri, Dec 21, 2001 at 11:43:21AM +0800, Christopher Kings-Lynne
wrote:
> > > Just testing pgcrypto on freebsd/alpha.  I get some warnings:
> > They should be harmless, although I should fix them.
>
> The actual code is:
>
>     if ((dlen & 15) || (((unsigned) res) & 3))
>         return -1;

> Hard to imagine how (uint *) & 3 makes any sense, unless res isn't
> always a (uint8 *).  Is that true?

At some point it was casted to (uint32*) so I wanted to be sure its ok.
ATM its pointless.  Please apply the following patch.

--
marko
2002-01-03 07:21:48 +00:00
bc29b06b0a Add mention of index on foreign key for frequently updated primary key
tables.
2002-01-03 06:26:22 +00:00
a4ee277e17 droplang had same problem as createlang; default are backwards and did
not work.  Fixed to match createlang.
2002-01-03 06:09:02 +00:00
f9b792c5c3 Add to pool discussion. 2002-01-03 05:52:48 +00:00
2446e300fa Added
< 	o Move to using 'make' rather than 'ant'(?)
---
> 	o Support both 'make' and 'ant'
2002-01-03 05:48:48 +00:00
9d77dcc366 Add mention of PRIMARY in ALTER TABLE ... [ UNIQUE | PRIMARY ] 2002-01-03 05:37:43 +00:00
04f3342e03 In createlang, make dbname optional, not langname, or rather, make
existing code of dbname optional actually work.
2002-01-03 05:30:04 +00:00
b3d9768f3b Remove:
< * Change 'createlang [langname] dbname' to 'createlang langname [dbname]'
2002-01-03 05:20:34 +00:00
d5de91ddad Added:
> * Change 'createlang [langname] dbname' to 'createlang langname [dbname]'
2002-01-03 05:06:50 +00:00
b36df04ce2 Guard against roundoff errors in new selectivity-estimation code,
per bug report from Laurette Cisneros.
2002-01-03 04:02:34 +00:00
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
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
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
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
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
6b086de31a Update dbase for Maarten.Boekhold. 2001-12-31 13:32:04 +00:00
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
e7d9a6bf63 Repair example, per note in interactive docs. 2001-12-30 04:36:52 +00:00
23ef0926e1 Update FAQ_DEV. 2001-12-30 04:31:29 +00:00
3f53ad7108 *** empty log message *** 2001-12-30 01:51:10 +00:00
550d38458c Add
> * Make locking of shared data structures more fine-grained
2001-12-30 01:48:23 +00:00
6f901b6f5a Oops, only wanted datetime.c changes in there. lock stuff reversed out. 2001-12-29 21:30:32 +00:00
9e7b9c6f54 Fix newly introduced datetime.c compile failure; not enough parens. 2001-12-29 21:28:18 +00:00
48ad40ba99 Added
> * Change factorial to return a numeric
2001-12-29 20:40:42 +00:00
642f2fe7cf Add missing <varlistentry>; shown in build logs. 2001-12-29 20:29:49 +00:00
b7a0af7d64 Check a bit more carefully for preceeding ISO field tags
when decoding date fields.
2001-12-29 18:40:58 +00:00
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
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
3e87bfc1f1 Add crossdb TODO.detail item. 2001-12-29 17:58:15 +00:00
51517f514d Add crossdb TODO.detail item:
---
> * Allow queries across multiple databases [crossdb]
2001-12-29 17:56:46 +00:00
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