TODO 10.0 KB
Newer Older
B
Bruce Momjian 已提交
1
====================================================
B
Bruce Momjian 已提交
2
TODO list (FAQ) for PostgreSQL
B
Bruce Momjian 已提交
3
====================================================
B
Bruce Momjian 已提交
4
last updated:		Wed May 14 17:51:33 EDT 1997
M
Marc G. Fournier 已提交
5 6 7

current maintainer:	Bruce Momjian (maillist@candle.pha.pa.us)

B
Bruce Momjian 已提交
8
The most recent version of this document can be viewed at
B
Bruce Momjian 已提交
9
the postgreSQL WWW site, http://www.postgreSQL.org.
B
Bruce Momjian 已提交
10

B
Bruce Momjian 已提交
11
Dashed items(-) are being worked on for the 6.1 release.
B
Bruce Momjian 已提交
12

B
Bruce Momjian 已提交
13
THE CHANGES FOR 6.1 APPEAR AT THE END OF THIS DOCUMENT
B
Bruce Momjian 已提交
14 15 16 17 18

Developers who have claimed items are:
	Bruce is Bruce Momjian<maillist@candle.pha.pa.us>
	Bryan is Bryan Henderson<bryanh@giraffe.netgate.net>
	Dan is Dan McGuirk <mcguirk@indirect.com>
B
Bruce Momjian 已提交
19
	Daniel is Daniel Kalchev <daniel@digsys.bg>
B
Bruce Momjian 已提交
20 21 22
	Darren is Darren King <darrenk@insightdist.com>
	Edmund is Edmund Mergl <E.Mergl@bawue.de>
	Erich Stamberger <eberger@gewi.kfunigraz.ac.at>
B
Bruce Momjian 已提交
23
	Jun is Jun Kuwamura <juk@rccm.co.jp>
B
Bruce Momjian 已提交
24 25
	Kurt is "Kurt J. Lidl" <lidl@va.pubnix.com>
 	Martin is Martin S. Utesch <utesch@aut.tu-freiberg.de>
B
Bruce Momjian 已提交
26 27 28 29 30 31
	Oleg is Oleg Bartunov <oleg@sai.msu.su>
	Paul is Paul M. Aoki <aoki@CS.Berkeley.EDU>
	Raymond is Raymond Toy <toy@rtp.ericsson.se>
	Soo-Ho Ok <shok@detc.dongeui-tc.ac.kr>
	Stefan Simkovics <ssimkovi@rainbow.studorg.tuwien.ac.at>
	Sven is Sven Verdoolaege <skimo@breughel.ufsia.ac.be>
B
Bruce Momjian 已提交
32
	Thomas is Thomas Lockhart <tgl@mythos.jpl.nasa.gov>
B
Bruce Momjian 已提交
33 34
	Vadim is "Vadim B. Mikheev" <vadim@sable.krasnoyarsk.su>
	Vivek is Vivek Khera <khera@kci.kciLink.com>
M
Marc G. Fournier 已提交
35 36 37

RELIABILITY
-----------
B
Bruce Momjian 已提交
38 39 40 41
-Overhaul mdmgr/smgr to fix double unlinking and double opens, cleanup(Erich)
-Overhaul bufmgr/lockmgr/transaction manager(Vadim)
remove -S (stable memory) option or fix memory manager
Fix CLUSTER
M
Marc G. Fournier 已提交
42
Fix all NULL features
B
Bruce Momjian 已提交
43
	allow psql to print nulls meaningfully
B
Bruce Momjian 已提交
44
Fix compile and security of Kerberos/GSSAPI code (Daniel Kalchev?)
B
Bruce Momjian 已提交
45
Dropping a table twice causes corruption, drop/create not rollback-able
B
Bruce Momjian 已提交
46
-SUM aggregate on no rows or null value should return NULL, not zero(Thomas)
B
Bruce Momjian 已提交
47
SELECT on two tables where zero or one table in WHERE and target
B
Bruce Momjian 已提交
48
 	clause returns no rows
