mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
update TODO
This commit is contained in:
@ -1,94 +0,0 @@
|
||||
The following notes are for the benefit of users who want to migrate
|
||||
databases from postgres95 1.0 to postgres95 1.01.
|
||||
|
||||
If you are starting afresh with postgres95 1.01 and do not need
|
||||
to migrate old databases, you do not need to read any further.
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
In order to postgres95 version 1.01 with databases created with
|
||||
postgres95 version 1.0, the following steps are required:
|
||||
|
||||
1) Set the definition of NAMEDATALEN in src/Makefile.global to 16
|
||||
and OIDNAMELEN to 20.
|
||||
|
||||
2) Decide whether you want to use Host based authentication.
|
||||
|
||||
A) If you do, you must create a file name "pg_hba" in your top-level data
|
||||
directory (typically the value of your $PGDATA). src/libpq/pg_hba
|
||||
shows an example syntax.
|
||||
|
||||
B) If you do not want host-based authentication, you can comment out
|
||||
the line
|
||||
HBA = 1
|
||||
in src/Makefile.global
|
||||
|
||||
Note that host-based authentication is turned on by default, and if
|
||||
you do not take steps A or B above, the out-of-the-box 1.01 will
|
||||
not allow you to connect to 1.0 databases.
|
||||
|
||||
3) compile and install 1.01, but DO NOT do the initdb step.
|
||||
|
||||
4) before doing anything else, terminate your 1.0 postmaster, and
|
||||
backup your existing $PGDATA directory.
|
||||
|
||||
5) set your PGDATA environment variable to your 1.0 databases, but set up
|
||||
path up so that 1.01 binaries are being used.
|
||||
|
||||
6) modify the file $PGDATA/PG_VERSION from 5.0 to 5.1
|
||||
|
||||
7) start up a new 1.01 postmaster
|
||||
|
||||
5) Add the new built-in functions and operators of 1.01 to 1.0
|
||||
databases. This is done by running the new 1.01 server against
|
||||
your own 1.0 database and applying the queries attached and saving
|
||||
in the file 1.0_to_1.01.sql. This can be done easily through psql.
|
||||
If your 1.0 database is name "testdb":
|
||||
|
||||
% psql testdb -f 1.0_to_1.01.sql
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
-- add builtin functions that are new to 1.01
|
||||
|
||||
create function int4eqoid (int4, oid) returns bool as 'foo'
|
||||
language 'internal';
|
||||
create function oideqint4 (oid, int4) returns bool as 'foo'
|
||||
language 'internal';
|
||||
create function char2icregexeq (char2, text) returns bool as 'foo'
|
||||
language 'internal';
|
||||
create function char2icregexne (char2, text) returns bool as 'foo'
|
||||
language 'internal';
|
||||
create function char4icregexeq (char4, text) returns bool as 'foo'
|
||||
language 'internal';
|
||||
create function char4icregexne (char4, text) returns bool as 'foo'
|
||||
language 'internal';
|
||||
create function char8icregexeq (char8, text) returns bool as 'foo'
|
||||
language 'internal';
|
||||
create function char8icregexne (char8, text) returns bool as 'foo'
|
||||
language 'internal';
|
||||
create function char16icregexeq (char16, text) returns bool as 'foo'
|
||||
language 'internal';
|
||||
create function char16icregexne (char16, text) returns bool as 'foo'
|
||||
language 'internal';
|
||||
create function texticregexeq (text, text) returns bool as 'foo'
|
||||
language 'internal';
|
||||
create function texticregexne (text, text) returns bool as 'foo'
|
||||
language 'internal';
|
||||
|
||||
-- add builtin functions that are new to 1.01
|
||||
|
||||
create operator = (leftarg = int4, rightarg = oid, procedure = int4eqoid);
|
||||
create operator = (leftarg = oid, rightarg = int4, procedure = oideqint4);
|
||||
create operator ~* (leftarg = char2, rightarg = text, procedure = char2icregexeq);
|
||||
create operator !~* (leftarg = char2, rightarg = text, procedure = char2icregexne);
|
||||
create operator ~* (leftarg = char4, rightarg = text, procedure = char4icregexeq);
|
||||
create operator !~* (leftarg = char4, rightarg = text, procedure = char4icregexne);
|
||||
create operator ~* (leftarg = char8, rightarg = text, procedure = char8icregexeq);
|
||||
create operator !~* (leftarg = char8, rightarg = text, procedure = char8icregexne);
|
||||
create operator ~* (leftarg = char16, rightarg = text, procedure = char16icregexeq);
|
||||
create operator !~* (leftarg = char16, rightarg = text, procedure = char16icregexne);
|
||||
create operator ~* (leftarg = text, rightarg = text, procedure = texticregexeq);
|
||||
create operator !~* (leftarg = text, rightarg = text, procedure = texticregexne);
|
||||
|
||||
|
||||
|
13
doc/TODO
13
doc/TODO
@ -1,7 +1,7 @@
|
||||
====================================================
|
||||
TODO list (FAQ) for PostgreSQL
|
||||
====================================================
|
||||
last updated: Thu Dec 26 23:45:50 EST 1996
|
||||
last updated: Thu Jan 2 11:19:41 EST 1997
|
||||
|
||||
current maintainer: Bruce Momjian (maillist@candle.pha.pa.us)
|
||||
|
||||
@ -21,6 +21,7 @@ Developers who have claimed items are:
|
||||
Erich Stamberger <eberger@gewi.kfunigraz.ac.at>
|
||||
Kurt is "Kurt J. Lidl" <lidl@va.pubnix.com>
|
||||
Martin is Martin S. Utesch <utesch@aut.tu-freiberg.de>
|
||||
Thomas is Thomas Lockhart <tgl@mythos.jpl.nasa.gov>
|
||||
Vadim is "Vadim B. Mikheev" <vadim@sable.krasnoyarsk.su>
|
||||
Vivek is Vivek Khera <khera@kci.kciLink.com>
|
||||
|
||||
@ -34,13 +35,11 @@ Fix all NULL features
|
||||
allow psql to print nulls meaningfully
|
||||
Fix compile and security of Kerberos V code
|
||||
Dropping a table twice causes corruption, drop/create not rollback-able
|
||||
SUM aggregate on no rows or null value should return NULL, not zero
|
||||
-SUM aggregate on no rows or null value should return NULL, not zero(Thomas)
|
||||
SELECT on two tables where zero or one table in WHERE and target
|
||||
clause returns no rows
|
||||
fix system to use oid index using constant without cast to oid
|
||||
COUNT on VIEW always returns zero (maybe because there is no oid for views?)
|
||||
SELECT ... INTO TABLE ... GROUP BY ... generates unlink error
|
||||
if done three times with same INTO TABLE name (failure cleanup problem?)
|
||||
CREATE VIEW requires super-user priviledge
|
||||
|
||||
ENHANCEMENTS
|
||||
@ -117,6 +116,7 @@ Add STDDEV/VARIANCE() function for standard deviation computation/variance
|
||||
Add upper/lower functions
|
||||
-Add table/column/function discription table indexed by oid
|
||||
-make all identifiers case-insensitive(Bruce)
|
||||
add pg_type attribute to identify types that need length (bpchar, varchar)
|
||||
|
||||
PERFORMANCE
|
||||
-----------
|
||||
@ -138,6 +138,7 @@ Add FILLFACTOR to index creation
|
||||
Allow indexes to be used with OR clauses
|
||||
-Add column optimization statistics to vacuum(Bruce)
|
||||
-Change pg_attribute.attnvals name to attdispursion and change type float4
|
||||
update pg_statistic table to remove operator column
|
||||
|
||||
DOCUMENTATION
|
||||
-------------
|
||||
@ -145,7 +146,6 @@ Update usermanual source
|
||||
remove time-travel in documentation(Bruce)
|
||||
added features used in grammer but not in docs, like :: and CAST
|
||||
add DECLARE manual pages
|
||||
add EXPLAIN manual page
|
||||
|
||||
PORTABILITY
|
||||
-----------
|
||||
@ -173,6 +173,7 @@ Fix permissions on lo_export()(Bruce)
|
||||
Fix unitialized reads of memory(Kurt)
|
||||
Fixed ALTER TABLE ... char(3) bug(Bruce)
|
||||
Fixed a few small memory leaks
|
||||
Fixed EXPLAIN handling of options and changed full_path option name
|
||||
Fixed output of group acl permissions
|
||||
Memory leaks (hunt and destroy with tools like Purify(Kurt)
|
||||
Minor improvements to rules system
|
||||
@ -186,12 +187,14 @@ Properly report errors when insert column names were not correct
|
||||
Psql \g filename now works(Bruce)
|
||||
Psql fixed problem with multiple statements on one line with multiple outputs
|
||||
Removed duplicate system oid's
|
||||
SELECT * INTO TABLE . GROUP/ORDER BY gives unlink error if table exists(Bruce)
|
||||
Several fixes for queries that crashed the backend
|
||||
Starting quote in insert string errors(Bruce)
|
||||
Submiting an empty query now returns empty status, not just " " query(Bruce)
|
||||
|
||||
Enhancements
|
||||
------------
|
||||
Add EXPLAIN manual page(Bruce)
|
||||
Add UNIQUE index capability(Dan)
|
||||
Add hostname/user level access control rather than just hostname and user
|
||||
Add synonym of != for <>(Bruce)
|
||||
|
Reference in New Issue
Block a user