リリース v1.02

バージョン 1.02 からバージョン 1.02.1 への移行

Here is a new migration file for 1.02.1. It includes the 'copy' change and a script to convert old ascii files.

1.02.1 用の新しい移行用ファイルがあります。 そこには 'copy' の変更と古いアスキーファイルを変換するためのスクリプ トが含まれます。

Note: The following notes are for the benefit of users who want to migrate databases from postgres95 1.01 and 1.02 to postgres95 1.02.1.

以下のメモは、postgres95 1.01 と 1.02 から postgres95 1.02.1 へデー タベースの移行を行なうユーザのためのものです。

If you are starting afresh with postgres95 1.02.1 and do not need to migrate old databases, you do not need to read any further.

postgres95 1.02.1 から新たに開始する、または、古いデータベースの移 行を必要としない場合、以降を読む必要はありません。

In order to upgrade older postgres95 version 1.01 or 1.02 databases to version 1.02.1, the following steps are required:

postgres95 version 1.01 もしくは 1.02 データベースより以前のバージョ ンから 1.02.1 にアップグレードするためには、以下のステップが必要です。

  1. Start up a new 1.02.1 postmaster

    新しい 1.02.1 の postmaster を起動します。

  2. Add the new built-in functions and operators of 1.02.1 to 1.01 or 1.02 databases. This is done by running the new 1.02.1 server against your own 1.01 or 1.02 database and applying the queries attached at the end of thie file. This can be done easily through psql. If your 1.01 or 1.02 database is named "testdb" and you have cut the commands from the end of this file and saved them in addfunc.sql:

    1.02.1 の新しい組み込み関数、演算子を 1.01 もしくは 1.02 データベースに 追加します。 新しい 1.02.1 サーバを 既存の 1.01 もしくは 1.02 データベースに対して実 行し、このファイルの最後にある問い合わせを適用することで、これを行ないま す。 psql を使用した方が簡単に実行できます。1.01 もしくは 1.02 データベース が "testdb" という名前であり、このファイルの終りのコマンドを取り出して、 addfunc.sql という名前で保存していた場合、

    	% psql testdb -f addfunc.sql
    Those upgrading 1.02 databases will get a warning when executing the last two statements in the file because they are already present in 1.02. This is not a cause for concern. これにより 1.02 のデータベースをアップグレードする場合、このファイル の最後の 2 文を実行する時に警告が現れます。 1.02 には既にこの 2 つが存在するためです。 これについては心配しなくてかまいません。

ダンプ/リロード処理

If you are trying to reload a pg_dump or text-mode 'copy tablename to stdout' generated with a previous version, you will need to run the attached sed script on the ASCII file before loading it into the database. The old format used '.' as end-of-data, while '\.' is now the end-of-data marker. Also, empty strings are now loaded in as '' rather than NULL. See the copy manual page for full details.

以前のバージョンの pg_dump もしくはテキストモードで 'copy tablename to stdout' を行なったものをリロードする場合、データベ ースへのロードを行なう前に、添付した sed スクリプトをその ASCII ファイ ルに対して実行しなければなりません。 データの終端の印として古い書式では '.' を、新しい書式では '\.' を使用 しています。 また、空文字列は NULL ではなく '' としてロードされるようになりました。 詳細については copy マニュアルページを参照して下さい。

	sed 's/^\.$/\\./g' <in_file >out_file

If you are loading an older binary copy or non-stdout copy, there is no end-of-data character, and hence no conversion necessary.

古いバイナリ形式のコピーもしくは標準出力を使用しないコピーをロードする 場合は、データ終端文字がありませんので、変換は必要ありません。

-- following lines added by agc to reflect the case-insensitive
-- regexp searching for varchar (in 1.02), and bpchar (in 1.02.1)
create operator ~* (leftarg = bpchar, rightarg = text, procedure = texticregexeq);
create operator !~* (leftarg = bpchar, rightarg = text, procedure = texticregexne);
create operator ~* (leftarg = varchar, rightarg = text, procedure = texticregexeq);
create operator !~* (leftarg = varchar, rightarg = text, procedure = texticregexne);

詳細な変更点一覧

Source code maintenance and development
 * worldwide team of volunteers
 * the source tree now in CVS at ftp.ki.net

Enhancements
 * psql (and underlying libpq library) now has many more options for
   formatting output, including HTML
 * pg_dump now output the schema and/or the data, with many fixes to
   enhance completeness.
 * psql used in place of monitor in administration shell scripts.
   monitor to be depreciated in next release.
 * date/time functions enhanced
 * NULL insert/update/comparison fixed/enhanced
 * TCL/TK lib and shell fixed to work with both tck7.4/tk4.0 and tcl7.5/tk4.1

Bug Fixes (almost too numerous to mention)
 * indexes
 * storage management
 * check for NULL pointer before dereferencing
 * Makefile fixes

New Ports
 * added SolarisX86 port
 * added BSDI 2.1 port
 * added DGUX port