- 02 7月, 2005 3 次提交
-
-
由 Bruce Momjian 提交于
< o Replace crude DELETE FROM method of pg_dumpall for cleaning of < roles with separate DROP commands > o Replace crude DELETE FROM method of pg_dumpall --clean for > cleaning of roles with separate DROP commands
-
由 Bruce Momjian 提交于
< * Allow limits on per-db/user connections > * Allow limits on per-db/role connections < * Prevent default re-use of sysids for dropped users and roles < < Currently, if a user is removed while he still owns objects, a new < user given might be given their user id and inherit the < previous users objects. < 450c444 < * Add COMMENT ON for all cluster global objects (users, roles, databases > * Add COMMENT ON for all cluster global objects (roles, databases 609c603 < users and roles with separate DROP commands > roles with separate DROP commands
-
由 Bruce Momjian 提交于
< * Prevent default re-use of sysids for dropped users and groups > * Prevent default re-use of sysids for dropped users and roles 450c450 < * Add COMMENT ON for all cluster global objects (users, groups, databases > * Add COMMENT ON for all cluster global objects (users, roles, databases 609c609 < users and groups with separate DROP commands > users and roles with separate DROP commands
-
- 01 7月, 2005 8 次提交
-
-
由 Bruce Momjian 提交于
< * Add group object ownership, so groups can rename/drop/grant on objects, < so we can implement roles
-
由 Bruce Momjian 提交于
> o -Add dumping and restoring of LOB comments
-
由 Teodor Sigaev 提交于
- Fix wrong index results on text, char, varchar for multibyte strings - Fix some SIGFPE signals - Add support for infinite timestamps - Because of locale settings, btree_gist can not be a prefix index anymore (for text). Each node holds now just the lower and upper boundary.
-
由 Bruce Momjian 提交于
-
由 Teodor Sigaev 提交于
-
由 Neil Conway 提交于
pgtypeslib: (1) we need to check the return value of sub_abs() (2) we need to check the return value of 4 calls to digitbuf_alloc(). Per Coverity static analysis performed by EnterpriseDB.
-
由 Neil Conway 提交于
non-NULL in this function, so there is no need to check for it (2) we should check the return value of pgtypes_strdup(). Patch from Eric Astor at EnterpriseDB, with slight cleanup by myself, per a report from the Coverity tool.
-
由 Teodor Sigaev 提交于
- add forgotten check of lsn for insert completion - remove level of pages: hard to check in recovery - some cleanups
-
- 30 6月, 2005 10 次提交
-
-
由 Peter Eisentraut 提交于
-
由 Neil Conway 提交于
or zero-filled; therefore zero-filling it via memset() is pointless. (I think setting `errno' is probably a waste of cycles as well, but I haven't changed that.)
-
由 Neil Conway 提交于
remove old-style function declarations, and mark a function "static". There are some remaining warnings, but this fixes most of them, anyway.
-
由 Neil Conway 提交于
-
由 Neil Conway 提交于
include.
-
由 Tom Lane 提交于
-
由 Neil Conway 提交于
malloc() succeeded but the second failed, the buffer allocated by the first malloc() would be leaked. Fix this by allocating both buffers via a single malloc(), as suggested by Tom. Per Coverity static analysis performed by EnterpriseDB.
-
由 Tom Lane 提交于
the difference between checkpoints forced due to WAL segment consumption and checkpoints forced for other reasons (such as CREATE DATABASE). Avoid generating 'checkpoints are occurring too frequently' messages when the checkpoint wasn't caused by WAL segment consumption. Per gripe from Chris K-L.
-
由 Tom Lane 提交于
current time: provide a GetCurrentTimestamp() function that returns current time in the form of a TimestampTz, instead of separate time_t and microseconds fields. This is what all the callers really want anyway, and it eliminates low-level dependencies on AbsoluteTime, which is a deprecated datatype that will have to disappear eventually.
-
由 Tom Lane 提交于
role memberships; make superuser/createrole distinction do something useful; fix some locking and CommandCounterIncrement issues; prevent creation of loops in the membership graph.
-
- 29 6月, 2005 7 次提交
-
-
由 Teodor Sigaev 提交于
-
由 Bruce Momjian 提交于
Karl O. Pinc
-
由 Bruce Momjian 提交于
Victor Y. Yegorov
-
由 Bruce Momjian 提交于
-
由 Bruce Momjian 提交于
Remove extra backslash in pattern. Luke Lonergan
-
由 Tom Lane 提交于
In particular, make hba.c cope with zero-length tokens, which it never did properly before. Also, enforce rolcanlogin.
-
由 Tom Lane 提交于
syntactic conflicts, both privilege and role GRANT/REVOKE commands have to use the same production for scanning the list of tokens that might eventually turn out to be privileges or role names. So, change the existing GRANT/REVOKE code to expect a list of strings not pre-reduced AclMode values. Fix a couple other minor issues while at it, such as InitializeAcl function name conflicting with a Windows system function.
-
- 28 6月, 2005 4 次提交
-
-
由 Teodor Sigaev 提交于
-
由 Tom Lane 提交于
-
由 Tom Lane 提交于
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.
-
由 Bruce Momjian 提交于
> * -Add concurrency to GIST
-
- 27 6月, 2005 8 次提交
-
-
由 Teodor Sigaev 提交于
- full concurrency for insert/update/select/vacuum: - select and vacuum never locks more than one page simultaneously - select (gettuple) hasn't any lock across it's calls - insert never locks more than two page simultaneously: - during search of leaf to insert it locks only one page simultaneously - while walk upward to the root it locked only parent (may be non-direct parent) and child. One of them X-lock, another may be S- or X-lock - 'vacuum full' locks index - improve gistgetmulti - simplify XLOG records Fix bug in index_beginscan_internal: LockRelation may clean rd_aminfo structure, so move GET_REL_PROCEDURE after LockRelation
-
由 Tom Lane 提交于
name matches the name of any parent-table constraint, without looking at the constraint text. This is a not-very-bulletproof workaround for the problem exhibited by Berend Tober last month. We really ought to record constraint inheritance status in pg_constraint, but it's looking like that may not get done for 8.1 --- and even if it does, we will need this kluge for dumping from older servers.
-
由 Bruce Momjian 提交于
> * -Remove kerberos4 from source tree
-
由 Neil Conway 提交于
some security issues, and upstream has declared it "dead". Patch from Magnus Hagander, minor editorialization from Neil Conway.
-
由 Bruce Momjian 提交于
> o -Allow PL/pgSQL EXECUTE query_var INTO record_var;
-
由 Tom Lane 提交于
wrong, but nobody noticed because they were also useless.
-
由 Tom Lane 提交于
works properly for 1-D comparisons. Fix some other errors such as bogus commutator specifications.
-
由 Tom Lane 提交于
with a table that has a small predicted size. Avoids wasting several hundred K on the timezone hash table, which is likely to have only one or a few entries, but the entries use up 10Kb apiece ...
-