B
Bruce Momjian 已提交
49 50
COUNT on VIEW always returns zero (maybe because there is no oid for views?)
CREATE VIEW requires super-user priviledge
51 52 53
SELECT a[1] FROM test fails, it needs test.a[1]
INSERT INTO ... SELECT DISTINCT ... generates error on DISTINCT
pg_database.datdba is oid, should be int4
B
Bruce Momjian 已提交
54 55 56 57
fix array diffs in regression test
can lo_export()/lo_import() read/write anywhere, causing a security problem?
SELECT ... INTO TABLE ... with varchar()/char() types have zero-length fields
Fix UPDATE key_table SET keyval=max(reftab.NUM)+1 WHERE tblname='reftab'
M
Marc G. Fournier 已提交
58 59 60

ENHANCEMENTS
------------
B
Bruce Momjian 已提交
61
Add full ANSI SQL capabilities (Stefan)
B
Bruce Momjian 已提交
62 63 64
	add subselects, possibility using temporary SQL functions
	Implement HAVING clause
	Implement EXISTS qualifier
65
	column constraints (using rules), PRIMARY KEY during table creation
B
Bruce Momjian 已提交
66
	add DEFAULT, RESTRAINT, and CHECK capabilities
M
Marc G. Fournier 已提交
67
	report "Not implemented" if valid syntax is supplied
68
	add NOT NULL to CREATE statement
B
Bruce Momjian 已提交
69
	add OUTER joins, left and right
M
Marc G. Fournier 已提交
70 71 72 73 74 75 76
	make VIEWs updateable where possible
	add UNIONS, INTERSECTS, SUBTRACTS
	add temporary tables
	add assertions
	add domains
	add sql3 recursive unions
	add the concept of dataspaces
B
Bruce Momjian 已提交
77
	allow conversion type casts on SELECT target fields
M
Marc G. Fournier 已提交
78
Allow compression of large fields or a compressed field type
B
Bruce Momjian 已提交
79
Fix the rules system(Jan?,Soo-Ho)
M
Marc G. Fournier 已提交
80 81
	robust
	making INSTEAD rules work
B
Bruce Momjian 已提交
82
	add CONSTRAINT
M
Marc G. Fournier 已提交
83
Full set of text operations and functions
B
Bruce Momjian 已提交
84 85
-	upper/lower()
	word searches, concat,max() on text, char
B
Bruce Momjian 已提交
86
Replace table-level locking with row or page-level locking(Vadim)
M
Marc G. Fournier 已提交
87 88 89
Large objects
	overwriting blocks has problems
	there are other problems, too.
B
Bruce Momjian 已提交
90 91
	Fix large object mapping scheme
	not to stuff everything as files in a single directory
M
Marc G. Fournier 已提交
92
Better interface for adding to pg_group
B
Bruce Momjian 已提交
93
-Make multi-field indexes easier to create(Vadim)
M
Marc G. Fournier 已提交
94
	allow optimizer to effectively use parameters without accessing table
B
Bruce Momjian 已提交
95 96 97
-Add int8 type(Thomas)
-Add MONEY/DECIMAL type(Thomas)
Make MONEY/DECIMAL have a defined precision
B
Bruce Momjian 已提交
98 99
Add support for tables >2G, or test current version
Incorporate the PERL PG95 interface library into source tree(Edmund)
M
Marc G. Fournier 已提交
100
Threaded version of the server or libpq
B
Bruce Momjian 已提交
101
Allow libpq to cancel query requests
M
Marc G. Fournier 已提交
102
Add REGEX internationalization
B
Bruce Momjian 已提交
103 104 105 106
Add other language types for built-in functions
	expand to allow tcl, perl, java,
	generalize the function manager switch to pass 
		function sources to interpreter engines.
