- 02 7月, 2006 2 次提交
-
-
由 Bruce Momjian 提交于
< o Add ALTER TABLE tab ADD/DROP INHERITS parent < < This allows tables to be added/removed from an inheritance < hierarchy. This is particularly useful for table partitioning. < http://archives.postgresql.org/pgsql-hackers/2006-05/msg00988.php < > o -Add ALTER TABLE tab INHERIT / NO INHERIT parent
-
由 Bruce Momjian 提交于
Open items: There were a few tangentially related issues that have come up that I think are TODOs. I'm likely to tackle one or two of these next so I'm interested in hearing feedback on them as well. . Constraints currently do not know anything about inheritance. Tom suggested adding a coninhcount and conislocal like attributes have to track their inheritance status. . Foreign key constraints currently do not get copied to new children (and therefore my code doesn't verify them). I don't think it would be hard to add them and treat them like CHECK constraints. . No constraints at all are copied to tables defined with LIKE. That makes it hard to use LIKE to define new partitions. The standard defines LIKE and specifically says it does not copy constraints. But the standard already has an option called INCLUDING DEFAULTS; we could always define a non-standard extension LIKE table INCLUDING CONSTRAINTS that gives the user the option to request a copy including constraints. . Personally, I think the whole attislocal thing is bunk. The decision about whether to drop a column from children tables or not is something that should be up to the user and trying to DWIM based on whether there was ever a local definition or the column was acquired purely through inheritance is hardly ever going to match up with user expectations. . And of course there's the whole unique and primary key constraint issue. I think to get any traction at all on this you have a prerequisite of a real partitioned table implementation where the system knows what the partition key is so it can recognize when it's a leading part of an index key. Greg Stark
-
- 30 6月, 2006 2 次提交
-
-
由 Bruce Momjian 提交于
< * Add 128-bit Universally Unique Identifier (UUID) > * Add Globally/Universally Unique Identifier (GUID/UUID)
-
由 Tom Lane 提交于
be delivered directly to the collector process. The extra process context swaps required to transfer data through the buffer process seem to outweigh any value the buffering might have. Per recent discussion and tests. I modified Bruce's draft patch to use poll() rather than select() where available (this makes a noticeable difference on my system), and fixed up the EXEC_BACKEND case.
-
- 29 6月, 2006 4 次提交
-
-
由 Bruce Momjian 提交于
> * Add 128-bit Universally Unique Identifier (UUID)
-
由 Neil Conway 提交于
made as part of the recent INCLUDING CONSTRAINTS patch. The text could stand further improvement, but this is at least a step in the right direction.
-
- 28 6月, 2006 7 次提交
-
-
由 Bruce Momjian 提交于
< o Add support for WITH HOLD cursors > o Add support for WITH HOLD and SCROLL cursors > > PL/pgSQL cursors should support the same syntax as > backend cursors. >
-
由 Bruce Momjian 提交于
Viktor Vislobokov
-
由 Bruce Momjian 提交于
for every command, default to on.
-
由 Bruce Momjian 提交于
-
由 Bruce Momjian 提交于
* %Disallow changing default expression of a SERIAL column Dhanaraj M
-
由 Bruce Momjian 提交于
> * -Disallow changing DEFAULT expression of a SERIAL column
-
由 Bruce Momjian 提交于
< * -Disallow changing DEFAULT expression of a SERIAL column > * %Disallow changing DEFAULT expression of a SERIAL column
-
- 27 6月, 2006 5 次提交
-
-
由 Bruce Momjian 提交于
Greg Stark
-
由 Bruce Momjian 提交于
< * %Disallow changing DEFAULT expression of a SERIAL column? < < This should be done only if the existing SERIAL problems cannot be < fixed. < > * -Disallow changing DEFAULT expression of a SERIAL column
-
由 Bruce Momjian 提交于
> o -Add PQescapeIdentifier()
-
由 Bruce Momjian 提交于
Christopher Kings-Lynne
-
由 Tom Lane 提交于
will be expanded to a list of their member fields, rather than creating a nested rowtype field as formerly. (The old behavior is still available by omitting '.*'.) This syntax is not allowed by the SQL spec AFAICS, so changing its behavior doesn't violate the spec. The new behavior is substantially more useful since it allows, for example, triggers to check for data changes with 'if row(new.*) is distinct from row(old.*)'. Per my recent proposal.
-
- 26 6月, 2006 3 次提交
-
-
由 Bruce Momjian 提交于
-
由 Bruce Momjian 提交于
> * Bruce is Bruce Momjian <bruce@momjian.us> of EnterpriseDB
-
由 Bruce Momjian 提交于
< * Reuse index tuples that point to rows that are not visible to anyone? > * Reuse index tuples that point to heap tuples that are not visible to > anyone?
-
- 25 6月, 2006 2 次提交
-
-
由 Bruce Momjian 提交于
< * Allow heap reuse of UPDATEd rows if old and new versions are on the < same heap page? > * Allow heap reuse of UPDATEd rows if no indexed columns are changed, > and old and new versions are on the same heap page? < This is possible for same-page updates because a single index row < can point to both old and new values. > While vacuum handles DELETEs fine, updating of non-indexed columns, like > counters, are difficult for VACUUM to handle efficiently. This method > is possible for same-page updates because a single index row can be > used to point to both old and new values.
-
由 Bruce Momjian 提交于
> > * Allow heap reuse of UPDATEd rows if old and new versions are on the > same heap page? > > This is possible for same-page updates because a single index row > can point to both old and new values. > http://archives.postgresql.org/pgsql-hackers/2006-06/msg01305.php
-
- 20 6月, 2006 1 次提交
-
-
由 Tom Lane 提交于
functions.
-
- 19 6月, 2006 2 次提交
-
-
由 Tom Lane 提交于
current commands; instead, store current-status information in shared memory. This substantially reduces the overhead of stats_command_string and also ensures that pg_stat_activity is fully up to date at all times. Per my recent proposal.
-
由 Bruce Momjian 提交于
-
- 18 6月, 2006 1 次提交
-
-
由 Peter Eisentraut 提交于
symlink is kept for now for compatibility. To call single-user mode, use postgres --single.
-
- 17 6月, 2006 11 次提交
-
-
由 Tom Lane 提交于
SQLSTATEs, fix some documentation problems.
-
由 Tom Lane 提交于
leading zeroes from the SQLSTATE codes. They're strings, people, not numbers.
-
由 Andrew Dunstan 提交于
docs for DROP ... IF EXISTS for the following cases: language, tablespace, trigger, rule, opclass, function, aggregate. operator, and cast.
-
由 Bruce Momjian 提交于
> o Allow PL/python to composite types and result sets > once buggy assert-enabled versions of python can be detected > > http://archives.postgresql.org/pgsql-patches/2006-04/msg00087.php
-
由 Bruce Momjian 提交于
> > * Fix CREATE CAST on DOMAINs > > http://archives.postgresql.org/pgsql-hackers/2006-05/msg00072.php
-
由 Bruce Momjian 提交于
Backpatch documentation addition to 8.1.X.
-
由 Bruce Momjian 提交于
> * Consider shrinking expired tuples to just their headers > http://archives.postgresql.org/pgsql-patches/2006-03/msg00142.php
-
由 Bruce Momjian 提交于
* Auto-fill the free space map by scanning the buffer cache or by checking pages written by the background writer
-