B
Bruce Momjian 已提交
107 108 109 110
remove time-travel feature(Vadim)
reduce system column overhead(Vadmin)
remove pg_time table(Vadim)
allow row re-use without vacuum, maybe?(Vadim)
B
Bruce Momjian 已提交
111
-split apart row removal function from statistics function(Vadim)
B
Bruce Momjian 已提交
112
can't vacuum large objects
B
Bruce Momjian 已提交
113
can't reduce index file size with vacuum
B
Bruce Momjian 已提交
114
Remove restriction that ORDER BY field must be in SELECT list(?)
B
Bruce Momjian 已提交
115 116
Allow queries about owner of datbases, tables like:
        SELECT u.usesysid FROM postgres.pg_user u;
B
Bruce Momjian 已提交
117
DROP AGGREGATE should take in basetype as an arg(Darren)
B
Bruce Momjian 已提交
118 119
Add word index for text fields, maybe with trigrams, i.e.:
    ' (cat | dog) & ! fox ' meaning text has cat or dog, but not fox
B
Bruce Momjian 已提交
120
-Add common-sense constant type promotions(Bruce)
B
Bruce Momjian 已提交
121
Allow readline-type or editor command editing of multi-line SQL commands
B
Bruce Momjian 已提交
122
-Allow pg_dump to dump all databases at a site in one command(Bruce)
B
Bruce Momjian 已提交
123 124 125 126 127 128
Populate backend status area and write program to dump status data
Add ALTER TABLE DROP COLUMN feature
Remove stale files upon startup(Vivek)
Add command to show privileges
Allow INSERT INTO ... SELECT to convert column types
Add syslog functionality
B
Bruce Momjian 已提交
129
Allow aggregate for all types, like count(Darren)
B
Bruce Momjian 已提交
130 131
Improve optimizer plan choice(Darren)
Add STDDEV/VARIANCE() function for standard deviation computation/variance
B
Bruce Momjian 已提交
132
Add table/column/function discription table indexed by oid
B
Bruce Momjian 已提交
133
-make all identifiers case-insensitive(Bruce)
B
Bruce Momjian 已提交
134
add pg_type attribute to identify types that need length (bpchar, varchar)
135
add UNIQUE capability to non-btree indexes
B
Bruce Momjian 已提交
136 137 138 139 140 141 142
-allow GROUP BY on columns that on functions(Vadim)
-add non-ascii collating strings with strcoll() and setlocale (Oleg)
-new DATE routines (Thomas)
-index NULL fields(Vadim)
-Add SERIAL column type(Vadim)
-Add multi-column indexes(Vadim)
-Add SET VAR TO command
B
Bruce Momjian 已提交
143 144 145 146

PERFORMANCE
-----------
Optimizing disjunctive queries
B
Bruce Momjian 已提交
147 148
-Add Genetic Query Optimzation for many tables (Martin)
-Fix bushy-plans (Martin)
B
Bruce Momjian 已提交
149 150 151 152 153 154 155
Other optimizer bugs
Is fsync use optimized?
Multi-representational types, a la Illustra. For example, have a
       text type that is stored in-tuple when less than 8K and in large
       objects, when greater than 8K.
Use indexes in ORDER BY
Profile engine in INSERT's and other operations
B
Bruce Momjian 已提交
156
-Speed up hash creation by using btree's fast sort/insert routines(done)
B
Bruce Momjian 已提交
157 158 159
Cache most recent query plan(s?)
Allow compression of log and meta data
Allow LIKE/wildcard matches to use indexes if the wildcard character is not first
B
Bruce Momjian 已提交
160
Add FILLFACTOR to index creation
B
Bruce Momjian 已提交
161
Allow indexes to be used with OR clauses(Vadim)
B
Bruce Momjian 已提交
162 163
-Add column optimization statistics to vacuum(Bruce)
-Change pg_attribute.attnvals name to attdispursion and change type float4
B
Bruce Momjian 已提交
164
	update pg_statistic table to remove operator column
M
Marc G. Fournier 已提交
165 166 167

DOCUMENTATION
-------------
B
Bruce Momjian 已提交
168
Update usermanual source(many)
B
Bruce Momjian 已提交
169 170
remove time-travel in documentation(Bruce)
added features used in grammer but not in docs, like :: and CAST
B
Bruce Momjian 已提交
171
add DECLARE manual page
M
Marc G. Fournier 已提交
172 173 174

PORTABILITY
-----------
B
Bruce Momjian 已提交
175
Change c.h "Index" and "bool" so they do not conflict with c++
B
Bruce Momjian 已提交
176
 
B
Bruce Momjian 已提交
177 178 179

---------------------------------------------------------------------------

B
Bruce Momjian 已提交
180
                      CHANGES IN THE 6.1 RELEASE
B
Bruce Momjian 已提交
181

182 183 184 185 186 187 188 189 190 191
Bug Fixes
---------
packet length checking in library routines
lock manager priority patch
check for under/over flow of float8(Bruce)
multi-table join fix(Vadim)
SIGPIPE crash fix(Darren)
large object fixes(Sven)
allow btree indexes to handle NULLs(Vadim)
timezone fixes(D'Arcy)
B
Bruce Momjian 已提交
192
select SUM(x) can return NULL on no rows(Thomas)
193 194 195 196 197 198 199 200 201 202
internal optimizer, executor bug fixes(Vadim)
fix problem where inner loop in < or <= has no rows(Vadim)
prevent re-commuting join index clauses(Vadim)
fix join clauses for multiple tables(Vadim)
fix hash, hashjoin for arrays(Vadim)
fix btree for abstime type(Vadim)
large object fixes(Raymond)

Enhancements
------------
B
Bruce Momjian 已提交
203 204 205 206
attribute optimization statistics(Bruce)
much faster new btree bulk load code(Paul)
BTREE UNIQUE added to bulk load code(Vadim) 
new lock debug code(Massimo)
207
massive changes to libpg++(Leo)
B
Bruce Momjian 已提交
208 209 210 211 212 213 214 215 216 217 218 219 220
new GEQO optimizer speeds table multi-table optimization(Martin)
new WARN message for non-unique insert into unique key(Marc)
update x=-3, no spaces, now valid(Bruce)
remove case-sensitive identifier handling(Bruce,Thomas,Dan)
debug backend now pretty-prints tree(Darren)
new Oracle character functions(Edmund)
new plaintext password functions(Dan)
no such class or insufficient privilege changed to distinct messages(Dan)
new ANSI timestamp function(Dan)
new ANSI Time and Date types (Thomas)
move large chunks of data in backend(Martin)
multi-column btree indexes(Vadim)
new SET var TO value command(Martin)
B
Bruce Momjian 已提交
221
update transaction status on reads(Dan)
B
Bruce Momjian 已提交
222 223 224 225 226 227
new locale settings for character types(Oleg)
new SEQUENCE serial number generator(Vadim)
GROUP BY function now possible(Vadim)
re-organize regression test(Thomas,Marc)
new optimizer operation weights(Vadim)
new psql \z grant/permit option(Marc)
B
Bruce Momjian 已提交
228
new MONEY data type(D'Arcy,Thomas)
B
Bruce Momjian 已提交
229 230 231 232
tcp socket communication speed improved(Vadim)
new VACUUM option for attribute statistics, and for certain columns (Vadim)
many geometric type improvements(Thomas,Keith)
additional regression tests(Thomas)
B
Bruce Momjian 已提交
233
new datestyle variable(Thomas,Vadim,Martin)
B
Bruce Momjian 已提交
234 235 236
more comparison operators for sorting types(Thomas)
new conversion functions(Thomas)
new more compact btree format(Vadim)
237
allow pg_dumpall to preserve database ownership(Bruce)
B
Bruce Momjian 已提交
238

239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254
Source tree changes
-------------------
new configuration script(Marc)
readline configuration option added(Marc)
OS-specific configuration options removed(Marc)
new OS-specific template files(Marc)
no more need to edit Makefile.global(Marc)
re-arrange include files(Marc)
nextstep patches (Gregor Hoffleit)
removed WIN32-specific code(Bruce)
removed postmaster -e option, now only postgres -e option (Bruce)
merge duplicate library code in front/backends(Martin)
now works with eBones, international Kerberos(Jun)
more shared library support
c++ include file cleanup(Bruce)
warn about buggy flex(Bruce)