head	1.243;
access;
symbols
	REL7_2_8:1.153.2.14
	REL7_3_10:1.182.2.22
	REL7_2_7:1.153.2.12
	REL7_3_9:1.182.2.21
	REL7_3_8:1.182.2.20
	REL7_2_6:1.153.2.11
	REL7_2_5:1.153.2.10
	REL7_3_7:1.182.2.19
	REL7_4_2:1.226.2.16
	REL7_3_6:1.182.2.17
	REL7_4_1:1.226.2.10
	REL7_3_5:1.182.2.16
	REL7_4:1.226.2.4
	REL7_4_RC2:1.226
	REL7_4_STABLE:1.226.0.2
	REL7_4_RC1:1.226
	REL7_4_BETA5:1.220
	REL7_4_BETA4:1.219
	REL7_4_BETA3:1.211
	REL7_4_BETA2:1.211
	WIN32_DEV:1.209.0.2
	REL7_4_BETA1:1.198
	REL7_3_4:1.182.2.15
	REL7_3_2:1.182.2.10
	REL7_2_4:1.153.2.9
	REL7_3_STABLE:1.182.0.2
	REL7_2_3:1.153.2.8
	REL7_2_STABLE:1.153.0.2
	REL7_2:1.153
	REL7_2_RC2:1.151
	REL7_2_RC1:1.151
	REL7_2_BETA5:1.151
	REL7_2_BETA4:1.144
	REL7_2_BETA3:1.139
	REL7_2_BETA2:1.136
	REL7_2_BETA1:1.129
	REL7_1_2:1.106.2.2
	REL7_1_STABLE:1.106.0.2
	REL7_1_BETA:1.79
	REL7_1_BETA3:1.86
	REL7_1_BETA2:1.86
	REL7_1:1.102
	REL7_0_PATCHES:1.70.0.2
	REL7_0:1.70
	REL6_5_PATCHES:1.52.0.2
	REL6_5:1.52
	REL6_4:1.44.0.2
	release-6-3:1.33
	SUPPORT:1.1.1.1
	PG95-DIST:1.1.1;
locks; strict;
comment	@# @;


1.243
date	2004.03.10.00.28.10;	author momjian;	state dead;
branches;
next	1.242;

1.242
date	2004.03.09.17.40.27;	author momjian;	state Exp;
branches;
next	1.241;

1.241
date	2004.03.07.22.07.56;	author tgl;	state Exp;
branches;
next	1.240;

1.240
date	2004.03.05.19.51.55;	author momjian;	state Exp;
branches;
next	1.239;

1.239
date	2004.03.02.00.38.46;	author tgl;	state Exp;
branches;
next	1.238;

1.238
date	2004.02.13.04.40.05;	author momjian;	state Exp;
branches;
next	1.237;

1.237
date	2004.02.12.20.17.34;	author momjian;	state Exp;
branches;
next	1.236;

1.236
date	2003.12.22.07.28.29;	author momjian;	state Exp;
branches;
next	1.235;

1.235
date	2003.12.21.05.23.36;	author momjian;	state Exp;
branches;
next	1.234;

1.234
date	2003.12.20.00.57.22;	author momjian;	state Exp;
branches;
next	1.233;

1.233
date	2003.12.17.07.07.00;	author momjian;	state Exp;
branches;
next	1.232;

1.232
date	2003.12.15.22.24.59;	author momjian;	state Exp;
branches;
next	1.231;

1.231
date	2003.11.17.04.50.55;	author momjian;	state Exp;
branches;
next	1.230;

1.230
date	2003.11.16.04.49.35;	author momjian;	state Exp;
branches;
next	1.229;

1.229
date	2003.11.15.01.16.37;	author petere;	state Exp;
branches;
next	1.228;

1.228
date	2003.11.14.17.47.04;	author momjian;	state Exp;
branches;
next	1.227;

1.227
date	2003.11.14.03.41.11;	author momjian;	state Exp;
branches;
next	1.226;

1.226
date	2003.10.31.04.44.25;	author momjian;	state Exp;
branches
	1.226.2.1;
next	1.225;

1.225
date	2003.10.31.04.32.36;	author momjian;	state Exp;
branches;
next	1.224;

1.224
date	2003.10.30.20.49.46;	author momjian;	state Exp;
branches;
next	1.223;

1.223
date	2003.10.30.03.46.41;	author momjian;	state Exp;
branches;
next	1.222;

1.222
date	2003.10.22.17.27.14;	author momjian;	state Exp;
branches;
next	1.221;

1.221
date	2003.10.22.05.09.11;	author momjian;	state Exp;
branches;
next	1.220;

1.220
date	2003.10.16.04.11.52;	author momjian;	state Exp;
branches;
next	1.219;

1.219
date	2003.09.29.23.16.44;	author momjian;	state Exp;
branches;
next	1.218;

1.218
date	2003.09.29.21.42.04;	author momjian;	state Exp;
branches;
next	1.217;

1.217
date	2003.09.29.21.25.43;	author momjian;	state Exp;
branches;
next	1.216;

1.216
date	2003.09.29.18.06.48;	author momjian;	state Exp;
branches;
next	1.215;

1.215
date	2003.09.29.04.50.36;	author momjian;	state Exp;
branches;
next	1.214;

1.214
date	2003.09.24.18.09.15;	author scrappy;	state Exp;
branches;
next	1.213;

1.213
date	2003.09.24.18.08.20;	author scrappy;	state Exp;
branches;
next	1.212;

1.212
date	2003.09.24.18.05.36;	author scrappy;	state Exp;
branches;
next	1.211;

1.211
date	2003.08.17.05.24.52;	author momjian;	state Exp;
branches;
next	1.210;

1.210
date	2003.08.17.00.20.21;	author momjian;	state Exp;
branches;
next	1.209;

1.209
date	2003.08.08.17.17.17;	author momjian;	state Exp;
branches
	1.209.2.1;
next	1.208;

1.208
date	2003.08.07.14.12.50;	author momjian;	state Exp;
branches;
next	1.207;

1.207
date	2003.08.07.03.59.25;	author momjian;	state Exp;
branches;
next	1.206;

1.206
date	2003.08.05.15.31.33;	author momjian;	state Exp;
branches;
next	1.205;

1.205
date	2003.08.05.15.04.16;	author momjian;	state Exp;
branches;
next	1.204;

1.204
date	2003.08.05.14.37.49;	author momjian;	state Exp;
branches;
next	1.203;

1.203
date	2003.08.05.14.35.12;	author momjian;	state Exp;
branches;
next	1.202;

1.202
date	2003.08.05.14.33.30;	author momjian;	state Exp;
branches;
next	1.201;

1.201
date	2003.08.05.05.07.50;	author momjian;	state Exp;
branches;
next	1.200;

1.200
date	2003.08.05.05.04.50;	author momjian;	state Exp;
branches;
next	1.199;

1.199
date	2003.08.05.05.01.50;	author momjian;	state Exp;
branches;
next	1.198;

1.198
date	2003.08.05.03.30.35;	author momjian;	state Exp;
branches;
next	1.197;

1.197
date	2003.08.03.23.27.24;	author momjian;	state Exp;
branches;
next	1.196;

1.196
date	2003.08.03.23.26.05;	author momjian;	state Exp;
branches;
next	1.195;

1.195
date	2003.07.31.04.48.15;	author momjian;	state Exp;
branches;
next	1.194;

1.194
date	2003.05.26.18.58.26;	author tgl;	state Exp;
branches;
next	1.193;

1.193
date	2003.05.22.20.38.50;	author tgl;	state Exp;
branches;
next	1.192;

1.192
date	2003.02.14.14.13.56;	author momjian;	state Exp;
branches;
next	1.191;

1.191
date	2003.02.02.19.48.20;	author tgl;	state Exp;
branches;
next	1.190;

1.190
date	2003.01.29.22.14.08;	author tgl;	state Exp;
branches;
next	1.189;

1.189
date	2003.01.11.21.02.49;	author momjian;	state Exp;
branches;
next	1.188;

1.188
date	2002.12.20.00.24.00;	author momjian;	state Exp;
branches;
next	1.187;

1.187
date	2002.12.18.02.06.22;	author momjian;	state Exp;
branches;
next	1.186;

1.186
date	2002.11.26.22.04.03;	author momjian;	state Exp;
branches;
next	1.185;

1.185
date	2002.11.26.05.16.59;	author momjian;	state Exp;
branches;
next	1.184;

1.184
date	2002.11.11.20.05.59;	author petere;	state Exp;
branches;
next	1.183;

1.183
date	2002.11.08.03.44.15;	author momjian;	state Exp;
branches;
next	1.182;

1.182
date	2002.10.24.03.03.36;	author momjian;	state Exp;
branches
	1.182.2.1;
next	1.181;

1.181
date	2002.10.03.17.17.42;	author momjian;	state Exp;
branches;
next	1.180;

1.180
date	2002.10.01.03.23.05;	author momjian;	state Exp;
branches;
next	1.179;

1.179
date	2002.09.24.23.37.42;	author momjian;	state Exp;
branches;
next	1.178;

1.178
date	2002.09.23.05.25.38;	author momjian;	state Exp;
branches;
next	1.177;

1.177
date	2002.09.18.20.43.03;	author momjian;	state Exp;
branches;
next	1.176;

1.176
date	2002.09.18.15.24.08;	author momjian;	state Exp;
branches;
next	1.175;

1.175
date	2002.09.18.05.17.04;	author momjian;	state Exp;
branches;
next	1.174;

1.174
date	2002.09.17.21.15.04;	author momjian;	state Exp;
branches;
next	1.173;

1.173
date	2002.09.16.15.08.53;	author momjian;	state Exp;
branches;
next	1.172;

1.172
date	2002.09.05.22.08.55;	author momjian;	state Exp;
branches;
next	1.171;

1.171
date	2002.09.04.23.14.22;	author momjian;	state Exp;
branches;
next	1.170;

1.170
date	2002.09.04.20.26.08;	author momjian;	state Exp;
branches;
next	1.169;

1.169
date	2002.09.04.20.06.23;	author momjian;	state Exp;
branches;
next	1.168;

1.168
date	2002.09.04.19.07.43;	author momjian;	state Exp;
branches;
next	1.167;

1.167
date	2002.09.04.18.45.51;	author momjian;	state Exp;
branches;
next	1.166;

1.166
date	2002.09.04.17.27.13;	author momjian;	state Exp;
branches;
next	1.165;

1.165
date	2002.09.04.17.25.08;	author momjian;	state Exp;
branches;
next	1.164;

1.164
date	2002.09.04.17.11.47;	author momjian;	state Exp;
branches;
next	1.163;

1.163
date	2002.09.04.07.42.24;	author momjian;	state Exp;
branches;
next	1.162;

1.162
date	2002.09.04.07.30.33;	author momjian;	state Exp;
branches;
next	1.161;

1.161
date	2002.09.04.07.16.32;	author momjian;	state Exp;
branches;
next	1.160;

1.160
date	2002.08.25.14.34.23;	author momjian;	state Exp;
branches;
next	1.159;

1.159
date	2002.03.25.21.24.07;	author momjian;	state Exp;
branches;
next	1.158;

1.158
date	2002.03.25.20.58.04;	author momjian;	state Exp;
branches;
next	1.157;

1.157
date	2002.03.19.14.14.42;	author momjian;	state Exp;
branches;
next	1.156;

1.156
date	2002.03.19.00.12.08;	author momjian;	state Exp;
branches;
next	1.155;

1.155
date	2002.03.18.23.03.13;	author momjian;	state Exp;
branches;
next	1.154;

1.154
date	2002.03.11.16.41.37;	author momjian;	state Exp;
branches;
next	1.153;

1.153
date	2002.01.31.21.20.03;	author momjian;	state Exp;
branches
	1.153.2.1;
next	1.152;

1.152
date	2002.01.31.18.31.44;	author momjian;	state Exp;
branches;
next	1.151;

1.151
date	2002.01.03.05.37.43;	author momjian;	state Exp;
branches;
next	1.150;

1.150
date	2001.12.28.05.03.10;	author momjian;	state Exp;
branches;
next	1.149;

1.149
date	2001.12.28.05.00.32;	author momjian;	state Exp;
branches;
next	1.148;

1.148
date	2001.12.27.21.10.14;	author petere;	state Exp;
branches;
next	1.147;

1.147
date	2001.12.27.04.46.08;	author momjian;	state Exp;
branches;
next	1.146;

1.146
date	2001.12.27.00.04.43;	author momjian;	state Exp;
branches;
next	1.145;

1.145
date	2001.12.23.18.20.05;	author petere;	state Exp;
branches;
next	1.144;

1.144
date	2001.12.04.20.25.01;	author momjian;	state Exp;
branches;
next	1.143;

1.143
date	2001.12.04.20.15.41;	author momjian;	state Exp;
branches;
next	1.142;

1.142
date	2001.11.21.03.15.54;	author momjian;	state Exp;
branches;
next	1.141;

1.141
date	2001.11.21.02.20.11;	author momjian;	state Exp;
branches;
next	1.140;

1.140
date	2001.11.20.04.18.49;	author momjian;	state Exp;
branches;
next	1.139;

1.139
date	2001.11.07.17.27.36;	author momjian;	state Exp;
branches;
next	1.138;

1.138
date	2001.11.07.03.12.20;	author momjian;	state Exp;
branches;
next	1.137;

1.137
date	2001.11.07.03.10.59;	author momjian;	state Exp;
branches;
next	1.136;

1.136
date	2001.10.29.19.28.48;	author momjian;	state Exp;
branches;
next	1.135;

1.135
date	2001.10.25.20.00.58;	author momjian;	state Exp;
branches;
next	1.134;

1.134
date	2001.10.25.19.59.23;	author momjian;	state Exp;
branches;
next	1.133;

1.133
date	2001.10.25.19.57.03;	author momjian;	state Exp;
branches;
next	1.132;

1.132
date	2001.10.25.19.22.05;	author momjian;	state Exp;
branches;
next	1.131;

1.131
date	2001.10.25.18.44.42;	author momjian;	state Exp;
branches;
next	1.130;

1.130
date	2001.10.25.18.25.22;	author momjian;	state Exp;
branches;
next	1.129;

1.129
date	2001.10.23.02.45.37;	author momjian;	state Exp;
branches;
next	1.128;

1.128
date	2001.10.22.18.42.44;	author momjian;	state Exp;
branches;
next	1.127;

1.127
date	2001.10.20.02.55.38;	author momjian;	state Exp;
branches;
next	1.126;

1.126
date	2001.10.17.00.48.24;	author momjian;	state Exp;
branches;
next	1.125;

1.125
date	2001.10.12.17.46.00;	author momjian;	state Exp;
branches;
next	1.124;

1.124
date	2001.10.03.18.38.06;	author momjian;	state Exp;
branches;
next	1.123;

1.123
date	2001.10.01.21.47.23;	author momjian;	state Exp;
branches;
next	1.122;

1.122
date	2001.10.01.15.44.45;	author momjian;	state Exp;
branches;
next	1.121;

1.121
date	2001.09.23.04.41.47;	author momjian;	state Exp;
branches;
next	1.120;

1.120
date	2001.09.23.03.41.49;	author momjian;	state Exp;
branches;
next	1.119;

1.119
date	2001.09.22.21.36.38;	author momjian;	state Exp;
branches;
next	1.118;

1.118
date	2001.09.16.04.26.22;	author momjian;	state Exp;
branches;
next	1.117;

1.117
date	2001.09.16.04.12.35;	author momjian;	state Exp;
branches;
next	1.116;

1.116
date	2001.08.15.19.41.08;	author momjian;	state Exp;
branches;
next	1.115;

1.115
date	2001.08.15.19.40.52;	author momjian;	state Exp;
branches;
next	1.114;

1.114
date	2001.08.15.19.24.55;	author momjian;	state Exp;
branches;
next	1.113;

1.113
date	2001.08.15.19.24.40;	author momjian;	state Exp;
branches;
next	1.112;

1.112
date	2001.08.14.23.38.39;	author momjian;	state Exp;
branches;
next	1.111;

1.111
date	2001.08.14.21.21.39;	author momjian;	state Exp;
branches;
next	1.110;

1.110
date	2001.06.01.00.24.21;	author momjian;	state Exp;
branches;
next	1.109;

1.109
date	2001.05.30.22.04.33;	author momjian;	state Exp;
branches;
next	1.108;

1.108
date	2001.05.17.13.28.29;	author momjian;	state Exp;
branches;
next	1.107;

1.107
date	2001.05.11.01.34.14;	author momjian;	state Exp;
branches;
next	1.106;

1.106
date	2001.05.05.02.57.38;	author momjian;	state Exp;
branches
	1.106.2.1;
next	1.105;

1.105
date	2001.05.03.20.39.51;	author momjian;	state Exp;
branches;
next	1.104;

1.104
date	2001.05.03.17.17.40;	author momjian;	state Exp;
branches;
next	1.103;

1.103
date	2001.05.03.16.26.21;	author momjian;	state Exp;
branches;
next	1.102;

1.102
date	2001.04.13.18.38.32;	author momjian;	state Exp;
branches;
next	1.101;

1.101
date	2001.04.02.17.59.16;	author momjian;	state Exp;
branches;
next	1.100;

1.100
date	2001.03.17.18.15.36;	author petere;	state Exp;
branches;
next	1.99;

1.99
date	2001.02.15.13.31.44;	author momjian;	state Exp;
branches;
next	1.98;

1.98
date	2001.02.11.01.48.50;	author momjian;	state Exp;
branches;
next	1.97;

1.97
date	2001.02.09.17.55.48;	author momjian;	state Exp;
branches;
next	1.96;

1.96
date	2001.02.09.17.53.43;	author momjian;	state Exp;
branches;
next	1.95;

1.95
date	2001.02.09.17.16.55;	author momjian;	state Exp;
branches;
next	1.94;

1.94
date	2001.02.03.21.50.45;	author momjian;	state Exp;
branches;
next	1.93;

1.93
date	2001.01.29.18.58.45;	author momjian;	state Exp;
branches;
next	1.92;

1.92
date	2001.01.29.16.27.48;	author momjian;	state Exp;
branches;
next	1.91;

1.91
date	2001.01.13.03.17.05;	author scrappy;	state Exp;
branches;
next	1.90;

1.90
date	2001.01.13.03.11.07;	author scrappy;	state Exp;
branches;
next	1.89;

1.89
date	2001.01.13.03.09.43;	author scrappy;	state Exp;
branches;
next	1.88;

1.88
date	2001.01.13.03.08.01;	author scrappy;	state Exp;
branches;
next	1.87;

1.87
date	2001.01.13.00.57.06;	author scrappy;	state Exp;
branches;
next	1.86;

1.86
date	2000.12.20.15.43.59;	author momjian;	state Exp;
branches;
next	1.85;

1.85
date	2000.12.20.03.02.50;	author momjian;	state Exp;
branches;
next	1.84;

1.84
date	2000.12.20.02.15.20;	author momjian;	state Exp;
branches;
next	1.83;

1.83
date	2000.12.18.04.32.09;	author momjian;	state Exp;
branches;
next	1.82;

1.82
date	2000.12.18.04.20.43;	author momjian;	state Exp;
branches;
next	1.81;

1.81
date	2000.12.18.04.07.10;	author momjian;	state Exp;
branches;
next	1.80;

1.80
date	2000.12.16.20.12.42;	author momjian;	state Exp;
branches;
next	1.79;

1.79
date	2000.11.12.14.26.47;	author momjian;	state Exp;
branches;
next	1.78;

1.78
date	2000.11.10.19.41.25;	author momjian;	state Exp;
branches;
next	1.77;

1.77
date	2000.10.05.19.48.14;	author momjian;	state Exp;
branches;
next	1.76;

1.76
date	2000.08.29.20.02.06;	author momjian;	state Exp;
branches;
next	1.75;

1.75
date	2000.06.05.10.57.56;	author momjian;	state Exp;
branches;
next	1.74;

1.74
date	2000.06.02.15.57.08;	author momjian;	state Exp;
branches;
next	1.73;

1.73
date	2000.06.02.01.25.19;	author momjian;	state Exp;
branches;
next	1.72;

1.72
date	2000.06.01.06.02.13;	author momjian;	state Exp;
branches;
next	1.71;

1.71
date	2000.06.01.05.13.15;	author momjian;	state Exp;
branches;
next	1.70;

1.70
date	2000.05.08.23.56.47;	author momjian;	state Exp;
branches
	1.70.2.1;
next	1.69;

1.69
date	2000.05.02.17.06.09;	author momjian;	state Exp;
branches;
next	1.68;

1.68
date	2000.04.28.15.03.37;	author momjian;	state Exp;
branches;
next	1.67;

1.67
date	2000.04.18.21.18.42;	author momjian;	state Exp;
branches;
next	1.66;

1.66
date	2000.04.18.14.55.26;	author momjian;	state Exp;
branches;
next	1.65;

1.65
date	2000.03.26.03.40.36;	author momjian;	state Exp;
branches;
next	1.64;

1.64
date	2000.03.24.01.20.07;	author momjian;	state Exp;
branches;
next	1.63;

1.63
date	2000.03.23.15.09.55;	author momjian;	state Exp;
branches;
next	1.62;

1.62
date	2000.03.23.06.30.48;	author momjian;	state Exp;
branches;
next	1.61;

1.61
date	2000.03.01.19.13.07;	author momjian;	state Exp;
branches;
next	1.60;

1.60
date	2000.02.28.18.43.07;	author momjian;	state Exp;
branches;
next	1.59;

1.59
date	2000.02.27.14.57.16;	author momjian;	state Exp;
branches;
next	1.58;

1.58
date	2000.02.26.23.22.41;	author momjian;	state Exp;
branches;
next	1.57;

1.57
date	99.10.12.16.04.20;	author momjian;	state Exp;
branches;
next	1.56;

1.56
date	99.10.12.15.34.18;	author momjian;	state Exp;
branches;
next	1.55;

1.55
date	99.08.02.01.42.57;	author scrappy;	state Exp;
branches;
next	1.54;

1.54
date	99.08.02.01.40.30;	author scrappy;	state Exp;
branches;
next	1.53;

1.53
date	99.07.30.03.58.20;	author scrappy;	state Exp;
branches;
next	1.52;

1.52
date	99.06.14.15.57.24;	author thomas;	state Exp;
branches
	1.52.2.1;
next	1.51;

1.51
date	99.06.04.06.23.00;	author thomas;	state Exp;
branches;
next	1.50;

1.50
date	99.05.27.15.05.56;	author momjian;	state Exp;
branches;
next	1.49;

1.49
date	99.04.30.02.04.46;	author momjian;	state Exp;
branches;
next	1.48;

1.48
date	99.01.03.06.57.05;	author momjian;	state Exp;
branches;
next	1.47;

1.47
date	99.01.02.16.06.42;	author momjian;	state Exp;
branches;
next	1.46;

1.46
date	98.12.24.05.21.59;	author momjian;	state Exp;
branches;
next	1.45;

1.45
date	98.11.07.03.19.52;	author momjian;	state Exp;
branches;
next	1.44;

1.44
date	98.10.26.16.44.48;	author momjian;	state Exp;
branches
	1.44.2.1;
next	1.43;

1.43
date	98.10.24.04.43.35;	author momjian;	state Exp;
branches;
next	1.42;

1.42
date	98.08.30.01.40.37;	author momjian;	state Exp;
branches;
next	1.41;

1.41
date	98.04.17.04.12.30;	author momjian;	state Exp;
branches;
next	1.40;

1.40
date	98.04.10.02.48.08;	author momjian;	state Exp;
branches;
next	1.39;

1.39
date	98.04.07.21.00.52;	author momjian;	state Exp;
branches;
next	1.38;

1.38
date	98.03.23.16.13.53;	author momjian;	state Exp;
branches;
next	1.37;

1.37
date	98.03.22.03.22.46;	author momjian;	state Exp;
branches;
next	1.36;

1.36
date	98.03.21.15.17.24;	author momjian;	state Exp;
branches;
next	1.35;

1.35
date	98.03.21.15.01.32;	author momjian;	state Exp;
branches;
next	1.34;

1.34
date	98.03.21.05.28.18;	author momjian;	state Exp;
branches;
next	1.33;

1.33
date	98.03.01.05.27.43;	author momjian;	state Exp;
branches;
next	1.32;

1.32
date	98.02.28.15.08.07;	author momjian;	state Exp;
branches;
next	1.31;

1.31
date	98.02.27.22.20.09;	author momjian;	state Exp;
branches;
next	1.30;

1.30
date	98.02.27.22.01.42;	author momjian;	state Exp;
branches;
next	1.29;

1.29
date	98.02.23.20.15.23;	author scrappy;	state Exp;
branches;
next	1.28;

1.28
date	98.02.01.21.20.19;	author momjian;	state Exp;
branches;
next	1.27;

1.27
date	97.10.18.16.40.53;	author momjian;	state Exp;
branches;
next	1.26;

1.26
date	97.10.17.11.46.02;	author vadim;	state Exp;
branches;
next	1.25;

1.25
date	97.10.17.02.11.31;	author momjian;	state Exp;
branches;
next	1.24;

1.24
date	97.10.16.17.31.36;	author momjian;	state Exp;
branches;
next	1.23;

1.23
date	97.10.16.04.13.16;	author momjian;	state Exp;
branches;
next	1.22;

1.22
date	97.10.02.18.00.34;	author vadim;	state Exp;
branches;
next	1.21;

1.21
date	97.09.30.03.12.43;	author momjian;	state Exp;
branches;
next	1.20;

1.20
date	97.09.27.14.28.46;	author thomas;	state Exp;
branches;
next	1.19;

1.19
date	97.09.18.17.17.19;	author momjian;	state Exp;
branches;
next	1.18;

1.18
date	97.09.14.02.09.00;	author momjian;	state Exp;
branches;
next	1.17;

1.17
date	97.07.21.22.29.16;	author momjian;	state Exp;
branches;
next	1.16;

1.16
date	97.07.14.03.26.14;	author momjian;	state Exp;
branches;
next	1.15;

1.15
date	97.07.14.01.54.32;	author momjian;	state Exp;
branches;
next	1.14;

1.14
date	97.07.13.22.51.20;	author momjian;	state Exp;
branches;
next	1.13;

1.13
date	97.07.13.19.59.41;	author momjian;	state Exp;
branches;
next	1.12;

1.12
date	97.06.07.18.43.42;	author momjian;	state Exp;
branches;
next	1.11;

1.11
date	97.06.03.20.36.39;	author momjian;	state Exp;
branches;
next	1.10;

1.10
date	97.06.03.20.29.41;	author momjian;	state Exp;
branches;
next	1.9;

1.9
date	97.05.14.21.56.08;	author momjian;	state Exp;
branches;
next	1.8;

1.8
date	97.05.14.20.18.50;	author momjian;	state Exp;
branches;
next	1.7;

1.7
date	97.02.19.13.18.48;	author scrappy;	state Exp;
branches;
next	1.6;

1.6
date	97.01.29.05.26.37;	author momjian;	state Exp;
branches;
next	1.5;

1.5
date	97.01.13.17.17.53;	author momjian;	state Exp;
branches;
next	1.4;

1.4
date	97.01.03.15.49.58;	author momjian;	state Exp;
branches;
next	1.3;

1.3
date	96.12.28.02.01.43;	author momjian;	state Exp;
branches;
next	1.2;

1.2
date	96.12.26.22.15.08;	author momjian;	state Exp;
branches;
next	1.1;

1.1
date	96.08.18.22.14.15;	author scrappy;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	96.08.18.22.14.15;	author scrappy;	state Exp;
branches;
next	;

1.44.2.1
date	98.11.07.03.25.50;	author momjian;	state Exp;
branches;
next	1.44.2.2;

1.44.2.2
date	98.12.18.05.38.29;	author momjian;	state Exp;
branches;
next	1.44.2.3;

1.44.2.3
date	98.12.18.16.51.39;	author momjian;	state Exp;
branches;
next	1.44.2.4;

1.44.2.4
date	98.12.29.05.08.31;	author momjian;	state Exp;
branches;
next	1.44.2.5;

1.44.2.5
date	99.01.02.16.07.06;	author momjian;	state Exp;
branches;
next	1.44.2.6;

1.44.2.6
date	99.01.03.06.50.17;	author momjian;	state Exp;
branches;
next	;

1.52.2.1
date	99.07.14.23.38.26;	author thomas;	state Exp;
branches;
next	1.52.2.2;

1.52.2.2
date	99.09.13.04.35.14;	author thomas;	state Exp;
branches;
next	1.52.2.3;

1.52.2.3
date	99.09.13.17.10.27;	author momjian;	state Exp;
branches;
next	1.52.2.4;

1.52.2.4
date	99.09.13.18.46.55;	author momjian;	state Exp;
branches;
next	1.52.2.5;

1.52.2.5
date	99.09.13.22.38.46;	author momjian;	state Exp;
branches;
next	1.52.2.6;

1.52.2.6
date	99.10.12.15.35.05;	author momjian;	state Exp;
branches;
next	1.52.2.7;

1.52.2.7
date	99.10.12.16.04.48;	author momjian;	state Exp;
branches;
next	1.52.2.8;

1.52.2.8
date	99.11.01.16.21.18;	author momjian;	state Exp;
branches;
next	;

1.70.2.1
date	2000.06.01.05.14.30;	author momjian;	state Exp;
branches;
next	1.70.2.2;

1.70.2.2
date	2000.06.01.06.03.49;	author momjian;	state Exp;
branches;
next	1.70.2.3;

1.70.2.3
date	2000.06.02.01.26.28;	author momjian;	state Exp;
branches;
next	1.70.2.4;

1.70.2.4
date	2000.06.02.16.34.41;	author momjian;	state Exp;
branches;
next	1.70.2.5;

1.70.2.5
date	2000.06.05.10.59.13;	author momjian;	state Exp;
branches;
next	1.70.2.6;

1.70.2.6
date	2000.11.03.03.42.53;	author momjian;	state Exp;
branches;
next	1.70.2.7;

1.70.2.7
date	2000.11.03.04.17.51;	author momjian;	state Exp;
branches;
next	1.70.2.8;

1.70.2.8
date	2000.11.12.07.31.36;	author scrappy;	state Exp;
branches;
next	;

1.106.2.1
date	2001.05.11.01.34.38;	author momjian;	state Exp;
branches;
next	1.106.2.2;

1.106.2.2
date	2001.05.17.13.29.36;	author momjian;	state Exp;
branches;
next	1.106.2.3;

1.106.2.3
date	2001.08.14.21.22.07;	author momjian;	state Exp;
branches;
next	1.106.2.4;

1.106.2.4
date	2001.08.15.19.31.41;	author momjian;	state Exp;
branches;
next	1.106.2.5;

1.106.2.5
date	2001.08.15.19.32.05;	author momjian;	state Exp;
branches;
next	1.106.2.6;

1.106.2.6
date	2001.08.15.19.32.33;	author momjian;	state Exp;
branches;
next	1.106.2.7;

1.106.2.7
date	2001.08.15.19.32.50;	author momjian;	state Exp;
branches;
next	;

1.153.2.1
date	2002.03.18.23.04.08;	author momjian;	state Exp;
branches;
next	1.153.2.2;

1.153.2.2
date	2002.03.19.00.12.41;	author momjian;	state Exp;
branches;
next	1.153.2.3;

1.153.2.3
date	2002.03.19.14.16.31;	author momjian;	state Exp;
branches;
next	1.153.2.4;

1.153.2.4
date	2002.03.25.20.58.39;	author momjian;	state Exp;
branches;
next	1.153.2.5;

1.153.2.5
date	2002.03.25.21.24.43;	author momjian;	state Exp;
branches;
next	1.153.2.6;

1.153.2.6
date	2002.08.22.23.26.23;	author momjian;	state Exp;
branches;
next	1.153.2.7;

1.153.2.7
date	2002.08.23.02.33.06;	author momjian;	state Exp;
branches;
next	1.153.2.8;

1.153.2.8
date	2002.10.01.03.24.17;	author momjian;	state Exp;
branches;
next	1.153.2.9;

1.153.2.9
date	2003.01.29.22.12.42;	author tgl;	state Exp;
branches;
next	1.153.2.10;

1.153.2.10
date	2004.08.15.01.23.25;	author tgl;	state Exp;
branches;
next	1.153.2.11;

1.153.2.11
date	2004.10.22.00.27.31;	author tgl;	state Exp;
branches;
next	1.153.2.12;

1.153.2.12
date	2005.01.30.20.32.38;	author tgl;	state Exp;
branches;
next	1.153.2.13;

1.153.2.13
date	2005.05.05.20.10.02;	author tgl;	state Exp;
branches;
next	1.153.2.14;

1.153.2.14
date	2005.05.09.00.10.53;	author tgl;	state Exp;
branches;
next	;

1.182.2.1
date	2002.11.08.03.45.35;	author momjian;	state Exp;
branches;
next	1.182.2.2;

1.182.2.2
date	2002.11.11.20.02.06;	author petere;	state Exp;
branches;
next	1.182.2.3;

1.182.2.3
date	2002.11.26.05.17.27;	author momjian;	state Exp;
branches;
next	1.182.2.4;

1.182.2.4
date	2002.11.26.22.04.52;	author momjian;	state Exp;
branches;
next	1.182.2.5;

1.182.2.5
date	2002.12.18.02.07.16;	author momjian;	state Exp;
branches;
next	1.182.2.6;

1.182.2.6
date	2002.12.18.23.38.06;	author petere;	state Exp;
branches;
next	1.182.2.7;

1.182.2.7
date	2002.12.20.00.24.27;	author momjian;	state Exp;
branches;
next	1.182.2.8;

1.182.2.8
date	2003.01.11.21.03.20;	author momjian;	state Exp;
branches;
next	1.182.2.9;

1.182.2.9
date	2003.01.29.22.13.56;	author tgl;	state Exp;
branches;
next	1.182.2.10;

1.182.2.10
date	2003.02.02.19.48.28;	author tgl;	state Exp;
branches;
next	1.182.2.11;

1.182.2.11
date	2003.05.22.20.38.56;	author tgl;	state Exp;
branches;
next	1.182.2.12;

1.182.2.12
date	2003.05.26.18.58.35;	author tgl;	state Exp;
branches;
next	1.182.2.13;

1.182.2.13
date	2003.07.23.04.09.40;	author momjian;	state Exp;
branches;
next	1.182.2.14;

1.182.2.14
date	2003.07.23.22.59.39;	author momjian;	state Exp;
branches;
next	1.182.2.15;

1.182.2.15
date	2003.07.24.00.44.24;	author momjian;	state Exp;
branches;
next	1.182.2.16;

1.182.2.16
date	2003.12.02.16.15.43;	author tgl;	state Exp;
branches;
next	1.182.2.17;

1.182.2.17
date	2004.03.02.00.39.09;	author tgl;	state Exp;
branches;
next	1.182.2.18;

1.182.2.18
date	2004.08.15.00.51.56;	author tgl;	state Exp;
branches;
next	1.182.2.19;

1.182.2.19
date	2004.08.15.01.27.47;	author tgl;	state Exp;
branches;
next	1.182.2.20;

1.182.2.20
date	2004.10.22.00.26.59;	author tgl;	state Exp;
branches;
next	1.182.2.21;

1.182.2.21
date	2005.01.30.20.08.12;	author tgl;	state Exp;
branches;
next	1.182.2.22;

1.182.2.22
date	2005.05.05.20.09.08;	author tgl;	state Exp;
branches;
next	1.182.2.23;

1.182.2.23
date	2005.05.08.23.32.37;	author tgl;	state dead;
branches;
next	;

1.209.2.1
date	2003.09.07.04.36.37;	author momjian;	state Exp;
branches;
next	;

1.226.2.1
date	2003.11.14.03.41.25;	author momjian;	state Exp;
branches;
next	1.226.2.2;

1.226.2.2
date	2003.11.14.17.47.49;	author momjian;	state Exp;
branches;
next	1.226.2.3;

1.226.2.3
date	2003.11.15.01.16.53;	author petere;	state Exp;
branches;
next	1.226.2.4;

1.226.2.4
date	2003.11.16.04.49.51;	author momjian;	state Exp;
branches;
next	1.226.2.5;

1.226.2.5
date	2003.11.17.04.52.00;	author momjian;	state Exp;
branches;
next	1.226.2.6;

1.226.2.6
date	2003.12.15.22.25.29;	author momjian;	state Exp;
branches;
next	1.226.2.7;

1.226.2.7
date	2003.12.17.07.07.46;	author momjian;	state Exp;
branches;
next	1.226.2.8;

1.226.2.8
date	2003.12.20.00.57.32;	author momjian;	state Exp;
branches;
next	1.226.2.9;

1.226.2.9
date	2003.12.21.05.23.59;	author momjian;	state Exp;
branches;
next	1.226.2.10;

1.226.2.10
date	2003.12.21.23.44.40;	author tgl;	state Exp;
branches;
next	1.226.2.11;

1.226.2.11
date	2003.12.22.07.28.46;	author momjian;	state Exp;
branches;
next	1.226.2.12;

1.226.2.12
date	2004.02.12.20.18.11;	author momjian;	state Exp;
branches;
next	1.226.2.13;

1.226.2.13
date	2004.02.13.04.40.42;	author momjian;	state Exp;
branches;
next	1.226.2.14;

1.226.2.14
date	2004.03.02.00.38.56;	author tgl;	state Exp;
branches;
next	1.226.2.15;

1.226.2.15
date	2004.03.05.19.52.38;	author momjian;	state Exp;
branches;
next	1.226.2.16;

1.226.2.16
date	2004.03.07.22.08.08;	author tgl;	state Exp;
branches;
next	1.226.2.17;

1.226.2.17
date	2004.03.09.17.40.52;	author momjian;	state Exp;
branches;
next	1.226.2.18;

1.226.2.18
date	2004.03.10.00.28.27;	author momjian;	state dead;
branches;
next	;


desc
@@


1.243
log
@Remove HISTORY and INSTALL.  Have them generated by the tarball scripts.

Add README.CVS to help CVS folks find this information.
@
text
@
                               Release Notes

                               Release 7.4.2

     Release date: 2004-03-08

   This release contains a variety of fixes from 7.4.1.
     _________________________________________________________________

Migration to version 7.4.2

   A dump/restore is not required for those running 7.4.X. However, it
   may be advisable as the easiest method of incorporating fixes for two
   errors that have been found in the initial contents of 7.4.X system
   catalogs. A dump/initdb/reload sequence using 7.4.2's initdb will
   automatically correct these problems.

   The more severe of the two errors is that data type anyarray has the
   wrong alignment label; this is a problem because the pg_statistic
   system catalog uses anyarray columns. The mislabeling can cause
   planner misestimations and even crashes when planning queries that
   involve WHERE clauses on double-aligned columns (such as float8 and
   timestamp). It is strongly recommended that all installations repair
   this error, either by initdb or by following the manual repair
   procedure given below.

   The lesser error is that the system view pg_settings ought to be
   marked as having public update access, to allow UPDATE pg_settings to
   be used as a substitute for "SET". This can also be fixed either by
   initdb or manually, but it is not necessary to fix unless you want to
   use UPDATE pg_settings.

   If you wish not to do an initdb, the following procedure will work for
   fixing pg_statistic. As the database superuser, do:
-- clear out old data in pg_statistic:
DELETE FROM pg_statistic;
VACUUM pg_statistic;
-- this should update 1 row:
UPDATE pg_type SET typalign = 'd' WHERE oid = 2277;
-- this should update 6 rows:
UPDATE pg_attribute SET attalign = 'd' WHERE atttypid = 2277;
--
-- At this point you MUST start a fresh backend to avoid a crash!
--
-- repopulate pg_statistic:
ANALYZE;

   This can be done in a live database, but beware that all backends
   running in the altered database must be restarted before it is safe to
   repopulate pg_statistic.

   To repair the pg_settings error, simply do:
GRANT SELECT, UPDATE ON pg_settings TO PUBLIC;

   The above procedures must be carried out in *each* database of an
   installation, including template1, and ideally including template0 as
   well. If you do not fix the template databases then any subsequently
   created databases will contain the same errors. template1 can be fixed
   in the same way as any other database, but fixing template0 requires
   additional steps. First, from any database issue
UPDATE pg_database SET datallowconn = true WHERE datname = 'template0';

   Next connect to template0 and perform the above repair procedures.
   Finally, do
-- re-freeze template0:
VACUUM FREEZE;
-- and protect it against future alterations:
UPDATE pg_database SET datallowconn = false WHERE datname = 'template0';
     _________________________________________________________________

Changes

   Release 7.4.2 incorporates all the fixes included in release 7.3.6,
   plus the following fixes:

     * Fix pg_statistics alignment bug that could crash optimizer
       See above for details about this problem.
     * Allow non-super users to update pg_settings
     * Fix several optimizer bugs, most of which led to "variable not
       found in subplan target lists" errors
     * Avoid out-of-memory failure during startup of large multiple index
       scan
     * Fix multibyte problem that could lead to "out of memory" error
       during "COPY IN"
     * Fix problems with "SELECT INTO" / "CREATE TABLE AS" from tables
       without OIDs
     * Fix problems with "alter_table" regression test during parallel
       testing
     * Fix problems with hitting open file limit, especially on OS X
       (Tom)
     * Partial fix for Turkish-locale issues
       initdb will succeed now in Turkish locale, but there are still
       some inconveniences associated with the i/I problem.
     * Make pg_dump set client encoding on restore
     * Other minor pg_dump fixes
     * Allow ecpg to again use C keywords as column names (Michael)
     * Added ecpg WHENEVER NOT_FOUND to SELECT/INSERT/UPDATE/DELETE
       (Michael)
     * Fix ecpg crash for queries calling set-returning functions
       (Michael)
     * Various other ecpg fixes (Michael)
     * Fixes for Borland compiler
     * Thread build improvements (Bruce)
     * Various other build fixes
     * Various JDBC fixes
     _________________________________________________________________

                               Release 7.4.1

     Release date: 2003-12-22

   This release contains a variety of fixes from 7.4.
     _________________________________________________________________

Migration to version 7.4.1

   A dump/restore is *not* required for those running 7.4.

   If you want to install the fixes in the information schema you need to
   reload it into the database. This is either accomplished by
   initializing a new cluster by running "initdb", or by running the
   following sequence of SQL commands in each database (ideally including
   template1) as a superuser in psql, after installing the new release:
DROP SCHEMA information_schema CASCADE;
\i /usr/local/pgsql/share/information_schema.sql

   Substitute your installation path in the second command.
     _________________________________________________________________

Changes

     * Fixed bug in "CREATE SCHEMA" parsing in ECPG (Michael)
     * Fix compile error when "--enable-thread-safety" and "--with-perl"
       are used together (Peter)
     * Fix for subqueries that used hash joins (Tom)
       Certain subqueries that used hash joins would crash because of
       improperly shared structures.
     * Fix free space map compaction bug (Tom)
       This fixes a bug where compaction of the free space map could lead
       to a database server shutdown.
     * Fix for Borland compiler build of libpq (Bruce)
     * Fix netmask() and hostmask() to return the maximum-length masklen
       (Tom)
       Fix these functions to return values consistent with pre-7.4
       releases.
     * Several "contrib/pg_autovacuum" fixes
       Fixes include improper variable initialization, missing vacuum
       after "TRUNCATE", and duration computation overflow for long
       vacuums.
     * Allow compile of "contrib/cube" under Cygwin (Jason Tishler)
     * Fix Solaris use of password file when no passwords are defined
       (Tom)
       Fix crash on Solaris caused by use of any type of password
       authentication when no passwords were defined.
     * JDBC fix for thread problems, other fixes
     * Fix for bytea index lookups (Joe)
     * Fix information schema for bit data types (Peter)
     * Force zero_damaged_pages to be on during recovery from WAL
     * Prevent some obscure cases of "variable not in subplan target
       lists"
     * Make PQescapeBytea and byteaout consistent with each other (Joe)
     * Escape bytea output for bytes > 0x7e(Joe)
       If different client encodings are used for bytea output and input,
       it is possible for bytea values to be corrupted by the differing
       encodings. This fix escapes all bytes that might be affected.
     * Added missing SPI_finish() calls to dblink's
       get_tuple_of_interest() (Joe)
     * New Czech FAQ
     * Fix information schema view constraint_column_usage for foreign
       keys (Peter)
     * ECPG fixes (Michael)
     * Fix bug with multiple IN subqueries and joins in the subqueries
       (Tom)
     * Alllow COUNT('x') to work (Tom)
     * Install ECPG include files for Informix compatibility into
       separate directory (Peter)
       Some names of ECPG include files for Informix compatibility
       conflicted with operating system include files. By installing them
       in their own directory, name conflicts have been reduced.
     * Fix SSL memory leak (Neil)
       This release fixes a bug in 7.4 where SSL didn't free all memory
       it allocated.
     * Prevent "pg_service.conf" from using service name as default
       dbname (Bruce)
     * Fix local ident authentication on FreeBSD (Tom)
     _________________________________________________________________

                                Release 7.4

     Release date: 2003-11-17
     _________________________________________________________________

Overview

   Major changes in this release:

   IN / NOT IN subqueries are now much more efficient
          In previous releases, IN/NOT IN subqueries were joined to the
          upper query by sequentially scanning the subquery looking for a
          match. The 7.4 code uses the same sophisticated techniques used
          by ordinary joins and so is much faster. An IN will now usually
          be as fast as or faster than an equivalent EXISTS subquery;
          this reverses the conventional wisdom that applied to previous
          releases.

   Improved GROUP BY processing by using hash buckets
          In previous releases, rows to be grouped had to be sorted
          first. The 7.4 code can do GROUP BY without sorting, by
          accumulating results into a hash table with one entry per
          group. It will still use the sort technique, however, if the
          hash table is estimated to be too large to fit in sort_mem.

   New multikey hash join capability
          In previous releases, hash joins could only occur on single
          keys. This release allows multicolumn hash joins.

   Queries using the explicit JOIN syntax are now better optimized
          Prior releases evaluated queries using the explicit JOIN syntax
          only in the order implied by the syntax. 7.4 allows full
          optimization of these queries, meaning the optimizer considers
          all possible join orderings and chooses the most efficient.
          Outer joins, however, must still follow the declared ordering.

   Faster and more powerful regular expression code
          The entire regular expression module has been replaced with a
          new version by Henry Spencer, originally written for Tcl. The
          code greatly improves performance and supports several flavors
          of regular expressions.

   Function-inlining for simple SQL functions
          Simple SQL functions can now be inlined by including their SQL
          in the main query. This improves performance by eliminating
          per-call overhead. That means simple SQL functions now behave
          like macros.

   Full support for IPv6 connections and IPv6 address data types
          Previous releases allowed only IPv4 connections, and the IP
          data types only supported IPv4 addresses. This release adds
          full IPv6 support in both of these areas.

   Major improvements in SSL performance and reliability
          Several people very familiar with the SSL API have overhauled
          our SSL code to improve SSL key negotiation and error recovery.

   Make free space map efficiently reuse empty index pages, and other
          free space management improvements
          In previous releases, B-tree index pages that were left empty
          because of deleted rows could only be reused by rows with index
          values similar to the rows originally indexed on that page. In
          7.4, "VACUUM" records empty index pages and allows them to be
          reused for any future index rows.

   SQL-standard information schema
          The information schema provides a standardized and stable way
          to access information about the schema objects defined in a
          database.

   Cursors conform more closely to the SQL standard
          The commands "FETCH" and "MOVE" have been overhauled to conform
          more closely to the SQL standard.

   Cursors can exist outside transactions
          These cursors are also called holdable cursors.

   New client-to-server protocol
          The new protocol adds error codes, more status information,
          faster startup, better support for binary data transmission,
          parameter values separated from SQL commands, prepared
          statements available at the protocol level, and cleaner
          recovery from "COPY" failures. The older protocol is still
          supported by both server and clients.

   libpq and ECPG applications are now fully thread-safe
          While previous libpq releases already supported threads, this
          release improves thread safety by fixing some non-thread-safe
          code that was used during database connection startup. The
          "configure" option "--enable-thread-safety" must be used to
          enable this feature.

   New version of full-text indexing
          A new full-text indexing suite is available in
          "contrib/tsearch2".

   New autovacuum tool
          The new autovacuum tool in "contrib/autovacuum" monitors the
          database statistics tables for "INSERT"/"UPDATE"/"DELETE"
          activity and automatically vacuums tables when needed.

   Array handling has been improved and moved into the server core
          Many array limitations have been removed, and arrays behave
          more like fully-supported data types.
     _________________________________________________________________

Migration to version 7.4

   A dump/restore using pg_dump is required for those wishing to migrate
   data from any previous release.

   Observe the following incompatibilities:

     * The server-side autocommit setting was removed and reimplemented
       in client applications and languages. Server-side autocommit was
       causing too many problems with languages and applications that
       wanted to control their own autocommit behavior, so autocommit was
       removed from the server and added to individual client APIs as
       appropriate.
     * Error message wording has changed substantially in this release.
       Significant effort was invested to make the messages more
       consistent and user-oriented. If your applications try to detect
       different error conditions by parsing the error message, you are
       strongly encouraged to use the new error code facility instead.
     * Inner joins using the explicit JOIN syntax may behave differently
       because they are now better optimized.
     * A number of server configuration parameters have been renamed for
       clarity, primarily those related to logging.
     * FETCH 0 or MOVE 0 now does nothing. In prior releases, FETCH 0
       would fetch all remaining rows, and MOVE 0 would move to the end
       of the cursor.
     * "FETCH" and "MOVE" now return the actual number of rows
       fetched/moved, or zero if at the beginning/end of the cursor.
       Prior releases would return the row count passed to the command,
       not the number of rows actually fetched or moved.
     * "COPY" now can process files that use carriage-return or
       carriage-return/line-feed end-of-line sequences. Literal
       carriage-returns and line-feeds are no longer accepted in data
       values; use \r and \n instead.
     * Trailing spaces are now trimmed when converting from type char(n)
       to varchar(n) or text. This is what most people always expected to
       happen anyway.
     * The data type float(p) now measures "p" in binary digits, not
       decimal digits. The new behavior follows the SQL standard.
     * Ambiguous date values now must match the ordering specified by the
       datestyle setting. In prior releases, a date specification of
       10/20/03 was interpreted as a date in October even if datestyle
       specified that the day should be first. 7.4 will throw an error if
       a date specification is invalid for the current setting of
       datestyle.
     * The functions oidrand, oidsrand, and userfntest have been removed.
       These functions were determined to be no longer useful.
     * String literals specifying time-varying date/time values, such as
       'now' or 'today' will no longer work as expected in column default
       expressions; they now cause the time of the table creation to be
       the default, not the time of the insertion. Functions such as
       now(), current_timestamp, or current_date should be used instead.
       In previous releases, there was special code so that strings such
       as 'now' were interpreted at "INSERT" time and not at table
       creation time, but this work around didn't cover all cases.
       Release 7.4 now requires that defaults be defined properly using
       functions such as now() or current_timestamp. These will work in
       all situations.
     * The dollar sign ($) is no longer allowed in operator names. It can
       instead be a non-first character in identifiers. This was done to
       improve compatibility with other database systems, and to avoid
       syntax problems when parameter placeholders ($n) are written
       adjacent to operators.
     _________________________________________________________________

Changes

   Below you will find a detailed account of the changes between release
   7.4 and the previous major release.
     _________________________________________________________________

Server Operation Changes

     * Allow IPv6 server connections (Nigel Kukard, Johan Jordaan, Bruce,
       Tom, Kurt Roeckx, Andrew Dunstan)
     * Fix SSL to handle errors cleanly (Nathan Mueller)
       In prior releases, certain SSL API error reports were not handled
       correctly. This release fixes those problems.
     * SSL protocol security and performance improvements (Sean
       Chittenden)
       SSL key renegotiation was happening too frequently, causing poor
       SSL performance. Also, initial key handling was improved.
     * Print lock information when a deadlock is detected (Tom)
       This allows easier debugging of deadlock situations.
     * Update "/tmp" socket modification times regularly to avoid their
       removal (Tom)
       This should help prevent "/tmp" directory cleaner administration
       scripts from removing server socket files.
     * Enable PAM for Mac OS X (Aaron Hillegass)
     * Make B-tree indexes fully WAL-safe (Tom)
       In prior releases, under certain rare cases, a server crash could
       cause B-tree indexes to become corrupt. This release removes those
       last few rare cases.
     * Allow B-tree index compaction and empty page reuse (Tom)
     * Fix inconsistent index lookups during split of first root page
       (Tom)
       In prior releases, when a single-page index split into two pages,
       there was a brief period when another database session could miss
       seeing an index entry. This release fixes that rare failure case.
     * Improve free space map allocation logic (Tom)
     * Preserve free space information between server restarts (Tom)
       In prior releases, the free space map was not saved when the
       postmaster was stopped, so newly started servers had no free space
       information. This release saves the free space map, and reloads it
       when the server is restarted.
     * Add start time to pg_stat_activity (Neil)
     * New code to detect corrupt disk pages; erase with
       zero_damaged_pages (Tom)
     * New client/server protocol: faster, no username length limit,
       allow clean exit from "COPY" (Tom)
     * Add transaction status, table ID, column ID to client/server
       protocol (Tom)
     * Add binary I/O to client/server protocol (Tom)
     * Remove autocommit server setting; move to client applications
       (Tom)
     * New error message wording, error codes, and three levels of error
       detail (Tom, Joe, Peter)
     _________________________________________________________________

Performance Improvements

     * Add hashing for GROUP BY aggregates (Tom)
     * Make nested-loop joins be smarter about multicolumn indexes (Tom)
     * Allow multikey hash joins (Tom)
     * Improve constant folding (Tom)
     * Add ability to inline simple SQL functions (Tom)
     * Reduce memory usage for queries using complex functions (Tom)
       In prior releases, functions returning allocated memory would not
       free it until the query completed. This release allows the freeing
       of function-allocated memory when the function call completes,
       reducing the total memory used by functions.
     * Improve GEQO optimizer performance (Tom)
       This release fixes several inefficiencies in the way the GEQO
       optimizer manages potential query paths.
     * Allow IN/NOT IN to be handled via hash tables (Tom)
     * Improve NOT IN (subquery) performance (Tom)
     * Allow most IN subqueries to be processed as joins (Tom)
     * Pattern matching operations can use indexes regardless of locale
       (Peter)
       There is no way for non-ASCII locales to use the standard indexes
       for LIKE comparisons. This release adds a way to create a special
       index for LIKE.
     * Allow the postmaster to preload libraries using preload_libraries
       (Joe)
       For shared libraries that require a long time to load, this option
       is available so the library can be preloaded in the postmaster and
       inherited by all database sessions.
     * Improve optimizer cost computations, particularly for subqueries
       (Tom)
     * Avoid sort when subquery ORDER BY matches upper query (Tom)
     * Deduce that WHERE a.x = b.y AND b.y = 42 also means a.x = 42 (Tom)
     * Allow hash/merge joins on complex joins (Tom)
     * Allow hash joins for more data types (Tom)
     * Allow join optimization of explicit inner joins, disable with
       join_collapse_limit (Tom)
     * Add parameter from_collapse_limit to control conversion of
       subqueries to joins (Tom)
     * Use faster and more powerful regular expression code from Tcl
       (Henry Spencer, Tom)
     * Use bit-mapped relation sets in the optimizer (Tom)
     * Improve connection startup time (Tom)
       The new client/server protocol requires fewer network packets to
       start a database session.
     * Improve trigger/constraint performance (Stephan)
     * Improve speed of col IN (const, const, const, ...) (Tom)
     * Fix hash indexes which were broken in rare cases (Tom)
     * Improve hash index concurrency and speed (Tom)
       Prior releases suffered from poor hash index performance,
       particularly for high concurrency situations. This release fixes
       that, and the development group is interested in reports comparing
       B-tree and hash index performance.
     * Align shared buffers on 32-byte boundary for copy speed
       improvement (Manfred Spraul)
       Certain CPU's perform faster data copies when addresses are
       32-byte aligned.
     * Data type numeric reimplemented for better performance (Tom)
       numeric used to be stored in base 100. The new code uses base
       10000, for significantly better performance.
     _________________________________________________________________

Server Configuration Changes

     * Rename server parameter server_min_messages to log_min_messages
       (Bruce)
       This was done so most parameters that control the server logs
       begin with log_.
     * Rename show_*_stats to log_*_stats (Bruce)
     * Rename show_source_port to log_source_port (Bruce)
     * Rename hostname_lookup to log_hostname (Bruce)
     * Add checkpoint_warning to warn of excessive checkpointing (Bruce)
       In prior releases, it was difficult to determine if checkpoint was
       happening too frequently. This feature adds a warning to the
       server logs when excessive checkpointing happens.
     * New read-only server parameters for localization (Tom)
     * Change debug server log messages to output as DEBUG rather than
       LOG (Bruce)
     * Prevent server log variables from being turned off by
       non-superusers (Bruce)
       This is a security feature so non-superusers cannot disable
       logging that was enabled by the administrator.
     * log_min_messages/client_min_messages now controls debug_* output
       (Bruce)
       This centralizes client debug information so all debug output can
       be sent to either the client or server logs.
     * Add Mac OS X Rendezvous server support (Chris Campbell)
       This allows Mac OS X hosts to query the network for available
       PostgreSQL servers.
     * Add ability to print only slow statements using
       log_min_duration_statement (Christopher)
       This is an often requested debugging feature that allows
       administrators to see only slow queries in their server logs.
     * Allow "pg_hba.conf" to accept netmasks in CIDR format (Andrew
       Dunstan)
       This allows administrators to merge the host IP address and
       netmask fields into a single CIDR field in "pg_hba.conf".
     * New read-only parameter is_superuser (Tom)
     * New parameter log_error_verbosity to control error detail (Tom)
       This works with the new error reporting feature to supply
       additional error information like hints, file names and line
       numbers.
     * postgres --describe-config now dumps server config variables
       (Aizaz Ahmed, Peter)
       This option is useful for administration tools that need to know
       the configuration variable names and their minimums, maximums,
       defaults, and descriptions.
     * Add new columns in pg_settings: context, type, source, min_val,
       max_val (Joe)
     * Make default shared_buffers 1000 and max_connections 100, if
       possible (Tom)
       Prior versions defaulted to 64 shared buffers so PostgreSQL would
       start on even very old systems. This release tests the amount of
       shared memory allowed by the platform and selects more reasonable
       default values if possible. Of course, users are still encouraged
       to evaluate their resource load and size shared_buffers
       accordingly.
     * New "pg_hba.conf" record type hostnossl to prevent SSL connections
       (Jon Jensen)
       In prior releases, there was no way to prevent SSL connections if
       both the client and server supported SSL. This option allows that
       capability.
     * Remove parameter geqo_random_seed (Tom)
     * Add server parameter regex_flavor to control regular expression
       processing (Tom)
     * Make "pg_ctl" better handle nonstandard ports (Greg)
     _________________________________________________________________

Query Changes

     * New SQL-standard information schema (Peter)
     * Add read-only transactions (Peter)
     * Print key name and value in foreign-key violation messages (Dmitry
       Tkach)
     * Allow users to see their own queries in pg_stat_activity (Kevin
       Brown)
       In prior releases, only the superuser could see query strings
       using pg_stat_activity. Now ordinary users can see their own query
       strings.
     * Fix aggregates in subqueries to match SQL standard (Tom)
       The SQL standard says that an aggregate function appearing within
       a nested subquery belongs to the outer query if its argument
       contains only outer-query variables. Prior PostgreSQL releases did
       not handle this fine point correctly.
     * Add option to prevent auto-addition of tables referenced in query
       (Nigel J. Andrews)
       By default, tables mentioned in the query are automatically added
       to the FROM clause if they are not already there. This is
       compatible with historic POSTGRES behavior but is contrary to the
       SQL standard. This option allows selecting standard-compatible
       behavior.
     * Allow UPDATE ... SET col = DEFAULT (Rod)
       This allows "UPDATE" to set a column to its declared default
       value.
     * Allow expressions to be used in LIMIT/OFFSET (Tom)
       In prior releases, LIMIT/OFFSET could only use constants, not
       expressions.
     * Implement CREATE TABLE AS EXECUTE (Neil, Peter)
     _________________________________________________________________

Object Manipulation Changes

     * Make "CREATE SEQUENCE" grammar more conforming to SQL 2003 (Neil)
     * Add statement-level triggers (Neil)
       While this allows a trigger to fire at the end of a statement, it
       does not allow the trigger to access all rows modified by the
       statement. This capability is planned for a future release.
     * Add check constraints for domains (Rod)
       This greatly increases the usefulness of domains by allowing them
       to use check constraints.
     * Add "ALTER DOMAIN" (Rod)
       This allows manipulation of existing domains.
     * Fix several zero-column table bugs (Tom)
       PostgreSQL supports zero-column tables. This fixes various bugs
       that occur when using such tables.
     * Have ALTER TABLE ... ADD PRIMARY KEY add not-null constraint (Rod)
       In prior releases, ALTER TABLE ... ADD PRIMARY would add a unique
       index, but not a not-null constraint. That is fixed in this
       release.
     * Add ALTER TABLE ... WITHOUT OIDS (Rod)
       This allows control over whether new and updated rows will have an
       OID column. This is most useful for saving storage space.
     * Add ALTER SEQUENCE to modify minimum, maximum, increment, cache,
       cycle values (Rod)
     * Add ALTER TABLE ... CLUSTER ON (Alvaro Herrera)
       This command is used by "pg_dump" to record the cluster column for
       each table previously clustered. This information is used by
       database-wide cluster to cluster all previously clustered tables.
     * Improve automatic type casting for domains (Rod, Tom)
     * Allow dollar signs in identifiers, except as first character (Tom)
     * Disallow dollar signs in operator names, so x=$1 works (Tom)
     * Allow copying table schema using LIKE subtable, also SQL 2003
       feature INCLUDING DEFAULTS (Rod)
     * Add WITH GRANT OPTION clause to "GRANT" (Peter)
       This enabled "GRANT" to give other users the ability to grant
       privileges on a object.
     _________________________________________________________________

Utility Command Changes

     * Add ON COMMIT clause to "CREATE TABLE" for temporary tables
       (Gavin)
       This adds the ability for a table to be dropped or all rows
       deleted on transaction commit.
     * Allow cursors outside transactions using WITH HOLD (Neil)
       In previous releases, cursors were removed at the end of the
       transaction that created them. Cursors can now be created with the
       WITH HOLD option, which allows them to continue to be accessed
       after the creating transaction has committed.
     * FETCH 0 and MOVE 0 now do nothing (Bruce)
       In previous releases, FETCH 0 fetched all remaining rows, and MOVE
       0 moved to the end of the cursor.
     * Cause "FETCH" and "MOVE" to return the number of rows
       fetched/moved, or zero if at the beginning/end of cursor, per SQL
       standard (Bruce)
       In prior releases, the row count returned by "FETCH" and "MOVE"
       did not accurately reflect the number of rows processed.
     * Properly handle SCROLL with cursors, or report an error (Neil)
       Allowing random access (both forward and backward scrolling) to
       some kinds of queries cannot be done without some additional work.
       If SCROLL is specified when the cursor is created, this additional
       work will be performed. Furthermore, if the cursor has been
       created with NO SCROLL, no random access is allowed.
     * Implement SQL-compatible options FIRST, LAST, ABSOLUTE n, RELATIVE
       n for "FETCH" and "MOVE" (Tom)
     * Allow "EXPLAIN" on "DECLARE CURSOR" (Tom)
     * Allow "CLUSTER" to use index marked as pre-clustered by default
       (Alvaro Herrera)
     * Allow "CLUSTER" to cluster all tables (Alvaro Herrera)
       This allows all previously clustered tables in a database to be
       reclustered with a single command.
     * Prevent "CLUSTER" on partial indexes (Tom)
     * Allow DOS and Mac line-endings in "COPY" files (Bruce)
     * Disallow literal carriage return as a data value,
       backslash-carriage-return and \r are still allowed (Bruce)
     * "COPY" changes (binary, \.) (Tom)
     * Recover from "COPY" failure cleanly (Tom)
     * Prevent possible memory leaks in "COPY" (Tom)
     * Make "TRUNCATE" transaction-safe (Rod)
       "TRUNCATE" can now be used inside a transaction. If the
       transaction aborts, the changes made by the "TRUNCATE" are
       automatically rolled back.
     * Allow prepare/bind of utility commands like "FETCH" and "EXPLAIN"
       (Tom)
     * Add "EXPLAIN EXECUTE" (Neil)
     * Improve "VACUUM" performance on indexes by reducing WAL traffic
       (Tom)
     * Functional indexes have been generalized into indexes on
       expressions (Tom)
       In prior releases, functional indexes only supported a simple
       function applied to one or more column names. This release allows
       any type of scalar expression.
     * Have "SHOW TRANSACTION ISOLATION" match input to "SET TRANSACTION
       ISOLATION" (Tom)
     * Have "COMMENT ON DATABASE" on nonlocal database generate a warning
       (Rod)
       Database comments are stored in database-local tables so comments
       on a database have to be stored in each database.
     * Improve reliability of "LISTEN"/"NOTIFY" (Tom)
     * Allow "REINDEX" to reliably reindex nonshared system catalog
       indexes (Tom)
       This allows system tables to be reindexed without the requirement
       of a standalone session, which was necessary in previous releases.
       The only tables that now require a standalone session for
       reindexing are the global system tables pg_database, pg_shadow,
       and pg_group.
     _________________________________________________________________

Data Type and Function Changes

     * New server parameter extra_float_digits to control precision
       display of floating-point numbers (Pedro Ferreira, Tom)
       This controls output precision which was causing regression
       testing problems.
     * Allow +1300 as a numeric time-zone specifier, for FJST (Tom)
     * Remove rarely used functions oidrand, oidsrand, and userfntest
       functions (Neil)
     * Add md5() function to main server, already in "contrib/pgcrypto"
       (Joe)
       An MD5 function was frequently requested. For more complex
       encryption capabilities, use "contrib/pgcrypto".
     * Increase date range of timestamp (John Cochran)
     * Change EXTRACT(EPOCH FROM timestamp) so timestamp without time
       zone is assumed to be in local time, not GMT (Tom)
     * Trap division by zero in case the operating system doesn't prevent
       it (Tom)
     * Change the numeric data type internally to base 10000 (Tom)
     * New hostmask() function (Greg Wickham)
     * Fixes for to_char() and to_timestamp() (Karel)
     * Allow functions that can take any argument data type and return
       any data type, using anyelement and anyarray (Joe)
       This allows the creation of functions that can work with any data
       type.
     * Arrays may now be specified as ARRAY[1,2,3],
       ARRAY[['a','b'],['c','d']], or ARRAY[ARRAY[ARRAY[2]]] (Joe)
     * Allow proper comparisons for arrays, including ORDER BY and
       DISTINCT support (Joe)
     * Allow indexes on array columns (Joe)
     * Allow array concatenation with || (Joe)
     * Allow WHERE qualification expr op ANY/SOME/ALL (array_expr) (Joe)
       This allows arrays to behave like a list of values, for purposes
       like SELECT * FROM tab WHERE col IN (array_val).
     * New array functions array_append, array_cat, array_lower,
       array_prepend, array_to_string, array_upper, string_to_array (Joe)
     * Allow user defined aggregates to use polymorphic functions (Joe)
     * Allow assignments to empty arrays (Joe)
     * Allow 60 in seconds fields of time, timestamp, and interval input
       values (Tom)
       Sixty-second values are needed for leap seconds.
     * Allow cidr data type to be cast to text (Tom)
     * Disallow invalid time zone names in SET TIMEZONE
     * Trim trailing spaces when char is cast to varchar or text (Tom)
     * Make float(p) measure the precision "p" in binary digits, not
       decimal digits (Tom)
     * Add IPv6 support to the inet and cidr data types (Michael Graff)
     * Add family() function to report whether address is IPv4 or IPv6
       (Michael Graff)
     * Have SHOW datestyle generate output similar to that used by SET
       datestyle (Tom)
     * Make EXTRACT(TIMEZONE) and SET/SHOW TIME ZONE follow the SQL
       convention for the sign of time zone offsets, i.e., positive is
       east from UTC (Tom)
     * Fix date_trunc('quarter', ...) (Bjthe Zoltn)
       Prior releases returned an incorrect value for this function call.
     * Make initcap() more compatible with Oracle (Mike Nolan)
       initcap() now uppercases a letter appearing after any
       non-alphanumeric character, rather than only after whitespace.
     * Allow only datestyle field order for date values not in ISO-8601
       format (Greg)
     * Add new datestyle values MDY, DMY, and YMD to set input field
       order; honor US and European for backward compatibility (Tom)
     * String literals like 'now' or 'today' will no longer work as a
       column default. Use functions such as now(), current_timestamp
       instead. (change required for prepared statements) (Tom)
     * Treat NaN as larger than any other value in min()/max() (Tom)
       NaN was already sorted after ordinary numeric values for most
       purposes, but min() and max() didn't get this right.
     * Prevent interval from suppressing :00 seconds display
     * New function pg_get_triggerdef(prettyprint) and
       pg_constraint_is_visible()
     * Allow time to be specified as 040506 or 0405 (Tom)
     * Input date order must now be YYYY-MM-DD (with 4-digit year) or
       match datestyle
     * Make pg_get_constraintdef to support unique, primary-key, and
       check constraints (Christopher)
     _________________________________________________________________

Server-Side Language Changes

     * Prevent PL/pgSQL crash when RETURN NEXT is used on a zero-row
       record variable (Tom)
     * Make PL/Python's spi_execute interface handle null values properly
       (Andrew Bosma)
     * Allow PL/pgSQL to declare variables of composite types without
       %ROWTYPE (Tom)
     * Fix PL/Python's _quote() function to handle big integers
     * Make PL/Python an untrusted language, now called plpythonu (Kevin
       Jacobs, Tom)
       The Python language no longer supports a restricted execution
       environment, so the trusted version of PL/Python was removed. If
       this situation changes, a version of PL/python that can be used by
       non-superusers will be readded.
     * Allow polymorphic PL/pgSQL functions (Joe, Tom)
     * Allow polymorphic SQL functions (Joe)
     * Improved compiled function caching mechanism in PL/pgSQL with full
       support for polymorphism (Joe)
     * Add new parameter $0 in PL/pgSQL representing the function's
       actual return type (Joe)
     * Allow PL/Tcl and PL/Python to use the same trigger on multiple
       tables (Tom)
     * Fixed PL/Tcl's spi_prepare to accept fully qualified type names in
       the parameter type list (Jan)
     _________________________________________________________________

psql Changes

     * Add \pset pager always to always use pager (Greg)
       This forces the pager to be used even if the number of rows is
       less than the screen height. This is valuable for rows that wrap
       across several screen rows.
     * Improve tab completion (Rod, Ross Reedstrom, Ian Barwick)
     * Reorder \? help into groupings (Harald Armin Massa, Bruce)
     * Add backslash commands for listing schemas, casts, and conversions
       (Christopher)
     * "\encoding" now changes based on the server parameter
       client_encoding server (Tom)
       In previous versions, "\encoding" was not aware of encoding
       changes made using SET client_encoding.
     * Save editor buffer into readline history (Ross)
       When "\e" is used to edit a query, the result is saved in the
       readline history for retrieval using the up arrow.
     * Improve "\d" display (Christopher)
     * Enhance HTML mode to be more standards-conforming (Greg)
     * New "\set AUTOCOMMIT off" capability (Tom)
       This takes the place of the removed server parameter autocommit.
     * New "\set VERBOSITY" to control error detail (Tom)
       This controls the new error reporting details.
     * New prompt escape sequence %x to show transaction status (Tom)
     * Long options for psql are now available on all platforms
     _________________________________________________________________

pg_dump Changes

     * Multiple pg_dump fixes, including tar format and large objects
     * Allow pg_dump to dump specific schemas (Neil)
     * Make pg_dump preserve column storage characteristics (Christopher)
       This preserves ALTER TABLE ... SET STORAGE information.
     * Make pg_dump preserve "CLUSTER" characteristics (Christopher)
     * Have pg_dumpall use "GRANT"/"REVOKE" to dump database-level
       privleges (Tom)
     * Allow pg_dumpall to support the options "-a", "-s", "-x" of
       pg_dump (Tom)
     * Prevent pg_dump from lowercasing identifiers specified on the
       command line (Tom)
     * pg_dump options "--use-set-session-authorization" and
       "--no-reconnect" now do nothing, all dumps use "SET SESSION
       AUTHORIZATION"
       pg_dump no longer reconnects to switch users, but instead always
       uses "SET SESSION AUTHORIZATION". This will reduce password
       prompting during restores.
     * Long options for pg_dump are now available on all platforms
       PostgreSQL now includes its own long-option processing routines.
     _________________________________________________________________

libpq Changes

     * Add function PQfreemem for freeing memory on Windows, suggested
       for "NOTIFY" (Bruce)
       Windows requires that memory allocated in a library be freed by a
       function in the same library, hence free() doesn't work for
       freeing memory allocated by libpq. PQfreemem is the proper way to
       free libpq memory, especially on Windows, and is recommended for
       other platforms as well.
     * Document service capability, and add sample file (Bruce)
       This allows clients to look up connection information in a central
       file on the client machine.
     * Make PQsetdbLogin have the same defaults as PQconnectdb (Tom)
     * Allow libpq to cleanly fail when result sets are too large (Tom)
     * Improve performance of function PGunescapeBytea (Ben Lamb)
     * Allow thread-safe libpq with "configure" option
       "--enable-thread-safety" (Lee Kindness, Philip Yarra)
     * Allow function pqInternalNotice to accept a format string and
       arguments instead of just a preformatted message (Tom, Sean
       Chittenden)
     * Control SSL negotiation with sslmode values disable, allow,
       prefer, and require (Jon Jensen)
     * Allow new error codes and levels of text (Tom)
     * Allow access to the underlying table and column of a query result
       (Tom)
       This is helpful for query-builder applications that want to know
       the underlying table and column names associated with a specific
       result set.
     * Allow access to the current transaction status (Tom)
     * Add ability to pass binary data directly to the server (Tom)
     * Add function PQexecPrepared and PQsendQueryPrepared functions
       which perform bind/execute of previously prepared statements (Tom)
     _________________________________________________________________

JDBC Changes

     * Allow setNull on updateable result sets
     * Allow executeBatch on a prepared statement (Barry)
     * Support SSL connections (Barry)
     * Handle schema names in result sets (Paul Sorenson)
     * Add refcursor support (Nic Ferrier)
     _________________________________________________________________

Miscellaneous Interface Changes

     * Prevent possible memory leak or core dump during libpgtcl shutdown
       (Tom)
     * Add Informix compatibility to ECPG (Michael)
       This allows ECPG to process embedded C programs that were written
       using certain Informix extensions.
     * Add type decimal to ECPG that is fixed length, for Informix
       (Michael)
     * Allow thread-safe embedded SQL programs with "configure" option
       "--enable-thread-safety" (Lee Kindness, Bruce)
       This allows multiple threads to access the database at the same
       time.
     * Moved Python client PyGreSQL to http://www.pygresql.org (Marc)
     _________________________________________________________________

Source Code Changes

     * Prevent need for separate platform geometry regression result
       files (Tom)
     * Improved PPC locking primitive (Reinhard Max)
     * New function palloc0 to allocate and clear memory (Bruce)
     * Fix locking code for s390x CPU (64-bit) (Tom)
     * Allow OpenBSD to use local ident credentials (William Ahern)
     * Make query plan trees read-only to executor (Tom)
     * Add Darwin startup scripts (David Wheeler)
     * Allow libpq to compile with Borland C++ compiler (Lester Godwin,
       Karl Waclawek)
     * Use our own version of getopt_long() if needed (Peter)
     * Convert administration scripts to C (Peter)
     * Bison >= 1.85 is now required to build the PostgreSQL grammar, if
       building from CVS
     * Merge documentation into one book (Peter)
     * Add Windows compatibility functions (Bruce)
     * Allow client interfaces to compile under MinGW (Bruce)
     * New ereport() function for error reporting (Tom)
     * Support Intel compiler on Linux (Peter)
     * Improve Linux startup scripts (Slawomir Sudnik, Darko Prenosil)
     * Add support for AMD Opteron and Itanium (Jeffrey W. Baker, Bruce)
     * Remove "--enable-recode" option from "configure"
       This was no longer needed now that we have "CREATE CONVERSION".
     * Generate a compile error if spinlock code is not found (Bruce)
       Platforms without spinlock code will now fail to compile, rather
       than silently using semaphores. This failure can be disabled with
       a new "configure" option.
     _________________________________________________________________

Contrib Changes

     * Change dbmirror license to BSD
     * Improve earthdistance (Bruno Wolff III)
     * Portability improvements to pgcrypto (Marko Kreen)
     * Prevent crash in xml (John Gray, Michael Richards)
     * Update oracle
     * Update mysql
     * Update cube (Bruno Wolff III)
     * Update earthdistance to use cube (Bruno Wolff III)
     * Update btree_gist (Oleg)
     * New tsearch2 full-text search module (Oleg, Teodor)
     * Add hash-based crosstab function to tablefuncs (Joe)
     * Add serial column to order connectby() siblings in tablefuncs
       (Nabil Sayegh,Joe)
     * Add named persistent connections to dblink (Shridhar Daithanka)
     * New pg_autovacuum allows automatic "VACUUM" (Matthew T. O'Connor)
     * Make pgbench honor environment variables PGHOST, PGPORT, PGUSER
       (Tatsuo)
     * Improve intarray (Teodor Sigaev)
     * Improve pgstattuple (Rod)
     * Fix bug in metaphone() in fuzzystrmatch
     * Improve adddepend (Rod)
     * Update spi/timetravel (Bjthe Zoltn)
     * Fix dbase "-s" option and improve non-ASCII handling (Thomas Behr,
       Mrcio Smiderle)
     * Remove array module because features now included by default (Joe)
     _________________________________________________________________

                               Release 7.3.6

     Release date: 2004-03-02

   This release contains a variety of fixes from 7.3.5.
     _________________________________________________________________

Migration to version 7.3.6

   A dump/restore is *not* required for those running 7.3.*.
     _________________________________________________________________

Changes

     * Revert erroneous changes in rule permissions checking
       A patch applied in 7.3.3 to fix a corner case in rule permissions
       checks turns out to have disabled rule-related permissions checks
       in many not-so-corner cases. This would for example allow users to
       insert into views they weren't supposed to have permission to
       insert into. We have therefore reverted the 7.3.3 patch. The
       original bug will be fixed in 7.5.
     * Repair incorrect order of operations in GetNewTransactionId()
       This bug could result in failure under out-of-disk-space
       conditions, including inability to restart even after disk space
       is freed.
     * Ensure configure selects -fno-strict-aliasing even when an
       external value for CFLAGS is supplied
       On some platforms, building with -fstrict-aliasing causes bugs.
     * Make pg_restore handle 64-bit off_t correctly
       This bug prevented proper restoration from archive files exceeding
       4Gb.
     * Make contrib/dblink not assume that local and remote type OIDs
       match (Joe)
     * Quote connectby()'s start_with argument properly (Joe)
     * Don't crash when a rowtype argument to a plpgsql function is NULL
     * Avoid generating invalid character encoding sequences in corner
       cases when planning LIKE operations
     * Ensure text_position() cannot scan past end of source string in
       multibyte cases (Korea PostgreSQL Users' Group)
     * Fix index optimization and selectivity estimates for LIKE
       operations on bytea columns (Joe)
     _________________________________________________________________

                               Release 7.3.5

     Release date: 2003-12-03

   This has a variety of fixes from 7.3.4.
     _________________________________________________________________

Migration to version 7.3.5

   A dump/restore is *not* required for those running 7.3.*.
     _________________________________________________________________

Changes

     * Force zero_damaged_pages to be on during recovery from WAL
     * Prevent some obscure cases of "variable not in subplan target
       lists"
     * Force stats processes to detach from shared memory, ensuring
       cleaner shutdown
     * Make PQescapeBytea and byteaout consistent with each other (Joe)
     * Added missing SPI_finish() calls to dblink's
       get_tuple_of_interest() (Joe)
     * Fix for possible foreign key violation when rule rewrites INSERT
       (Jan)
     * Support qualified type names in PL/Tcl's spi_prepare command (Jan)
     * Make pg_dump handle a procedural language handler located in
       pg_catalog
     * Make pg_dump handle cases where a custom opclass is in another
       schema
     * Make pg_dump dump binary-compatible casts correctly (Jan)
     * Fix insertion of expressions containing subqueries into rule
       bodies
     * Fix incorrect argument processing in clusterdb script (Anand
       Ranganathan)
     * Fix problems with dropped columns in plpython triggers
     * Repair problems with to_char() reading past end of its input
       string (Karel)
     * Fix GB18030 mapping errors (Tatsuo)
     * Fix several problems with SSL error handling and asynchronous SSL
       I/O
     * Remove ability to bind a list of values to a single parameter in
       JDBC (prevents possible SQL-injection attacks)
     * Fix some errors in HAVE_INT64_TIMESTAMP code paths
     * Fix corner case for btree search in parallel with first root page
       split
     _________________________________________________________________

                               Release 7.3.4

     Release date: 2003-07-24

   This has a variety of fixes from 7.3.3.
     _________________________________________________________________

Migration to version 7.3.4

   A dump/restore is *not* required for those running 7.3.*.
     _________________________________________________________________

Changes

     * Repair breakage in timestamp-to-date conversion for dates before
       2000
     * Prevent rare possibility of server startup failure (Tom)
     * Fix bugs in interval-to-time conversion (Tom)
     * Add constraint names in a few places in pg_dump (Rod)
     * Improve performance of functions with many parameters (Tom)
     * Fix to_ascii() buffer overruns (Tom)
     * Prevent restore of database comments from throwing an error (Tom)
     * Work around buggy strxfrm() present in some Solaris releases (Tom)
     * Properly escape jdbc setObject() strings to improve security
       (Barry)
     _________________________________________________________________

                               Release 7.3.3

     Release date: 2003-05-22

   This release contains a variety of fixes for version 7.3.2.
     _________________________________________________________________

Migration to version 7.3.3

   A dump/restore is *not* required for those running version 7.3.*.
     _________________________________________________________________

Changes

     * Repair sometimes-incorrect computation of StartUpID after a crash
     * Avoid slowness with lots of deferred triggers in one transaction
       (Stephan)
     * Don't lock referenced row when "UPDATE" doesn't change foreign
       key's value (Jan)
     * Use "-fPIC" not "-fpic" on Sparc (Tom Callaway)
     * Repair lack of schema-awareness in contrib/reindexdb
     * Fix contrib/intarray error for zero-element result array (Teodor)
     * Ensure createuser script will exit on control-C (Oliver)
     * Fix errors when the type of a dropped column has itself been
       dropped
     * "CHECKPOINT" does not cause database panic on failure in
       noncritical steps
     * Accept 60 in seconds fields of timestamp, time, interval input
       values
     * Issue notice, not error, if TIMESTAMP, TIME, or INTERVAL precision
       too large
     * Fix abstime-to-time cast function (fix is not applied unless you
       initdb)
     * Fix pg_proc entry for timestampt_izone (fix is not applied unless
       you initdb)
     * Make EXTRACT(EPOCH FROM timestamp without time zone) treat input
       as local time
     * "'now'::timestamptz" gave wrong answer if timezone changed earlier
       in transaction
     * HAVE_INT64_TIMESTAMP code for time with timezone overwrote its
       input
     * Accept "GLOBAL TEMP/TEMPORARY" as a synonym for "TEMPORARY"
     * Avoid improper schema-privilege-check failure in foreign-key
       triggers
     * Fix bugs in foreign-key triggers for "SET DEFAULT" action
     * Fix incorrect time-qual check in row fetch for "UPDATE" and
       "DELETE" triggers
     * Foreign-key clauses were parsed but ignored in "ALTER TABLE ADD
       COLUMN"
     * Fix createlang script breakage for case where handler function
       already exists
     * Fix misbehavior on zero-column tables in pg_dump, COPY, ANALYZE,
       other places
     * Fix misbehavior of func_error() on type names containing '%'
     * Fix misbehavior of replace() on strings containing '%'
     * Regular-expression patterns containing certain multibyte
       characters failed
     * Account correctly for "NULL"s in more cases in join size
       estimation
     * Avoid conflict with system definition of isblank() function or
       macro
     * Fix failure to convert large code point values in EUC_TW
       conversions (Tatsuo)
     * Fix error recovery for SSL_read/SSL_write calls
     * Don't do early constant-folding of type coercion expressions
     * Validate page header fields immediately after reading in any page
     * Repair incorrect check for ungrouped variables in unnamed joins
     * Fix buffer overrun in to_ascii (Guido Notari)
     * contrib/ltree fixes (Teodor)
     * Fix core dump in deadlock detection on machines where char is
       unsigned
     * Avoid running out of buffers in many-way indexscan (bug introduced
       in 7.3)
     * Fix planner's selectivity estimation functions to handle domains
       properly
     * Fix dbmirror memory-allocation bug (Steven Singer)
     * Prevent infinite loop in ln(numeric) due to roundoff error
     * "GROUP BY" got confused if there were multiple equal GROUP BY
       items
     * Fix bad plan when inherited "UPDATE"/"DELETE" references another
       inherited table
     * Prevent clustering on incomplete (partial or non-NULL-storing)
       indexes
     * Service shutdown request at proper time if it arrives while still
       starting up
     * Fix left-links in temporary indexes (could make backwards scans
       miss entries)
     * Fix incorrect handling of client_encoding setting in
       postgresql.conf (Tatsuo)
     * Fix failure to respond to "pg_ctl stop -m fast" after
       Async_NotifyHandler runs
     * Fix SPI for case where rule contains multiple statements of the
       same type
     * Fix problem with checking for wrong type of access privilege in
       rule query
     * Fix problem with "EXCEPT" in "CREATE RULE"
     * Prevent problem with dropping temp tables having serial columns
     * Fix replace_vars_with_subplan_refs failure in complex views
     * Fix regexp slowness in single-byte encodings (Tatsuo)
     * Allow qualified type names in "CREATE CAST" and " DROP CAST"
     * Accept SETOF type[], which formerly had to be written SETOF _type
     * Fix pg_dump core dump in some cases with procedural languages
     * Force ISO datestyle in pg_dump output, for portability (Oliver)
     * pg_dump failed to handle error return from lo_read (Oleg Drokin)
     * pg_dumpall failed with groups having no members (Nick Eskelinen)
     * pg_dumpall failed to recognize --globals-only switch
     * pg_restore failed to restore blobs if -X disable-triggers is
       specified
     * Repair intrafunction memory leak in plpgsql
     * pltcl's "elog" command dumped core if given wrong parameters (Ian
       Harding)
     * plpython used wrong value of atttypmod (Brad McLean)
     * Fix improper quoting of boolean values in Python interface
       (D'Arcy)
     * Added addDataType() method to PGConnection interface for JDBC
     * Fixed various problems with updateable ResultSets for JDBC (Shawn
       Green)
     * Fixed various problems with DatabaseMetaData for JDBC (Kris Jurka,
       Peter Royal)
     * Fixed problem with parsing table ACLs in JDBC
     * Better error message for character set conversion problems in JDBC
     _________________________________________________________________

                               Release 7.3.2

     Release date: 2003-02-04

   This release contains a variety of fixes for version 7.3.1.
     _________________________________________________________________

Migration to version 7.3.2

   A dump/restore is *not* required for those running version 7.3.*.
     _________________________________________________________________

Changes

     * Restore creation of OID column in CREATE TABLE AS / SELECT INTO
     * Fix pg_dump core dump when dumping views having comments
     * Dump DEFERRABLE/INITIALLY DEFERRED constraints properly
     * Fix UPDATE when child table's column numbering differs from parent
     * Increase default value of max_fsm_relations
     * Fix problem when fetching backwards in a cursor for a single-row
       query
     * Make backward fetch work properly with cursor on SELECT DISTINCT
       query
     * Fix problems with loading pg_dump files containing contrib/lo
       usage
     * Fix problem with all-numeric user names
     * Fix possible memory leak and core dump during disconnect in
       libpgtcl
     * Make plpython's spi_execute command handle nulls properly (Andrew
       Bosma)
     * Adjust plpython error reporting so that its regression test passes
       again
     * Work with bison 1.875
     * Handle mixed-case names properly in plpgsql's %type (Neil)
     * Fix core dump in pltcl when executing a query rewritten by a rule
     * Repair array subscript overruns (per report from Yichen Xie)
     * Reduce MAX_TIME_PRECISION from 13 to 10 in floating-point case
     * Correctly case-fold variable names in per-database and per-user
       settings
     * Fix coredump in plpgsql's RETURN NEXT when SELECT into record
       returns no rows
     * Fix outdated use of pg_type.typprtlen in python client interface
     * Correctly handle fractional seconds in timestamps in JDBC driver
     * Improve performance of getImportedKeys() in JDBC
     * Make shared-library symlinks work standardly on HPUX (Giles)
     * Repair inconsistent rounding behavior for timestamp, time,
       interval
     * SSL negotiation fixes (Nathan Mueller)
     * Make libpq's ~/.pgpass feature work when connecting with
       PQconnectDB
     * Update my2pg, ora2pg
     * Translation updates
     * Add casts between types lo and oid in contrib/lo
     * fastpath code now checks for privilege to call function
     _________________________________________________________________

                               Release 7.3.1

     Release date: 2002-12-18

   This release contains a variety of fixes for version 7.3.
     _________________________________________________________________

Migration to version 7.3.1

   A dump/restore is *not* required for those running version 7.3.
   However, it should be noted that the main PostgreSQL interface
   library, libpq, has a new major version number for this release, which
   may require recompilation of client code in certain cases.
     _________________________________________________________________

Changes

     * Fix a core dump of COPY TO when client/server encodings don't
       match (Tom)
     * Allow pg_dump to work with pre-7.2 servers (Philip)
     * contrib/adddepend fixes (Tom)
     * Fix problem with deletion of per-user/per-database config settings
       (Tom)
     * contrib/vacuumlo fix (Tom)
     * Allow 'password' encryption even when pg_shadow contains MD5
       passwords (Bruce)
     * contrib/dbmirror fix (Steven Singer)
     * Optimizer fixes (Tom)
     * contrib/tsearch fixes (Teodor Sigaev, Magnus)
     * Allow locale names to be mixed case (Nicolai Tufar)
     * Increment libpq library's major version number (Bruce)
     * pg_hba.conf error reporting fixes (Bruce, Neil)
     * Add SCO Openserver 5.0.4 as a supported platform (Bruce)
     * Prevent EXPLAIN from crashing server (Tom)
     * SSL fixes (Nathan Mueller)
     * Prevent composite column creation via ALTER TABLE (Tom)
     _________________________________________________________________

                                Release 7.3

     Release date: 2002-11-27
     _________________________________________________________________

Overview

   Major changes in this release:

   Schemas
          Schemas allow users to create objects in separate namespaces,
          so two people or applications can have tables with the same
          name. There is also a public schema for shared tables.
          Table/index creation can be restricted by removing privileges
          on the public schema.

   Drop Column
          PostgreSQL now supports the ALTER TABLE ... DROP COLUMN
          functionality.

   Table Functions
          Functions returning multiple rows and/or multiple columns are
          now much easier to use than before. You can call such a "table
          function" in the SELECT FROM clause, treating its output like a
          table. Also, PL/pgSQL functions can now return sets.

   Prepared Queries
          PostgreSQL now supports prepared queries, for improved
          performance.

   Dependency Tracking
          PostgreSQL now records object dependencies, which allows
          improvements in many areas. "DROP" statements now take either
          CASCADE or RESTRICT to control whether dependent objects are
          also dropped.

   Privileges
          Functions and procedural languages now have privileges, and
          functions can be defined to run with the privileges of their
          creator.

   Internationalization
          Both multibyte and locale support are now always enabled.

   Logging
          A variety of logging options have been enhanced.

   Interfaces
          A large number of interfaces have been moved to
          http://gborg.postgresql.org where they can be developed and
          released independently.

   Functions/Identifiers
          By default, functions can now take up to 32 parameters, and
          identifiers can be up to 63 bytes long. Also, OPAQUE is now
          deprecated: there are specific "pseudo-datatypes" to represent
          each of the former meanings of OPAQUE in function argument and
          result types.
     _________________________________________________________________

Migration to version 7.3

   A dump/restore using pg_dump is required for those wishing to migrate
   data from any previous release. If your application examines the
   system catalogs, additional changes will be required due to the
   introduction of schemas in 7.3; for more information, see:
   http://developer.postgresql.org/~momjian/upgrade_tips_7.3.

   Observe the following incompatibilities:

     * Pre-6.3 clients are no longer supported.
     * "pg_hba.conf" now has a column for the user name and additional
       features. Existing files need to be adjusted.
     * Several "postgresql.conf" logging parameters have been renamed.
     * LIMIT #,# has been disabled; use LIMIT # OFFSET #.
     * "INSERT" statements with column lists must specify a value for
       each specified column. For example, INSERT INTO tab (col1, col2)
       VALUES ('val1') is now invalid. It's still allowed to supply fewer
       columns than expected if the "INSERT" does not have a column list.
     * serial columns are no longer automatically UNIQUE; thus, an index
       will not automatically be created.
     * A "SET" command inside an aborted transaction is now rolled back.
     * "COPY" no longer considers missing trailing columns to be null.
       All columns need to be specified. (However, one may achieve a
       similar effect by specifying a column list in the "COPY" command.)
     * The data type timestamp is now equivalent to timestamp without
       time zone, instead of timestamp with time zone.
     * Pre-7.3 databases loaded into 7.3 will not have the new object
       dependencies for serial columns, unique constraints, and foreign
       keys. See the directory "contrib/adddepend/" for a detailed
       description and a script that will add such dependencies.
     * An empty string ('') is no longer allowed as the input into an
       integer field. Formerly, it was silently interpreted as 0.
     _________________________________________________________________

Changes

Server Operation

     * Add pg_locks view to show locks (Neil)
     * Security fixes for password negotiation memory allocation (Neil)
     * Remove support for version 0 FE/BE protocol (PostgreSQL 6.2 and
       earlier) (Tom)
     * Reserve the last few backend slots for superusers, add parameter
       superuser_reserved_connections to control this (Nigel J. Andrews)
     _________________________________________________________________

Performance

     * Improve startup by calling localtime() only once (Tom)
     * Cache system catalog information in flat files for faster startup
       (Tom)
     * Improve caching of index information (Tom)
     * Optimizer improvements (Tom, Fernando Nasser)
     * Catalog caches now store failed lookups (Tom)
     * Hash function improvements (Neil)
     * Improve performance of query tokenization and network handling
       (Peter)
     * Speed improvement for large object restore (Mario Weilguni)
     * Mark expired index entries on first lookup, saving later heap
       fetches (Tom)
     * Avoid excessive NULL bitmap padding (Manfred Koizar)
     * Add BSD-licensed qsort() for Solaris, for performance (Bruce)
     * Reduce per-row overhead by four bytes (Manfred Koizar)
     * Fix GEQO optimizer bug (Neil Conway)
     * Make WITHOUT OID actually save four bytes per row (Manfred Koizar)
     * Add default_statistics_target variable to specify ANALYZE buckets
       (Neil)
     * Use local buffer cache for temporary tables so no WAL overhead
       (Tom)
     * Improve free space map performance on large tables (Stephen
       Marshall, Tom)
     * Improved WAL write concurrency (Tom)
     _________________________________________________________________

Privileges

     * Add privileges on functions and procedural languages (Peter)
     * Add OWNER to CREATE DATABASE so superusers can create databases on
       behalf of unprivileged users (Gavin Sherry, Tom)
     * Add new object privilege bits EXECUTE and USAGE (Tom)
     * Add SET SESSION AUTHORIZATION DEFAULT and RESET SESSION
       AUTHORIZATION (Tom)
     * Allow functions to be executed with the privilege of the function
       owner (Peter)
     _________________________________________________________________

Server Configuration

     * Server log messages now tagged with LOG, not DEBUG (Bruce)
     * Add user column to pg_hba.conf (Bruce)
     * Have log_connections output two lines in log file (Tom)
     * Remove debug_level from postgresql.conf, now server_min_messages
       (Bruce)
     * New ALTER DATABASE/USER ... SET command for per-user/database
       initialization (Peter)
     * New parameters server_min_messages and client_min_messages to
       control which messages are sent to the server logs or client
       applications (Bruce)
     * Allow pg_hba.conf to specify lists of users/databases separated by
       commas, group names prepended with +, and file names prepended
       with @@ (Bruce)
     * Remove secondary password file capability and pg_password utility
       (Bruce)
     * Add variable db_user_namespace for database-local user names
       (Bruce)
     * SSL improvements (Bear Giles)
     * Make encryption of stored passwords the default (Bruce)
     * Allow pg_statistics to be reset by calling pg_stat_reset()
       (Christopher)
     * Add log_duration parameter (Bruce)
     * Rename debug_print_query to log_statement (Bruce)
     * Rename show_query_stats to show_statement_stats (Bruce)
     * Add param log_min_error_statement to print commands to logs on
       error (Gavin)
     _________________________________________________________________

Queries

     * Make cursors insensitive, meaning their contents do not change
       (Tom)
     * Disable LIMIT #,# syntax; now only LIMIT # OFFSET # supported
       (Bruce)
     * Increase identifier length to 63 (Neil, Bruce)
     * UNION fixes for merging >= 3 columns of different lengths (Tom)
     * Add DEFAULT key word to INSERT, e.g., INSERT ... (..., DEFAULT,
       ...) (Rod)
     * Allow views to have default values using ALTER COLUMN ... SET
       DEFAULT (Neil)
     * Fail on INSERTs with column lists that don't supply all column
       values, e.g., INSERT INTO tab (col1, col2) VALUES ('val1'); (Rod)
     * Fix for join aliases (Tom)
     * Fix for FULL OUTER JOINs (Tom)
     * Improve reporting of invalid identifier and location (Tom, Gavin)
     * Fix OPEN cursor(args) (Tom)
     * Allow 'ctid' to be used in a view and currtid(viewname) (Hiroshi)
     * Fix for CREATE TABLE AS with UNION (Tom)
     * SQL99 syntax improvements (Thomas)
     * Add statement_timeout variable to cancel queries (Bruce)
     * Allow prepared queries with PREPARE/EXECUTE (Neil)
     * Allow FOR UPDATE to appear after LIMIT/OFFSET (Bruce)
     * Add variable autocommit (Tom, David Van Wie)
     _________________________________________________________________

Object Manipulation

     * Make equals signs optional in CREATE DATABASE (Gavin Sherry)
     * Make ALTER TABLE OWNER change index ownership too (Neil)
     * New ALTER TABLE tabname ALTER COLUMN colname SET STORAGE controls
       TOAST storage, compression (John Gray)
     * Add schema support, CREATE/DROP SCHEMA (Tom)
     * Create schema for temporary tables (Tom)
     * Add variable search_path for schema search (Tom)
     * Add ALTER TABLE SET/DROP NOT NULL (Christopher)
     * New CREATE FUNCTION volatility levels (Tom)
     * Make rule names unique only per table (Tom)
     * Add 'ON tablename' clause to DROP RULE and COMMENT ON RULE (Tom)
     * Add ALTER TRIGGER RENAME (Joe)
     * New current_schema() and current_schemas() inquiry functions (Tom)
     * Allow functions to return multiple rows (table functions) (Joe)
     * Make WITH optional in CREATE DATABASE, for consistency (Bruce)
     * Add object dependency tracking (Rod, Tom)
     * Add RESTRICT/CASCADE to DROP commands (Rod)
     * Add ALTER TABLE DROP for non-CHECK CONSTRAINT (Rod)
     * Autodestroy sequence on DROP of table with SERIAL (Rod)
     * Prevent column dropping if column is used by foreign key (Rod)
     * Automatically drop constraints/functions when object is dropped
       (Rod)
     * Add CREATE/DROP OPERATOR CLASS (Bill Studenmund, Tom)
     * Add ALTER TABLE DROP COLUMN (Christopher, Tom, Hiroshi)
     * Prevent inherited columns from being removed or renamed (Alvaro
       Herrera)
     * Fix foreign key constraints to not error on intermediate database
       states (Stephan)
     * Propagate column or table renaming to foreign key constraints
     * Add CREATE OR REPLACE VIEW (Gavin, Neil, Tom)
     * Add CREATE OR REPLACE RULE (Gavin, Neil, Tom)
     * Have rules execute alphabetically, returning more predictable
       values (Tom)
     * Triggers are now fired in alphabetical order (Tom)
     * Add /contrib/adddepend to handle pre-7.3 object dependencies (Rod)
     * Allow better casting when inserting/updating values (Tom)
     _________________________________________________________________

Utility Commands

     * Have COPY TO output embedded carriage returns and newlines as \r
       and \n (Tom)
     * Allow DELIMITER in COPY FROM to be 8-bit clean (Tatsuo)
     * Make pg_dump use ALTER TABLE ADD PRIMARY KEY, for performance
       (Neil)
     * Disable brackets in multistatement rules (Bruce)
     * Disable VACUUM from being called inside a function (Bruce)
     * Allow dropdb and other scripts to use identifiers with spaces
       (Bruce)
     * Restrict database comment changes to the current database
     * Allow comments on operators, independent of the underlying
       function (Rod)
     * Rollback SET commands in aborted transactions (Tom)
     * EXPLAIN now outputs as a query (Tom)
     * Display condition expressions and sort keys in EXPLAIN (Tom)
     * Add 'SET LOCAL var = value' to set configuration variables for a
       single transaction (Tom)
     * Allow ANALYZE to run in a transaction (Bruce)
     * Improve COPY syntax using new WITH clauses, keep backward
       compatibility (Bruce)
     * Fix pg_dump to consistently output tags in non-ASCII dumps (Bruce)
     * Make foreign key constraints clearer in dump file (Rod)
     * Add COMMENT ON CONSTRAINT (Rod)
     * Allow COPY TO/FROM to specify column names (Brent Verner)
     * Dump UNIQUE and PRIMARY KEY constraints as ALTER TABLE (Rod)
     * Have SHOW output a query result (Joe)
     * Generate failure on short COPY lines rather than pad NULLs (Neil)
     * Fix CLUSTER to preserve all table attributes (Alvaro Herrera)
     * New pg_settings table to view/modify GUC settings (Joe)
     * Add smart quoting, portability improvements to pg_dump output
       (Peter)
     * Dump serial columns out as SERIAL (Tom)
     * Enable large file support, >2G for pg_dump (Peter, Philip Warner,
       Bruce)
     * Disallow TRUNCATE on tables that are involved in referential
       constraints (Rod)
     * Have TRUNCATE also auto-truncate the toast table of the relation
       (Tom)
     * Add clusterdb utility that will auto-cluster an entire database
       based on previous CLUSTER operations (Alvaro Herrera)
     * Overhaul pg_dumpall (Peter)
     * Allow REINDEX of TOAST tables (Tom)
     * Implemented START TRANSACTION, per SQL99 (Neil)
     * Fix rare index corruption when a page split affects bulk delete
       (Tom)
     * Fix ALTER TABLE ... ADD COLUMN for inheritance (Alvaro Herrera)
     _________________________________________________________________

Data Types and Functions

     * Fix factorial(0) to return 1 (Bruce)
     * Date/time/timezone improvements (Thomas)
     * Fix for array slice extraction (Tom)
     * Fix extract/date_part to report proper microseconds for timestamp
       (Tatsuo)
     * Allow text_substr() and bytea_substr() to read TOAST values more
       efficiently (John Gray)
     * Add domain support (Rod)
     * Make WITHOUT TIME ZONE the default for TIMESTAMP and TIME data
       types (Thomas)
     * Allow alternate storage scheme of 64-bit integers for date/time
       types using --enable-integer-datetimes in configure (Thomas)
     * Make timezone(timestamptz) return timestamp rather than a string
       (Thomas)
     * Allow fractional seconds in date/time types for dates prior to 1BC
       (Thomas)
     * Limit timestamp data types to 6 decimal places of precision
       (Thomas)
     * Change timezone conversion functions from timetz() to timezone()
       (Thomas)
     * Add configuration variables datestyle and timezone (Tom)
     * Add OVERLAY(), which allows substitution of a substring in a
       string (Thomas)
     * Add SIMILAR TO (Thomas, Tom)
     * Add regular expression SUBSTRING(string FROM pat FOR escape)
       (Thomas)
     * Add LOCALTIME and LOCALTIMESTAMP functions (Thomas)
     * Add named composite types using CREATE TYPE typename AS (column)
       (Joe)
     * Allow composite type definition in the table alias clause (Joe)
     * Add new API to simplify creation of C language table functions
       (Joe)
     * Remove ODBC-compatible empty parentheses from calls to SQL99
       functions for which these parentheses do not match the standard
       (Thomas)
     * Allow macaddr data type to accept 12 hex digits with no separators
       (Mike Wyer)
     * Add CREATE/DROP CAST (Peter)
     * Add IS DISTINCT FROM operator (Thomas)
     * Add SQL99 TREAT() function, synonym for CAST() (Thomas)
     * Add pg_backend_pid() to output backend pid (Bruce)
     * Add IS OF / IS NOT OF type predicate (Thomas)
     * Allow bit string constants without fully-specified length (Thomas)
     * Allow conversion between 8-byte integers and bit strings (Thomas)
     * Implement hex literal conversion to bit string literal (Thomas)
     * Allow table functions to appear in the FROM clause (Joe)
     * Increase maximum number of function parameters to 32 (Bruce)
     * No longer automatically create index for SERIAL column (Tom)
     * Add current_database() (Rod)
     * Fix cash_words() to not overflow buffer (Tom)
     * Add functions replace(), split_part(), to_hex() (Joe)
     * Fix LIKE for bytea as a right-hand argument (Joe)
     * Prevent crashes caused by SELECT cash_out(2) (Tom)
     * Fix to_char(1,'FM999.99') to return a period (Karel)
     * Fix trigger/type/language functions returning OPAQUE to return
       proper type (Tom)
     _________________________________________________________________

Internationalization

     * Add additional encodings: Korean (JOHAB), Thai (WIN874),
       Vietnamese (TCVN), Arabic (WIN1256), Simplified Chinese (GBK),
       Korean (UHC) (Eiji Tokuya)
     * Enable locale support by default (Peter)
     * Add locale variables (Peter)
     * Escape byes >= 0x7f for multibyte in PQescapeBytea/PQunescapeBytea
       (Tatsuo)
     * Add locale awareness to regular expression character classes
     * Enable multibyte support by default (Tatsuo)
     * Add GB18030 multibyte support (Bill Huang)
     * Add CREATE/DROP CONVERSION, allowing loadable encodings (Tatsuo,
       Kaori)
     * Add pg_conversion table (Tatsuo)
     * Add SQL99 CONVERT() function (Tatsuo)
     * pg_dumpall, pg_controldata, and pg_resetxlog now national-language
       aware (Peter)
     * New and updated translations
     _________________________________________________________________

Server-side Languages

     * Allow recursive SQL function (Peter)
     * Change PL/Tcl build to use configured compiler and Makefile.shlib
       (Peter)
     * Overhaul the PL/pgSQL FOUND variable to be more Oracle-compatible
       (Neil, Tom)
     * Allow PL/pgSQL to handle quoted identifiers (Tom)
     * Allow set-returning PL/pgSQL functions (Neil)
     * Make PL/pgSQL schema-aware (Joe)
     * Remove some memory leaks (Nigel J. Andrews, Tom)
     _________________________________________________________________

psql

     * Don't lowercase psql \connect database name for 7.2.0
       compatibility (Tom)
     * Add psql \timing to time user queries (Greg Sabino Mullane)
     * Have psql \d show index information (Greg Sabino Mullane)
     * New psql \dD shows domains (Jonathan Eisler)
     * Allow psql to show rules on views (Paul ?)
     * Fix for psql variable substitution (Tom)
     * Allow psql \d to show temporary table structure (Tom)
     * Allow psql \d to show foreign keys (Rod)
     * Fix \? to honor \pset pager (Bruce)
     * Have psql reports its version number on startup (Tom)
     * Allow \copy to specify column names (Tom)
     _________________________________________________________________

libpq

     * Add $HOME/.pgpass to store host/user password combinations (Alvaro
       Herrera)
     * Add PQunescapeBytea() function to libpq (Patrick Welche)
     * Fix for sending large queries over non-blocking connections
       (Bernhard Herzog)
     * Fix for libpq using timers on Win9X (David Ford)
     * Allow libpq notify to handle servers with different-length
       identifiers (Tom)
     * Add libpq PQescapeString() and PQescapeBytea() to Windows (Bruce)
     * Fix for SSL with non-blocking connections (Jack Bates)
     * Add libpq connection timeout parameter (Denis A Ustimenko)
     _________________________________________________________________

JDBC

     * Allow JDBC to compile with JDK 1.4 (Dave)
     * Add JDBC 3 support (Barry)
     * Allows JDBC to set loglevel by adding ?loglevel=X to the
       connection URL (Barry)
     * Add Driver.info() message that prints out the version number
       (Barry)
     * Add updateable result sets (Raghu Nidagal, Dave)
     * Add support for callable statements (Paul Bethe)
     * Add query cancel capability
     * Add refresh row (Dave)
     * Fix MD5 encryption handling for multibyte servers (Jun Kawai)
     * Add support for prepared statements (Barry)
     _________________________________________________________________

Miscellaneous Interfaces

     * Fixed ECPG bug concerning octal numbers in single quotes (Michael)
     * Move src/interfaces/libpgeasy to http://gborg.postgresql.org
       (Marc, Bruce)
     * Improve Python interface (Elliot Lee, Andrew Johnson, Greg
       Copeland)
     * Add libpgtcl connection close event (Gerhard Hintermayer)
     * Move src/interfaces/libpq++ to http://gborg.postgresql.org (Marc,
       Bruce)
     * Move src/interfaces/odbc to http://gborg.postgresql.org (Marc)
     * Move src/interfaces/libpgeasy to http://gborg.postgresql.org
       (Marc, Bruce)
     * Move src/interfaces/perl5 to http://gborg.postgresql.org (Marc,
       Bruce)
     * Remove src/bin/pgaccess from main tree, now at
       http://www.pgaccess.org (Bruce)
     * Add pg_on_connection_loss command to libpgtcl (Gerhard
       Hintermayer, Tom)
     _________________________________________________________________

Source Code

     * Fix for parallel make (Peter)
     * AIX fixes for linking Tcl (Andreas Zeugswetter)
     * Allow PL/Perl to build under Cygwin (Jason Tishler)
     * Improve MIPS compiles (Peter, Oliver Elphick)
     * Require Autoconf version 2.53 (Peter)
     * Require readline and zlib by default in configure (Peter)
     * Allow Solaris to use Intimate Shared Memory (ISM), for performance
       (Scott Brunza, P.J. Josh Rovero)
     * Always enable syslog in compile, remove --enable-syslog option
       (Tatsuo)
     * Always enable multibyte in compile, remove --enable-multibyte
       option (Tatsuo)
     * Always enable locale in compile, remove --enable-locale option
       (Peter)
     * Fix for Win9x DLL creation (Magnus Naeslund)
     * Fix for link() usage by WAL code on Windows, BeOS (Jason Tishler)
     * Add sys/types.h to c.h, remove from main files (Peter, Bruce)
     * Fix AIX hang on SMP machines (Tomoyuki Niijima)
     * AIX SMP hang fix (Tomoyuki Niijima)
     * Fix pre-1970 date handling on newer glibc libraries (Tom)
     * Fix PowerPC SMP locking (Tom)
     * Prevent gcc -ffast-math from being used (Peter, Tom)
     * Bison >= 1.50 now required for developer builds
     * Kerberos 5 support now builds with Heimdal (Peter)
     * Add appendix in the User's Guide which lists SQL features (Thomas)
     * Improve loadable module linking to use RTLD_NOW (Tom)
     * New error levels WARNING, INFO, LOG, DEBUG[1-5] (Bruce)
     * New src/port directory holds replaced libc functions (Peter,
       Bruce)
     * New pg_namespace system catalog for schemas (Tom)
     * Add pg_class.relnamespace for schemas (Tom)
     * Add pg_type.typnamespace for schemas (Tom)
     * Add pg_proc.pronamespace for schemas (Tom)
     * Restructure aggregates to have pg_proc entries (Tom)
     * System relations now have their own namespace, pg_* test not
       required (Fernando Nasser)
     * Rename TOAST index names to be *_index rather than *_idx (Neil)
     * Add namespaces for operators, opclasses (Tom)
     * Add additional checks to server control file (Thomas)
     * New Polish FAQ (Marcin Mazurek)
     * Add Posix semaphore support (Tom)
     * Document need for reindex (Bruce)
     * Rename some internal identifiers to simplify Windows compile (Jan,
       Katherine Ward)
     * Add documentation on computing disk space (Bruce)
     * Remove KSQO from GUC (Bruce)
     * Fix memory leak in rtree (Kenneth Been)
     * Modify a few error messages for consistency (Bruce)
     * Remove unused system table columns (Peter)
     * Make system columns NOT NULL where appropriate (Tom)
     * Clean up use of sprintf in favor of snprintf() (Neil, Jukka
       Holappa)
     * Remove OPAQUE and create specific subtypes (Tom)
     * Cleanups in array internal handling (Joe, Tom)
     * Disallow pg_atoi('') (Bruce)
     * Remove parameter wal_files because WAL files are now recycled
       (Bruce)
     * Add version numbers to heap pages (Tom)
     _________________________________________________________________

Contrib

     * Allow inet arrays in /contrib/array (Neil)
     * GiST fixes (Teodor Sigaev, Neil)
     * Upgrade /contrib/mysql
     * Add /contrib/dbsize which shows table sizes without vacuum (Peter)
     * Add /contrib/intagg, integer aggregator routines (mlw)
     * Improve /contrib/oid2name (Neil, Bruce)
     * Improve /contrib/tsearch (Oleg, Teodor Sigaev)
     * Cleanups of /contrib/rserver (Alexey V. Borzov)
     * Update /contrib/oracle conversion utility (Gilles Darold)
     * Update /contrib/dblink (Joe)
     * Improve options supported by /contrib/vacuumlo (Mario Weilguni)
     * Improvements to /contrib/intarray (Oleg, Teodor Sigaev, Andrey
       Oktyabrski)
     * Add /contrib/reindexdb utility (Shaun Thomas)
     * Add indexing to /contrib/isbn_issn (Dan Weston)
     * Add /contrib/dbmirror (Steven Singer)
     * Improve /contrib/pgbench (Neil)
     * Add /contrib/tablefunc table function examples (Joe)
     * Add /contrib/ltree data type for tree structures (Teodor Sigaev,
       Oleg Bartunov)
     * Move /contrib/pg_controldata, pg_resetxlog into main tree (Bruce)
     * Fixes to /contrib/cube (Bruno Wolff)
     * Improve /contrib/fulltextindex (Christopher)
     _________________________________________________________________

                               Release 7.2.4

     Release date: 2003-01-30

   This release contains a variety of fixes for version 7.2.3, including
   fixes to prevent possible data loss.
     _________________________________________________________________

Migration to version 7.2.4

   A dump/restore is *not* required for those running version 7.2.*.
     _________________________________________________________________

Changes

     * Fix some additional cases of VACUUM "No one parent tuple was
       found" error
     * Prevent VACUUM from being called inside a function (Bruce)
     * Ensure pg_clog updates are sync'd to disk before marking
       checkpoint complete
     * Avoid integer overflow during large hash joins
     * Make GROUP commands work when pg_group.grolist is large enough to
       be toasted
     * Fix errors in datetime tables; some timezone names weren't being
       recognized
     * Fix integer overflows in circle_poly(), path_encode(), path_add()
       (Neil)
     * Repair long-standing logic errors in lseg_eq(), lseg_ne(),
       lseg_center()
     _________________________________________________________________

                               Release 7.2.3

     Release date: 2002-10-01

   This release contains a variety of fixes for version 7.2.2, including
   fixes to prevent possible data loss.
     _________________________________________________________________

Migration to version 7.2.3

   A dump/restore is *not* required for those running version 7.2.*.
     _________________________________________________________________

Changes

     * Prevent possible compressed transaction log loss (Tom)
     * Prevent non-superuser from increasing most recent vacuum info
       (Tom)
     * Handle pre-1970 date values in newer versions of glibc (Tom)
     * Fix possible hang during server shutdown
     * Prevent spinlock hangs on SMP PPC machines (Tomoyuki Niijima)
     * Fix pg_dump to properly dump FULL JOIN USING (Tom)
     _________________________________________________________________

                               Release 7.2.2

     Release date: 2002-08-23

   This release contains a variety of fixes for version 7.2.1.
     _________________________________________________________________

Migration to version 7.2.2

   A dump/restore is *not* required for those running version 7.2.*.
     _________________________________________________________________

Changes

     * Allow EXECUTE of "CREATE TABLE AS ... SELECT" in PL/pgSQL (Tom)
     * Fix for compressed transaction log id wraparound (Tom)
     * Fix PQescapeBytea/PQunescapeBytea so that they handle bytes > 0x7f
       (Tatsuo)
     * Fix for psql and pg_dump crashing when invoked with non-existent
       long options (Tatsuo)
     * Fix crash when invoking geometric operators (Tom)
     * Allow OPEN cursor(args) (Tom)
     * Fix for rtree_gist index build (Teodor)
     * Fix for dumping user-defined aggregates (Tom)
     * contrib/intarray fixes (Oleg)
     * Fix for complex UNION/EXCEPT/INTERSECT queries using parens (Tom)
     * Fix to pg_convert (Tatsuo)
     * Fix for crash with long DATA strings (Thomas, Neil)
     * Fix for repeat(), lpad(), rpad() and long strings (Neil)
     _________________________________________________________________

                               Release 7.2.1

     Release date: 2002-03-21

   This release contains a variety of fixes for version 7.2.
     _________________________________________________________________

Migration to version 7.2.1

   A dump/restore is *not* required for those running version 7.2.
     _________________________________________________________________

Changes

     * Ensure that sequence counters do not go backwards after a crash
       (Tom)
     * Fix pgaccess kanji-conversion key binding (Tatsuo)
     * Optimizer improvements (Tom)
     * Cash I/O improvements (Tom)
     * New Russian FAQ
     * Compile fix for missing AuthBlockSig (Heiko)
     * Additional time zones and time zone fixes (Thomas)
     * Allow psql \connect to handle mixed case database and user names
       (Tom)
     * Return proper OID on command completion even with ON INSERT rules
       (Tom)
     * Allow COPY FROM to use 8-bit DELIMITERS (Tatsuo)
     * Fix bug in extract/date_part for milliseconds/microseconds
       (Tatsuo)
     * Improve handling of multiple UNIONs with different lengths (Tom)
     * contrib/btree_gist improvements (Teodor Sigaev)
     * contrib/tsearch dictionary improvements, see README.tsearch for an
       additional installation step (Thomas T. Thai, Teodor Sigaev)
     * Fix for array subscripts handling (Tom)
     * Allow EXECUTE of "CREATE TABLE AS ... SELECT" in PL/pgSQL (Tom)
     _________________________________________________________________

                                Release 7.2

     Release date: 2002-02-04
     _________________________________________________________________

Overview

   This release improves PostgreSQL for use in high-volume applications.

   Major changes in this release:

   VACUUM
          Vacuuming no longer locks tables, thus allowing normal user
          access during the vacuum. A new "VACUUM FULL" command does
          old-style vacuum by locking the table and shrinking the on-disk
          copy of the table.

   Transactions
          There is no longer a problem with installations that exceed
          four billion transactions.

   OIDs
          OIDs are now optional. Users can now create tables without OIDs
          for cases where OID usage is excessive.

   Optimizer
          The system now computes histogram column statistics during
          "ANALYZE", allowing much better optimizer choices.

   Security
          A new MD5 encryption option allows more secure storage and
          transfer of passwords. A new Unix-domain socket authentication
          option is available on Linux and BSD systems.

   Statistics
          Administrators can use the new table access statistics module
          to get fine-grained information about table and index usage.

   Internationalization
          Program and library messages can now be displayed in several
          languages.
     _________________________________________________________________

Migration to version 7.2

   A dump/restore using "pg_dump" is required for those wishing to
   migrate data from any previous release.

   Observe the following incompatibilities:

     * The semantics of the "VACUUM" command have changed in this
       release. You may wish to update your maintenance procedures
       accordingly.
     * In this release, comparisons using = NULL will always return false
       (or NULL, more precisely). Previous releases automatically
       transformed this syntax to IS NULL. The old behavior can be
       re-enabled using a "postgresql.conf" parameter.
     * The "pg_hba.conf" and "pg_ident.conf" configuration is now only
       reloaded after receiving a SIGHUP signal, not with each
       connection.
     * The function "octet_length()" now returns the uncompressed data
       length.
     * The date/time value 'current' is no longer available. You will
       need to rewrite your applications.
     * The timestamp(), time(), and interval() functions are no longer
       available. Instead of timestamp(), use timestamp 'string' or CAST.

   The SELECT ... LIMIT #,# syntax will be removed in the next release.
   You should change your queries to use separate LIMIT and OFFSET
   clauses, e.g. LIMIT 10 OFFSET 20.
     _________________________________________________________________

Changes

Server Operation

     * Create temporary files in a separate directory (Bruce)
     * Delete orphaned temporary files on postmaster startup (Bruce)
     * Added unique indexes to some system tables (Tom)
     * System table operator reorganization (Oleg Bartunov, Teodor
       Sigaev, Tom)
     * Renamed pg_log to pg_clog (Tom)
     * Enable SIGTERM, SIGQUIT to kill backends (Jan)
     * Removed compile-time limit on number of backends (Tom)
     * Better cleanup for semaphore resource failure (Tatsuo, Tom)
     * Allow safe transaction ID wraparound (Tom)
     * Removed OIDs from some system tables (Tom)
     * Removed "triggered data change violation" error check (Tom)
     * SPI portal creation of prepared/saved plans (Jan)
     * Allow SPI column functions to work for system columns (Tom)
     * Long value compression improvement (Tom)
     * Statistics collector for table, index access (Jan)
     * Truncate extra-long sequence names to a reasonable value (Tom)
     * Measure transaction times in milliseconds (Thomas)
     * Fix TID sequential scans (Hiroshi)
     * Superuser ID now fixed at 1 (Peter E)
     * New pg_ctl "reload" option (Tom)
     _________________________________________________________________

Performance

     * Optimizer improvements (Tom)
     * New histogram column statistics for optimizer (Tom)
     * Reuse write-ahead log files rather than discarding them (Tom)
     * Cache improvements (Tom)
     * IS NULL, IS NOT NULL optimizer improvement (Tom)
     * Improve lock manager to reduce lock contention (Tom)
     * Keep relcache entries for index access support functions (Tom)
     * Allow better selectivity with NaN and infinities in NUMERIC (Tom)
     * R-tree performance improvements (Kenneth Been)
     * B-tree splits more efficient (Tom)
     _________________________________________________________________

Privileges

     * Change UPDATE, DELETE privileges to be distinct (Peter E)
     * New REFERENCES, TRIGGER privileges (Peter E)
     * Allow GRANT/REVOKE to/from more than one user at a time (Peter E)
     * New has_table_privilege() function (Joe Conway)
     * Allow non-superuser to vacuum database (Tom)
     * New SET SESSION AUTHORIZATION command (Peter E)
     * Fix bug in privilege modifications on newly created tables (Tom)
     * Disallow access to pg_statistic for non-superuser, add
       user-accessible views (Tom)
     _________________________________________________________________

Client Authentication

     * Fork postmaster before doing authentication to prevent hangs
       (Peter E)
     * Add ident authentication over Unix domain sockets on Linux, *BSD
       (Helge Bahmann, Oliver Elphick, Teodor Sigaev, Bruce)
     * Add a password authentication method that uses MD5 encryption
       (Bruce)
     * Allow encryption of stored passwords using MD5 (Bruce)
     * PAM authentication (Dominic J. Eidson)
     * Load pg_hba.conf and pg_ident.conf only on startup and SIGHUP
       (Bruce)
     _________________________________________________________________

Server Configuration

     * Interpretation of some time zone abbreviations as Australian
       rather than North American now settable at run time (Bruce)
     * New parameter to set default transaction isolation level (Peter E)
     * New parameter to enable conversion of "expr = NULL" into "expr IS
       NULL", off by default (Peter E)
     * New parameter to control memory usage by VACUUM (Tom)
     * New parameter to set client authentication timeout (Tom)
     * New parameter to set maximum number of open files (Tom)
     _________________________________________________________________

Queries

     * Statements added by INSERT rules now execute after the INSERT
       (Jan)
     * Prevent unadorned relation names in target list (Bruce)
     * NULLs now sort after all normal values in ORDER BY (Tom)
     * New IS UNKNOWN, IS NOT UNKNOWN Boolean tests (Tom)
     * New SHARE UPDATE EXCLUSIVE lock mode (Tom)
     * New EXPLAIN ANALYZE command that shows run times and row counts
       (Martijn van Oosterhout)
     * Fix problem with LIMIT and subqueries (Tom)
     * Fix for LIMIT, DISTINCT ON pushed into subqueries (Tom)
     * Fix nested EXCEPT/INTERSECT (Tom)
     _________________________________________________________________

Schema Manipulation

     * Fix SERIAL in temporary tables (Bruce)
     * Allow temporary sequences (Bruce)
     * Sequences now use int8 internally (Tom)
     * New SERIAL8 creates int8 columns with sequences, default still
       SERIAL4 (Tom)
     * Make OIDs optional using WITHOUT OIDS (Tom)
     * Add %TYPE syntax to CREATE TYPE (Ian Lance Taylor)
     * Add ALTER TABLE / DROP CONSTRAINT for CHECK constraints
       (Christopher Kings-Lynne)
     * New CREATE OR REPLACE FUNCTION to alter existing function
       (preserving the function OID) (Gavin Sherry)
     * Add ALTER TABLE / ADD [ UNIQUE | PRIMARY ] (Christopher
       Kings-Lynne)
     * Allow column renaming in views
     * Make ALTER TABLE / RENAME COLUMN update column names of indexes
       (Brent Verner)
     * Fix for ALTER TABLE / ADD CONSTRAINT ... CHECK with inherited
       tables (Stephan Szabo)
     * ALTER TABLE RENAME update foreign-key trigger arguments correctly
       (Brent Verner)
     * DROP AGGREGATE and COMMENT ON AGGREGATE now accept an aggtype
       (Tom)
     * Add automatic return type data casting for SQL functions (Tom)
     * Allow GiST indexes to handle NULLs and multikey indexes (Oleg
       Bartunov, Teodor Sigaev, Tom)
     * Enable partial indexes (Martijn van Oosterhout)
     _________________________________________________________________

Utility Commands

     * Add RESET ALL, SHOW ALL (Marko Kreen)
     * CREATE/ALTER USER/GROUP now allow options in any order (Vince)
     * Add LOCK A, B, C functionality (Neil Padgett)
     * New ENCRYPTED/UNENCRYPTED option to CREATE/ALTER USER (Bruce)
     * New light-weight VACUUM does not lock table; old semantics are
       available as VACUUM FULL (Tom)
     * Disable COPY TO/FROM on views (Bruce)
     * COPY DELIMITERS string must be exactly one character (Tom)
     * VACUUM warning about index tuples fewer than heap now only appears
       when appropriate (Martijn van Oosterhout)
     * Fix privilege checks for CREATE INDEX (Tom)
     * Disallow inappropriate use of CREATE/DROP INDEX/TRIGGER/VIEW (Tom)
     _________________________________________________________________

Data Types and Functions

     * SUM(), AVG(), COUNT() now uses int8 internally for speed (Tom)
     * Add convert(), convert2() (Tatsuo)
     * New function bit_length() (Peter E)
     * Make the "n" in CHAR(n)/VARCHAR(n) represents letters, not bytes
       (Tatsuo)
     * CHAR(), VARCHAR() now reject strings that are too long (Peter E)
     * BIT VARYING now rejects bit strings that are too long (Peter E)
     * BIT now rejects bit strings that do not match declared size (Peter
       E)
     * INET, CIDR text conversion functions (Alex Pilosov)
     * INET, CIDR operators << and <<= indexable (Alex Pilosov)
     * Bytea \### now requires valid three digit octal number
     * Bytea comparison improvements, now supports =, <>, >, >=, <, and
       <=
     * Bytea now supports B-tree indexes
     * Bytea now supports LIKE, LIKE...ESCAPE, NOT LIKE, NOT
       LIKE...ESCAPE
     * Bytea now supports concatenation
     * New bytea functions: position, substring, trim, btrim, and length
     * New encode() function mode, "escaped", converts minimally escaped
       bytea to/from text
     * Add pg_database_encoding_max_length() (Tatsuo)
     * Add pg_client_encoding() function (Tatsuo)
     * now() returns time with millisecond precision (Thomas)
     * New TIMESTAMP WITHOUT TIMEZONE data type (Thomas)
     * Add ISO date/time specification with "T", yyyy-mm-ddThh:mm:ss
       (Thomas)
     * New xid/int comparison functions (Hiroshi)
     * Add precision to TIME, TIMESTAMP, and INTERVAL data types (Thomas)
     * Modify type coercion logic to attempt binary-compatible functions
       first (Tom)
     * New encode() function installed by default (Marko Kreen)
     * Improved to_*() conversion functions (Karel Zak)
     * Optimize LIKE/ILIKE when using single-byte encodings (Tatsuo)
     * New functions in contrib/pgcrypto: crypt(), hmac(), encrypt(),
       gen_salt() (Marko Kreen)
     * Correct description of translate() function (Bruce)
     * Add INTERVAL argument for SET TIME ZONE (Thomas)
     * Add INTERVAL YEAR TO MONTH (etc.) syntax (Thomas)
     * Optimize length functions when using single-byte encodings
       (Tatsuo)
     * Fix path_inter, path_distance, path_length, dist_ppath to handle
       closed paths (Curtis Barrett, Tom)
     * octet_length(text) now returns non-compressed length (Tatsuo,
       Bruce)
     * Handle "July" full name in date/time literals (Greg Sabino
       Mullane)
     * Some datatype() function calls now evaluated differently
     * Add support for Julian and ISO time specifications (Thomas)
     _________________________________________________________________

Internationalization

     * National language support in psql, pg_dump, libpq, and server
       (Peter E)
     * Message translations in Chinese (simplified, traditional), Czech,
       French, German, Hungarian, Russian, Swedish (Peter E, Serguei A.
       Mokhov, Karel Zak, Weiping He, Zhenbang Wei, Kovacs Zoltan)
     * Make trim, ltrim, rtrim, btrim, lpad, rpad, translate multibyte
       aware (Tatsuo)
     * Add LATIN5,6,7,8,9,10 support (Tatsuo)
     * Add ISO 8859-5,6,7,8 support (Tatsuo)
     * Correct LATIN5 to mean ISO-8859-9, not ISO-8859-5 (Tatsuo)
     * Make mic2ascii() non-ASCII aware (Tatsuo)
     * Reject invalid multibyte character sequences (Tatsuo)
     _________________________________________________________________

PL/pgSQL

     * Now uses portals for SELECT loops, allowing huge result sets (Jan)
     * CURSOR and REFCURSOR support (Jan)
     * Can now return open cursors (Jan)
     * Add ELSEIF (Klaus Reger)
     * Improve PL/pgSQL error reporting, including location of error
       (Tom)
     * Allow IS or FOR key words in cursor declaration, for compatibility
       (Bruce)
     * Fix for SELECT ... FOR UPDATE (Tom)
     * Fix for PERFORM returning multiple rows (Tom)
     * Make PL/pgSQL use the server's type coercion code (Tom)
     * Memory leak fix (Jan, Tom)
     * Make trailing semicolon optional (Tom)
     _________________________________________________________________

PL/Perl

     * New untrusted PL/Perl (Alex Pilosov)
     * PL/Perl is now built on some platforms even if libperl is not
       shared (Peter E)
     _________________________________________________________________

PL/Tcl

     * Now reports errorInfo (Vsevolod Lobko)
     * Add spi_lastoid function (bob@@redivi.com)
     _________________________________________________________________

PL/Python

     * ...is new (Andrew Bosma)
     _________________________________________________________________

psql

     * \d displays indexes in unique, primary groupings (Christopher
       Kings-Lynne)
     * Allow trailing semicolons in backslash commands (Greg Sabino
       Mullane)
     * Read password from /dev/tty if possible
     * Force new password prompt when changing user and database (Tatsuo,
       Tom)
     * Format the correct number of columns for Unicode (Patrice)
     _________________________________________________________________

libpq

     * New function PQescapeString() to escape quotes in command strings
       (Florian Weimer)
     * New function PQescapeBytea() escapes binary strings for use as SQL
       string literals
     _________________________________________________________________

JDBC

     * Return OID of INSERT (Ken K)
     * Handle more data types (Ken K)
     * Handle single quotes and newlines in strings (Ken K)
     * Handle NULL variables (Ken K)
     * Fix for time zone handling (Barry Lind)
     * Improved Druid support
     * Allow eight-bit characters with non-multibyte server (Barry Lind)
     * Support BIT, BINARY types (Ned Wolpert)
     * Reduce memory usage (Michael Stephens, Dave Cramer)
     * Update DatabaseMetaData (Peter E)
     * Add DatabaseMetaData.getCatalogs() (Peter E)
     * Encoding fixes (Anders Bengtsson)
     * Get/setCatalog methods (Jason Davies)
     * DatabaseMetaData.getColumns() now returns column defaults (Jason
       Davies)
     * DatabaseMetaData.getColumns() performance improvement (Jeroen van
       Vianen)
     * Some JDBC1 and JDBC2 merging (Anders Bengtsson)
     * Transaction performance improvements (Barry Lind)
     * Array fixes (Greg Zoller)
     * Serialize addition
     * Fix batch processing (Rene Pijlman)
     * ExecSQL method reorganization (Anders Bengtsson)
     * GetColumn() fixes (Jeroen van Vianen)
     * Fix isWriteable() function (Rene Pijlman)
     * Improved passage of JDBC2 conformance tests (Rene Pijlman)
     * Add bytea type capability (Barry Lind)
     * Add isNullable() (Rene Pijlman)
     * JDBC date/time test suite fixes (Liam Stewart)
     * Fix for SELECT 'id' AS xxx FROM table (Dave Cramer)
     * Fix DatabaseMetaData to show precision properly (Mark Lillywhite)
     * New getImported/getExported keys (Jason Davies)
     * MD5 password encryption support (Jeremy Wohl)
     * Fix to actually use type cache (Ned Wolpert)
     _________________________________________________________________

ODBC

     * Remove query size limit (Hiroshi)
     * Remove text field size limit (Hiroshi)
     * Fix for SQLPrimaryKeys in multibyte mode (Hiroshi)
     * Allow ODBC procedure calls (Hiroshi)
     * Improve boolean handing (Aidan Mountford)
     * Most configuration options now settable via DSN (Hiroshi)
     * Multibyte, performance fixes (Hiroshi)
     * Allow driver to be used with iODBC or unixODBC (Peter E)
     * MD5 password encryption support (Bruce)
     * Add more compatibility functions to odbc.sql (Peter E)
     _________________________________________________________________

ECPG

     * EXECUTE ... INTO implemented (Christof Petig)
     * Multiple row descriptor support (e.g. CARDINALITY) (Christof
       Petig)
     * Fix for GRANT parameters (Lee Kindness)
     * Fix INITIALLY DEFERRED bug
     * Various bug fixes (Michael, Christof Petig)
     * Auto allocation for indicator variable arrays (int *ind_p=NULL)
     * Auto allocation for string arrays (char **foo_pp=NULL)
     * ECPGfree_auto_mem fixed
     * All function names with external linkage are now prefixed by ECPG
     * Fixes for arrays of structures (Michael)
     _________________________________________________________________

Misc. Interfaces

     * Python fix fetchone() (Gerhard Haring)
     * Use UTF, Unicode in Tcl where appropriate (Vsevolod Lobko,
       Reinhard Max)
     * Add Tcl COPY TO/FROM (ljb)
     * Prevent output of default index op class in pg_dump (Tom)
     * Fix libpgeasy memory leak (Bruce)
     _________________________________________________________________

Build and Install

     * Configure, dynamic loader, and shared library fixes (Peter E)
     * Fixes in QNX 4 port (Bernd Tegge)
     * Fixes in Cygwin and Windows ports (Jason Tishler, Gerhard Haring,
       Dmitry Yurtaev, Darko Prenosil, Mikhail Terekhov)
     * Fix for Windows socket communication failures (Magnus, Mikhail
       Terekhov)
     * Hurd compile fix (Oliver Elphick)
     * BeOS fixes (Cyril Velter)
     * Remove configure --enable-unicode-conversion, now enabled by
       multibyte (Tatsuo)
     * AIX fixes (Tatsuo, Andreas)
     * Fix parallel make (Peter E)
     * Install SQL language manual pages into OS-specific directories
       (Peter E)
     * Rename config.h to pg_config.h (Peter E)
     * Reorganize installation layout of header files (Peter E)
     _________________________________________________________________

Source Code

     * Remove SEP_CHAR (Bruce)
     * New GUC hooks (Tom)
     * Merge GUC and command line handling (Marko Kreen)
     * Remove EXTEND INDEX (Martijn van Oosterhout, Tom)
     * New pgjindent utility to indent java code (Bruce)
     * Remove define of true/false when compiling under C++ (Leandro
       Fanzone, Tom)
     * pgindent fixes (Bruce, Tom)
     * Replace strcasecmp() with strcmp() where appropriate (Peter E)
     * Dynahash portability improvements (Tom)
     * Add 'volatile' usage in spinlock structures
     * Improve signal handling logic (Tom)
     _________________________________________________________________

Contrib

     * New contrib/rtree_gist (Oleg Bartunov, Teodor Sigaev)
     * New contrib/tsearch full-text indexing (Oleg, Teodor Sigaev)
     * Add contrib/dblink for remote database access (Joe Conway)
     * contrib/ora2pg Oracle conversion utility (Gilles Darold)
     * contrib/xml XML conversion utility (John Gray)
     * contrib/fulltextindex fixes (Christopher Kings-Lynne)
     * New contrib/fuzzystrmatch with levenshtein and metaphone, soundex
       merged (Joe Conway)
     * Add contrib/intarray boolean queries, binary search, fixes (Oleg
       Bartunov)
     * New pg_upgrade utility (Bruce)
     * Add new pg_resetxlog options (Bruce, Tom)
     _________________________________________________________________

                               Release 7.1.3

     Release date: 2001-08-15
     _________________________________________________________________

Migration to version 7.1.3

   A dump/restore is *not* required for those running 7.1.X.
     _________________________________________________________________

Changes

Remove unused WAL segements of large transactions (Tom)
Multiaction rule fix (Tom)
PL/pgSQL memory allocation fix (Jan)
VACUUM buffer fix (Tom)
Regression test fixes (Tom)
pg_dump fixes for GRANT/REVOKE/comments on views, user-defined types (Tom)
Fix subselects with DISTINCT ON or LIMIT (Tom)
BeOS fix
Disable COPY TO/FROM a view (Tom)
Cygwin build (Jason Tishler)

     _________________________________________________________________

                               Release 7.1.2

     Release date: 2001-05-11

   This has one fix from 7.1.1.
     _________________________________________________________________

Migration to version 7.1.2

   A dump/restore is *not* required for those running 7.1.X.
     _________________________________________________________________

Changes

Fix PL/pgSQL SELECTs when returning no rows
Fix for psql backslash core dump
Referential integrity privilege fix
Optimizer fixes
pg_dump cleanups

     _________________________________________________________________

                               Release 7.1.1

     Release date: 2001-05-05

   This has a variety of fixes from 7.1.
     _________________________________________________________________

Migration to version 7.1.1

   A dump/restore is *not* required for those running 7.1.
     _________________________________________________________________

Changes

Fix for numeric MODULO operator (Tom)
pg_dump fixes (Philip)
pg_dump can dump 7.0 databases (Philip)
readline 4.2 fixes (Peter E)
JOIN fixes (Tom)
AIX, MSWIN, VAX, N32K fixes (Tom)
Multibytes fixes (Tom)
Unicode fixes (Tatsuo)
Optimizer improvements (Tom)
Fix for whole rows in functions (Tom)
Fix for pg_ctl and option strings with spaces (Peter E)
ODBC fixes (Hiroshi)
EXTRACT can now take string argument (Thomas)
Python fixes (Darcy)

     _________________________________________________________________

                                Release 7.1

     Release date: 2001-04-13

   This release focuses on removing limitations that have existed in the
   PostgreSQL code for many years.

   Major changes in this release:

   Write-ahead Log (WAL)
          To maintain database consistency in case of an operating system
          crash, previous releases of PostgreSQL have forced all data
          modifications to disk before each transaction commit. With WAL,
          only one log file must be flushed to disk, greatly improving
          performance. If you have been using -F in previous releases to
          disable disk flushes, you may want to consider discontinuing
          its use.

   TOAST
          TOAST - Previous releases had a compiled-in row length limit,
          typically 8k - 32k. This limit made storage of long text fields
          difficult. With TOAST, long rows of any length can be stored
          with good performance.

   Outer Joins
          We now support outer joins. The UNION/NOT IN workaround for
          outer joins is no longer required. We use the SQL92 outer join
          syntax.

   Function Manager
          The previous C function manager did not handle null values
          properly, nor did it support 64-bit CPU's (Alpha). The new
          function manager does. You can continue using your old custom
          functions, but you may want to rewrite them in the future to
          use the new function manager call interface.

   Complex Queries
          A large number of complex queries that were unsupported in
          previous releases now work. Many combinations of views,
          aggregates, UNION, LIMIT, cursors, subqueries, and inherited
          tables now work properly. Inherited tables are now accessed by
          default. Subqueries in FROM are now supported.
     _________________________________________________________________

Migration to version 7.1

   A dump/restore using pg_dump is required for those wishing to migrate
   data from any previous release.
     _________________________________________________________________

Changes

Bug Fixes
---------
Many multibyte/Unicode/locale fixes (Tatsuo and others)
More reliable ALTER TABLE RENAME (Tom)
Kerberos V fixes (David Wragg)
Fix for INSERT INTO...SELECT where targetlist has subqueries (Tom)
Prompt username/password on standard error (Bruce)
Large objects inv_read/inv_write fixes (Tom)
Fixes for to_char(), to_date(), to_ascii(), and to_timestamp() (Karel,
    Daniel Baldoni)
Prevent query expressions from leaking memory (Tom)
Allow UPDATE of arrays elements (Tom)
Wake up lock waiters during cancel (Hiroshi)
Fix rare cursor crash when using hash join (Tom)
Fix for DROP TABLE/INDEX in rolled-back transaction (Hiroshi)
Fix psql crash from \l+ if MULTIBYTE enabled (Peter E)
Fix truncation of rule names during CREATE VIEW (Ross Reedstrom)
Fix PL/perl (Alex Kapranoff)
Disallow LOCK on views (Mark Hollomon)
Disallow INSERT/UPDATE/DELETE on views (Mark Hollomon)
Disallow DROP RULE, CREATE INDEX, TRUNCATE on views (Mark Hollomon)
Allow PL/pgSQL accept non-ASCII identifiers (Tatsuo)
Allow views to proper handle GROUP BY, aggregates, DISTINCT (Tom)
Fix rare failure with TRUNCATE command (Tom)
Allow UNION/INTERSECT/EXCEPT to be used with ALL, subqueries, views,
    DISTINCT, ORDER BY, SELECT...INTO (Tom)
Fix parser failures during aborted transactions (Tom)
Allow temporary relations to properly clean up indexes (Bruce)
Fix VACUUM problem with moving rows in same page (Tom)
Modify pg_dump to better handle user-defined items in template1 (Philip)
Allow LIMIT in VIEW (Tom)
Require cursor FETCH to honor LIMIT (Tom)
Allow PRIMARY/FOREIGN Key definitions on inherited columns (Stephan)
Allow ORDER BY, LIMIT in subqueries (Tom)
Allow UNION in CREATE RULE (Tom)
Make ALTER/DROP TABLE rollback-able (Vadim, Tom)
Store initdb collation in pg_control so collation cannot be changed (Tom)
Fix INSERT...SELECT with rules (Tom)
Fix FOR UPDATE inside views and subselects (Tom)
Fix OVERLAPS operators conform to SQL92 spec regarding NULLs (Tom)
Fix lpad() and rpad() to handle length less than input string (Tom)
Fix use of NOTIFY in some rules (Tom)
Overhaul btree code (Tom)
Fix NOT NULL use in Pl/pgSQL variables (Tom)
Overhaul GIST code (Oleg)
Fix CLUSTER to preserve constraints and column default (Tom)
Improved deadlock detection handling (Tom)
Allow multiple SERIAL columns in a table (Tom)
Prevent occasional index corruption (Vadim)

Enhancements
------------
Add OUTER JOINs (Tom)
Function manager overhaul (Tom)
Allow ALTER TABLE RENAME on indexes (Tom)
Improve CLUSTER (Tom)
Improve ps status display for more platforms (Peter E, Marc)
Improve CREATE FUNCTION failure message (Ross)
JDBC improvements (Peter, Travis Bauer, Christopher Cain, William Webber,
    Gunnar)
Grand Unified Configuration scheme/GUC.  Many options can now be set in
    data/postgresql.conf, postmaster/postgres flags, or SET commands (Peter E)
Improved handling of file descriptor cache (Tom)
New warning code about auto-created table alias entries (Bruce)
Overhaul initdb process (Tom, Peter E)
Overhaul of inherited tables; inherited tables now accessed by default;
   new ONLY key word prevents it (Chris Bitmead, Tom)
ODBC cleanups/improvements (Nick Gorham, Stephan Szabo, Zoltan Kovacs,
    Michael Fork)
Allow renaming of temp tables (Tom)
Overhaul memory manager contexts (Tom)
pg_dumpall uses CREATE USER or CREATE GROUP rather using COPY (Peter E)
Overhaul pg_dump (Philip Warner)
Allow pg_hba.conf secondary password file to specify only username (Peter E)
Allow TEMPORARY or TEMP key word when creating temporary tables (Bruce)
New memory leak checker (Karel)
New SET SESSION CHARACTERISTICS (Thomas)
Allow nested block comments (Thomas)
Add WITHOUT TIME ZONE type qualifier (Thomas)
New ALTER TABLE ADD CONSTRAINT (Stephan)
Use NUMERIC accumulators for INTEGER aggregates (Tom)
Overhaul aggregate code (Tom)
New VARIANCE and STDDEV() aggregates
Improve dependency ordering of pg_dump (Philip)
New pg_restore command (Philip)
New pg_dump tar output option (Philip)
New pg_dump of large objects  (Philip)
New ESCAPE option to LIKE (Thomas)
New case-insensitive LIKE - ILIKE (Thomas)
Allow functional indexes to use binary-compatible type (Tom)
Allow SQL functions to be used in more contexts (Tom)
New pg_config utility (Peter E)
New PL/pgSQL EXECUTE command which allows dynamic SQL and utility statements
    (Jan)
New PL/pgSQL GET DIAGNOSTICS statement for SPI value access (Jan)
New quote_identifiers() and quote_literal() functions (Jan)
New ALTER TABLE table OWNER TO user command (Mark Hollomon)
Allow subselects in FROM, i.e. FROM (SELECT ...) [AS] alias (Tom)
Update PyGreSQL to version 3.1 (D'Arcy)
Store tables as files named by OID (Vadim)
New SQL function setval(seq,val,bool) for use in pg_dump (Philip)
Require DROP VIEW to remove views, no DROP TABLE (Mark)
Allow DROP VIEW view1, view2 (Mark)
Allow multiple objects in DROP INDEX, DROP RULE, and DROP TYPE (Tom)
Allow automatic conversion to/from Unicode (Tatsuo, Eiji)
New /contrib/pgcrypto hashing functions (Marko Kreen)
New pg_dumpall --globals-only option (Peter E)
New CHECKPOINT command for WAL which creates new WAL log file (Vadim)
New AT TIME ZONE syntax (Thomas)
Allow location of Unix domain socket to be configurable (David J. MacKenzie)
Allow postmaster to listen on a specific IP address (David J. MacKenzie)
Allow socket path name to be specified in hostname by using leading slash
    (David J. MacKenzie)
Allow CREATE DATABASE to specify template database (Tom)
New utility to convert MySQL schema dumps to SQL92 and PostgreSQL (Thomas)
New /contrib/rserv replication toolkit (Vadim)
New file format for COPY BINARY (Tom)
New /contrib/oid2name to map numeric files to table names (B Palmer)
New "idle in transaction" ps status message (Marc)
Update to pgaccess 0.98.7 (Constantin Teodorescu)
pg_ctl now defaults to -w (wait) on shutdown, new -l (log) option
Add rudimentary dependency checking to pg_dump (Philip)

Types
-----
Fix INET/CIDR type ordering and add new functions (Tom)
Make OID behave as an unsigned type (Tom)
Allow BIGINT as synonym for INT8 (Peter E)
New int2 and int8 comparison operators (Tom)
New BIT and BIT VARYING types (Adriaan Joubert, Tom, Peter E)
CHAR() no longer faster than VARCHAR() because of TOAST (Tom)
New GIST seg/cube examples (Gene Selkov)
Improved round(numeric) handling (Tom)
Fix CIDR output formatting (Tom)
New CIDR abbrev() function (Tom)

Performance
-----------
Write-Ahead Log (WAL) to provide crash recovery with less performance
    overhead (Vadim)
ANALYZE stage of VACUUM no longer exclusively locks table (Bruce)
Reduced file seeks (Denis Perchine)
Improve BTREE code for duplicate keys (Tom)
Store all large objects in a single table (Denis Perchine, Tom)
Improve memory allocation performance (Karel, Tom)

Source Code
-----------
New function manager call conventions (Tom)
SGI portability fixes (David Kaelbling)
New configure --enable-syslog option (Peter E)
New BSDI README (Bruce)
configure script moved to top level, not /src (Peter E)
Makefile/configuration/compilation overhaul (Peter E)
New configure --with-python option (Peter E)
Solaris cleanups (Peter E)
Overhaul /contrib Makefiles (Karel)
New OpenSSL configuration option (Magnus, Peter E)
AIX fixes (Andreas)
QNX fixes (Maurizio)
New heap_open(), heap_openr() API (Tom)
Remove colon and semi-colon operators (Thomas)
New pg_class.relkind value for views (Mark Hollomon)
Rename ichar() to chr() (Karel)
New documentation for btrim(), ascii(), chr(), repeat() (Karel)
Fixes for NT/Cygwin (Pete Forman)
AIX port fixes (Andreas)
New BeOS port (David Reid, Cyril Velter)
Add proofreader's changes to docs (Addison-Wesley, Bruce)
New Alpha spinlock code (Adriaan Joubert, Compaq)
UnixWare port overhaul (Peter E)
New Darwin/MacOS X port (Peter Bierman, Bruce Hartzler)
New FreeBSD Alpha port (Alfred)
Overhaul shared memory segments (Tom)
Add IBM S/390 support (Neale Ferguson)
Moved macmanuf to /contrib (Larry Rosenman)
Syslog improvements (Larry Rosenman)
New template0 database that contains no user additions (Tom)
New /contrib/cube and /contrib/seg GIST sample code (Gene Selkov)
Allow NetBSD's libedit instead of readline (Peter)
Improved assembly language source code format (Bruce)
New contrib/pg_logger
New --template option to createdb
New contrib/pg_control utility (Oliver)
New FreeBSD tools ipc_check, start-scripts/freebsd

     _________________________________________________________________

                               Release 7.0.3

     Release date: 2000-11-11

   This has a variety of fixes from 7.0.2.
     _________________________________________________________________

Migration to version 7.0.3

   A dump/restore is *not* required for those running 7.0.*.
     _________________________________________________________________

Changes

Jdbc fixes (Peter)
Large object fix (Tom)
Fix lean in COPY WITH OIDS leak (Tom)
Fix backwards-index-scan (Tom)
Fix SELECT ... FOR UPDATE so it checks for duplicate keys (Hiroshi)
Add --enable-syslog to configure (Marc)
Fix abort transaction at backend exit in rare cases (Tom)
Fix for psql \l+ when multibyte enabled (Tatsuo)
Allow PL/pgSQL to accept non ascii identifiers (Tatsuo)
Make vacuum always flush buffers (Tom)
Fix to allow cancel while waiting for a lock (Hiroshi)
Fix for memory aloocation problem in user authentication code (Tom)
Remove bogus use of int4out() (Tom)
Fixes for multiple subqueries in COALESCE or BETWEEN (Tom)
Fix for failure of triggers on heap open in certain cases (Jeroen van
    Vianen)
Fix for erroneous selectivity of not-equals (Tom)
Fix for erroneous use of strcmp() (Tom)
Fix for bug where storage manager accesses items beyond end of file
    (Tom)
Fix to include kernel errno message in all smgr elog messages (Tom)
Fix for '.' not in PATH at build time (SL Baur)
Fix for out-of-file-descriptors error (Tom)
Fix to make pg_dump dump 'iscachable' flag for functions (Tom)
Fix for subselect in targetlist of Append node (Tom)
Fix for mergejoin plans (Tom)
Fix TRUNCATE failure on relations with indexes (Tom)
Avoid database-wide restart on write error (Hiroshi)
Fix nodeMaterial to honor chgParam by recomputing its output (Tom)
Fix VACUUM problem with moving chain of update row versions when source
    and destination of a row version lie on the same page (Tom)
Fix user.c CommandCounterIncrement (Tom)
Fix for AM/PM boundary problem in to_char() (Karel Zak)
Fix TIME aggregate handling (Tom)
Fix to_char() to avoid coredump on NULL input (Tom)
Buffer fix (Tom)
Fix for inserting/copying longer multibyte strings into char() data
    types (Tatsuo)
Fix for crash of backend, on abort (Tom)

     _________________________________________________________________

                               Release 7.0.2

     Release date: 2000-06-05

   This is a repackaging of 7.0.1 with added documentation.
     _________________________________________________________________

Migration to version 7.0.2

   A dump/restore is *not* required for those running 7.*.
     _________________________________________________________________

Changes

Added documentation to tarball.

     _________________________________________________________________

                               Release 7.0.1

     Release date: 2000-06-01

   This is a cleanup release for 7.0.
     _________________________________________________________________

Migration to version 7.0.1

   A dump/restore is *not* required for those running 7.0.
     _________________________________________________________________

Changes

Fix many CLUSTER failures (Tom)
Allow ALTER TABLE RENAME works on indexes (Tom)
Fix plpgsql to handle datetime->timestamp and timespan->interval (Bruce)
New configure --with-setproctitle switch to use setproctitle() (Marc, Bruce)
Fix the off by one errors in ResultSet from 6.5.3, and more.
jdbc ResultSet fixes (Joseph Shraibman)
optimizer tunings (Tom)
Fix create user for pgaccess
Fix for UNLISTEN failure
IRIX fixes (David Kaelbling)
QNX fixes (Andreas Kardos)
Reduce COPY IN lock level (Tom)
Change libpqeasy to use PQconnectdb() style parameters (Bruce)
Fix pg_dump to handle OID indexes (Tom)
Fix small memory leak (Tom)
Solaris fix for createdb/dropdb (Tatsuo)
Fix for non-blocking connections (Alfred Perlstein)
Fix improper recovery after RENAME TABLE failures (Tom)
Copy pg_ident.conf.sample into /lib directory in install (Bruce)
Add SJIS UDC (NEC selection IBM kanji) support (Eiji Tokuya)
Fix too long syslog message (Tatsuo)
Fix problem with quoted indexes that are too long (Tom)
JDBC ResultSet.getTimestamp() fix (Gregory Krasnow & Floyd Marinescu)
ecpg changes (Michael)

     _________________________________________________________________

                                Release 7.0

     Release date: 2000-05-08

   This release contains improvements in many areas, demonstrating the
   continued growth of PostgreSQL. There are more improvements and fixes
   in 7.0 than in any previous release. The developers have confidence
   that this is the best release yet; we do our best to put out only
   solid releases, and this one is no exception.

   Major changes in this release:

   Foreign Keys
          Foreign keys are now implemented, with the exception of PARTIAL
          MATCH foreign keys. Many users have been asking for this
          feature, and we are pleased to offer it.

   Optimizer Overhaul
          Continuing on work started a year ago, the optimizer has been
          improved, allowing better query plan selection and faster
          performance with less memory usage.

   Updated psql
          psql, our interactive terminal monitor, has been updated with a
          variety of new features. See the psql manual page for details.

   Join Syntax
          SQL92 join syntax is now supported, though only as INNER JOIN
          for this release. JOIN, NATURAL JOIN, JOIN/USING, and JOIN/ON
          are available, as are column correlation names.
     _________________________________________________________________

Migration to version 7.0

   A dump/restore using pg_dump is required for those wishing to migrate
   data from any previous release of PostgreSQL. For those upgrading from
   6.5.*, you may instead use pg_upgrade to upgrade to this release;
   however, a full dump/reload installation is always the most robust
   method for upgrades.

   Interface and compatibility issues to consider for the new release
   include:

     * The date/time types datetime and timespan have been superseded by
       the SQL92-defined types timestamp and interval. Although there has
       been some effort to ease the transition by allowing PostgreSQL to
       recognize the deprecated type names and translate them to the new
       type names, this mechanism may not be completely transparent to
       your existing application.
     * The optimizer has been substantially improved in the area of query
       cost estimation. In some cases, this will result in decreased
       query times as the optimizer makes a better choice for the
       preferred plan. However, in a small number of cases, usually
       involving pathological distributions of data, your query times may
       go up. If you are dealing with large amounts of data, you may want
       to check your queries to verify performance.
     * The JDBC and ODBC interfaces have been upgraded and extended.
     * The string function CHAR_LENGTH is now a native function. Previous
       versions translated this into a call to LENGTH, which could result
       in ambiguity with other types implementing LENGTH such as the
       geometric types.
     _________________________________________________________________

Changes

Bug Fixes
---------
Prevent function calls exceeding maximum number of arguments (Tom)
Improve CASE construct (Tom)
Fix SELECT coalesce(f1,0) FROM int4_tbl GROUP BY f1 (Tom)
Fix SELECT sentence.words[0] FROM sentence GROUP BY sentence.words[0] (Tom)
Fix GROUP BY scan bug (Tom)
Improvements in SQL grammar processing (Tom)
Fix for views involved in INSERT ... SELECT ... (Tom)
Fix for SELECT a/2, a/2 FROM test_missing_target GROUP BY a/2 (Tom)
Fix for subselects in INSERT ... SELECT (Tom)
Prevent INSERT ... SELECT ... ORDER BY (Tom)
Fixes for relations greater than 2GB, including vacuum
Improve propagating system table changes to other backends (Tom)
Improve propagating user table changes to other backends (Tom)
Fix handling of temp tables in complex situations (Bruce, Tom)
Allow table locking at table open, improving concurrent reliability (Tom)
Properly quote sequence names in pg_dump (Ross J. Reedstrom)
Prevent DROP DATABASE while others accessing
Prevent any rows from being returned by GROUP BY if no rows processed (Tom)
Fix SELECT COUNT(1) FROM table WHERE ...' if no rows matching WHERE (Tom)
Fix pg_upgrade so it works for MVCC (Tom)
Fix for SELECT ... WHERE x IN (SELECT ... HAVING SUM(x) > 1) (Tom)
Fix for "f1 datetime DEFAULT 'now'"  (Tom)
Fix problems with CURRENT_DATE used in DEFAULT (Tom)
Allow comment-only lines, and ;;; lines too. (Tom)
Improve recovery after failed disk writes, disk full (Hiroshi)
Fix cases where table is mentioned in FROM but not joined (Tom)
Allow HAVING clause without aggregate functions (Tom)
Fix for "--" comment and no trailing newline, as seen in perl interface
Improve pg_dump failure error reports (Bruce)
Allow sorts and hashes to exceed 2GB file sizes (Tom)
Fix for pg_dump dumping of inherited rules (Tom)
Fix for NULL handling comparisons (Tom)
Fix inconsistent state caused by failed CREATE/DROP commands (Hiroshi)
Fix for dbname with dash
Prevent DROP INDEX from interfering with other backends (Tom)
Fix file descriptor leak in verify_password()
Fix for "Unable to identify an operator =$" problem
Fix ODBC so no segfault if CommLog and Debug enabled (Dirk Niggemann)
Fix for recursive exit call (Massimo)
Fix for extra-long timezones (Jeroen van Vianen)
Make pg_dump preserve primary key information (Peter E)
Prevent databases with single quotes (Peter E)
Prevent DROP DATABASE inside  transaction (Peter E)
ecpg memory leak fixes (Stephen Birch)
Fix for SELECT null::text, SELECT int4fac(null) and SELECT 2 + (null) (Tom)
Y2K timestamp fix (Massimo)
Fix for VACUUM 'HEAP_MOVED_IN was not expected' errors (Tom)
Fix for views with tables/columns containing spaces  (Tom)
Prevent privileges on indexes (Peter E)
Fix for spinlock stuck problem when error is generated (Hiroshi)
Fix ipcclean on Linux
Fix handling of NULL constraint conditions (Tom)
Fix memory leak in odbc driver (Nick Gorham)
Fix for privilege check on UNION tables (Tom)
Fix to allow SELECT 'a' LIKE 'a' (Tom)
Fix for SELECT 1 + NULL (Tom)
Fixes to CHAR
Fix log() on numeric type (Tom)
Deprecate ':' and ';' operators
Allow vacuum of temporary tables
Disallow inherited columns with the same name as new columns
Recover or force failure when disk space is exhausted (Hiroshi)
Fix INSERT INTO ... SELECT with AS columns matching result columns
Fix INSERT ... SELECT ... GROUP BY groups by target columns not source columns
(Tom)
Fix CREATE TABLE test (a char(5) DEFAULT text '', b int4) with INSERT (Tom)
Fix UNION with LIMIT
Fix CREATE TABLE x AS SELECT 1 UNION SELECT 2
Fix CREATE TABLE test(col char(2) DEFAULT user)
Fix mismatched types in CREATE TABLE ... DEFAULT
Fix SELECT * FROM pg_class where oid in (0,-1)
Fix SELECT COUNT('asdf') FROM pg_class WHERE oid=12
Prevent user who can create databases can modifying pg_database table (Peter E)
Fix btree to give a useful elog when key > 1/2 (page - overhead) (Tom)
Fix INSERT of 0.0 into DECIMAL(4,4) field (Tom)

Enhancements
------------
New CLI interface include file sqlcli.h, based on SQL3/SQL98
Remove all limits on query length, row length limit still exists (Tom)
Update jdbc protocol to 2.0 (Jens Glaser <jens@@jens.de>)
Add TRUNCATE command to quickly truncate relation (Mike Mascari)
Fix to give super user and createdb user proper update catalog rights (Peter E)
Allow ecpg bool variables to have NULL values (Christof)
Issue ecpg error if NULL value for variable with no NULL indicator (Christof)
Allow ^C to cancel COPY command (Massimo)
Add SET FSYNC and SHOW PG_OPTIONS commands(Massimo)
Function name overloading for dynamically-loaded C functions (Frankpitt)
Add CmdTuples() to libpq++(Vince)
New CREATE CONSTRAINT TRIGGER and SET CONSTRAINTS commands(Jan)
Allow CREATE FUNCTION/WITH clause to be used for all language types
configure --enable-debug adds -g (Peter E)
configure --disable-debug removes -g (Peter E)
Allow more complex default expressions (Tom)
First real FOREIGN KEY constraint trigger functionality (Jan)
Add FOREIGN KEY ... MATCH FULL ... ON DELETE CASCADE (Jan)
Add FOREIGN KEY ... MATCH <unspecified> referential actions (Don Baccus)
Allow WHERE restriction on ctid (physical heap location) (Hiroshi)
Move pginterface from contrib to interface directory, rename to pgeasy (Bruce)
Change pgeasy connectdb() parameter ordering (Bruce)
Require SELECT DISTINCT target list to have all ORDER BY columns (Tom)
Add Oracle's COMMENT ON command (Mike Mascari <mascarim@@yahoo.com>)
libpq's PQsetNoticeProcessor function now returns previous hook(Peter E)
Prevent PQsetNoticeProcessor from being set to NULL (Peter E)
Make USING in COPY optional (Bruce)
Allow subselects in the target list (Tom)
Allow subselects on the left side of comparison operators (Tom)
New parallel regression test (Jan)
Change backend-side COPY to write files with permissions 644 not 666 (Tom)
Force permissions on PGDATA directory to be secure, even if it exists (Tom)
Added psql LASTOID variable to return last inserted oid (Peter E)
Allow concurrent vacuum and remove pg_vlock vacuum lock file (Tom)
Add privilege check for vacuum (Peter E)
New libpq functions to allow asynchronous connections: PQconnectStart(),
   PQconnectPoll(), PQresetStart(), PQresetPoll(), PQsetenvStart(),
   PQsetenvPoll(), PQsetenvAbort (Ewan Mellor)
New libpq PQsetenv() function (Ewan Mellor)
create/alter user extension (Peter E)
New postmaster.pid and postmaster.opts under $PGDATA (Tatsuo)
New scripts for create/drop user/db (Peter E)
Major psql overhaul (Peter E)
Add const to libpq interface (Peter E)
New libpq function PQoidValue (Peter E)
Show specific non-aggregate causing problem with GROUP BY (Tom)
Make changes to pg_shadow recreate pg_pwd file (Peter E)
Add aggregate(DISTINCT ...) (Tom)
Allow flag to control COPY input/output of NULLs (Peter E)
Make postgres user have a password by default (Peter E)
Add CREATE/ALTER/DROP GROUP (Peter E)
All administration scripts now support --long options (Peter E, Karel)
Vacuumdb script now supports --all option (Peter E)
ecpg new portable FETCH syntax
Add ecpg EXEC SQL IFDEF, EXEC SQL IFNDEF, EXEC SQL ELSE, EXEC SQL ELIF
        and EXEC SQL ENDIF directives
Add pg_ctl script to control backend start-up (Tatsuo)
Add postmaster.opts.default file to store start-up flags (Tatsuo)
Allow --with-mb=SQL_ASCII
Increase maximum number of index keys to 16 (Bruce)
Increase maximum number of function arguments to 16 (Bruce)
Allow configuration of maximum number of index keys and arguments (Bruce)
Allow unprivileged users to change their passwords (Peter E)
Password authentication enabled; required for new users (Peter E)
Disallow dropping a user who owns a database (Peter E)
Change initdb option --with-mb to --enable-multibyte
Add option for initdb to prompts for superuser password (Peter E)
Allow complex type casts like col::numeric(9,2) and col::int2::float8 (Tom)
Updated user interfaces on initdb, initlocation, pg_dump, ipcclean (Peter E)
New pg_char_to_encoding() and pg_encoding_to_char() functions (Tatsuo)
libpq non-blocking mode (Alfred Perlstein)
Improve conversion of types in casts that don't specify a length
New plperl internal programming language (Mark Hollomon)
Allow COPY IN to read file that do not end with a newline (Tom)
Indicate when long identifiers are truncated (Tom)
Allow aggregates to use type equivalency (Peter E)
Add Oracle's to_char(), to_date(), to_datetime(), to_timestamp(), to_number()
        conversion functions (Karel Zak <zakkr@@zf.jcu.cz>)
Add SELECT DISTINCT ON (expr [, expr ...]) targetlist ... (Tom)
Check to be sure ORDER BY is compatible with the DISTINCT operation (Tom)
Add NUMERIC and int8 types to ODBC
Improve EXPLAIN results for Append, Group, Agg, Unique (Tom)
Add ALTER TABLE ... ADD FOREIGN KEY (Stephan Szabo)
Allow SELECT .. FOR UPDATE in PL/pgSQL (Hiroshi)
Enable backward sequential scan even after reaching EOF (Hiroshi)
Add btree indexing of boolean values, >= and <= (Don Baccus)
Print current line number when COPY FROM fails (Massimo)
Recognize POSIX time zone e.g. "PST+8" and "GMT-8" (Thomas)
Add DEC as synonym for DECIMAL (Thomas)
Add SESSION_USER as SQL92 key word, same as CURRENT_USER (Thomas)
Implement SQL92 column aliases (aka correlation names) (Thomas)
Implement SQL92 join syntax (Thomas)
Make INTERVAL reserved word allowed as a column identifier (Thomas)
Implement REINDEX command (Hiroshi)
Accept ALL in aggregate function SUM(ALL col) (Tom)
Prevent GROUP BY from using column aliases (Tom)
New psql \encoding option (Tatsuo)
Allow PQrequestCancel() to terminate when in waiting-for-lock state (Hiroshi)
Allow negation of a negative number in all cases
Add ecpg descriptors (Christof, Michael)
Allow CREATE VIEW v AS SELECT f1::char(8) FROM tbl
Allow casts with length, like foo::char(8)
New libpq functions PQsetClientEncoding(), PQclientEncoding() (Tatsuo)
Add support for SJIS user defined characters (Tatsuo)
Larger views/rules supported
Make libpq's PQconndefaults() thread-safe (Tom)
Disable // as comment to be ANSI conforming, should use -- (Tom)
Allow column aliases on views CREATE VIEW name (collist)
Fixes for views with subqueries (Tom)
Allow UPDATE table SET fld = (SELECT ...) (Tom)
SET command options no longer require quotes
Update pgaccess to 0.98.6
New SET SEED command
New pg_options.sample file
New SET FSYNC command (Massimo)
Allow pg_descriptions when creating tables
Allow pg_descriptions when creating types, columns, and functions
Allow psql \copy to allow delimiters (Peter E)
Allow psql to print nulls as distinct from "" [null] (Peter E)

Types
-----
Many array fixes (Tom)
Allow bare column names to be subscripted as arrays (Tom)
Improve type casting of int and float constants (Tom)
Cleanups for int8 inputs, range checking, and type conversion (Tom)
Fix for SELECT timespan('21:11:26'::time) (Tom)
netmask('x.x.x.x/0') is 255.255.255.255 instead of 0.0.0.0 (Oleg Sharoiko)
Add btree index on NUMERIC (Jan)
Perl fix for large objects containing NUL characters (Douglas Thomson)
ODBC fix for for large objects (free)
Fix indexing of cidr data type
Fix for Ethernet MAC addresses (macaddr type) comparisons
Fix for date/time types when overflows happened in computations (Tom)
Allow array on int8 (Peter E)
Fix for rounding/overflow of NUMERIC type, like NUMERIC(4,4) (Tom)
Allow NUMERIC arrays
Fix bugs in NUMERIC ceil() and floor() functions (Tom)
Make char_length()/octet_length including trailing blanks (Tom)
Made abstime/reltime use int4 instead of time_t (Peter E)
New lztext data type for compressed text fields
Revise code to handle coercion of int and float constants (Tom)
Start at new code to implement a BIT and BIT VARYING type (Adriaan Joubert)
NUMERIC now accepts scientific notation (Tom)
NUMERIC to int4 rounds (Tom)
Convert float4/8 to NUMERIC properly (Tom)
Allow type conversion with NUMERIC (Thomas)
Make ISO date style (2000-02-16 09:33) the default (Thomas)
Add NATIONAL CHAR [ VARYING ] (Thomas)
Allow NUMERIC round and trunc to accept negative scales (Tom)
New TIME WITH TIME ZONE type (Thomas)
Add MAX()/MIN() on time type (Thomas)
Add abs(), mod(), fac() for int8 (Thomas)
Rename functions to round(), sqrt(), cbrt(), pow() for float8 (Thomas)
Add transcendental math functions (e.g. sin(), acos()) for float8 (Thomas)
Add exp() and ln() for NUMERIC type
Rename NUMERIC power() to pow() (Thomas)
Improved TRANSLATE() function (Edwin Ramirez, Tom)
Allow X=-Y operators  (Tom)
Allow SELECT float8(COUNT(*))/(SELECT COUNT(*) FROM t) FROM t GROUP BY f1; (Tom
)
Allow LOCALE to use indexes in regular expression searches (Tom)
Allow creation of functional indexes to use default types

Performance
-----------
Prevent exponential space consumption with many AND's and OR's (Tom)
Collect attribute selectivity values for system columns (Tom)
Reduce memory usage of aggregates (Tom)
Fix for LIKE optimization to use indexes with multibyte encodings (Tom)
Fix r-tree index optimizer selectivity (Thomas)
Improve optimizer selectivity computations and functions (Tom)
Optimize btree searching for cases where many equal keys exist (Tom)
Enable fast LIKE index processing only if index present (Tom)
Re-use free space on index pages with duplicates (Tom)
Improve hash join processing (Tom)
Prevent descending sort if result is already sorted(Hiroshi)
Allow commuting of index scan query qualifications (Tom)
Prefer index scans in cases where ORDER BY/GROUP BY is required (Tom)
Allocate large memory requests in fix-sized chunks for performance (Tom)
Fix vacuum's performance by reducing memory allocation requests (Tom)
Implement constant-expression simplification (Bernard Frankpitt, Tom)
Use secondary columns to be used to determine start of index scan (Hiroshi)
Prevent quadruple use of disk space when doing internal sorting (Tom)
Faster sorting by calling fewer functions (Tom)
Create system indexes to match all system caches (Bruce, Hiroshi)
Make system caches use system indexes (Bruce)
Make all system indexes unique (Bruce)
Improve pg_statistics management for VACUUM speed improvement (Tom)
Flush backend cache less frequently (Tom, Hiroshi)
COPY now reuses previous memory allocation, improving performance (Tom)
Improve optimization cost estimation (Tom)
Improve optimizer estimate of range queries x > lowbound AND x < highbound (Tom
)
Use DNF instead of CNF where appropriate (Tom, Taral)
Further cleanup for OR-of-AND WHERE-clauses (Tom)
Make use of index in OR clauses (x = 1 AND y = 2) OR (x = 2 AND y = 4) (Tom)
Smarter optimizer computations for random index page access (Tom)
New SET variable to control optimizer costs (Tom)
Optimizer queries based on LIMIT, OFFSET, and EXISTS qualifications (Tom)
Reduce optimizer internal housekeeping of join paths for speedup (Tom)
Major subquery speedup (Tom)
Fewer fsync writes when fsync is not disabled (Tom)
Improved LIKE optimizer estimates (Tom)
Prevent fsync in SELECT-only queries (Vadim)
Make index creation use psort code, because it is now faster (Tom)
Allow creation of sort temp tables > 1 Gig

Source Tree Changes
-------------------
Fix for linux PPC compile
New generic expression-tree-walker subroutine (Tom)
Change form() to varargform() to prevent portability problems
Improved range checking for large integers on Alphas
Clean up #include in /include directory (Bruce)
Add scripts for checking includes (Bruce)
Remove un-needed #include's from *.c files (Bruce)
Change #include's to use <> and "" as appropriate (Bruce)
Enable Windows compilation of libpq
Alpha spinlock fix from Uncle George <gatgul@@voicenet.com>
Overhaul of optimizer data structures (Tom)
Fix to cygipc library (Yutaka Tanida)
Allow pgsql to work on newer Cygwin snapshots (Dan)
New catalog version number (Tom)
Add Linux ARM
Rename heap_replace to heap_update
Update for QNX (Dr. Andreas Kardos)
New platform-specific regression handling (Tom)
Rename oid8 -> oidvector and int28 -> int2vector (Bruce)
Included all yacc and lex files into the distribution (Peter E.)
Remove lextest, no longer needed (Peter E)
Fix for libpq and psql on Windows (Magnus)
Internally change datetime and timespan into timestamp and interval (Thomas)
Fix for plpgsql on BSD/OS
Add SQL_ASCII test case to the regression test (Tatsuo)
configure --with-mb now deprecated (Tatsuo)
NT fixes
NetBSD fixes (Johnny C. Lam <lamj@@stat.cmu.edu>)
Fixes for Alpha compiles
New multibyte encodings

     _________________________________________________________________

                               Release 6.5.3

     Release date: 1999-10-13

   This is basically a cleanup release for 6.5.2. We have added a new
   PgAccess that was missing in 6.5.2, and installed an NT-specific fix.
     _________________________________________________________________

Migration to version 6.5.3

   A dump/restore is *not* required for those running 6.5.*.
     _________________________________________________________________

Changes

Updated version of pgaccess 0.98
NT-specific patch
Fix dumping rules on inherited tables

     _________________________________________________________________

                               Release 6.5.2

     Release date: 1999-09-15

   This is basically a cleanup release for 6.5.1. We have fixed a variety
   of problems reported by 6.5.1 users.
     _________________________________________________________________

Migration to version 6.5.2

   A dump/restore is *not* required for those running 6.5.*.
     _________________________________________________________________

Changes

subselect+CASE fixes(Tom)
Add SHLIB_LINK setting for solaris_i386 and solaris_sparc ports(Daren Sefcik)
Fixes for CASE in WHERE join clauses(Tom)
Fix BTScan abort(Tom)
Repair the check for redundant UNIQUE and PRIMARY KEY indexes(Thomas)
Improve it so that it checks for multicolumn constraints(Thomas)
Fix for Windows making problem with MB enabled(Hiroki Kataoka)
Allow BSD yacc and bison to compile pl code(Bruce)
Fix SET NAMES working
int8 fixes(Thomas)
Fix vacuum's memory consumption(Hiroshi,Tatsuo)
Reduce the total memory consumption of vacuum(Tom)
Fix for timestamp(datetime)
Rule deparsing bugfixes(Tom)
Fix quoting problems in mkMakefile.tcldefs.sh.in and mkMakefile.tkdefs.sh.in(To
m)
This is to re-use space on index pages freed by vacuum(Vadim)
document -x for pg_dump(Bruce)
Fix for unary operators in rule deparser(Tom)
Comment out FileUnlink of excess segments during mdtruncate()(Tom)
IRIX linking fix from Yu Cao >yucao@@falcon.kla-tencor.com<
Repair logic error in LIKE: should not return LIKE_ABORT
   when reach end of pattern before end of text(Tom)
Repair incorrect cleanup of heap memory allocation during transaction abort(Tom
)
Updated version of pgaccess 0.98

     _________________________________________________________________

                               Release 6.5.1

     Release date: 1999-07-15

   This is basically a cleanup release for 6.5. We have fixed a variety
   of problems reported by 6.5 users.
     _________________________________________________________________

Migration to version 6.5.1

   A dump/restore is *not* required for those running 6.5.
     _________________________________________________________________

Changes

Add NT README file
Portability fixes for linux_ppc, IRIX, linux_alpha, OpenBSD, alpha
Remove QUERY_LIMIT, use SELECT...LIMIT
Fix for EXPLAIN on inheritance(Tom)
Patch to allow vacuum on multisegment tables(Hiroshi)
R-Tree optimizer selectivity fix(Tom)
ACL file descriptor leak fix(Atsushi Ogawa)
New expresssion subtree code(Tom)
Avoid disk writes for read-only transactions(Vadim)
Fix for removal of temp tables if last transaction was aborted(Bruce)
Fix to prevent too large row from being created(Bruce)
plpgsql fixes
Allow port numbers 32k - 64k(Bruce)
Add ^ precidence(Bruce)
Rename sort files called pg_temp to pg_sorttemp(Bruce)
Fix for microseconds in time values(Tom)
Tutorial source cleanup
New linux_m68k port
Fix for sorting of NULL's in some cases(Tom)
Shared library dependencies fixed (Tom)
Fixed glitches affecting GROUP BY in subselects(Tom)
Fix some compiler warnings (Tomoaki Nishiyama)
Add Win1250 (Czech) support (Pavel Behal)

     _________________________________________________________________

                                Release 6.5

     Release date: 1999-06-09

   This release marks a major step in the development team's mastery of
   the source code we inherited from Berkeley. You will see we are now
   easily adding major features, thanks to the increasing size and
   experience of our world-wide development team.

   Here is a brief summary of the more notable changes:

   Multiversion concurrency control(MVCC)
          This removes our old table-level locking, and replaces it with
          a locking system that is superior to most commercial database
          systems. In a traditional system, each row that is modified is
          locked until committed, preventing reads by other users. MVCC
          uses the natural multiversion nature of PostgreSQL to allow
          readers to continue reading consistent data during writer
          activity. Writers continue to use the compact pg_log
          transaction system. This is all performed without having to
          allocate a lock for every row like traditional database
          systems. So, basically, we no longer are restricted by simple
          table-level locking; we have something better than row-level
          locking.

   Hot backups from pg_dump
          pg_dump takes advantage of the new MVCC features to give a
          consistent database dump/backup while the database stays online
          and available for queries.

   Numeric data type
          We now have a true numeric data type, with user-specified
          precision.

   Temporary tables
          Temporary tables are guaranteed to have unique names within a
          database session, and are destroyed on session exit.

   New SQL features
          We now have CASE, INTERSECT, and EXCEPT statement support. We
          have new LIMIT/OFFSET, SET TRANSACTION ISOLATION LEVEL, SELECT
          ... FOR UPDATE, and an improved LOCK TABLE command.

   Speedups
          We continue to speed up PostgreSQL, thanks to the variety of
          talents within our team. We have sped up memory allocation,
          optimization, table joins, and row transfer routines.

   Ports
          We continue to expand our port list, this time including
          Windows NT/ix86 and NetBSD/arm32.

   Interfaces
          Most interfaces have new versions, and existing functionality
          has been improved.

   Documentation
          New and updated material is present throughout the
          documentation. New FAQs have been contributed for SGI and AIX
          platforms. The Tutorial has introductory information on SQL
          from Stefan Simkovics. For the User's Guide, there are
          reference pages covering the postmaster and more utility
          programs, and a new appendix contains details on date/time
          behavior. The Administrator's Guide has a new chapter on
          troubleshooting from Tom Lane. And the Programmer's Guide has a
          description of query processing, also from Stefan, and details
          on obtaining the PostgreSQL source tree via anonymous CVS and
          CVSup.
     _________________________________________________________________

Migration to version 6.5

   A dump/restore using pg_dump is required for those wishing to migrate
   data from any previous release of PostgreSQL. pg_upgrade can *not* be
   used to upgrade to this release because the on-disk structure of the
   tables has changed compared to previous releases.

   The new Multiversion Concurrency Control (MVCC) features can give
   somewhat different behaviors in multiuser environments. *Read and
   understand the following section to ensure that your existing
   applications will give you the behavior you need.*
     _________________________________________________________________

Multiversion Concurrency Control

   Because readers in 6.5 don't lock data, regardless of transaction
   isolation level, data read by one transaction can be overwritten by
   another. In other words, if a row is returned by "SELECT" it doesn't
   mean that this row really exists at the time it is returned (i.e.
   sometime after the statement or transaction began) nor that the row is
   protected from being deleted or updated by concurrent transactions
   before the current transaction does a commit or rollback.

   To ensure the actual existence of a row and protect it against
   concurrent updates one must use "SELECT FOR UPDATE" or an appropriate
   "LOCK TABLE" statement. This should be taken into account when porting
   applications from previous releases of PostgreSQL and other
   environments.

   Keep the above in mind if you are using "contrib/refint.*" triggers
   for referential integrity. Additional techniques are required now. One
   way is to use "LOCK parent_table IN SHARE ROW EXCLUSIVE MODE" command
   if a transaction is going to update/delete a primary key and use "LOCK
   parent_table IN SHARE MODE" command if a transaction is going to
   update/insert a foreign key.

     Note: Note that if you run a transaction in SERIALIZABLE mode then
     you must execute the "LOCK" commands above before execution of any
     DML statement ("SELECT/INSERT/DELETE/UPDATE/FETCH/COPY_TO") in the
     transaction.

   These inconveniences will disappear in the future when the ability to
   read dirty (uncommitted) data (regardless of isolation level) and true
   referential integrity will be implemented.
     _________________________________________________________________

Changes

Bug Fixes
---------
Fix text<->float8 and text<->float4 conversion functions(Thomas)
Fix for creating tables with mixed-case constraints(Billy)
Change exp()/pow() behavior to generate error on underflow/overflow(Jan)
Fix bug in pg_dump -z
Memory overrun cleanups(Tatsuo)
Fix for lo_import crash(Tatsuo)
Adjust handling of data type names to suppress double quotes(Thomas)
Use type coercion for matching columns and DEFAULT(Thomas)
Fix deadlock so it only checks once after one second of sleep(Bruce)
Fixes for aggregates and PL/pgsql(Hiroshi)
Fix for subquery crash(Vadim)
Fix for libpq function PQfnumber and case-insensitive names(Bahman Rafatjoo)
Fix for large object write-in-middle, no extra block, memory consumption(Tatsuo
)
Fix for pg_dump -d or -D and  quote special characters in INSERT
Repair serious problems with dynahash(Tom)
Fix INET/CIDR portability problems
Fix problem with selectivity error in ALTER TABLE ADD COLUMN(Bruce)
Fix executor so mergejoin of different column types works(Tom)
Fix for Alpha OR selectivity bug
Fix OR index selectivity problem(Bruce)
Fix so \d shows proper length for char()/varchar()(Ryan)
Fix tutorial code(Clark)
Improve destroyuser checking(Oliver)
Fix for Kerberos(Rodney McDuff)
Fix for dropping database while dirty buffers(Bruce)
Fix so sequence nextval() can be case-sensitive(Bruce)
Fix !!= operator
Drop buffers before destroying database files(Bruce)
Fix case where executor evaluates functions twice(Tatsuo)
Allow sequence nextval actions to be case-sensitive(Bruce)
Fix optimizer indexing not working for negative numbers(Bruce)
Fix for memory leak in executor with fjIsNull
Fix for aggregate memory leaks(Erik Riedel)
Allow user name containing a dash to grant privileges
Cleanup of NULL in inet types
Clean up system table bugs(Tom)
Fix problems of PAGER and \? command(Masaaki Sakaida)
Reduce default multisegment file size limit to 1GB(Peter)
Fix for dumping of CREATE OPERATOR(Tom)
Fix for backward scanning of cursors(Hiroshi Inoue)
Fix for COPY FROM STDIN when using \i(Tom)
Fix for subselect is compared inside an expression(Jan)
Fix handling of error reporting while returning rows(Tom)
Fix problems with reference to array types(Tom,Jan)
Prevent UPDATE SET oid(Jan)
Fix pg_dump so -t option can handle case-sensitive tablenames
Fixes for GROUP BY in special cases(Tom, Jan)
Fix for memory leak in failed queries(Tom)
DEFAULT now supports mixed-case identifiers(Tom)
Fix for multisegment uses of DROP/RENAME table, indexes(Ole Gjerde)
Disable use of pg_dump with both -o and -d options(Bruce)
Allow pg_dump to properly dump group privileges(Bruce)
Fix GROUP BY in INSERT INTO table SELECT * FROM table2(Jan)
Fix for computations in views(Jan)
Fix for aggregates on array indexes(Tom)
Fix for DEFAULT handles single quotes in value requiring too many quotes
Fix security problem with non-super users importing/exporting large objects(Tom
)
Rollback of transaction that creates table cleaned up properly(Tom)
Fix to allow long table and column names to generate proper serial names(Tom)

Enhancements
------------
Add "vacuumdb" utility
Speed up libpq by allocating memory better(Tom)
EXPLAIN all indexes used(Tom)
Implement CASE, COALESCE, NULLIF  expression(Thomas)
New pg_dump table output format(Constantin)
Add string min()/max() functions(Thomas)
Extend new type coercion techniques to aggregates(Thomas)
New moddatetime contrib(Terry)
Update to pgaccess 0.96(Constantin)
Add routines for single-byte "char" type(Thomas)
Improved substr() function(Thomas)
Improved multibyte handling(Tatsuo)
Multiversion concurrency control/MVCC(Vadim)
New Serialized mode(Vadim)
Fix for tables over 2gigs(Peter)
New SET TRANSACTION ISOLATION LEVEL(Vadim)
New LOCK TABLE IN ... MODE(Vadim)
Update ODBC driver(Byron)
New NUMERIC data type(Jan)
New SELECT FOR UPDATE(Vadim)
Handle "NaN" and "Infinity" for input values(Jan)
Improved date/year handling(Thomas)
Improved handling of backend connections(Magnus)
New options ELOG_TIMESTAMPS and USE_SYSLOG options for log files(Massimo)
New TCL_ARRAYS option(Massimo)
New INTERSECT and EXCEPT(Stefan)
New pg_index.indisprimary for primary key tracking(D'Arcy)
New pg_dump option to allow dropping of tables before creation(Brook)
Speedup of row output routines(Tom)
New READ COMMITTED isolation level(Vadim)
New TEMP tables/indexes(Bruce)
Prevent sorting if result is already sorted(Jan)
New memory allocation optimization(Jan)
Allow psql to do \p\g(Bruce)
Allow multiple rule actions(Jan)
Added LIMIT/OFFSET functionality(Jan)
Improve optimizer when joining a large number of tables(Bruce)
New intro to SQL from S. Simkovics' Master's Thesis (Stefan, Thomas)
New intro to backend processing from S. Simkovics' Master's Thesis (Stefan)
Improved int8 support(Ryan Bradetich, Thomas, Tom)
New routines to convert between int8 and text/varchar types(Thomas)
New bushy plans, where meta-tables are joined(Bruce)
Enable right-hand queries by default(Bruce)
Allow reliable maximum number of backends to be set at configure time
      (--with-maxbackends and postmaster switch (-N backends))(Tom)
GEQO default now 10 tables because of optimizer speedups(Tom)
Allow NULL=Var for MS-SQL portability(Michael, Bruce)
Modify contrib check_primary_key() so either "automatic" or "dependent"(Anand)
Allow psql \d on a view show query(Ryan)
Speedup for LIKE(Bruce)
Ecpg fixes/features, see src/interfaces/ecpg/ChangeLog file(Michael)
JDBC fixes/features, see src/interfaces/jdbc/CHANGELOG(Peter)
Make % operator have precedence like /(Bruce)
Add new postgres -O option to allow system table structure changes(Bruce)
Update contrib/pginterface/findoidjoins script(Tom)
Major speedup in vacuum of deleted rows with indexes(Vadim)
Allow non-SQL functions to run different versions based on arguments(Tom)
Add -E option that shows actual queries sent by \dt and friends(Masaaki Sakaida
)
Add version number in start-up banners for psql(Masaaki Sakaida)
New contrib/vacuumlo removes large objects not referenced(Peter)
New initialization for table sizes so non-vacuumed tables perform better(Tom)
Improve error messages when a connection is rejected(Tom)
Support for arrays of char() and varchar() fields(Massimo)
Overhaul of hash code to increase reliability and performance(Tom)
Update to PyGreSQL 2.4(D'Arcy)
Changed debug options so -d4 and -d5 produce different node displays(Jan)
New pg_options: pretty_plan, pretty_parse, pretty_rewritten(Jan)
Better optimization statistics for system table access(Tom)
Better handling of non-default block sizes(Massimo)
Improve GEQO optimizer memory consumption(Tom)
UNION now suppports ORDER BY of columns not in target list(Jan)
Major libpq++ improvements(Vince Vielhaber)
pg_dump now uses -z(ACL's) as default(Bruce)
backend cache, memory speedups(Tom)
have pg_dump do everything in one snapshot transaction(Vadim)
fix for large object memory leakage, fix for pg_dumping(Tom)
INET type now respects netmask for comparisons
Make VACUUM ANALYZE only use a readlock(Vadim)
Allow VIEWs on UNIONS(Jan)
pg_dump now can generate consistent snapshots on active databases(Vadim)

Source Tree Changes
-------------------
Improve port matching(Tom)
Portability fixes for SunOS
Add Windows NT backend port and enable dynamic loading(Magnus and Daniel Horak)
New port to Cobalt Qube(Mips) running Linux(Tatsuo)
Port to NetBSD/m68k(Mr. Mutsuki Nakajima)
Port to NetBSD/sun3(Mr. Mutsuki Nakajima)
Port to NetBSD/macppc(Toshimi Aoki)
Fix for tcl/tk configuration(Vince)
Removed CURRENT key word for rule queries(Jan)
NT dynamic loading now works(Daniel Horak)
Add ARM32 support(Andrew McMurry)
Better support for HP-UX 11 and UnixWare
Improve file handling to be more uniform, prevent file descriptor leak(Tom)
New install commands for plpgsql(Jan)

     _________________________________________________________________

                               Release 6.4.2

     Release date: 1998-12-20

   The 6.4.1 release was improperly packaged. This also has one
   additional bug fix.
     _________________________________________________________________

Migration to version 6.4.2

   A dump/restore is *not* required for those running 6.4.*.
     _________________________________________________________________

Changes

Fix for datetime constant problem on some platforms(Thomas)
     _________________________________________________________________

                               Release 6.4.1

     Release date: 1998-12-18

   This is basically a cleanup release for 6.4. We have fixed a variety
   of problems reported by 6.4 users.
     _________________________________________________________________

Migration to version 6.4.1

   A dump/restore is *not* required for those running 6.4.
     _________________________________________________________________

Changes

Add pg_dump -N flag to force double quotes around identifiers.  This is
        the default(Thomas)
Fix for NOT in where clause causing crash(Bruce)
EXPLAIN VERBOSE coredump fix(Vadim)
Fix shared-library problems on Linux
Fix test for table existence to allow mixed-case and whitespace in
        the table name(Thomas)
Fix a couple of pg_dump bugs
Configure matches template/.similar entries better(Tom)
Change builtin function names from SPI_* to spi_*
OR WHERE clause fix(Vadim)
Fixes for mixed-case table names(Billy)
contrib/linux/postgres.init.csh/sh fix(Thomas)
libpq memory overrun fix
SunOS fixes(Tom)
Change exp() behavior to generate error on underflow(Thomas)
pg_dump fixes for memory leak, inheritance constraints, layout change
update pgaccess to 0.93
Fix prototype for 64-bit platforms
Multibyte fixes(Tatsuo)
New ecpg man page
Fix memory overruns(Tatsuo)
Fix for lo_import() crash(Bruce)
Better search for install program(Tom)
Timezone fixes(Tom)
HP-UX fixes(Tom)
Use implicit type coercion for matching DEFAULT values(Thomas)
Add routines to help with single-byte (internal) character type(Thomas)
Compilation of libpq for Windows fixes(Magnus)
Upgrade to PyGreSQL 2.2(D'Arcy)
     _________________________________________________________________

                                Release 6.4

     Release date: 1998-10-30

   There are *many* new features and improvements in this release. Thanks
   to our developers and maintainers, nearly every aspect of the system
   has received some attention since the previous release. Here is a
   brief, incomplete summary:

     * Views and rules are now functional thanks to extensive new code in
       the rewrite rules system from Jan Wieck. He also wrote a chapter
       on it for the Programmer's Guide.
     * Jan also contributed a second procedural language, PL/pgSQL, to go
       with the original PL/pgTCL procedural language he contributed last
       release.
     * We have optional multiple-byte character set support from Tatsuo
       Ishii to complement our existing locale support.
     * Client/server communications has been cleaned up, with better
       support for asynchronous messages and interrupts thanks to Tom
       Lane.
     * The parser will now perform automatic type coercion to match
       arguments to available operators and functions, and to match
       columns and expressions with target columns. This uses a generic
       mechanism which supports the type extensibility features of
       PostgreSQL. There is a new chapter in the User's Guide which
       covers this topic.
     * Three new data types have been added. Two types, inet and cidr,
       support various forms of IP network, subnet, and machine
       addressing. There is now an 8-byte integer type available on some
       platforms. See the chapter on data types in the User's Guide for
       details. A fourth type, serial, is now supported by the parser as
       an amalgam of the int4 type, a sequence, and a unique index.
     * Several more SQL92-compatible syntax features have been added,
       including "INSERT DEFAULT VALUES"
     * The automatic configuration and installation system has received
       some attention, and should be more robust for more platforms than
       it has ever been.
     _________________________________________________________________

Migration to version 6.4

   A dump/restore using pg_dump or pg_dumpall is required for those
   wishing to migrate data from any previous release of PostgreSQL.
     _________________________________________________________________

Changes

Bug Fixes
---------
Fix for a tiny memory leak in PQsetdb/PQfinish(Bryan)
Remove char2-16 data types, use char/varchar(Darren)
Pqfn not handles a NOTICE message(Anders)
Reduced busywaiting overhead for spinlocks with many backends (dg)
Stuck spinlock detection (dg)
Fix up "ISO-style" timespan decoding and encoding(Thomas)
Fix problem with table drop after rollback of transaction(Vadim)
Change error message and remove non-functional update message(Vadim)
Fix for COPY array checking
Fix for SELECT 1 UNION SELECT NULL
Fix for buffer leaks in large object calls(Pascal)
Change owner from oid to int4 type(Bruce)
Fix a bug in the oracle compatibility functions btrim() ltrim() and rtrim()
Fix for shared invalidation cache overflow(Massimo)
Prevent file descriptor leaks in failed COPY's(Bruce)
Fix memory leak in libpgtcl's pg_select(Constantin)
Fix problems with username/passwords over 8 characters(Tom)
Fix problems with handling of asynchronous NOTIFY in backend(Tom)
Fix of many bad system table entries(Tom)

Enhancements
------------
Upgrade ecpg and ecpglib,see src/interfaces/ecpc/ChangeLog(Michael)
Show the index used in an EXPLAIN(Zeugswetter)
EXPLAIN  invokes  rule system and shows plan(s) for rewritten queries(Jan)
Multibyte awareness of many data types and functions, via configure(Tatsuo)
New configure --with-mb option(Tatsuo)
New initdb --pgencoding option(Tatsuo)
New createdb -E multibyte option(Tatsuo)
Select version(); now returns PostgreSQL version(Jeroen)
libpq now allows asynchronous clients(Tom)
Allow cancel from client of backend query(Tom)
psql now cancels query with Control-C(Tom)
libpq users need not issue dummy queries to get NOTIFY messages(Tom)
NOTIFY now sends sender's PID, so you can tell whether it was your own(Tom)
PGresult struct now includes associated error message, if any(Tom)
Define "tz_hour" and "tz_minute" arguments to date_part()(Thomas)
Add routines to convert between varchar and bpchar(Thomas)
Add routines to allow sizing of varchar and bpchar into target columns(Thomas)
Add bit flags to support timezonehour and minute in data retrieval(Thomas)
Allow more variations on valid floating point numbers (e.g. ".1", "1e6")(Thomas
)
Fixes for unary minus parsing with leading spaces(Thomas)
Implement TIMEZONE_HOUR, TIMEZONE_MINUTE per SQL92 specs(Thomas)
Check for and properly ignore FOREIGN KEY column constraints(Thomas)
Define USER as synonym for CURRENT_USER per SQL92 specs(Thomas)
Enable HAVING clause but no fixes elsewhere yet.
Make "char" type a synonym for "char(1)" (actually implemented as bpchar)(Thoma
s)
Save string type if specified for DEFAULT clause handling(Thomas)
Coerce operations involving different data types(Thomas)
Allow some index use for columns of different types(Thomas)
Add capabilities for automatic type conversion(Thomas)
Cleanups for large objects, so file is truncated on open(Peter)
Readline cleanups(Tom)
Allow psql  \f \ to make spaces as delimiter(Bruce)
Pass pg_attribute.atttypmod to the frontend for column field lengths(Tom,Bruce)
Msql compatibility library in /contrib(Aldrin)
Remove the requirement that ORDER/GROUP BY clause identifiers be
included in the target list(David)
Convert columns to match columns in UNION clauses(Thomas)
Remove fork()/exec() and only do fork()(Bruce)
Jdbc cleanups(Peter)
Show backend status on ps command line(only works on some platforms)(Bruce)
Pg_hba.conf now has a sameuser option in the database field
Make lo_unlink take oid param, not int4
New DISABLE_COMPLEX_MACRO for compilers that can't handle our macros(Bruce)
Libpgtcl now handles NOTIFY as a Tcl event, need not send dummy queries(Tom)
libpgtcl cleanups(Tom)
Add -error option to libpgtcl's pg_result command(Tom)
New locale patch, see docs/README/locale(Oleg)
Fix for pg_dump so CONSTRAINT and CHECK syntax is correct(ccb)
New contrib/lo code for large object orphan removal(Peter)
New psql command "SET CLIENT_ENCODING TO 'encoding'" for multibytes
feature, see /doc/README.mb(Tatsuo)
contrib/noupdate code to revoke update permission on a column
libpq can now be compiled on Windows(Magnus)
Add PQsetdbLogin() in libpq
New 8-byte integer type, checked by configure for OS support(Thomas)
Better support for quoted table/column names(Thomas)
Surround table and column names with double-quotes in pg_dump(Thomas)
PQreset() now works with passwords(Tom)
Handle case of GROUP BY target list column number out of range(David)
Allow UNION in subselects
Add auto-size to screen to \d? commands(Bruce)
Use UNION to show all \d? results in one query(Bruce)
Add \d? field search feature(Bruce)
Pg_dump issues fewer \connect requests(Tom)
Make pg_dump -z flag work better, document it in manual page(Tom)
Add HAVING clause with full support for subselects and unions(Stephan)
Full text indexing routines in contrib/fulltextindex(Maarten)
Transaction ids now stored in shared memory(Vadim)
New PGCLIENTENCODING when issuing COPY command(Tatsuo)
Support for SQL92 syntax "SET NAMES"(Tatsuo)
Support for LATIN2-5(Tatsuo)
Add UNICODE regression test case(Tatsuo)
Lock manager cleanup, new locking modes for LLL(Vadim)
Allow index use with OR clauses(Bruce)
Allows "SELECT NULL ORDER BY 1;"
Explain VERBOSE prints the plan, and now pretty-prints the plan to
the postmaster log file(Bruce)
Add indexes display to \d command(Bruce)
Allow GROUP BY on functions(David)
New pg_class.relkind for large objects(Bruce)
New way to send libpq NOTICE messages to a different location(Tom)
New \w write command to psql(Bruce)
New /contrib/findoidjoins scans oid columns to find join relationships(Bruce)
Allow binary-compatible indexes to be considered when checking for valid
Indexes for restriction clauses containing a constant(Thomas)
New ISBN/ISSN code in /contrib/isbn_issn
Allow NOT LIKE, IN, NOT IN, BETWEEN, and NOT BETWEEN constraint(Thomas)
New rewrite system fixes many problems with rules and views(Jan)
        * Rules on relations work
        * Event qualifications on insert/update/delete work
        * New OLD variable to reference CURRENT, CURRENT will be remove in futu
re
        * Update rules can reference NEW and OLD in rule qualifications/actions
        * Insert/update/delete rules on views work
        * Multiple rule actions are now supported, surrounded by parentheses
        * Regular users can create views/rules on tables they have RULE permits
        * Rules and views inherit the privileges of the creator
        * No rules at the column level
        * No UPDATE NEW/OLD rules
        * New pg_tables, pg_indexes, pg_rules and pg_views system views
        * Only a single action on SELECT rules
        * Total rewrite overhaul, perhaps for 6.5
        * handle subselects
        * handle aggregates on views
        * handle insert into select from view works
System indexes are now multikey(Bruce)
Oidint2, oidint4, and oidname types are removed(Bruce)
Use system cache for more system table lookups(Bruce)
New backend programming language PL/pgSQL in backend/pl(Jan)
New SERIAL data type, auto-creates sequence/index(Thomas)
Enable assert checking without a recompile(Massimo)
User lock enhancements(Massimo)
New setval() command to set sequence value(Massimo)
Auto-remove unix socket file on start-up if no postmaster running(Massimo)
Conditional trace package(Massimo)
New UNLISTEN command(Massimo)
psql and libpq now compile under Windows using win32.mak(Magnus)
Lo_read no longer stores trailing NULL(Bruce)
Identifiers are now truncated to 31 characters internally(Bruce)
Createuser options now availble on the command line
Code for 64-bit integer supported added, configure tested, int8 type(Thomas)
Prevent file descriptor leaf from failed COPY(Bruce)
New pg_upgrade command(Bruce)
Updated /contrib directories(Massimo)
New CREATE TABLE DEFAULT VALUES statement available(Thomas)
New INSERT INTO TABLE DEFAULT VALUES statement available(Thomas)
New DECLARE and FETCH feature(Thomas)
libpq's internal structures now not exported(Tom)
Allow up to 8 key indexes(Bruce)
Remove ARCHIVE key word, that is no longer used(Thomas)
pg_dump -n flag to supress quotes around indentifiers
disable system columns for views(Jan)
new INET and CIDR types for network addresses(TomH, Paul)
no more double quotes in psql output
pg_dump now dumps views(Terry)
new SET QUERY_LIMIT(Tatsuo,Jan)

Source Tree Changes
-------------------
/contrib cleanup(Jun)
Inline some small functions called for every row(Bruce)
Alpha/linux fixes
HP-UX cleanups(Tom)
Multibyte regression tests(Soonmyung.)
Remove --disabled options from configure
Define PGDOC to use POSTGRESDIR by default
Make regression optional
Remove extra braces code to pgindent(Bruce)
Add bsdi shared library support(Bruce)
New --without-CXX support configure option(Brook)
New FAQ_CVS
Update backend flowchart in tools/backend(Bruce)
Change atttypmod from int16 to int32(Bruce, Tom)
Getrusage() fix for platforms that do not have it(Tom)
Add PQconnectdb, PGUSER, PGPASSWORD to libpq man page
NS32K platform fixes(Phil Nelson, John Buller)
SCO 7/UnixWare 2.x fixes(Billy,others)
Sparc/Solaris 2.5 fixes(Ryan)
Pgbuiltin.3 is obsolete, move to doc files(Thomas)
Even more documention(Thomas)
Nextstep support(Jacek)
Aix support(David)
pginterface manual page(Bruce)
shared libraries all have version numbers
merged all OS-specific shared library defines into one file
smarter TCL/TK configuration checking(Billy)
smarter perl configuration(Brook)
configure uses supplied install-sh if no install script found(Tom)
new Makefile.shlib for shared library configuration(Tom)
     _________________________________________________________________

                               Release 6.3.2

     Release date: 1998-04-07

   This is a bug-fix release for 6.3.x. Refer to the release notes for
   version 6.3 for a more complete summary of new features.

   Summary:

     * Repairs automatic configuration support for some platforms,
       including Linux, from breakage inadvertently introduced in version
       6.3.1.
     * Correctly handles function calls on the left side of BETWEEN and
       LIKE clauses.

   A dump/restore is NOT required for those running 6.3 or 6.3.1. A make
   distclean, make, and make install is all that is required. This last
   step should be performed while the postmaster is not running. You
   should re-link any custom applications that use PostgreSQL libraries.

   For upgrades from pre-6.3 installations, refer to the installation and
   migration instructions for version 6.3.
     _________________________________________________________________

Changes

Configure detection improvements for tcl/tk(Brook Milligan, Alvin)
Manual page improvements(Bruce)
BETWEEN and LIKE fix(Thomas)
fix for psql \connect used by pg_dump(Oliver Elphick)
New odbc driver
pgaccess, version 0.86
qsort removed, now uses libc version, cleanups(Jeroen)
fix for buffer over-runs detected(Maurice Gittens)
fix for buffer overrun in libpgtcl(Randy Kunkee)
fix for UNION with DISTINCT or ORDER BY(Bruce)
gettimeofday configure check(Doug Winterburn)
Fix "indexes not used" bug(Vadim)
docs additions(Thomas)
Fix for backend memory leak(Bruce)
libreadline cleanup(Erwan MAS)
Remove DISTDIR(Bruce)
Makefile dependency cleanup(Jeroen van Vianen)
ASSERT fixes(Bruce)

     _________________________________________________________________

                               Release 6.3.1

     Release date: 1998-03-23

   Summary:

     * Additional support for multibyte character sets.
     * Repair byte ordering for mixed-endian clients and servers.
     * Minor updates to allowed SQL syntax.
     * Improvements to the configuration autodetection for installation.

   A dump/restore is NOT required for those running 6.3. A make
   distclean, make, and make install is all that is required. This last
   step should be performed while the postmaster is not running. You
   should re-link any custom applications that use PostgreSQL libraries.

   For upgrades from pre-6.3 installations, refer to the installation and
   migration instructions for version 6.3.
     _________________________________________________________________

Changes

ecpg cleanup/fixes, now version 1.1(Michael Meskes)
pg_user cleanup(Bruce)
large object fix for pg_dump and tclsh (alvin)
LIKE fix for multiple adjacent underscores
fix for redefining builtin functions(Thomas)
ultrix4 cleanup
upgrade to pg_access 0.83
updated CLUSTER manual page
multibyte character set support, see doc/README.mb(Tatsuo)
configure --with-pgport fix
pg_ident fix
big-endian fix for backend communications(Kataoka)
SUBSTR() and substring() fix(Jan)
several jdbc fixes(Peter)
libpgtcl improvements, see libptcl/README(Randy Kunkee)
Fix for "Datasize = 0" error(Vadim)
Prevent \do from wrapping(Bruce)
Remove duplicate Russian character set entries
Sunos4 cleanup
Allow optional TABLE key word in LOCK and SELECT INTO(Thomas)
CREATE SEQUENCE options to allow a negative integer(Thomas)
Add "PASSWORD" as an allowed column identifier(Thomas)
Add checks for UNION target fields(Bruce)
Fix Alpha port(Dwayne Bailey)
Fix for text arrays containing quotes(Doug Gibson)
Solaris compile fix(Albert Chin-A-Young)
Better identify tcl and tk libs and includes(Bruce)

     _________________________________________________________________

                                Release 6.3

     Release date: 1998-03-01

   There are *many* new features and improvements in this release. Here
   is a brief, incomplete summary:

     * Many new SQL features, including full SQL92 subselect capability
       (everything is here but target-list subselects).
     * Support for client-side environment variables to specify time zone
       and date style.
     * Socket interface for client/server connection. This is the default
       now so you may need to start postmaster with the "-i" flag.
     * Better password authorization mechanisms. Default table privileges
       have changed.
     * Old-style time travel has been removed. Performance has been
       improved.

     Note: Bruce Momjian wrote the following notes to introduce the new
     release.

   There are some general 6.3 issues that I want to mention. These are
   only the big items that can not be described in one sentence. A review
   of the detailed changes list is still needed.

   First, we now have subselects. Now that we have them, I would like to
   mention that without subselects, SQL is a very limited language.
   Subselects are a major feature, and you should review your code for
   places where subselects provide a better solution for your queries. I
   think you will find that there are more uses for subselects than you
   may think. Vadim has put us on the big SQL map with subselects, and
   fully functional ones too. The only thing you can't do with subselects
   is to use them in the target list.

   Second, 6.3 uses Unix domain sockets rather than TCP/IP by default. To
   enable connections from other machines, you have to use the new
   postmaster -i option, and of course edit "pg_hba.conf". Also, for this
   reason, the format of "pg_hba.conf" has changed.

   Third, char() fields will now allow faster access than varchar() or
   text. Specifically, the text and varchar() have a penalty for access
   to any columns after the first column of this type. char() used to
   also have this access penalty, but it no longer does. This may suggest
   that you redesign some of your tables, especially if you have short
   character columns that you have defined as varchar() or text. This and
   other changes make 6.3 even faster than earlier releases.

   We now have passwords definable independent of any Unix file. There
   are new SQL USER commands. See the Administrator's Guide for more
   information. There is a new table, pg_shadow, which is used to store
   user information and user passwords, and it by default only
   SELECT-able by the postgres super-user. pg_user is now a view of
   pg_shadow, and is SELECT-able by PUBLIC. You should keep using pg_user
   in your application without changes.

   User-created tables now no longer have SELECT privilege to PUBLIC by
   default. This was done because the ANSI standard requires it. You can
   of course GRANT any privileges you want after the table is created.
   System tables continue to be SELECT-able by PUBLIC.

   We also have real deadlock detection code. No more sixty-second
   timeouts. And the new locking code implements a FIFO better, so there
   should be less resource starvation during heavy use.

   Many complaints have been made about inadequate documentation in
   previous releases. Thomas has put much effort into many new manuals
   for this release. Check out the doc/ directory.

   For performance reasons, time travel is gone, but can be implemented
   using triggers (see "pgsql/contrib/spi/README"). Please check out the
   new \d command for types, operators, etc. Also, views have their own
   privileges now, not based on the underlying tables, so privileges on
   them have to be set separately. Check "/pgsql/interfaces" for some new
   ways to talk to PostgreSQL.

   This is the first release that really required an explanation for
   existing users. In many ways, this was necessary because the new
   release removes many limitations, and the work-arounds people were
   using are no longer needed.
     _________________________________________________________________

Migration to version 6.3

   A dump/restore using pg_dump or pg_dumpall is required for those
   wishing to migrate data from any previous release of PostgreSQL.
     _________________________________________________________________

Changes

Bug Fixes
---------
Fix binary cursors broken by MOVE implementation(Vadim)
Fix for tcl library crash(Jan)
Fix for array handling, from Gerhard Hintermayer
Fix acl error, and remove duplicate pqtrace(Bruce)
Fix psql \e for empty file(Bruce)
Fix for textcat on varchar() fields(Bruce)
Fix for DBT Sendproc (Zeugswetter Andres)
Fix vacuum analyze syntax problem(Bruce)
Fix for international identifiers(Tatsuo)
Fix aggregates on inherited tables(Bruce)
Fix substr() for out-of-bounds data
Fix for select 1=1 or 2=2, select 1=1 and 2=2, and select sum(2+2)(Bruce)
Fix notty output to show status result.  -q option still turns it off(Bruce)
Fix for count(*), aggs with views and multiple tables and sum(3)(Bruce)
Fix cluster(Bruce)
Fix for PQtrace start/stop several times(Bruce)
Fix a variety of locking problems like newer lock waiters getting
        lock before older waiters, and having readlock people not share
        locks if a writer is waiting for a lock, and waiting writers not
        getting priority over waiting readers(Bruce)
Fix crashes in psql when executing queries from external files(James)
Fix problem with multiple order by columns, with the first one having
        NULL values(Jeroen)
Use correct hash table support functions for float8 and int4(Thomas)
Re-enable JOIN= option in CREATE OPERATOR statement (Thomas)
Change precedence for boolean operators to match expected behavior(Thomas)
Generate elog(ERROR) on over-large integer(Bruce)
Allow multiple-argument functions in constraint clauses(Thomas)
Check boolean input literals for 'true','false','yes','no','1','0'
        and throw elog(ERROR) if unrecognized(Thomas)
Major large objects fix
Fix for GROUP BY showing duplicates(Vadim)
Fix for index scans in MergeJion(Vadim)

Enhancements
------------
Subselects with EXISTS, IN, ALL, ANY key words (Vadim, Bruce, Thomas)
New User Manual(Thomas, others)
Speedup by inlining some frequently-called functions
Real deadlock detection, no more timeouts(Bruce)
Add SQL92 "constants" CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP,
        CURRENT_USER(Thomas)
Modify constraint syntax to be SQL92-compliant(Thomas)
Implement SQL92 PRIMARY KEY and UNIQUE clauses using indexes(Thomas)
Recognize SQL92 syntax for FOREIGN KEY. Throw elog notice(Thomas)
Allow NOT NULL UNIQUE constraint clause (each allowed separately before)(Thomas
)
Allow PostgreSQL-style casting ("::") of non-constants(Thomas)
Add support for SQL3 TRUE and FALSE boolean constants(Thomas)
Support SQL92 syntax for IS TRUE/IS FALSE/IS NOT TRUE/IS NOT FALSE(Thomas)
Allow shorter strings for boolean literals (e.g. "t", "tr", "tru")(Thomas)
Allow SQL92 delimited identifiers(Thomas)
Implement SQL92 binary and hexadecimal string decoding (b'10' and x'1F')(Thomas
)
Support SQL92 syntax for type coercion of literal strings
        (e.g. "DATETIME 'now'")(Thomas)
Add conversions for int2, int4, and OID types to and from text(Thomas)
Use shared lock when building indexes(Vadim)
Free memory allocated for an user query inside transaction block after
        this query is done, was turned off in <= 6.2.1(Vadim)
New SQL statement CREATE PROCEDURAL LANGUAGE(Jan)
New PostgreSQL Procedural Language (PL) backend interface(Jan)
Rename pg_dump -H option to -h(Bruce)
Add Java support for passwords, European dates(Peter)
Use indexes for LIKE and ~, !~ operations(Bruce)
Add hash functions for datetime and timespan(Thomas)
Time Travel removed(Vadim, Bruce)
Add paging for \d and \z, and fix \i(Bruce)
Add Unix domain socket support to backend and to frontend library(Goran)
Implement CREATE DATABASE/WITH LOCATION and initlocation utility(Thomas)
Allow more SQL92 and/or PostgreSQL reserved words as column identifiers(Thomas)
Augment support for SQL92 SET TIME ZONE...(Thomas)
SET/SHOW/RESET TIME ZONE uses TZ backend environment variable(Thomas)
Implement SET keyword = DEFAULT and SET TIME ZONE DEFAULT(Thomas)
Enable SET TIME ZONE using TZ environment variable(Thomas)
Add PGDATESTYLE environment variable to frontend and backend initialization(Tho
mas)
Add PGTZ, PGCOSTHEAP, PGCOSTINDEX, PGRPLANS, PGGEQO
        frontend library initialization environment variables(Thomas)
Regression tests time zone automatically set with "setenv PGTZ PST8PDT"(Thomas)
Add pg_description table for info on tables, columns, operators, types, and
        aggregates(Bruce)
Increase 16 char limit on system table/index names to 32 characters(Bruce)
Rename system indexes(Bruce)
Add 'GERMAN' option to SET DATESTYLE(Thomas)
Define an "ISO-style" timespan output format with "hh:mm:ss" fields(Thomas)
Allow fractional values for delta times (e.g. '2.5 days')(Thomas)
Validate numeric input more carefully for delta times(Thomas)
Implement day of year as possible input to date_part()(Thomas)
Define timespan_finite() and text_timespan() functions(Thomas)
Remove archive stuff(Bruce)
Allow for a pg_password authentication database that is separate from
        the system password file(Todd)
Dump ACLs, GRANT, REVOKE privileges(Matt)
Define text, varchar, and bpchar string length functions(Thomas)
Fix Query handling for inheritance, and cost computations(Bruce)
Implement CREATE TABLE/AS SELECT (alternative to SELECT/INTO)(Thomas)
Allow NOT, IS NULL, IS NOT NULL in constraints(Thomas)
Implement UNIONs for SELECT(Bruce)
Add UNION, GROUP, DISTINCT to INSERT(Bruce)
varchar() stores only necessary bytes on disk(Bruce)
Fix for BLOBs(Peter)
Mega-Patch for JDBC...see README_6.3 for list of changes(Peter)
Remove unused "option" from PQconnectdb()
New LOCK command and lock manual page describing deadlocks(Bruce)
Add new psql \da, \dd, \df, \do, \dS, and \dT commands(Bruce)
Enhance psql \z to show sequences(Bruce)
Show NOT NULL and DEFAULT in psql \d table(Bruce)
New psql .psqlrc file start-up(Andrew)
Modify sample start-up script in contrib/linux to show syslog(Thomas)
New types for IP and MAC addresses in contrib/ip_and_mac(TomH)
Unix system time conversions with date/time types in contrib/unixdate(Thomas)
Update of contrib stuff(Massimo)
Add Unix socket support to DBD::Pg(Goran)
New python interface (PyGreSQL 2.0)(D'Arcy)
New frontend/backend protocol has a version number, network byte order(Phil)
Security features in pg_hba.conf enhanced and documented, many cleanups(Phil)
CHAR() now faster access than VARCHAR() or TEXT
ecpg embedded SQL preprocessor
Reduce system column overhead(Vadmin)
Remove pg_time table(Vadim)
Add pg_type attribute to identify types that need length (bpchar, varchar)
Add report of offending line when COPY command fails
Allow VIEW privileges to be set separately from the underlying tables.
        For security, use GRANT/REVOKE on views as appropriate(Jan)
Tables now have no default GRANT SELECT TO PUBLIC.  You must
        explicitly grant such privileges.
Clean up tutorial examples(Darren)

Source Tree Changes
-------------------
Add new html development tools, and flow chart in /tools/backend
Fix for SCO compiles
Stratus computer port Robert Gillies
Added support for shlib for BSD44_derived & i386_solaris
Make configure more automated(Brook)
Add script to check regression test results
Break parser functions into smaller files, group together(Bruce)
Rename heap_create to heap_create_and_catalog, rename heap_creatr
        to heap_create()(Bruce)
Sparc/Linux patch for locking(TomS)
Remove PORTNAME and reorganize port-specific stuff(Marc)
Add optimizer README file(Bruce)
Remove some recursion in optimizer and clean up some code there(Bruce)
Fix for NetBSD locking(Henry)
Fix for libptcl make(Tatsuo)
AIX patch(Darren)
Change IS TRUE, IS FALSE, ... to expressions using "=" rather than
        function calls to istrue() or isfalse() to allow optimization(Thomas)
Various fixes NetBSD/Sparc related(TomH)
Alpha linux locking(Travis,Ryan)
Change elog(WARN) to elog(ERROR)(Bruce)
FAQ for FreeBSD(Marc)
Bring in the PostODBC source tree as part of our standard distribution(Marc)
A minor patch for HP/UX 10 vs 9(Stan)
New pg_attribute.atttypmod for type-specific info like varchar length(Bruce)
UnixWare patches(Billy)
New i386 'lock' for spinlock asm(Billy)
Support for multiplexed backends is removed
Start an OpenBSD port
Start an AUX port
Start a Cygnus port
Add string functions to regression suite(Thomas)
Expand a few function names formerly truncated to 16 characters(Thomas)
Remove un-needed malloc() calls and replace with palloc()(Bruce)
     _________________________________________________________________

                               Release 6.2.1

     Release date: 1997-10-17

   6.2.1 is a bug-fix and usability release on 6.2.

   Summary:

     * Allow strings to span lines, per SQL92.
     * Include example trigger function for inserting user names on table
       updates.

   This is a minor bug-fix release on 6.2. For upgrades from pre-6.2
   systems, a full dump/reload is required. Refer to the 6.2 release
   notes for instructions.
     _________________________________________________________________

Migration from version 6.2 to version 6.2.1

   This is a minor bug-fix release. A dump/reload is not required from
   version 6.2, but is required from any release prior to 6.2.

   In upgrading from version 6.2, if you choose to dump/reload you will
   find that avg(money) is now calculated correctly. All other bug fixes
   take effect upon updating the executables.

   Another way to avoid dump/reload is to use the following SQL command
   from "psql" to update the existing system table:
  update pg_aggregate set aggfinalfn = 'cash_div_flt8'
   where aggname = 'avg' and aggbasetype = 790;

   This will need to be done to every existing database, including
   template1.
     _________________________________________________________________

Changes

Allow TIME and TYPE column names(Thomas)
Allow larger range of true/false as boolean values(Thomas)
Support output of "now" and "current"(Thomas)
Handle DEFAULT with INSERT of NULL properly(Vadim)
Fix for relation reference counts problem in buffer manager(Vadim)
Allow strings to span lines, like ANSI(Thomas)
Fix for backward cursor with ORDER BY(Vadim)
Fix avg(cash) computation(Thomas)
Fix for specifying a column twice in ORDER/GROUP BY(Vadim)
Documented new libpq function to return affected rows, PQcmdTuples(Bruce)
Trigger function for inserting user names for INSERT/UPDATE(Brook Milligan)

     _________________________________________________________________

                                Release 6.2

     Release date: 1997-10-02

   A dump/restore is required for those wishing to migrate data from
   previous releases of PostgreSQL.
     _________________________________________________________________

Migration from version 6.1 to version 6.2

   This migration requires a complete dump of the 6.1 database and a
   restore of the database in 6.2.

   Note that the "pg_dump" and "pg_dumpall" utility from 6.2 should be
   used to dump the 6.1 database.
     _________________________________________________________________

Migration from version 1.x to version 6.2

   Those migrating from earlier 1.* releases should first upgrade to 1.09
   because the COPY output format was improved from the 1.02 release.
     _________________________________________________________________

Changes

Bug Fixes
---------
Fix problems with pg_dump for inheritance, sequences, archive tables(Bruce)
Fix compile errors on overflow due to shifts, unsigned, and bad prototypes
         from Solaris(Diab Jerius)
Fix bugs in geometric line arithmetic (bad intersection calculations)(Thomas)
Check for geometric intersections at endpoints to avoid rounding ugliness(Thoma
s)
Catch non-functional delete attempts(Vadim)
Change time function names to be more consistent(Michael Reifenberg)
Check for zero divides(Michael Reifenberg)
Fix very old bug which made rows changed/inserted by a command
        visible to the command itself (so we had multiple update of
        updated rows, etc.)(Vadim)
Fix for SELECT null, 'fail' FROM pg_am (Patrick)
SELECT NULL as EMPTY_FIELD now allowed(Patrick)
Remove un-needed signal stuff from contrib/pginterface
Fix OR (where x != 1 or x isnull didn't return rows with x NULL) (Vadim)
Fix time_cmp function (Vadim)
Fix handling of functions with non-attribute first argument in
        WHERE clauses (Vadim)
Fix GROUP BY when order of entries is different from order
        in target list (Vadim)
Fix pg_dump for aggregates without sfunc1 (Vadim)

Enhancements
------------
Default genetic optimizer GEQO parameter is now 8(Bruce)
Allow use parameters in target list having aggregates in functions(Vadim)
Added JDBC driver as an interface(Adrian & Peter)
pg_password utility
Return number of rows inserted/affected by INSERT/UPDATE/DELETE etc.(Vadim)
Triggers implemented with CREATE TRIGGER (SQL3)(Vadim)
SPI (Server Programming Interface) allows execution of queries inside
        C-functions (Vadim)
NOT NULL implemented (SQL92)(Robson Paniago de Miranda)
Include reserved words for string handling, outer joins, and unions(Thomas)
Implement extended comments ("/* ... */") using exclusive states(Thomas)
Add "//" single-line comments(Bruce)
Remove some restrictions on characters in operator names(Thomas)
DEFAULT and CONSTRAINT for tables implemented (SQL92)(Vadim & Thomas)
Add text concatenation operator and function (SQL92)(Thomas)
Support WITH TIME ZONE syntax (SQL92)(Thomas)
Support INTERVAL unit TO unit syntax (SQL92)(Thomas)
Define types DOUBLE PRECISION, INTERVAL, CHARACTER,
        and CHARACTER VARYING (SQL92)(Thomas)
Define type FLOAT(p) and rudimentary DECIMAL(p,s), NUMERIC(p,s) (SQL92)(Thomas)
Define EXTRACT(), POSITION(), SUBSTRING(), and TRIM() (SQL92)(Thomas)
Define CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP (SQL92)(Thomas)
Add syntax and warnings for UNION, HAVING, INNER and OUTER JOIN (SQL92)(Thomas)
Add more reserved words, mostly for SQL92 compliance(Thomas)
Allow hh:mm:ss time entry for timespan/reltime types(Thomas)
Add center() routines for lseg, path, polygon(Thomas)
Add distance() routines for circle-polygon, polygon-polygon(Thomas)
Check explicitly for points and polygons contained within polygons
        using an axis-crossing algorithm(Thomas)
Add routine to convert circle-box(Thomas)
Merge conflicting operators for different geometric data types(Thomas)
Replace distance operator "<===>" with "<->"(Thomas)
Replace "above" operator "!^" with ">^" and "below" operator "!|" with "<^"(Tho
mas)
Add routines for text trimming on both ends, substring, and string position(Tho
mas)
Added conversion routines circle(box) and poly(circle)(Thomas)
Allow internal sorts to be stored in memory rather than in files(Bruce & Vadim)
Allow functions and operators on internally-identical types to succeed(Bruce)
Speed up backend start-up after profiling analysis(Bruce)
Inline frequently called functions for performance(Bruce)
Reduce open() calls(Bruce)
psql:  Add PAGER for \h and \?,\C fix
Fix for psql pager when no tty(Bruce)
New entab utility(Bruce)
General trigger functions for referential integrity (Vadim)
General trigger functions for time travel (Vadim)
General trigger functions for AUTOINCREMENT/IDENTITY feature (Vadim)
MOVE implementation (Vadim)

Source Tree Changes
-------------------
HP-UX 10 patches (Vladimir Turin)
Added SCO support, (Daniel Harris)
MkLinux patches (Tatsuo Ishii)
Change geometric box terminology from "length" to "width"(Thomas)
Deprecate temporary unstored slope fields in geometric code(Thomas)
Remove restart instructions from INSTALL(Bruce)
Look in /usr/ucb first for install(Bruce)
Fix c++ copy example code(Thomas)
Add -o to psql manual page(Bruce)
Prevent relname unallocated string length from being copied into database(Bruce
)
Cleanup for NAMEDATALEN use(Bruce)
Fix pg_proc names over 15 chars in output(Bruce)
Add strNcpy() function(Bruce)
remove some (void) casts that are unnecessary(Bruce)
new interfaces directory(Marc)
Replace fopen() calls with calls to fd.c functions(Bruce)
Make functions static where possible(Bruce)
enclose unused functions in #ifdef NOT_USED(Bruce)
Remove call to difftime() in timestamp support to fix SunOS(Bruce & Thomas)
Changes for Digital Unix
Portability fix for pg_dumpall(Bruce)
Rename pg_attribute.attnvals to attdispersion(Bruce)
"intro/unix" manual page now "pgintro"(Bruce)
"built-in" manual page now "pgbuiltin"(Bruce)
"drop" manual page now "drop_table"(Bruce)
Add "create_trigger", "drop_trigger" manual pages(Thomas)
Add constraints regression test(Vadim & Thomas)
Add comments syntax regression test(Thomas)
Add PGINDENT and support program(Bruce)
Massive commit to run PGINDENT on all *.c and *.h files(Bruce)
Files moved to /src/tools directory(Bruce)
SPI and Trigger programming guides (Vadim & D'Arcy)
     _________________________________________________________________

                               Release 6.1.1

     Release date: 1997-07-22
     _________________________________________________________________

Migration from version 6.1 to version 6.1.1

   This is a minor bug-fix release. A dump/reload is not required from
   version 6.1, but is required from any release prior to 6.1. Refer to
   the release notes for 6.1 for more details.
     _________________________________________________________________

Changes

fix for SET with options (Thomas)
allow pg_dump/pg_dumpall to preserve ownership of all tables/objects(Bruce)
new psql \connect option allows changing usernames without changing databases
fix for initdb --debug option(Yoshihiko Ichikawa))
lextest cleanup(Bruce)
hash fixes(Vadim)
fix date/time month boundary arithmetic(Thomas)
fix timezone daylight handling for some ports(Thomas, Bruce, Tatsuo)
timestamp overhauled to use standard functions(Thomas)
other code cleanup in date/time routines(Thomas)
psql's \d now case-insensitive(Bruce)
psql's backslash commands can now have trailing semicolon(Bruce)
fix memory leak in psql when using \g(Bruce)
major fix for endian handling of communication to server(Thomas, Tatsuo)
Fix for Solaris assembler and include files(Yoshihiko Ichikawa)
allow underscores in usernames(Bruce)
pg_dumpall now returns proper status, portability fix(Bruce)

     _________________________________________________________________

                                Release 6.1

     Release date: 1997-06-08

   The regression tests have been adapted and extensively modified for
   the 6.1 release of PostgreSQL.

   Three new data types (datetime, timespan, and circle) have been added
   to the native set of PostgreSQL types. Points, boxes, paths, and
   polygons have had their output formats made consistent across the data
   types. The polygon output in misc.out has only been spot-checked for
   correctness relative to the original regression output.

   PostgreSQL 6.1 introduces a new, alternate optimizer which uses
   genetic algorithms. These algorithms introduce a random behavior in
   the ordering of query results when the query contains multiple
   qualifiers or multiple tables (giving the optimizer a choice on order
   of evaluation). Several regression tests have been modified to
   explicitly order the results, and hence are insensitive to optimizer
   choices. A few regression tests are for data types which are
   inherently unordered (e.g. points and time intervals) and tests
   involving those types are explicitly bracketed with "set geqo to
   'off'" and "reset geqo".

   The interpretation of array specifiers (the curly braces around atomic
   values) appears to have changed sometime after the original regression
   tests were generated. The current "./expected/*.out" files reflect
   this new interpretation, which may not be correct!

   The float8 regression test fails on at least some platforms. This is
   due to differences in implementations of pow() and exp() and the
   signaling mechanisms used for overflow and underflow conditions.

   The "random" results in the random test should cause the "random" test
   to be "failed", since the regression tests are evaluated using a
   simple diff. However, "random" does not seem to produce random results
   on my test machine (Linux/gcc/i686).
     _________________________________________________________________

Migration to version 6.1

   This migration requires a complete dump of the 6.0 database and a
   restore of the database in 6.1.

   Those migrating from earlier 1.* releases should first upgrade to 1.09
   because the COPY output format was improved from the 1.02 release.
     _________________________________________________________________

Changes

Bug Fixes
---------
packet length checking in library routines
lock manager priority patch
check for under/over flow of float8(Bruce)
multitable join fix(Vadim)
SIGPIPE crash fix(Darren)
large object fixes(Sven)
allow btree indexes to handle NULLs(Vadim)
timezone fixes(D'Arcy)
select SUM(x) can return NULL on no rows(Thomas)
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)
fix buffer leak in hash indexes (Vadim)
fix rtree for use in inner scan (Vadim)
fix gist for use in inner scan, cleanups (Vadim, Andrea)
avoid unnecessary local buffers allocation (Vadim, Massimo)
fix local buffers leak in transaction aborts (Vadim)
fix file manager memmory leaks, cleanups (Vadim, Massimo)
fix storage manager memmory leaks (Vadim)
fix btree duplicates handling (Vadim)
fix deleted rows reincarnation caused by vacuum (Vadim)
fix SELECT varchar()/char() INTO TABLE made zero-length fields(Bruce)
many psql, pg_dump, and libpq memory leaks fixed using Purify (Igor)

Enhancements
------------
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)
massive changes to libpg++(Leo)
new GEQO optimizer speeds table multitable 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)
multicolumn btree indexes(Vadim)
new SET var TO value command(Martin)
update transaction status on reads(Dan)
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)
new MONEY data type(D'Arcy,Thomas)
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)
new datestyle variable(Thomas,Vadim,Martin)
more comparison operators for sorting types(Thomas)
new conversion functions(Thomas)
new more compact btree format(Vadim)
allow pg_dumpall to preserve database ownership(Bruce)
new SET GEQO=# and R_PLANS variable(Vadim)
old (!GEQO) optimizer can use right-sided plans (Vadim)
typechecking improvement in SQL parser(Bruce)
new SET, SHOW, RESET commands(Thomas,Vadim)
new \connect database USER option
new destroydb -i option (Igor)
new \dt and \di psql commands (Darren)
SELECT "\n" now escapes newline (A. Duursma)
new geometry conversion functions from old format (Thomas)

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 Windows-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)
DG/UX, Ultrix, IRIX, AIX portability fixes
     _________________________________________________________________

                                Release 6.0

     Release date: 1997-01-29

   A dump/restore is required for those wishing to migrate data from
   previous releases of PostgreSQL.
     _________________________________________________________________

Migration from version 1.09 to version 6.0

   This migration requires a complete dump of the 1.09 database and a
   restore of the database in 6.0.
     _________________________________________________________________

Migration from pre-1.09 to version 6.0

   Those migrating from earlier 1.* releases should first upgrade to 1.09
   because the COPY output format was improved from the 1.02 release.
     _________________________________________________________________

Changes

Bug Fixes
---------
ALTER TABLE bug - running postgress process needs to re-read table definition
Allow vacuum to be run on one table or entire database(Bruce)
Array fixes
Fix array over-runs of memory writes(Kurt)
Fix elusive btree range/non-range bug(Dan)
Fix for hash indexes on some types like time and date
Fix for pg_log size explosion
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 privileges
Memory leaks (hunt and destroy with tools like Purify(Kurt)
Minor improvements to rules system
NOTIFY fixes
New asserts for run-checking
Overhauled parser/analyze code to properly report errors and increase speed
Pg_dump -d now handles NULL's properly(Bruce)
Prevent SELECT NULL from crashing server (Bruce)
Properly report errors when INSERT ... SELECT columns did not match
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 OIDs
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)
Submitting 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)
Allow "select oid,* from table"
Allow BY,ORDER BY to specify columns by number, or by non-alias table.column(Br
uce)
Allow COPY from the frontend(Bryan)
Allow GROUP BY to use alias column name(Bruce)
Allow actual compression, not just reuse on the same page(Vadim)
Allow installation-configuration option to auto-add all local users(Bryan)
Allow libpq to distinguish between text value '' and null(Bruce)
Allow non-postgres users with createdb privs to destroydb's
Allow restriction on who can create C functions(Bryan)
Allow restriction on who can do backend COPY(Bryan)
Can shrink tables, pg_time and pg_log(Vadim & Erich)
Change debug level 2 to print queries only, changed debug heading layout(Bruce)
Change default decimal constant representation from float4 to float8(Bruce)
European date format now set when postmaster is started
Execute lowercase function names if not found with exact case
Fixes for aggregate/GROUP processing, allow 'select sum(func(x),sum(x+y) from z
'
Gist now included in the distrubution(Marc)
Idend authentication of local users(Bryan)
Implement BETWEEN qualifier(Bruce)
Implement IN qualifier(Bruce)
libpq has PQgetisnull()(Bruce)
libpq++ improvements
New options to initdb(Bryan)
Pg_dump allow dump of OIDs(Bruce)
Pg_dump create indexes after tables are loaded for speed(Bruce)
Pg_dumpall dumps all databases, and the user table
Pginterface additions for NULL values(Bruce)
Prevent postmaster from being run as root
psql \h and \? is now readable(Bruce)
psql allow backslashed, semicolons anywhere on the line(Bruce)
psql changed command prompt for lines in query or in quotes(Bruce)
psql char(3) now displays as (bp)char in \d output(Bruce)
psql return code now more accurate(Bryan?)
psql updated help syntax(Bruce)
Re-visit and fix vacuum(Vadim)
Reduce size of regression diffs, remove timezone name difference(Bruce)
Remove compile-time parameters to enable binary distributions(Bryan)
Reverse meaning of HBA masks(Bryan)
Secure Authentication of local users(Bryan)
Speed up vacuum(Vadim)
Vacuum now had VERBOSE option(Bruce)

Source tree changes
-------------------
All functions now have prototypes that are compared against the calls
Allow asserts to be disabled easly from Makefile.global(Bruce)
Change oid constants used in code to #define names
Decoupled sparc and solaris defines(Kurt)
Gcc -Wall compiles cleanly with warnings only from unfixable constructs
Major include file reorganization/reduction(Marc)
Make now stops on compile failure(Bryan)
Makefile restructuring(Bryan, Marc)
Merge bsdi_2_1 to bsdi(Bruce)
Monitor program removed
Name change from Postgres95 to PostgreSQL
New config.h file(Marc, Bryan)
PG_VERSION now set to 6.0 and used by postmaster
Portability additions, including Ultrix, DG/UX, AIX, and Solaris
Reduced the number of #define's, centeralized #define's
Remove duplicate OIDS in system tables(Dan)
Remove duplicate system catalog info or report mismatches(Dan)
Removed many os-specific #define's
Restructured object file generation/location(Bryan, Marc)
Restructured port-specific file locations(Bryan, Marc)
Unused/uninialized variables corrected
     _________________________________________________________________

                                Release 1.09

     Release date: 1996-11-04

   Sorry, we didn't keep track of changes from 1.02 to 1.09. Some of the
   changes listed in 6.0 were actually included in the 1.02.1 to 1.09
   releases.
     _________________________________________________________________

                                Release 1.02

     Release date: 1996-08-01
     _________________________________________________________________

Migration from version 1.02 to version 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.

     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.

     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.

   In order to upgrade older Postgres95 version 1.01 or 1.02 databases to
   version 1.02.1, the following steps are required:
    1. Start up a new 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 the 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":
        % 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.
     _________________________________________________________________

Dump/Reload Procedure

   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.
        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 = texticregexe
q);
create operator !~* (leftarg = bpchar, rightarg = text, procedure = texticregex
ne);
create operator ~* (leftarg = varchar, rightarg = text, procedure = texticregex
eq);
create operator !~* (leftarg = varchar, rightarg = text, procedure = texticrege
xne);
     _________________________________________________________________

Changes

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 deprecated 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 BSD/OS 2.1 port
 * added DG/UX port
     _________________________________________________________________

                                Release 1.01

     Release date: 1996-02-23
     _________________________________________________________________

Migration from version 1.0 to version 1.01

   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
    8. 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
       and then execute the following commands (cut and paste from here):
-- 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 = char2icregexe
q);
create operator !~* (leftarg = char2, rightarg = text, procedure = char2icregex
ne);
create operator ~* (leftarg = char4, rightarg = text, procedure = char4icregexe
q);
create operator !~* (leftarg = char4, rightarg = text, procedure = char4icregex
ne);
create operator ~* (leftarg = char8, rightarg = text, procedure = char8icregexe
q);
create operator !~* (leftarg = char8, rightarg = text, procedure = char8icregex
ne);
create operator ~* (leftarg = char16, rightarg = text, procedure = char16icrege
xeq);
create operator !~* (leftarg = char16, rightarg = text, procedure = char16icreg
exne);
create operator ~* (leftarg = text, rightarg = text, procedure = texticregexeq)
;
create operator !~* (leftarg = text, rightarg = text, procedure = texticregexne
);
     _________________________________________________________________

Changes

Incompatibilities:
 * 1.01 is backwards compatible with 1.0 database provided the user
   follow the steps outlined in the MIGRATION_from_1.0_to_1.01 file.
   If those steps are not taken, 1.01 is not compatible with 1.0 database.

Enhancements:
 * added PQdisplayTuples() to libpq and changed monitor and psql to use it
 * added NeXT port (requires SysVIPC implementation)
 * added CAST .. AS ... syntax
 * added ASC and DESC key words
 * added 'internal' as a possible language for CREATE FUNCTION
   internal functions are C functions which have been statically linked
   into the postgres backend.
 * a new type "name" has been added for system identifiers (table names,
   attribute names, etc.)  This replaces the old char16 type.   The
   of name is set by the NAMEDATALEN #define in src/Makefile.global
 * a readable reference manual that describes the query language.
 * added host-based access control.  A configuration file ($PGDATA/pg_hba)
   is used to hold the configuration data.  If host-based access control
   is not desired, comment out HBA=1 in src/Makefile.global.
 * changed regex handling to be uniform use of Henry Spencer's regex code
   regardless of platform.  The regex code is included in the distribution
 * added functions and operators for case-insensitive regular expressions.
   The operators are ~* and !~*.
 * pg_dump uses COPY instead of SELECT loop for better performance

Bug fixes:
 * fixed an optimizer bug that was causing core dumps when
   functions calls were used in comparisons in the WHERE clause
 * changed all uses of getuid to geteuid so that effective uids are used
 * psql now returns non-zero status on errors when using -c
 * applied public patches 1-14
     _________________________________________________________________

                                Release 1.0

     Release date: 1995-09-05
     _________________________________________________________________

Changes

Copyright change:
 * The copyright of Postgres 1.0 has been loosened to be freely modifiable
   and modifiable for any purpose.  Please read the COPYRIGHT file.
   Thanks to Professor Michael Stonebraker for making this possible.

Incompatibilities:
 *  date formats have to be MM-DD-YYYY (or DD-MM-YYYY if you're using
   EUROPEAN STYLE).  This follows SQL-92 specs.
 *  "delimiters" is now a key word

Enhancements:
 *  sql LIKE syntax has been added
 *  copy command now takes an optional USING DELIMITER specification.
   delimiters can be any single-character string.
 *  IRIX 5.3 port has been added.
   Thanks to Paul Walmsley and others.
 *  updated pg_dump to work with new libpq
 *  \d has been added psql
   Thanks to Keith Parks
 *  regexp performance for architectures that use POSIX regex has been
   improved due to caching of precompiled patterns.
   Thanks to Alistair Crooks
 *  a new version of libpq++
   Thanks to William Wanders

Bug fixes:
 *  arbitrary userids can be specified in the createuser script
 *  \c to connect to other databases in psql now works.
 *  bad pg_proc entry for float4inc() is fixed
 *  users with usecreatedb field set can now create databases without
   having to be usesuper
 *  remove access control entries when the entry no longer has any
   privileges
 *  fixed non-portable datetimes implementation
 *  added kerberos flags to the src/backend/Makefile
 *  libpq now works with kerberos
 *  typographic errors in the user manual have been corrected.
 *  btrees with multiple index never worked, now we tell you they don't
   work when you try to use them
     _________________________________________________________________

                          Postgres95 Release 0.03

     Release date: 1995-07-21
     _________________________________________________________________

Changes

Incompatible changes:
 * BETA-0.3 IS INCOMPATIBLE WITH DATABASES CREATED WITH PREVIOUS VERSIONS
   (due to system catalog changes and indexing structure changes).
 * double-quote (") is deprecated as a quoting character for string literals;
   you need to convert them to single quotes (').
 * name of aggregates (eg. int4sum) are renamed in accordance with the
   SQL standard (eg. sum).
 * CHANGE ACL syntax is replaced by GRANT/REVOKE syntax.
 * float literals (eg. 3.14) are now of type float4 (instead of float8 in
   previous releases); you might have to do typecasting if you depend on it
   being of type float8.  If you neglect to do the typecasting and you assign
   a float literal to a field of type float8, you may get incorrect values
   stored!
 * LIBPQ has been totally revamped so that frontend applications
   can connect to multiple backends
 * the usesysid field in pg_user has been changed from int2 to int4 to
   allow wider range of Unix user ids.
 * the netbsd/freebsd/bsd o/s ports have been consolidated into a
   single BSD44_derived port.  (thanks to Alistair Crooks)

SQL standard-compliance (the following details changes that makes postgres95
more compliant to the SQL-92 standard):
 * the following SQL types are now built-in: smallint, int(eger), float, real,
   char(N), varchar(N), date and time.

   The following are aliases to existing postgres types:
                smallint -> int2
                integer, int -> int4
                float, real  -> float4
   char(N) and varchar(N) are implemented as truncated text types. In
   addition, char(N) does blank-padding.
 * single-quote (') is used for quoting string literals; '' (in addition to
   \') is supported as means of inserting a single quote in a string
 * SQL standard aggregate names (MAX, MIN, AVG, SUM, COUNT) are used
   (Also, aggregates can now be overloaded, i.e. you can define your
   own MAX aggregate to take in a user-defined type.)
 * CHANGE ACL removed. GRANT/REVOKE syntax added.
   - Privileges can be given to a group using the "GROUP" key word.
        For example:
                GRANT SELECT ON foobar TO GROUP my_group;
        The key word 'PUBLIC' is also supported to mean all users.

        Privileges can only be granted or revoked to one user or group
        at a time.

        "WITH GRANT OPTION" is not supported.  Only class owners can change
        access control
   - The default access control is to to grant users readonly access.
     You must explicitly grant insert/update access to users.  To change
     this, modify the line in
                src/backend/utils/acl.h
     that defines ACL_WORLD_DEFAULT

Bug fixes:
 * the bug where aggregates of empty tables were not run has been fixed. Now,
   aggregates run on empty tables will return the initial conditions of the
   aggregates. Thus, COUNT of an empty  table will now properly return 0.
   MAX/MIN of an empty table will return a row of value NULL.
 * allow the use of \; inside the monitor
 * the LISTEN/NOTIFY asynchronous notification mechanism now work
 * NOTIFY in rule action bodies now work
 * hash indexes work, and access methods in general should perform better.
   creation of large btree indexes should be much faster.  (thanks to Paul
   Aoki)

Other changes and enhancements:
 * addition of an EXPLAIN statement used for explaining the query execution
   plan (eg. "EXPLAIN SELECT * FROM EMP" prints out the execution plan for
   the query).
 * WARN and NOTICE messages no longer have timestamps on them. To turn on
   timestamps of error messages, uncomment the line in
   src/backend/utils/elog.h:
        /* define ELOG_TIMESTAMPS */
 * On an access control violation, the message
        "Either no such class or insufficient privilege"
   will be given.  This is the same message that is returned when
   a class is not found.  This dissuades non-privileged users from
   guessing the existence of privileged classes.
 * some additional system catalog changes have been made that are not
   visible to the user.

libpgtcl changes:
 * The -oid option has been added to the "pg_result" tcl command.
   pg_result -oid returns oid of the last row inserted.   If the
   last command was not an INSERT, then pg_result -oid returns "".
 * the large object interface is available as pg_lo* tcl commands:
   pg_lo_open, pg_lo_close, pg_lo_creat, etc.

Portability enhancements and New Ports:
 * flex/lex problems have been cleared up.  Now, you should be able to use
   flex instead of lex on any platforms.  We no longer make assumptions of
   what lexer you use based on the platform you use.
 * The Linux-ELF port is now supported.  Various configuration have been
   tested:  The following configuration is known to work:
        kernel 1.2.10, gcc 2.6.3, libc 4.7.2, flex 2.5.2, bison 1.24
   with everything in ELF format,

New utilities:
 * ipcclean added to the distribution
   ipcclean usually does not need to be run, but if your backend crashes
   and leaves shared memory segments hanging around, ipcclean will
   clean them up for you.

New documentation:
 * the user manual has been revised and libpq documentation added.
     _________________________________________________________________

                          Postgres95 Release 0.02

     Release date: 1995-05-25
     _________________________________________________________________

Changes

Incompatible changes:
 * The SQL statement for creating a database is 'CREATE DATABASE' instead
   of 'CREATEDB'. Similarly, dropping a database is 'DROP DATABASE' instead
   of 'DESTROYDB'. However, the names of the executables 'createdb' and
   'destroydb' remain the same.

New tools:
 * pgperl - a Perl (4.036) interface to Postgres95
 * pg_dump - a utility for dumping out a postgres database into a
        script file containing query commands. The script files are in a ASCII
        format and can be used to reconstruct the database, even on other
        machines and other architectures. (Also good for converting
        a Postgres 4.2 database to Postgres95 database.)

The following ports have been incorporated into postgres95-beta-0.02:
 * the NetBSD port by Alistair Crooks
 * the AIX port by Mike Tung
 * the Windows NT port by Jon Forrest (more stuff but not done yet)
 * the Linux ELF port by Brian Gallew

The following bugs have been fixed in postgres95-beta-0.02:
 * new lines not escaped in COPY OUT and problem with COPY OUT when first
   attribute is a '.'
 * cannot type return to use the default user id in createuser
 * SELECT DISTINCT on big tables crashes
 * Linux installation problems
 * monitor doesn't allow use of 'localhost' as PGHOST
 * psql core dumps when doing \c or \l
 * the "pgtclsh" target missing from src/bin/pgtclsh/Makefile
 * libpgtcl has a hard-wired default port number
 * SELECT DISTINCT INTO TABLE hangs
 * CREATE TYPE doesn't accept 'variable' as the internallength
 * wrong result using more than 1 aggregate in a SELECT
     _________________________________________________________________

                          Postgres95 Release 0.01

     Release date: 1995-05-01

   Initial release.
@


1.242
log
@Rebuild HISTORY file to match our official style sheets.
@
text
@@


1.241
log
@Some editorial work on 7.4.2 release notes.
@
text
@d11 1
a11 1
                         Migration to version 7.4.2
d72 1
a72 1
                                  Changes
d116 1
a116 1
                         Migration to version 7.4.1
d131 1
a131 1
                                  Changes
d194 1
a194 1
                                  Overview
d295 1
a295 1
                          Migration to version 7.4
d359 1
a359 1
                                  Changes
d962 1
a962 1
                         Migration to version 7.3.6
d967 1
a967 1
                                  Changes
d1005 1
a1005 1
                         Migration to version 7.3.5
d1010 1
a1010 1
                                  Changes
d1052 1
a1052 1
                         Migration to version 7.3.4
d1057 1
a1057 1
                                  Changes
d1079 1
a1079 1
                         Migration to version 7.3.3
d1084 1
a1084 1
                                  Changes
d1202 1
a1202 1
                         Migration to version 7.3.2
d1207 1
a1207 1
                                  Changes
d1258 1
a1258 1
                         Migration to version 7.3.1
d1266 1
a1266 1
                                  Changes
d1294 1
a1294 1
                                  Overview
d1349 1
a1349 1
                          Migration to version 7.3
d1384 1
a1384 1
                                  Changes
d1842 1
a1842 1
                         Migration to version 7.2.4
d1847 1
a1847 1
                                  Changes
d1873 1
a1873 1
                         Migration to version 7.2.3
d1878 1
a1878 1
                                  Changes
d1896 1
a1896 1
                         Migration to version 7.2.2
d1901 1
a1901 1
                                  Changes
d1927 1
a1927 1
                         Migration to version 7.2.1
d1932 1
a1932 1
                                  Changes
d1962 1
a1962 1
                                  Overview
d2000 1
a2000 1
                          Migration to version 7.2
d2029 1
a2029 1
                                  Changes
d2428 1
a2428 1
                         Migration to version 7.1.3
d2433 1
a2433 1
                                  Changes
d2455 1
a2455 1
                         Migration to version 7.1.2
d2460 1
a2460 1
                                  Changes
d2477 1
a2477 1
                         Migration to version 7.1.1
d2482 1
a2482 1
                                  Changes
d2545 1
a2545 1
                          Migration to version 7.1
d2551 1
a2551 1
                                  Changes
d2748 1
a2748 1
                         Migration to version 7.0.3
d2753 1
a2753 1
                                  Changes
d2804 1
a2804 1
                         Migration to version 7.0.2
d2809 1
a2809 1
                                  Changes
d2822 1
a2822 1
                         Migration to version 7.0.1
d2827 1
a2827 1
                                  Changes
d2888 1
a2888 1
                          Migration to version 7.0
d2919 1
a2919 1
                                  Changes
d3252 1
a3252 1
                         Migration to version 6.5.3
d3257 1
a3257 1
                                  Changes
d3273 1
a3273 1
                         Migration to version 6.5.2
d3278 1
a3278 1
                                  Changes
d3317 1
a3317 1
                         Migration to version 6.5.1
d3322 1
a3322 1
                                  Changes
d3420 1
a3420 1
                          Migration to version 6.5
d3466 1
a3466 1
                                  Changes
d3643 1
a3643 1
                         Migration to version 6.4.2
d3648 1
a3648 1
                                  Changes
d3661 1
a3661 1
                         Migration to version 6.4.1
d3666 1
a3666 1
                                  Changes
d3739 1
a3739 1
                          Migration to version 6.4
d3745 1
a3745 1
                                  Changes
d3968 1
a3968 1
                                  Changes
d4011 1
a4011 1
                                  Changes
d4124 1
a4124 1
                          Migration to version 6.3
d4130 1
a4130 1
                                  Changes
d4318 1
a4318 1
                Migration from version 6.2 to version 6.2.1
d4336 1
a4336 1
                                  Changes
d4360 1
a4360 1
                 Migration from version 6.1 to version 6.2
d4369 1
a4369 1
                 Migration from version 1.x to version 6.2
d4375 1
a4375 1
                                  Changes
d4496 1
a4496 1
                Migration from version 6.1 to version 6.1.1
d4503 1
a4503 1
                                  Changes
d4564 1
a4564 1
                          Migration to version 6.1
d4573 1
a4573 1
                                  Changes
d4679 1
a4679 1
                 Migration from version 1.09 to version 6.0
d4685 1
a4685 1
                   Migration from pre-1.09 to version 6.0
d4691 1
a4691 1
                                  Changes
d4814 1
a4814 1
               Migration from version 1.02 to version 1.02.1
d4842 1
a4842 1
                           Dump/Reload Procedure
d4866 1
a4866 1
                                  Changes
d4900 1
a4900 1
                 Migration from version 1.0 to version 1.01
d4990 1
a4990 1
                                  Changes
d5031 1
a5031 1
                                  Changes
d5079 1
a5079 1
                                  Changes
d5193 1
a5193 1
                                  Changes
@


1.240
log
@First update of release notes for 7.4.2.  Still needs work.
@
text
@d3 1
a3 1
                                      
d5 3
a7 3
                                      
     Release date: 2004-03-??
     
a9 2
   
Migration to version 7.4.2
d11 1
a11 4
   A dump/restore is *not* required for those running 7.4.X.
     _________________________________________________________________
   
Changes
d13 84
a96 14
   As of 2004-03-02
   
     * Fix problems with ALTER TABLE during concurrent access (Tom)
     * Improve hash build reliability (Tom)
     * Fix statistics alignment bug that could affect optimizer, initdb
       required (Tom)
     * Optimizer improvements (Tom)
     * Permission fix for view updates (Tom)
     * Allow non-super users to update pg_settings (Tom)
     * Fix for multibyte handling in position() (Korea PostgreSQL Users'
       Group)
     * Various multibyte fixes
     * Fix problem with hitting open file limit, especially on OS X (Tom)
     * Have pg_dump set client encoding on restore (Tom)
d102 1
a102 1
     * Various ecpg fixes (Michael)
d105 2
a106 3
     * Fix for configure --disable-shared support (Tom)
     * Various build fixes
     * Various jdbc fixes
d108 1
a108 1
   
d110 1
a110 1
                                      
d112 1
a112 1
     
d115 2
a116 2
   
Migration to version 7.4.1
d119 1
a119 1
   
d130 2
a131 2
   
Changes
d188 1
a188 1
   
d190 1
a190 1
                                      
d193 2
a194 2
   
Overview
d197 1
a197 1
   
d206 1
a206 1
          
d213 1
a213 1
          
d217 1
a217 1
          
d224 1
a224 1
          
d230 1
a230 1
          
d236 1
a236 1
          
d241 1
a241 1
          
d245 1
a245 1
          
d253 1
a253 1
          
d258 1
a258 1
          
d262 1
a262 1
          
d265 1
a265 1
          
d273 1
a273 1
          
d280 1
a280 1
          
d284 1
a284 1
          
d289 1
a289 1
          
d294 2
a295 2
   
Migration to version 7.4
d299 1
a299 1
   
d301 1
a301 1
   
d358 2
a359 2
   
Changes
d364 1
a364 1
   
d412 1
a412 1
   
d473 1
a473 1
   
d539 1
a539 1
   
d571 1
a571 1
   
d609 1
a609 1
   
d679 1
a679 1
   
d758 1
a758 1
   
d785 1
a785 1
   
d812 1
a812 1
   
d835 1
a835 1
   
d869 1
a869 1
   
d878 1
a878 1
   
d894 1
a894 1
   
d925 1
a925 1
   
d954 1
a954 1
   
d956 1
a956 1
                                      
d958 1
a958 1
     
d961 2
a962 2
   
Migration to version 7.3.6
d966 2
a967 2
   
Changes
d997 1
a997 1
   
d999 1
a999 1
                                      
d1001 1
a1001 1
     
d1004 2
a1005 2
   
Migration to version 7.3.5
d1009 2
a1010 2
   
Changes
d1044 1
a1044 1
   
d1046 1
a1046 1
                                      
d1048 1
a1048 1
     
d1051 2
a1052 2
   
Migration to version 7.3.4
d1056 2
a1057 2
   
Changes
d1071 1
a1071 1
   
d1073 1
a1073 1
                                      
d1075 1
a1075 1
     
d1078 2
a1079 2
   
Migration to version 7.3.3
d1083 2
a1084 2
   
Changes
d1194 1
a1194 1
   
d1196 1
a1196 1
                                      
d1198 1
a1198 1
     
d1201 2
a1202 2
   
Migration to version 7.3.2
d1206 2
a1207 2
   
Changes
d1250 1
a1250 1
   
d1252 1
a1252 1
                                      
d1254 1
a1254 1
     
d1257 2
a1258 2
   
Migration to version 7.3.1
d1265 2
a1266 2
   
Changes
d1288 1
a1288 1
   
d1290 1
a1290 1
                                      
d1293 2
a1294 2
   
Overview
d1297 1
a1297 1
   
d1304 1
a1304 1
          
d1308 1
a1308 1
          
d1314 1
a1314 1
          
d1318 1
a1318 1
          
d1324 1
a1324 1
          
d1329 1
a1329 1
          
d1332 1
a1332 1
          
d1335 1
a1335 1
          
d1340 1
a1340 1
          
d1348 2
a1349 2
   
Migration to version 7.3
d1356 1
a1356 1
   
d1358 1
a1358 1
   
d1383 2
a1384 2
   
Changes
d1395 1
a1395 1
   
d1423 1
a1423 1
   
d1435 1
a1435 1
   
d1465 1
a1465 1
   
d1492 1
a1492 1
   
d1532 1
a1532 1
   
d1582 1
a1582 1
   
d1642 1
a1642 1
   
d1663 1
a1663 1
   
d1676 1
a1676 1
   
d1692 1
a1692 1
   
d1707 1
a1707 1
   
d1723 1
a1723 1
   
d1744 1
a1744 1
   
d1806 1
a1806 1
   
d1833 1
a1833 1
   
d1835 1
a1835 1
                                      
d1837 1
a1837 1
     
d1841 2
a1842 2
   
Migration to version 7.2.4
d1846 2
a1847 2
   
Changes
d1864 1
a1864 1
   
d1866 1
a1866 1
                                      
d1868 1
a1868 1
     
d1872 2
a1873 2
   
Migration to version 7.2.3
d1877 2
a1878 2
   
Changes
d1888 1
a1888 1
   
d1890 1
a1890 1
                                      
d1892 1
a1892 1
     
d1895 2
a1896 2
   
Migration to version 7.2.2
d1900 2
a1901 2
   
Changes
d1919 1
a1919 1
   
d1921 1
a1921 1
                                      
d1923 1
a1923 1
     
d1926 2
a1927 2
   
Migration to version 7.2.1
d1931 2
a1932 2
   
Changes
d1956 1
a1956 1
   
d1958 1
a1958 1
                                      
d1961 2
a1962 2
   
Overview
d1965 1
a1965 1
   
d1967 1
a1967 1
   
d1973 1
a1973 1
          
d1977 1
a1977 1
          
d1981 1
a1981 1
          
d1985 1
a1985 1
          
d1990 1
a1990 1
          
d1994 1
a1994 1
          
d1999 2
a2000 2
   
Migration to version 7.2
d2004 1
a2004 1
   
d2006 1
a2006 1
   
d2023 1
a2023 1
       
d2028 2
a2029 2
   
Changes
d2055 1
a2055 1
   
d2069 1
a2069 1
   
d2082 1
a2082 1
   
d2096 1
a2096 1
   
d2108 1
a2108 1
   
d2123 1
a2123 1
   
d2153 1
a2153 1
   
d2169 1
a2169 1
   
d2222 1
a2222 1
   
d2238 1
a2238 1
   
d2255 1
a2255 1
   
d2262 1
a2262 1
   
d2268 1
a2268 1
   
d2273 1
a2273 1
   
d2285 1
a2285 1
   
d2293 1
a2293 1
   
d2331 1
a2331 1
   
d2345 1
a2345 1
   
d2360 1
a2360 1
   
d2370 1
a2370 1
   
d2390 1
a2390 1
   
d2406 1
a2406 1
   
d2422 1
a2422 1
   
d2424 1
a2424 1
                                      
d2427 2
a2428 2
   
Migration to version 7.1.3
d2432 2
a2433 2
   
Changes
d2447 1
a2447 1
   
d2449 1
a2449 1
                                      
d2451 1
a2451 1
     
d2454 2
a2455 2
   
Migration to version 7.1.2
d2459 2
a2460 2
   
Changes
d2469 1
a2469 1
   
d2471 1
a2471 1
                                      
d2473 1
a2473 1
     
d2476 2
a2477 2
   
Migration to version 7.1.1
d2481 2
a2482 2
   
Changes
d2500 1
a2500 1
   
d2502 1
a2502 1
                                      
d2504 1
a2504 1
     
d2507 1
a2507 1
   
d2509 1
a2509 1
   
d2518 1
a2518 1
          
d2524 1
a2524 1
          
d2529 1
a2529 1
          
d2536 1
a2536 1
          
d2544 2
a2545 2
   
Migration to version 7.1
d2550 2
a2551 2
   
Changes
d2740 1
a2740 1
   
d2742 1
a2742 1
                                      
d2744 1
a2744 1
     
d2747 2
a2748 2
   
Migration to version 7.0.3
d2752 2
a2753 2
   
Changes
d2796 1
a2796 1
   
d2798 1
a2798 1
                                      
d2800 1
a2800 1
     
d2803 2
a2804 2
   
Migration to version 7.0.2
d2808 2
a2809 2
   
Changes
d2814 1
a2814 1
   
d2816 1
a2816 1
                                      
d2818 1
a2818 1
     
d2821 2
a2822 2
   
Migration to version 7.0.1
d2826 2
a2827 2
   
Changes
d2855 1
a2855 1
   
d2857 1
a2857 1
                                      
d2859 1
a2859 1
     
d2865 1
a2865 1
   
d2867 1
a2867 1
   
d2872 1
a2872 1
          
d2877 1
a2877 1
          
d2881 1
a2881 1
          
d2887 2
a2888 2
   
Migration to version 7.0
d2895 1
a2895 1
   
d2898 1
a2898 1
   
d2918 2
a2919 2
   
Changes
d3243 1
a3243 1
   
d3245 1
a3245 1
                                      
d3247 1
a3247 1
     
d3251 2
a3252 2
   
Migration to version 6.5.3
d3256 2
a3257 2
   
Changes
d3264 1
a3264 1
   
d3266 1
a3266 1
                                      
d3268 1
a3268 1
     
d3272 2
a3273 2
   
Migration to version 6.5.2
d3277 2
a3278 2
   
Changes
d3308 1
a3308 1
   
d3310 1
a3310 1
                                      
d3312 1
a3312 1
     
d3316 2
a3317 2
   
Migration to version 6.5.1
d3321 2
a3322 2
   
Changes
d3349 1
a3349 1
   
d3351 1
a3351 1
                                      
d3353 1
a3353 1
     
d3358 1
a3358 1
   
d3360 1
a3360 1
   
d3374 1
a3374 1
          
d3379 1
a3379 1
          
d3383 1
a3383 1
          
d3387 1
a3387 1
          
d3392 1
a3392 1
          
d3397 1
a3397 1
          
d3401 1
a3401 1
          
d3405 1
a3405 1
          
d3419 2
a3420 2
   
Migration to version 6.5
d3426 1
a3426 1
   
d3432 1
a3432 1
   
d3442 1
a3442 1
   
d3448 1
a3448 1
   
d3455 1
a3455 1
   
d3460 1
a3460 1
     
d3465 2
a3466 2
   
Changes
d3634 1
a3634 1
   
d3636 1
a3636 1
                                      
d3638 1
a3638 1
     
d3642 2
a3643 2
   
Migration to version 6.4.2
d3647 2
a3648 2
   
Changes
d3652 1
a3652 1
   
d3654 1
a3654 1
                                      
d3656 1
a3656 1
     
d3660 2
a3661 2
   
Migration to version 6.4.1
d3665 2
a3666 2
   
Changes
d3699 1
a3699 1
   
d3701 1
a3701 1
                                      
d3703 1
a3703 1
     
d3708 1
a3708 1
   
d3738 2
a3739 2
   
Migration to version 6.4
d3744 2
a3745 2
   
Changes
d3943 1
a3943 1
   
d3945 1
a3945 1
                                      
d3947 1
a3947 1
     
d3950 1
a3950 1
   
d3952 1
a3952 1
   
d3958 1
a3958 1
       
d3963 1
a3963 1
   
d3967 2
a3968 2
   
Changes
d3990 1
a3990 1
   
d3992 1
a3992 1
                                      
d3994 1
a3994 1
     
d3996 1
a3996 1
   
d4001 1
a4001 1
       
d4006 1
a4006 1
   
d4010 2
a4011 2
   
Changes
d4042 1
a4042 1
   
d4044 1
a4044 1
                                      
d4046 1
a4046 1
     
d4049 1
a4049 1
   
d4060 1
a4060 1
       
d4063 1
a4063 1
     
d4067 1
a4067 1
   
d4076 1
a4076 1
   
d4081 1
a4081 1
   
d4089 1
a4089 1
   
d4097 1
a4097 1
   
d4102 1
a4102 1
   
d4106 1
a4106 1
   
d4110 1
a4110 1
   
d4117 1
a4117 1
   
d4123 2
a4124 2
   
Migration to version 6.3
d4129 2
a4130 2
   
Changes
d4300 1
a4300 1
   
d4302 1
a4302 1
                                      
d4304 1
a4304 1
     
d4306 1
a4306 1
   
d4308 1
a4308 1
   
d4312 1
a4312 1
       
d4317 2
a4318 2
   
Migration from version 6.2 to version 6.2.1
d4322 1
a4322 1
   
d4326 1
a4326 1
   
d4335 2
a4336 2
   
Changes
d4351 1
a4351 1
   
d4353 1
a4353 1
                                      
d4355 1
a4355 1
     
d4359 2
a4360 2
   
Migration from version 6.1 to version 6.2
d4364 1
a4364 1
   
d4368 2
a4369 2
   
Migration from version 1.x to version 6.2
d4374 2
a4375 2
   
Changes
d4490 1
a4490 1
   
d4492 1
a4492 1
                                      
d4495 2
a4496 2
   
Migration from version 6.1 to version 6.1.1
d4502 2
a4503 2
   
Changes
d4524 1
a4524 1
   
d4526 1
a4526 1
                                      
d4528 1
a4528 1
     
d4531 1
a4531 1
   
d4537 1
a4537 1
   
d4548 1
a4548 1
   
d4553 1
a4553 1
   
d4557 1
a4557 1
   
d4563 2
a4564 2
   
Migration to version 6.1
d4568 1
a4568 1
   
d4572 2
a4573 2
   
Changes
d4670 1
a4670 1
   
d4672 1
a4672 1
                                      
d4674 1
a4674 1
     
d4678 2
a4679 2
   
Migration from version 1.09 to version 6.0
d4684 2
a4685 2
   
Migration from pre-1.09 to version 6.0
d4690 2
a4691 2
   
Changes
d4799 1
a4799 1
   
d4801 1
a4801 1
                                      
d4803 1
a4803 1
     
d4808 1
a4808 1
   
d4810 1
a4810 1
                                      
d4813 2
a4814 2
   
Migration from version 1.02 to version 1.02.1
d4818 1
a4818 1
   
d4822 1
a4822 1
     
d4825 1
a4825 1
     
d4841 2
a4842 2
   
Dump/Reload Procedure
d4865 2
a4866 2
   
Changes
d4894 1
a4894 1
   
d4896 1
a4896 1
                                      
d4899 2
a4900 2
   
Migration from version 1.0 to version 1.01
d4904 1
a4904 1
   
d4907 1
a4907 1
   
d4989 2
a4990 2
   
Changes
d5025 1
a5025 1
   
d5027 1
a5027 1
                                      
d5030 2
a5031 2
   
Changes
d5073 1
a5073 1
   
d5075 1
a5075 1
                                      
d5078 2
a5079 2
   
Changes
d5187 1
a5187 1
   
d5189 1
a5189 1
                                      
d5192 2
a5193 2
   
Changes
d5229 1
a5229 1
   
d5231 1
a5231 1
                                      
d5233 1
a5233 1
     
@


1.239
log
@Update release notes for 7.3.6.
@
text
@d3 42
a44 1

d46 1
a46 1

d48 1
a48 1

d51 2
a52 2

                         Migration to version 7.4.1
d55 1
a55 1

d66 2
a67 2

                                  Changes
d124 1
a124 1

d126 1
a126 1

d129 2
a130 2

                                  Overview
d133 1
a133 1

d142 1
a142 1

d149 1
a149 1

d153 1
a153 1

d160 1
a160 1

d166 1
a166 1

d172 1
a172 1

d177 1
a177 1

d181 1
a181 1

d189 1
a189 1

d194 1
a194 1

d198 1
a198 1

d201 1
a201 1

d209 1
a209 1

d216 1
a216 1

d220 1
a220 1

d225 1
a225 1

d230 2
a231 2

                          Migration to version 7.4
d235 1
a235 1

d237 1
a237 1

d294 2
a295 2

                                  Changes
d300 1
a300 1

d348 1
a348 1

d409 1
a409 1

d475 1
a475 1

d507 1
a507 1

d545 1
a545 1

d615 1
a615 1

d694 1
a694 1

d721 1
a721 1

d748 1
a748 1

d771 1
a771 1

d805 1
a805 1

d814 1
a814 1

d830 1
a830 1

d861 1
a861 1

d890 1
a890 1

d892 1
a892 1

d894 1
a894 1

d897 2
a898 2

                         Migration to version 7.3.6
d902 2
a903 2

                                  Changes
d933 1
a933 1

d935 1
a935 1

d937 1
a937 1

d940 2
a941 2

                         Migration to version 7.3.5
d945 2
a946 2

                                  Changes
d980 1
a980 1

d982 1
a982 1

d984 1
a984 1

d987 2
a988 2

                         Migration to version 7.3.4
d992 2
a993 2

                                  Changes
d1007 1
a1007 1

d1009 1
a1009 1

d1011 1
a1011 1

d1014 2
a1015 2

                         Migration to version 7.3.3
d1019 2
a1020 2

                                  Changes
d1130 1
a1130 1

d1132 1
a1132 1

d1134 1
a1134 1

d1137 2
a1138 2

                         Migration to version 7.3.2
d1142 2
a1143 2

                                  Changes
d1186 1
a1186 1

d1188 1
a1188 1

d1190 1
a1190 1

d1193 2
a1194 2

                         Migration to version 7.3.1
d1201 2
a1202 2

                                  Changes
d1224 1
a1224 1

d1226 1
a1226 1

d1229 2
a1230 2

                                  Overview
d1233 1
a1233 1

d1240 1
a1240 1

d1244 1
a1244 1

d1250 1
a1250 1

d1254 1
a1254 1

d1260 1
a1260 1

d1265 1
a1265 1

d1268 1
a1268 1

d1271 1
a1271 1

d1276 1
a1276 1

d1284 2
a1285 2

                          Migration to version 7.3
d1292 1
a1292 1

d1294 1
a1294 1

d1319 2
a1320 2

                                  Changes
d1331 1
a1331 1

d1359 1
a1359 1

d1371 1
a1371 1

d1401 1
a1401 1

d1428 1
a1428 1

d1468 1
a1468 1

d1518 1
a1518 1

d1578 1
a1578 1

d1599 1
a1599 1

d1612 1
a1612 1

d1628 1
a1628 1

d1643 1
a1643 1

d1659 1
a1659 1

d1680 1
a1680 1

d1742 1
a1742 1

d1769 1
a1769 1

d1771 1
a1771 1

d1773 1
a1773 1

d1777 2
a1778 2

                         Migration to version 7.2.4
d1782 2
a1783 2

                                  Changes
d1800 1
a1800 1

d1802 1
a1802 1

d1804 1
a1804 1

d1808 2
a1809 2

                         Migration to version 7.2.3
d1813 2
a1814 2

                                  Changes
d1824 1
a1824 1

d1826 1
a1826 1

d1828 1
a1828 1

d1831 2
a1832 2

                         Migration to version 7.2.2
d1836 2
a1837 2

                                  Changes
d1855 1
a1855 1

d1857 1
a1857 1

d1859 1
a1859 1

d1862 2
a1863 2

                         Migration to version 7.2.1
d1867 2
a1868 2

                                  Changes
d1892 1
a1892 1

d1894 1
a1894 1

d1897 2
a1898 2

                                  Overview
d1901 1
a1901 1

d1903 1
a1903 1

d1909 1
a1909 1

d1913 1
a1913 1

d1917 1
a1917 1

d1921 1
a1921 1

d1926 1
a1926 1

d1930 1
a1930 1

d1935 2
a1936 2

                          Migration to version 7.2
d1940 1
a1940 1

d1942 1
a1942 1

d1959 1
a1959 1

d1964 2
a1965 2

                                  Changes
d1991 1
a1991 1

d2005 1
a2005 1

d2018 1
a2018 1

d2032 1
a2032 1

d2044 1
a2044 1

d2059 1
a2059 1

d2089 1
a2089 1

d2105 1
a2105 1

d2158 1
a2158 1

d2174 1
a2174 1

d2191 1
a2191 1

d2198 1
a2198 1

d2204 1
a2204 1

d2209 1
a2209 1

d2221 1
a2221 1

d2229 1
a2229 1

d2267 1
a2267 1

d2281 1
a2281 1

d2296 1
a2296 1

d2306 1
a2306 1

d2326 1
a2326 1

d2342 1
a2342 1

d2358 1
a2358 1

d2360 1
a2360 1

d2363 2
a2364 2

                         Migration to version 7.1.3
d2368 2
a2369 2

                                  Changes
d2383 1
a2383 1

d2385 1
a2385 1

d2387 1
a2387 1

d2390 2
a2391 2

                         Migration to version 7.1.2
d2395 2
a2396 2

                                  Changes
d2405 1
a2405 1

d2407 1
a2407 1

d2409 1
a2409 1

d2412 2
a2413 2

                         Migration to version 7.1.1
d2417 2
a2418 2

                                  Changes
d2436 1
a2436 1

d2438 1
a2438 1

d2440 1
a2440 1

d2443 1
a2443 1

d2445 1
a2445 1

d2454 1
a2454 1

d2460 1
a2460 1

d2465 1
a2465 1

d2472 1
a2472 1

d2480 2
a2481 2

                          Migration to version 7.1
d2486 2
a2487 2

                                  Changes
d2676 1
a2676 1

d2678 1
a2678 1

d2680 1
a2680 1

d2683 2
a2684 2

                         Migration to version 7.0.3
d2688 2
a2689 2

                                  Changes
d2732 1
a2732 1

d2734 1
a2734 1

d2736 1
a2736 1

d2739 2
a2740 2

                         Migration to version 7.0.2
d2744 2
a2745 2

                                  Changes
d2750 1
a2750 1

d2752 1
a2752 1

d2754 1
a2754 1

d2757 2
a2758 2

                         Migration to version 7.0.1
d2762 2
a2763 2

                                  Changes
d2791 1
a2791 1

d2793 1
a2793 1

d2795 1
a2795 1

d2801 1
a2801 1

d2803 1
a2803 1

d2808 1
a2808 1

d2813 1
a2813 1

d2817 1
a2817 1

d2823 2
a2824 2

                          Migration to version 7.0
d2831 1
a2831 1

d2834 1
a2834 1

d2854 2
a2855 2

                                  Changes
d3179 1
a3179 1

d3181 1
a3181 1

d3183 1
a3183 1

d3187 2
a3188 2

                         Migration to version 6.5.3
d3192 2
a3193 2

                                  Changes
d3200 1
a3200 1

d3202 1
a3202 1

d3204 1
a3204 1

d3208 2
a3209 2

                         Migration to version 6.5.2
d3213 2
a3214 2

                                  Changes
d3244 1
a3244 1

d3246 1
a3246 1

d3248 1
a3248 1

d3252 2
a3253 2

                         Migration to version 6.5.1
d3257 2
a3258 2

                                  Changes
d3285 1
a3285 1

d3287 1
a3287 1

d3289 1
a3289 1

d3294 1
a3294 1

d3296 1
a3296 1

d3310 1
a3310 1

d3315 1
a3315 1

d3319 1
a3319 1

d3323 1
a3323 1

d3328 1
a3328 1

d3333 1
a3333 1

d3337 1
a3337 1

d3341 1
a3341 1

d3355 2
a3356 2

                          Migration to version 6.5
d3362 1
a3362 1

d3368 1
a3368 1

d3378 1
a3378 1

d3384 1
a3384 1

d3391 1
a3391 1

d3396 1
a3396 1

d3401 2
a3402 2

                                  Changes
d3570 1
a3570 1

d3572 1
a3572 1

d3574 1
a3574 1

d3578 2
a3579 2

                         Migration to version 6.4.2
d3583 2
a3584 2

                                  Changes
d3588 1
a3588 1

d3590 1
a3590 1

d3592 1
a3592 1

d3596 2
a3597 2

                         Migration to version 6.4.1
d3601 2
a3602 2

                                  Changes
d3635 1
a3635 1

d3637 1
a3637 1

d3639 1
a3639 1

d3644 1
a3644 1

d3674 2
a3675 2

                          Migration to version 6.4
d3680 2
a3681 2

                                  Changes
d3879 1
a3879 1

d3881 1
a3881 1

d3883 1
a3883 1

d3886 1
a3886 1

d3888 1
a3888 1

d3894 1
a3894 1

d3899 1
a3899 1

d3903 2
a3904 2

                                  Changes
d3926 1
a3926 1

d3928 1
a3928 1

d3930 1
a3930 1

d3932 1
a3932 1

d3937 1
a3937 1

d3942 1
a3942 1

d3946 2
a3947 2

                                  Changes
d3978 1
a3978 1

d3980 1
a3980 1

d3982 1
a3982 1

d3985 1
a3985 1

d3996 1
a3996 1

d3999 1
a3999 1

d4003 1
a4003 1

d4012 1
a4012 1

d4017 1
a4017 1

d4025 1
a4025 1

d4033 1
a4033 1

d4038 1
a4038 1

d4042 1
a4042 1

d4046 1
a4046 1

d4053 1
a4053 1

d4059 2
a4060 2

                          Migration to version 6.3
d4065 2
a4066 2

                                  Changes
d4236 1
a4236 1

d4238 1
a4238 1

d4240 1
a4240 1

d4242 1
a4242 1

d4244 1
a4244 1

d4248 1
a4248 1

d4253 2
a4254 2

                Migration from version 6.2 to version 6.2.1
d4258 1
a4258 1

d4262 1
a4262 1

d4271 2
a4272 2

                                  Changes
d4287 1
a4287 1

d4289 1
a4289 1

d4291 1
a4291 1

d4295 2
a4296 2

                 Migration from version 6.1 to version 6.2
d4300 1
a4300 1

d4304 2
a4305 2

                 Migration from version 1.x to version 6.2
d4310 2
a4311 2

                                  Changes
d4426 1
a4426 1

d4428 1
a4428 1

d4431 2
a4432 2

                Migration from version 6.1 to version 6.1.1
d4438 2
a4439 2

                                  Changes
d4460 1
a4460 1

d4462 1
a4462 1

d4464 1
a4464 1

d4467 1
a4467 1

d4473 1
a4473 1

d4484 1
a4484 1

d4489 1
a4489 1

d4493 1
a4493 1

d4499 2
a4500 2

                          Migration to version 6.1
d4504 1
a4504 1

d4508 2
a4509 2

                                  Changes
d4606 1
a4606 1

d4608 1
a4608 1

d4610 1
a4610 1

d4614 2
a4615 2

                 Migration from version 1.09 to version 6.0
d4620 2
a4621 2

                   Migration from pre-1.09 to version 6.0
d4626 2
a4627 2

                                  Changes
d4735 1
a4735 1

d4737 1
a4737 1

d4739 1
a4739 1

d4744 1
a4744 1

d4746 1
a4746 1

d4749 2
a4750 2

               Migration from version 1.02 to version 1.02.1
d4754 1
a4754 1

d4758 1
a4758 1

d4761 1
a4761 1

d4777 2
a4778 2

                           Dump/Reload Procedure
d4801 2
a4802 2

                                  Changes
d4830 1
a4830 1

d4832 1
a4832 1

d4835 2
a4836 2

                 Migration from version 1.0 to version 1.01
d4840 1
a4840 1

d4843 1
a4843 1

d4925 2
a4926 2

                                  Changes
d4961 1
a4961 1

d4963 1
a4963 1

d4966 2
a4967 2

                                  Changes
d5009 1
a5009 1

d5011 1
a5011 1

d5014 2
a5015 2

                                  Changes
d5123 1
a5123 1

d5125 1
a5125 1

d5128 2
a5129 2

                                  Changes
d5165 1
a5165 1

d5167 1
a5167 1

d5169 1
a5169 1

@


1.238
log
@Tom Lane wrote:
> momjian@@svr1.postgresql.org (Bruce Momjian) writes:
>>      someone asked me about the FK deadlock fix, mentioned in the 7.3.3
>>      release notes as 3rd change:
>>      http://www.postgresql.org/docs/current/static/release-7-3-3.html
>>      Actually, that fix was available with 7.4, not 7.3. Don't know if we can
>>      retroactively change the release-notes though.
>
> This is completely erroneous, please undo it.
>
> 2003-05-21 14:14  tgl
>
>       * src/: backend/utils/adt/ri_triggers.c,
>       test/regress/expected/foreign_key.out (REL7_3_STABLE): Back-patch
>       Jan's fix to avoid primary key lookup (and lock) if foreign key
>       does not change on UPDATE.

Oh ... didn't know that you did a backpatch. Sorry


Jan
@
text
@d3 1
a3 1
                                      
d5 1
a5 1
                                      
d7 1
a7 1
     
d10 2
a11 2
   
Migration to version 7.4.1
d14 1
a14 1
   
d25 2
a26 2
   
Changes
d83 1
a83 1
   
d85 1
a85 1
                                      
d88 2
a89 2
   
Overview
d92 1
a92 1
   
d101 1
a101 1
          
d108 1
a108 1
          
d112 1
a112 1
          
d119 1
a119 1
          
d125 1
a125 1
          
d131 1
a131 1
          
d136 1
a136 1
          
d140 1
a140 1
          
d148 1
a148 1
          
d153 1
a153 1
          
d157 1
a157 1
          
d160 1
a160 1
          
d168 1
a168 1
          
d175 1
a175 1
          
d179 1
a179 1
          
d184 1
a184 1
          
d189 2
a190 2
   
Migration to version 7.4
d194 1
a194 1
   
d196 1
a196 1
   
d253 2
a254 2
   
Changes
d259 1
a259 1
   
d307 1
a307 1
   
d368 1
a368 1
   
d434 1
a434 1
   
d466 1
a466 1
   
d504 1
a504 1
   
d574 1
a574 1
   
d653 1
a653 1
   
d680 1
a680 1
   
d707 1
a707 1
   
d730 1
a730 1
   
d764 1
a764 1
   
d773 1
a773 1
   
d789 1
a789 1
   
d820 1
a820 1
   
d849 44
a892 1
   
d894 1
a894 1
                                      
d896 1
a896 1
     
d899 2
a900 2
   
Migration to version 7.3.5
d904 2
a905 2
   
Changes
d939 1
a939 1
   
d941 1
a941 1
                                      
d943 1
a943 1
     
d946 2
a947 2
   
Migration to version 7.3.4
d951 2
a952 2
   
Changes
d966 1
a966 1
   
d968 1
a968 1
                                      
d970 2
a971 2
     
   This release contains of variety of fixes for version 7.3.2.
d973 2
a974 2
   
Migration to version 7.3.3
d978 2
a979 2
   
Changes
d1089 1
a1089 1
   
d1091 1
a1091 1
                                      
d1093 1
a1093 1
     
d1096 2
a1097 2
   
Migration to version 7.3.2
d1101 2
a1102 2
   
Changes
d1145 1
a1145 1
   
d1147 1
a1147 1
                                      
d1149 1
a1149 1
     
d1152 2
a1153 2
   
Migration to version 7.3.1
d1160 2
a1161 2
   
Changes
d1183 1
a1183 1
   
d1185 1
a1185 1
                                      
d1188 2
a1189 2
   
Overview
d1192 1
a1192 1
   
d1199 1
a1199 1
          
d1203 1
a1203 1
          
d1209 1
a1209 1
          
d1213 1
a1213 1
          
d1219 1
a1219 1
          
d1224 1
a1224 1
          
d1227 1
a1227 1
          
d1230 1
a1230 1
          
d1235 1
a1235 1
          
d1243 2
a1244 2
   
Migration to version 7.3
d1251 1
a1251 1
   
d1253 1
a1253 1
   
d1278 2
a1279 2
   
Changes
d1290 1
a1290 1
   
d1318 1
a1318 1
   
d1330 1
a1330 1
   
d1360 1
a1360 1
   
d1387 1
a1387 1
   
d1427 1
a1427 1
   
d1477 1
a1477 1
   
d1537 1
a1537 1
   
d1558 1
a1558 1
   
d1571 1
a1571 1
   
d1587 1
a1587 1
   
d1602 1
a1602 1
   
d1618 1
a1618 1
   
d1639 1
a1639 1
   
d1701 1
a1701 1
   
d1728 1
a1728 1
   
d1730 1
a1730 1
                                      
d1732 1
a1732 1
     
d1736 2
a1737 2
   
Migration to version 7.2.4
d1741 2
a1742 2
   
Changes
d1759 1
a1759 1
   
d1761 1
a1761 1
                                      
d1763 1
a1763 1
     
d1767 2
a1768 2
   
Migration to version 7.2.3
d1772 2
a1773 2
   
Changes
d1783 1
a1783 1
   
d1785 1
a1785 1
                                      
d1787 1
a1787 1
     
d1790 2
a1791 2
   
Migration to version 7.2.2
d1795 2
a1796 2
   
Changes
d1814 1
a1814 1
   
d1816 1
a1816 1
                                      
d1818 1
a1818 1
     
d1821 2
a1822 2
   
Migration to version 7.2.1
d1826 2
a1827 2
   
Changes
d1851 1
a1851 1
   
d1853 1
a1853 1
                                      
d1856 2
a1857 2
   
Overview
d1860 1
a1860 1
   
d1862 1
a1862 1
   
d1868 1
a1868 1
          
d1872 1
a1872 1
          
d1876 1
a1876 1
          
d1880 1
a1880 1
          
d1885 1
a1885 1
          
d1889 1
a1889 1
          
d1894 2
a1895 2
   
Migration to version 7.2
d1899 1
a1899 1
   
d1901 1
a1901 1
   
d1918 1
a1918 1
       
d1923 2
a1924 2
   
Changes
d1950 1
a1950 1
   
d1964 1
a1964 1
   
d1977 1
a1977 1
   
d1991 1
a1991 1
   
d2003 1
a2003 1
   
d2018 1
a2018 1
   
d2048 1
a2048 1
   
d2064 1
a2064 1
   
d2117 1
a2117 1
   
d2133 1
a2133 1
   
d2150 1
a2150 1
   
d2157 1
a2157 1
   
d2163 1
a2163 1
   
d2168 1
a2168 1
   
d2180 1
a2180 1
   
d2188 1
a2188 1
   
d2226 1
a2226 1
   
d2240 1
a2240 1
   
d2255 1
a2255 1
   
d2265 1
a2265 1
   
d2285 1
a2285 1
   
d2301 1
a2301 1
   
d2317 1
a2317 1
   
d2319 1
a2319 1
                                      
d2322 2
a2323 2
   
Migration to version 7.1.3
d2327 2
a2328 2
   
Changes
d2342 1
a2342 1
   
d2344 1
a2344 1
                                      
d2346 1
a2346 1
     
d2349 2
a2350 2
   
Migration to version 7.1.2
d2354 2
a2355 2
   
Changes
d2364 1
a2364 1
   
d2366 1
a2366 1
                                      
d2368 1
a2368 1
     
d2371 2
a2372 2
   
Migration to version 7.1.1
d2376 2
a2377 2
   
Changes
d2395 1
a2395 1
   
d2397 1
a2397 1
                                      
d2399 1
a2399 1
     
d2402 1
a2402 1
   
d2404 1
a2404 1
   
d2413 1
a2413 1
          
d2419 1
a2419 1
          
d2424 1
a2424 1
          
d2431 1
a2431 1
          
d2439 2
a2440 2
   
Migration to version 7.1
d2445 2
a2446 2
   
Changes
d2635 1
a2635 1
   
d2637 1
a2637 1
                                      
d2639 1
a2639 1
     
d2642 2
a2643 2
   
Migration to version 7.0.3
d2647 2
a2648 2
   
Changes
d2691 1
a2691 1
   
d2693 1
a2693 1
                                      
d2695 1
a2695 1
     
d2698 2
a2699 2
   
Migration to version 7.0.2
d2703 2
a2704 2
   
Changes
d2709 1
a2709 1
   
d2711 1
a2711 1
                                      
d2713 1
a2713 1
     
d2716 2
a2717 2
   
Migration to version 7.0.1
d2721 2
a2722 2
   
Changes
d2750 1
a2750 1
   
d2752 1
a2752 1
                                      
d2754 1
a2754 1
     
d2760 1
a2760 1
   
d2762 1
a2762 1
   
d2767 1
a2767 1
          
d2772 1
a2772 1
          
d2776 1
a2776 1
          
d2782 2
a2783 2
   
Migration to version 7.0
d2790 1
a2790 1
   
d2793 1
a2793 1
   
d2813 2
a2814 2
   
Changes
d3138 1
a3138 1
   
d3140 1
a3140 1
                                      
d3142 1
a3142 1
     
d3146 2
a3147 2
   
Migration to version 6.5.3
d3151 2
a3152 2
   
Changes
d3159 1
a3159 1
   
d3161 1
a3161 1
                                      
d3163 1
a3163 1
     
d3167 2
a3168 2
   
Migration to version 6.5.2
d3172 2
a3173 2
   
Changes
d3203 1
a3203 1
   
d3205 1
a3205 1
                                      
d3207 1
a3207 1
     
d3211 2
a3212 2
   
Migration to version 6.5.1
d3216 2
a3217 2
   
Changes
d3244 1
a3244 1
   
d3246 1
a3246 1
                                      
d3248 1
a3248 1
     
d3253 1
a3253 1
   
d3255 1
a3255 1
   
d3269 1
a3269 1
          
d3274 1
a3274 1
          
d3278 1
a3278 1
          
d3282 1
a3282 1
          
d3287 1
a3287 1
          
d3292 1
a3292 1
          
d3296 1
a3296 1
          
d3300 1
a3300 1
          
d3314 2
a3315 2
   
Migration to version 6.5
d3321 1
a3321 1
   
d3327 1
a3327 1
   
d3337 1
a3337 1
   
d3343 1
a3343 1
   
d3350 1
a3350 1
   
d3355 1
a3355 1
     
d3360 2
a3361 2
   
Changes
d3529 1
a3529 1
   
d3531 1
a3531 1
                                      
d3533 1
a3533 1
     
d3537 2
a3538 2
   
Migration to version 6.4.2
d3542 2
a3543 2
   
Changes
d3547 1
a3547 1
   
d3549 1
a3549 1
                                      
d3551 1
a3551 1
     
d3555 2
a3556 2
   
Migration to version 6.4.1
d3560 2
a3561 2
   
Changes
d3594 1
a3594 1
   
d3596 1
a3596 1
                                      
d3598 1
a3598 1
     
d3603 1
a3603 1
   
d3633 2
a3634 2
   
Migration to version 6.4
d3639 2
a3640 2
   
Changes
d3838 1
a3838 1
   
d3840 1
a3840 1
                                      
d3842 1
a3842 1
     
d3845 1
a3845 1
   
d3847 1
a3847 1
   
d3853 1
a3853 1
       
d3858 1
a3858 1
   
d3862 2
a3863 2
   
Changes
d3885 1
a3885 1
   
d3887 1
a3887 1
                                      
d3889 1
a3889 1
     
d3891 1
a3891 1
   
d3896 1
a3896 1
       
d3901 1
a3901 1
   
d3905 2
a3906 2
   
Changes
d3937 1
a3937 1
   
d3939 1
a3939 1
                                      
d3941 1
a3941 1
     
d3944 1
a3944 1
   
d3955 1
a3955 1
       
d3958 1
a3958 1
     
d3962 1
a3962 1
   
d3971 1
a3971 1
   
d3976 1
a3976 1
   
d3984 1
a3984 1
   
d3992 1
a3992 1
   
d3997 1
a3997 1
   
d4001 1
a4001 1
   
d4005 1
a4005 1
   
d4012 1
a4012 1
   
d4018 2
a4019 2
   
Migration to version 6.3
d4024 2
a4025 2
   
Changes
d4195 1
a4195 1
   
d4197 1
a4197 1
                                      
d4199 1
a4199 1
     
d4201 1
a4201 1
   
d4203 1
a4203 1
   
d4207 1
a4207 1
       
d4212 2
a4213 2
   
Migration from version 6.2 to version 6.2.1
d4217 1
a4217 1
   
d4221 1
a4221 1
   
d4230 2
a4231 2
   
Changes
d4246 1
a4246 1
   
d4248 1
a4248 1
                                      
d4250 1
a4250 1
     
d4254 2
a4255 2
   
Migration from version 6.1 to version 6.2
d4259 1
a4259 1
   
d4263 2
a4264 2
   
Migration from version 1.x to version 6.2
d4269 2
a4270 2
   
Changes
d4385 1
a4385 1
   
d4387 1
a4387 1
                                      
d4390 2
a4391 2
   
Migration from version 6.1 to version 6.1.1
d4397 2
a4398 2
   
Changes
d4419 1
a4419 1
   
d4421 1
a4421 1
                                      
d4423 1
a4423 1
     
d4426 1
a4426 1
   
d4432 1
a4432 1
   
d4443 1
a4443 1
   
d4448 1
a4448 1
   
d4452 1
a4452 1
   
d4458 2
a4459 2
   
Migration to version 6.1
d4463 1
a4463 1
   
d4467 2
a4468 2
   
Changes
d4565 1
a4565 1
   
d4567 1
a4567 1
                                      
d4569 1
a4569 1
     
d4573 2
a4574 2
   
Migration from version 1.09 to version 6.0
d4579 2
a4580 2
   
Migration from pre-1.09 to version 6.0
d4585 2
a4586 2
   
Changes
d4694 1
a4694 1
   
d4696 1
a4696 1
                                      
d4698 1
a4698 1
     
d4703 1
a4703 1
   
d4705 1
a4705 1
                                      
d4708 2
a4709 2
   
Migration from version 1.02 to version 1.02.1
d4713 1
a4713 1
   
d4717 1
a4717 1
     
d4720 1
a4720 1
     
d4736 2
a4737 2
   
Dump/Reload Procedure
d4760 2
a4761 2
   
Changes
d4789 1
a4789 1
   
d4791 1
a4791 1
                                      
d4794 2
a4795 2
   
Migration from version 1.0 to version 1.01
d4799 1
a4799 1
   
d4802 1
a4802 1
   
d4884 2
a4885 2
   
Changes
d4920 1
a4920 1
   
d4922 1
a4922 1
                                      
d4925 2
a4926 2
   
Changes
d4968 1
a4968 1
   
d4970 1
a4970 1
                                      
d4973 2
a4974 2
   
Changes
d5082 1
a5082 1
   
d5084 1
a5084 1
                                      
d5087 2
a5088 2
   
Changes
d5124 1
a5124 1
   
d5126 1
a5126 1
                                      
d5128 1
a5128 1
     
@


1.237
log
@Jan:

someone asked me about the FK deadlock fix, mentioned in the 7.3.3
release notes as 3rd change:

     http://www.postgresql.org/docs/current/static/release-7-3-3.html

Actually, that fix was available with 7.4, not 7.3. Don't know if we can
retroactively change the release-notes though.
@
text
@a464 2
     * Don't lock referenced row when "UPDATE" doesn't change foreign
       key's value (Jan)
d941 2
@


1.236
log
@Regenerate HISTORY for release.
@
text
@d465 2
a942 2
     * Don't lock referenced row when "UPDATE" doesn't change foreign
       key's value (Jan)
@


1.235
log
@Update 7.4.1 release notes in preparation for release.
@
text
@d6 1
a6 1
     Release date: 2003-12-15
d8 1
a8 1
   This has a variety of fixes from 7.4.
d11 1
a11 1
Migration to version 7.4
d65 3
a67 3
     * Fix information schema constraint_column_usage for foreign keys
       (Peter)
     * Ecpg fixes (Michael)
d71 5
a75 5
     * Install Informix ecpg include files into separate /informix
       directory (Peter)
       Some Informix ecpg include file names conflicted with operating
       system include files. By installing them in their own directory,
       name conflicts have been reduced.
d79 3
a81 3
     * Prevent pg_service.conf from using service name as default dbname
       (Bruce)
     * Fix local 'ident' on FreeBSD (Tom)
@


1.234
log
@Update HISTORY file for 7.4.1.
@
text
@a27 2
   Changes as of 2003-12-14
   
d64 18
@


1.233
log
@Restore information schema upgrade instructions of Peter.
@
text
@d15 5
a19 6
   If you want to install the fixes in the information schema concerning
   the bit types, you need to reload the information schema. This is
   either accomplished by initializing a new cluster by running "initdb",
   or by running the following sequence of SQL commands in each database
   (ideally including template1) as a superuser in psql, after installing
   the new release:
d30 3
a32 3
     * Fixed bug in CREATE SCHEMA parsing (Michael)
     * Fix --enable-thread-safety compile error when used with
       --with-perl (Peter)
d44 1
a44 1
     * Several /contrib/pg_autovacuum fixes
d46 1
a46 1
       after TRUNCATE, and duration computation overflow for long
d48 1
a48 1
     * Allow compile of /contrib/cube under Cygwin (Jason Tishler)
d54 1
a54 1
     * Fix for index bytea lookups (Joe)
a55 1
       To enable this fix, an initdb is required.
@


1.232
log
@Update HISTORY and release notes for 7.4.1.
@
text
@d14 11
@


1.231
log
@Change "IN/NOT IN" to "IN / NOT IN" for clarity, both branches.
@
text
@d4 55
d64 2
a65 2
                                  Overview
                                      
d165 2
a166 2
                          Migration to version 7.4
                                      
d229 2
a230 2
                                  Changes
                                      
d592 1
a592 1
     * Disallow invalid time zone names (Tom)
d644 1
a644 1
     * Allow polymorphic PL/pgSQL functions (Tom, Joe)
d825 47
d879 2
a880 2
                         Migration to version 7.3.4
                                      
d884 2
a885 2
                                  Changes
                                      
d906 2
a907 2
                         Migration to version 7.3.3
                                      
d911 2
a912 2
                                  Changes
                                      
d1029 2
a1030 2
                         Migration to version 7.3.2
                                      
d1034 2
a1035 2
                                  Changes
                                      
d1085 2
a1086 2
                         Migration to version 7.3.1
                                      
d1093 2
a1094 2
                                  Changes
                                      
d1121 2
a1122 2
                                  Overview
                                      
d1176 2
a1177 2
                          Migration to version 7.3
                                      
d1211 2
a1212 2
                                  Changes
                                      
d1669 2
a1670 2
                         Migration to version 7.2.4
                                      
d1674 2
a1675 2
                                  Changes
                                      
d1700 2
a1701 2
                         Migration to version 7.2.3
                                      
d1705 2
a1706 2
                                  Changes
                                      
d1723 2
a1724 2
                         Migration to version 7.2.2
                                      
d1728 2
a1729 2
                                  Changes
                                      
d1754 2
a1755 2
                         Migration to version 7.2.1
                                      
d1759 2
a1760 2
                                  Changes
                                      
d1789 2
a1790 2
                                  Overview
                                      
d1827 2
a1828 2
                          Migration to version 7.2
                                      
d1856 2
a1857 2
                                  Changes
                                      
d2255 2
a2256 2
                         Migration to version 7.1.3
                                      
d2260 2
a2261 2
                                  Changes
                                      
d2282 2
a2283 2
                         Migration to version 7.1.2
                                      
d2287 2
a2288 2
                                  Changes
                                      
d2304 2
a2305 2
                         Migration to version 7.1.1
                                      
d2309 2
a2310 2
                                  Changes
                                      
d2372 2
a2373 2
                          Migration to version 7.1
                                      
d2378 2
a2379 2
                                  Changes
                                      
d2575 2
a2576 2
                         Migration to version 7.0.3
                                      
d2580 2
a2581 2
                                  Changes
                                      
d2631 2
a2632 2
                         Migration to version 7.0.2
                                      
d2636 2
a2637 2
                                  Changes
                                      
d2649 2
a2650 2
                         Migration to version 7.0.1
                                      
d2654 2
a2655 2
                                  Changes
                                      
d2715 2
a2716 2
                          Migration to version 7.0
                                      
d2746 2
a2747 2
                                  Changes
                                      
d3079 2
a3080 2
                         Migration to version 6.5.3
                                      
d3084 2
a3085 2
                                  Changes
                                      
d3100 2
a3101 2
                         Migration to version 6.5.2
                                      
d3105 2
a3106 2
                                  Changes
                                      
d3144 2
a3145 2
                         Migration to version 6.5.1
                                      
d3149 2
a3150 2
                                  Changes
                                      
d3247 2
a3248 2
                          Migration to version 6.5
                                      
d3293 2
a3294 2
                                  Changes
                                      
d3470 2
a3471 2
                         Migration to version 6.4.2
                                      
d3475 2
a3476 2
                                  Changes
                                      
d3488 2
a3489 2
                         Migration to version 6.4.1
                                      
d3493 2
a3494 2
                                  Changes
                                      
d3566 2
a3567 2
                          Migration to version 6.4
                                      
d3572 2
a3573 2
                                  Changes
                                      
d3795 2
a3796 2
                                  Changes
                                      
d3838 2
a3839 2
                                  Changes
                                      
d3951 2
a3952 2
                          Migration to version 6.3
                                      
d3957 2
a3958 2
                                  Changes
                                      
d4145 2
a4146 2
                Migration from version 6.2 to version 6.2.1
                                      
d4163 2
a4164 2
                                  Changes
                                      
d4187 2
a4188 2
                 Migration from version 6.1 to version 6.2
                                      
d4196 2
a4197 2
                 Migration from version 1.x to version 6.2
                                      
d4202 2
a4203 2
                                  Changes
                                      
d4323 2
a4324 2
                Migration from version 6.1 to version 6.1.1
                                      
d4330 2
a4331 2
                                  Changes
                                      
d4391 2
a4392 2
                          Migration to version 6.1
                                      
d4400 2
a4401 2
                                  Changes
                                      
d4506 2
a4507 2
                 Migration from version 1.09 to version 6.0
                                      
d4512 2
a4513 2
                   Migration from pre-1.09 to version 6.0
                                      
d4518 2
a4519 2
                                  Changes
                                      
d4641 2
a4642 2
               Migration from version 1.02 to version 1.02.1
                                      
d4669 2
a4670 2
                           Dump/Reload Procedure
                                      
d4693 2
a4694 2
                                  Changes
                                      
d4727 2
a4728 2
                 Migration from version 1.0 to version 1.01
                                      
d4817 2
a4818 2
                                  Changes
                                      
d4858 2
a4859 2
                                  Changes
                                      
d4906 2
a4907 2
                                  Changes
                                      
d5020 2
a5021 2
                                  Changes
                                      
@


1.230
log
@Update HISTORY
@
text
@d13 1
a13 1
   IN/NOT IN subqueries are now much more efficient
@


1.229
log
@Correct names of people with funny characters.
@
text
@d49 1
a49 1
          per-call overhead. That means, simple SQL functions now behave
d61 1
a61 1
   Make free space map to efficiently reuse empty index pages, and other
d65 1
a65 1
          values similar to the original rows indexed on that page. In
d74 1
a74 1
   Cursors conform more closely with the SQL standard
d79 1
a79 1
          These cursors are also called holdable cursors
d127 1
a127 1
       strongly encourage to use the new error code facility.
d241 2
a242 2
       There were several inefficiencies in the way the GEQO optimizer
       managed potential query paths. This release fixes this.
d433 3
a435 2
       transaction. Using WITH HOLD, the current release allows cursors
       to remain readable after the creating transaction.
d445 6
a450 4
       Certain cursors can not be fetched backwards optimally. By
       specifying SCROLL, extra work will be performed to guarantee that
       the cursor can be fetched in reverse or random order.
     * Implement SQL-compatible option FIRST, LAST, ABSOLUTE n, RELATIVE
d466 3
a468 2
       "TRUNCATE" can now be used inside a transaction, and rolled back
       if the transaction aborts.
d765 2
a766 2
     * Fix dbase "-s" option and improve non-ASCII handling (Thomas
       Behr, Mrcio Smiderle)
@


1.228
log
@Add release date for 7.4.
@
text
@d545 1
a545 1
     * Fix date_trunc('quarter', ...) (B?jthe Zolt?n)
d760 1
a760 1
     * Update spi/timetravel (B?jthe Zolt?n)
d762 1
a762 1
       Behr,M?rcio Smiderle)
@


1.227
log
@Update HISTORY to match release.sgml.
@
text
@d6 3
@


1.226
log
@Remove <note> take, use another paragraph for description.
@
text
@d10 95
a104 66
     * IN/NOT IN subqueries are now much more efficient
       In previous releases, IN/NOT IN subqueries were joined to the
       upper query by sequentially scanning the subquery looking for a
       join. The 7.4 code uses the same sophisticated techniques used by
       ordinary joins and so is much faster, and is now faster than
       EXISTS subqueries.
     * Improved GROUP BY processing by using hash buckets
       In previous releases, GROUP BY totals were accumulated by
       sequentially scanning the list of groups looking for a match; the
       7.4 code places GROUP BY values in hash buckets so the proper
       match can be found much quicker. This is particularly significant
       in speeding up queries that have a large number of distinct GROUP
       BY values.
     * New multi-key hash join capability
       In previous releases, hash joins could only occur on single-column
       joins. This release allows multi-column hash joins.
     * ANSI joins are now better optimized
       Prior releases evaluated ANSI join syntax only in the order
       specified by the query; 7.4 allows full optimization of queries
       using ANSI join syntax, meaning the optimizer considers all
       possible join orderings and chooses the most efficient.
     * Faster and more powerful regular expression code
       The entire regular expression module has been replaced with a new
       version by Henry Spencer, originally written for TCL. The code
       greatly improves performance and supports several flavors of
       regular expressions.
     * Function-inlining for simple SQL functions
       Simple SQL functions can now be inlined by including their SQL in
       the main query. This improves performance by preventing repeated
       calls to the SQL function --- this allows simple SQL functions to
       behave like macros.
     * Full support for IPv6 connections and IPv6 address data types
       Prior releases allowed only IPv6 connections and IP data types
       only supported IPv4 addresses. This release adds full IPv6 support
       in both of these areas.
     * Major improvements in SSL performance and reliability
       Several people very familiar with the SSL API have overhauled our
       SSL code to improve SSL key negotiation and error recovery.
     * Allow free space map to efficiently reuse empty index pages, and
       other free space management improvements.
       In prior releases, index pages that were left empty because of
       deleted rows could only be reused by rows with index values
       similar to the original rows indexed on that page. In 7.4, VACUUM
       records empty index pages and allows them to be used for any
       future index rows.
     * Implement information schema
     * Support for read-only transactions
     * Make cursors comply more closely with the SQL standard
     * New protocol improves connection speed/reliability, and adds error
       codes, status information, a binary protocol, error reporting
       verbosity, and cleaner startup packets.
     * Allow cursors to exist outside transactions, also called holdable
       cursors
     * libpq and ecpg are now fully thread-safe with
       --enable-thread-safety
       While prior libpq releases already supported threads, this release
       improves thread safety by fixing some non-thread-safe code that
       was used in the database connection routines.
     * New version of full text indexing in /contrib/tsearch2
     * New autovacuum tool in /contrib
       This new tool monitors the database statistics tables for
       INSERT/UPDATE/DELETE activity and automatically vacuums tables
       when needed.
     * Array handling has been improved and moved into the main server
       Many array limitations have been removed and they behave more like
       fully-supported data types.
d115 37
a151 33
       in client applications and languages.
       Server-side autocommit was causing too many problems with
       languages and applications that wanted to control their own
       autocommit behavior so autocommit was removed from the server and
       added to individual client API's as appropriate.
     * Error message wording has changed substantially in this release,
       and error codes have been added.
     * ANSI inner joins may behave differently because they are now
       better optimized
     * A number of server variables have been renamed for clarity,
       primarily those related to logging
     * MOVE/FETCH 0 now does nothing
       In prior releases, FETCH 0 would fetch all remaining rows, and
       MOVE 0 would move to the end of the cursor.
     * MOVE/FETCH now returns the actual number of rows moved/fetched, or
       zero if at the beginning/end of the cursor
       Prior releases would return the tuple count passed to the command,
       not the actual number of rows FETCHed or MOVEd.
     * COPY now can process carriage-return and carriage-return/line-feed
       end-of-line terminated files.
     * Literal carriage-returns and line-feeds are no longer accepted as
       data values; use \r and \n instead.
     * Trailing spaces are now trimmed when converting from CHAR(n) to
       VARCHAR(n) / TEXT
     * FLOAT(p) now measures 'p' in bits, not digits
     * Ambiguous date values now must match the ordering specified by
       DateStyle
       In prior releases, a date of 10/20/03 was interpreted as a date in
       October even if the DateStyle specified the day should be first.
       In 7.4, DateStyle is honored when converting such values and will
       throw an error if the date is invalid for the current DateStyle.
     * The oidrand(), oidsrand(), and userfntest() functions have been
       removed.
d153 16
a168 14
     * 'now' will no longer work as a column default; now() or
       CURRENT_TIMESTAMP should be used instead
       In prior releases, there was special code so the string 'now' was
       interpreted at "INSERT" time and not at table creation time, but
       this work around didn't cover all cases. Release 7.4 now requires
       that defaults be defined properly using the now() or the special
       value CURRENT_TIMESTAMP. These will work in all situations.
     * 'today' will no longer work as a column default; CURRENT_DATE
       should be used instead
       Same description as above.
     * Dollar sign ($) is no longer allowed in operator names
     * Dollar sign ($) can be a non-first character in identifiers
       This was done to improve compatibility with other database
       systems.
d171 1
a171 1
                          Server Operation Changes
d173 6
d182 2
a183 2
       In prior releases, certain rare SSL API error reports were not
       handled correctly. This release fixes those problems. gracefully.
d190 2
a191 2
     * Update "/tmp" socket mod. times regularly to avoid their removal
       (Tom)
d194 2
a195 2
     * Enable PAM for MAC OS X (Aaron Hillegass)
     * Make btree indexes fully WAL-safe (Tom)
d197 1
a197 1
       cause btree indexes to become corrupt. This release removes those
d199 1
a199 1
     * Allow btree index compaction and empty page reuse (Tom)
d202 3
a204 4
       In prior releases, when a single-page index split into two page,
       there was a brief period when another database session would miss
       seeing an index entry. This failure was possible primarly on
       multi-cpu machines. This release fixes that rare failure case.
d206 1
a206 1
     * Preserve free space information between postmaster restarts (Tom)
d208 3
a210 4
       postmaster was stopped, so newly started servers has no free space
       information. This release saves the free space map, which is
       loaded when the server is restarted.
     * Set proper schema permissions in initdb (Peter)
d215 4
a218 4
       allow clean exit from COPY (Tom)
     * Add transaction status, tableid, columnid to backend protocol
       (Tom)
     * Add new binary I/O protocol (Tom)
d222 1
a222 1
       detail (Tom)
d225 2
a226 2
                            Performance Changes
                                      
d228 2
a229 2
     * Allow nested loops to be smarter about multicolumn indexes (Tom)
     * Allow multi-key hash joins (Tom)
d243 5
d251 2
a252 2
       is available so the library can be pre-loaded in the postmaster
       and inherited by all database sessions.
d256 1
a256 1
     * Assume WHERE a.x = b.y and b.y = 42 also means a.x = 42 (Tom)
d259 1
a259 1
     * Allow join optimization of ANSI inner joins, disable with
d261 3
a263 3
     * Add from_collapse_limit to control conversion of subqueries to
       joins (Tom)
     * Use faster and more powerful regular expression code from TCL
d266 3
a268 3
     * Improve backend startup time (Tom)
       The new network protocol requires fewer network packets to start a
       database session.
d276 1
a276 1
       btree and hash index performance.
d279 5
a283 6
       Certain CPU's perform faster data copies when addresses are 32-bit
       aligned.
     * The NUMERIC datatype has been reimplemented for better performance
       (Tom)
       NUMERIC used to be stored in base-100. The new code uses
       base-10000, for significantly better performance.
d286 2
a287 2
                        Server Configuration Changes
                                      
d291 1
a291 1
       being with log_.
d302 3
a304 3
     * Prevent server log variables from being turned off by non-super
       users (Bruce)
       This is a security feature so non-super-users can't disable
d310 2
a311 2
     * Add OS X Rendezvous server support (Chris Campbell)
       This allows OS X machines to query the network for available
d317 1
a317 1
     * Allow pg_hba.conf to accept netmasks in CIDR format (Andrew
d320 3
a322 4
       netmask fields into a single CIDR field in pg_hba.conf.
     * New is_superuser read-only variable (Tom)
     * New server-side parameter log_error_verbosity to control error
       detail (Tom)
d329 1
a329 1
       the configuration variable names and their minimum, maximums,
d331 2
d336 7
a342 8
       start on even old computers. This release tests the amount of
       shared memory supported by the hardware and sizes it accordingly.
       Of course, users are still encouraged to evaluate their resource
       load and size shared_buffers accordingly.
     * Add new columns in pg_settings: context, type, source, min_val,
       max_val (Joe)
     * New pg_hba.conf 'hostnossl' to prevent SSL connections (Jon
       Jensen)
d346 4
a349 1
     * Remove geqo_random_seed server parameter (Tom)
d352 2
a353 2
                               Query Changes
                                      
a354 1
       bjm
a355 2
     * Add server variable regex_flavor to control regular expression
       processing (Tom)
d360 1
a360 1
       In prior releases, only the super-user could see query strings
d363 5
a367 3
     * Fix subquery aggregates of upper query columns to match SQL spec.
       (Tom)
       bjm
d371 4
a374 2
       to the FROM clause if they are not already there. This option
       disabled that behavior.
d376 2
a377 1
       This allows UPDATE to set a column to its default value.
d381 1
a381 2
     * Change EXECUTE INTO to CREATE TABLE AS EXECUTE (Peter)
       bjm ?
d384 4
a387 6
                        Object Manipulation Changes
                                      
     * Make CREATE SEQUENCE grammar more SQL1999 standards compliant
       (Neil)
       bjm ?
     * Add FOR EACH STATEMENT statement-level triggers (Neil)
d390 2
a391 2
       query. This capability is planned for a future release.
     * Add DOMAIN CHECK constraints (Rod)
d393 2
a394 3
       to use CHECK constraints.
     * Add ALTER DOMAIN .. SET / DROP NOT NULL, SET / DROP DEFAULT, ADD /
       DROP CONSTRAINT (Rod)
d399 3
a401 3
     * Have ALTER TABLE ... ADD PRIMARY KEY add NOT NULL constraint (Rod)
       In prior releases, ALTER TABLE ADD PRIMARY would add a unique
       index, but not a NOT NULL constraint. That is fixed in this
a402 1
     * Add ALTER DOMAIN OWNER (Rod)
d405 3
a407 3
       oid column. This is most useful for saving storage space.
     * Add ALTER SEQUENCE to modify min/max/increment/cache/cycle values
       (Rod)
d409 1
a409 1
       This command is used by pg_dump to record the CLUSTER column for
d412 1
a412 1
     * Improve DOMAIN automatic type casting (Rod, Tom)
d415 5
a419 5
     * Allow SQL200X inheritance syntax LIKE *subtable*, INCLUDING
       DEFAULTS (Rod)
     * Add WITH GRANT OPTION clause to GRANT, per SQL spec (Peter)
       Allow GRANT to give other users the ability to grant permissions
       on a object.
d422 4
a425 3
                          Utility Command Changes
                                      
     * Add ON COMMIT clause to CREATE TABLE for temp tables (Gavin)
d430 10
a439 9
       transaction. Using WITH HOLD, the current release allows
       transaction to remain outside their own transaction.
     * MOVE/FETCH 0 now does nothing (Bruce)
       In previous releases, MOVE 0 moved to the end of the cursor, and
       FETCH 0 fetched all remaning rows.
     * Cause MOVE/FETCH to return the number of rows moved/fetched, or
       zero if at the beginning/end of cursor, per SQL spec (Bruce)
       In prior releases, the row count returned by MOVE and FETCH did
       not accurately reflect the number of rows processed.
d444 4
a447 5
     * Implement SQL92-compatible FIRST, LAST, ABSOLUTE n, RELATIVE n
       options for FETCH and MOVE (Tom)
     * Allow EXPLAIN on DECLARE CURSOR (Tom)
       Prior versions would not allow EXPLAIN on a DECLARE statement.
     * Allow CLUSTER to use index marked as pre-clustered by default
d449 1
a449 1
     * Allow CLUSTER to cluster all tables (Alvaro Herrera)
d452 2
a453 2
     * Prevent CLUSTER on partial indexes (Tom)
     * Allow \r and \r\n termination for COPY files (Bruce)
d456 7
a462 15
     * COPY changes (binary, \.)? (Tom)
     * Recover from COPY IN/OUT failure cleanly (Tom)
     * Prevent possible memory leaks in COPY (Tom)
     * Make TRUNCATE transaction-safe (Rod)
       Truncate can now be used inside a transaction, and rolled back if
       the transaction aborts.
     * Multiple pggla_dump fixes, including tar format and large objects
     * Allow pg_dump to dump specific schemas (Neil)
     * Allow pg_dump to preserve column storage characteristics
       (Christopher)
       This preserves ALTER TABLE ... SET STORAGE information.
     * Allow pg_dump to preserve CLUSTER characteristics (Christopher)
     * Have pg_dumpall use GRANT/REVOKE to dump database-level
       permissions (Tom)
     * Allow pg_dumpall to support the -a, -s, -x options of pg_dump
d464 2
a465 8
     * Prevent pg_dump from lowercasing identifiers specified on the
       command line (Tom)
     * Allow PREPARE/bind of utility commands like FETCH and EXPLAIN
       (Tom)
     * Add EXPLAIN EXECUTE (Neil)
     * Allow pg_get_constraintdef() to support UNIQUE, PRIMARY KEY and
       CHECK constraints (Christopher)
     * Improve VACUUM performance on indexes by reducing WAL traffic
d467 8
a474 10
     * Allow pg_ctl to better handle non-standard ports (Greg)
     * Functional indexes have been generalized into expressional indexes
       (Tom)
       In prior releases, only columns could be used in functional
       indexes. This release allows any type of expression.
     * Syntax errors now reported as 'syntax error' rather than 'parse
       error' (Tom)
     * Have SHOW TRANSACTION_ISOLATION match input to SET
       TRANSACTION_ISOLATION (Tom)
     * Have COMMENT ON DATABASE on non-local database generate a warning
d478 2
a479 2
     * Improve reliability of LISTEN/NOTIFY (Tom)
     * Allow REINDEX to reliably reindex non-shared system catalog
d482 4
a485 10
       of a standalone backend, which was necessary in previous releases.
       The only tables that now require a standalone backend for reindex
       are the global system tables pg_database, pg_shadow, and pg_group.
     * pg_dump --use-set-session-authorization and --no-reconnect now do
       nothing, all dumps use SET SESSION AUTHORIZATION
       pg_dump now no longer reconnects to switch users, but instead uses
       SET SESSION AUTHORIZATION. This should reduce password prompting
       during restores.
     * Long options for pg_dump are now available on all platforms
       We now include our own long option processing routines.
d488 5
a492 5
                       Data Type and Function Changes
                                      
     * New extra_float_digits server parameter to control float precision
       display (Pedro Ferreira, Tom)
       This controls precision output which was causing regression
d494 2
a495 2
     * Allow +1300 as a numeric timezone specifier, for FJST (Tom)
     * Remove rarely used oidrand(), oidsrand(), and userfntest()
d497 1
a497 1
     * Add md5() function to main server, already in /contrib/pgcrypto
d499 2
a500 2
       An md5 function was frequently requested. For more complex
       encryption capabilities, use /contrib/pgcrypto.
a501 1
       bjm ??
d506 1
a506 1
     * Change the NUMERIC data type internally to base 10000 (Tom)
d508 1
a508 1
     * Fixes for to_char() (Karel)
d510 1
a510 1
       any data type, using ANYELEMENT and ANYARRAY (Joe)
d515 9
a523 13
     * Allow proper comparisons for arrays (Joe)
     * Allow array concatenation with '||' (Joe)
     * Allow indexes on array columns, and used in ORDER BY and DISTINCT
       (Joe)
     * Allow WHERE qualification 'expr >oper< ANY/SOME/ALL (array-expr)'
       (Joe)
       This allows arrays to behave like subqueries or a list of values:
       SELECT * FROM tab WHERE col IN array_val
     * Allow polymorphic SQL functions (Joe)
       bjm ??
     * New array functions array_append(), array_cat(), array_lower(),
       array_prepend(), array_to_string(), array_upper(),
       string_to_array() (Joe)
a524 2
       bjm ??
     * Allow polymorphic user defined aggregates (Joe)
d526 1
a526 1
     * Allow 60 in seconds fields of timestamp, time, interval input
d529 5
a533 10
     * Allow CIDR data type to be cast to text (Tom)
     * Allow the creation of special LIKE indexes for non-C locales
       (Peter)
       There is no way for non-ASCII locales to use indexes for LIKE
       comparisons. However, this release adds a way to create a special
       index for LIKE. bjm ??
     * Disallow invalid timezone names (Tom)
     * Trim trailing spaces when CHAR() is cast to VARCHAR or TEXT (Tom)
     * Make FLOAT(p) measure the precision p in bits, not decimal digits
       (Tom)
d537 6
a542 6
     * Have SHOW DATESTYLE generate output similar to that used by SET
       DATESTYLE (Tom)
     * Make EXTRACT(TIMEZONE) and SET/SHOW TIMEZONE follow the SQL
       convention for the sign of timezone offsets, ie, positive is east
       from UTC (Tom)
     * Fix date_trunc('quarter',...) (B?jthe Zolt?n)
d545 20
a564 13
       bjm ??
     * Allow only DateStyle field order for date values not in ISO format
       (Greg)
     * Add new DateStyle values MDY, DMY, and YMD; honor US and European
       for backward compatibility (Tom)
     * 'now' will no longer work as a column default, use now() (change
       required for prepared statements) (Tom)
     * Assume NaN value to be larger than any other value in MIN()/MAX()
       (Tom)
     * Prevent interval from suppressing ':00' seconds display
     * New pg_get_triggerdef(prettyprint) and pg_constraint_is_visible()
       functions
     * Allow time to be specified as '040506' or '0405' (Tom)
d567 2
a568 2
                        Server-side Language Changes
                                      
d571 1
a571 1
     * Make PL/python's spi_execute interface handle NULLs properly
d575 2
a576 2
     * Fix PL/python _quote() function to handle big integers (?)
     * Make PL/python an untrusted language, now called plpythonu (Kevin
d579 3
a581 3
       environment, so we removed the trusted version of PL/python. If
       this situation changes, we will re-add a version of PL/python that
       can be used by non-super users.
d583 1
d586 1
a586 1
     * Add new $0 parameter in PL/pgSQL representing the function's
d588 3
a590 3
     * Allow pltcl and plpython use the same trigger on multiple tables
       (Tom)
     * Fixed PL/Tcl's spi_prepare to accept full qualified type names in
d594 3
a596 3
                                Psql Changes
                                      
     * Add "\pset pager always" to always use pager (Greg)
d598 2
a599 2
       less than the screen height --- this is valuable for rows that
       wrap across several screen rows.
d604 6
a609 6
     * \encoding now changes based on the client_encoding server variable
       (Tom)
       In previous versions, \encoding was not aware of encoding changes
       made using SET CLIENT_ENCODING.
     * Save edit history into readline history (Ross)
       When \e is used to edit a query, the result is saved in the
d611 5
a615 5
     * Improve \d display (Christopher)
     * Enhance HTML mode to be more standards-compliant (Greg)
     * New '\set AUTOCOMMIT off' capability (Tom)
       This takes the place of the remove server variable 'autocommit'.
     * New '\set VERBOSITY' to control error detail (Tom)
d617 1
a617 1
     * New %T prompt string to show transaction status (Tom)
d621 28
a648 6
                               Libpq Changes
                                      
     * Allow PQcmdTuples() to return row counts for MOVE and FETCH (Neil)
     * Add PQfreemem() for freeing memory on Win32, suggest for NOTIFY
       (Bruce)
       Win32 requires that memory allocated in a library be freed by a
d650 2
a651 2
       freeing memory allocated by libpq. PQfreemem() is the proper way
       to free libpq memory, especially on Win32, and is recommended for
d656 1
a656 1
     * Make PQsetdbLogin() have the same defaults as PQconnectdb() (Tom)
d658 8
a665 7
     * Improve performance of PGunescapeBytea() (Ben Lamb)
     * Allow thread-safe libpq with --enable-thread-safety (Lee Kindness,
       Philip Yarra)
     * Allow pqInternalNotice() to accept a format string and args
       instead of just a preformatted message (Tom, Sean Chittenden)
     * Allow control SSL negotiation with sslmode values "disable",
       "allow", "prefer", and "require" (Jon Jensen)
d673 3
a675 3
     * Add ability to pass binary data directly to the backend (Tom)
     * Add PQexecPrepared() and PQsendQueryPrepared() functions which
       perform Bind/Execute of previously prepared statements (Tom)
d678 3
a680 3
                                JDBC Changes
                                      
     * Allow setNull on updateable resultsets
d687 2
a688 2
                      Miscellaneous Interface Changes
                                      
d691 2
a692 2
     * Add ecpg Informix compatibility (Michael)
       This allows ecpg to process embedded C programs that were written
d694 7
a700 6
     * Add ecpg DECIMAL type that is fixed length, for Informix (Michael)
     * Allow thread-safe ecpg with --enable-thread-safety (Lee Kindness,
       Bruce)
       This allows multiple ecpg threads to access the database at the
       same time.
     * Move python client interface to http://www.pygresql.org (Marc)
d703 2
a704 2
                            Source Code Changes
                                      
d708 1
a708 2
     * Embed LD_LIBRARY_PATH used for build process into binaries (Billy)
     * New palloc0 function to allocate and clear memory (Bruce)
d720 2
a721 2
     * Add Win32 compatibility functions (Bruce)
     * Allow client interfaces to compile under MinGW/Win32 (Bruce)
d723 1
a723 1
     * Support Intel Linux compiler (Peter)
d726 2
a727 2
     * Remove --enable-recode option to configure
       This was no longer needed now that we have CREATE CONVERSION.
d731 1
a731 1
       a new configure option.
d734 2
a735 2
                              Contrib Changes
                                      
d739 1
a739 1
     * Prevent xml crash (John Gray, Michael Richards)
d746 1
a746 1
     * Add hashed based crosstab function to tablefuncs (Joe)
d750 2
a751 2
     * New pg_autovacuum allows automatic VACUUM (Matthew T. O'Connor)
     * Allow pgbench to honor PGHOST, PGPORT, PGUSER env. variables
d758 1
a758 1
     * Fix dbase -s option and improve non-ASCII handling (Thomas
a762 9
                        Other Uncategorized Changes
                                      
     * "DATESTYLE" can now be set to DMY, YMD, or MDY to specify input
       field order
     * Input date order must now be YYYY-MM-DD (with 4-digit year) or
       match DATESTYLE
     * Pattern matching operations can use indexes regardless of locale?
     _________________________________________________________________
   
d832 1
a832 1
     * Avoid improper schema-permissions-check failure in foreign-key
d883 1
a883 1
     * Fix problem with checking for wrong type of access permission in
d1020 1
a1020 1
          Table/index creation can be restricted by removing permissions
d1147 1
a1147 1
     * Add new object permission bits EXECUTE and USAGE (Tom)
d1192 1
a1192 1
     * Add DEFAULT keyword to INSERT, e.g., INSERT ... (..., DEFAULT,
d1421 1
a1421 1
     * Add libpq PQescapeString() and PQescapeBytea() to Win32 (Bruce)
d1480 1
a1480 1
     * Fix for link() usage by WAL code on Win32, BeOS (Jason Tishler)
d1507 1
a1507 1
     * Rename some internal identifiers to simplify Win32 compile (Jan,
d1790 1
a1790 1
     * Change UPDATE, DELETE permissions to be distinct (Peter E)
d1884 1
a1884 1
     * Fix permission checks for CREATE INDEX (Tom)
d2093 1
a2093 1
     * Fixes in Cygwin and Win32 ports (Jason Tishler, Gerhard Haring,
d2095 1
a2095 1
     * Fix for Win32 socket communication failures (Magnus, Mikhail
d2182 1
a2182 1
Referential integrity permission fix
d2211 1
a2211 1
Fix for whole tuples in functions (Tom)
d2304 1
a2304 1
Allow ORDER BY, LIMIT in sub-selects (Tom)
d2337 1
a2337 1
   new ONLY keyword prevents it (Chris Bitmead, Tom)
d2345 1
a2345 1
Allow TEMPORARY or TEMP keyword when creating temporary tables (Bruce)
d2502 2
a2503 2
Fix VACUUM problem with moving chain of update tuples when source and
    destination of a tuple lie on the same page (Tom)
d2689 1
a2689 1
Prevent permissions on indexes (Peter E)
d2694 1
a2694 1
Fix for permission check on UNION tables (Tom)
d2753 1
a2753 1
Add permissions check for vacuum (Peter E)
d2808 1
a2808 1
Add SESSION_USER as SQL92 keyword, same as CURRENT_USER (Thomas)
d2937 1
a2937 1
Enable WIN32 compilation of libpq
d2950 1
a2950 1
Fix for libpq and psql on Win32 (Magnus)
d3004 1
a3004 1
Fix for Win32 making problem with MB enabled(Hiroki Kataoka)
d3052 1
a3052 1
Fix to prevent too large tuple from being created(Bruce)
d3222 1
a3222 1
Allow username containing a dash GRANT permissions
d3240 1
a3240 1
Allow pg_dump to properly dump GROUP permissions(Bruce)
d3338 1
a3338 1
Add NT/Win32 backend port and enable dynamic loading(Magnus and Daniel Horak)
d3344 1
a3344 1
Removed CURRENT keyword for rule queries(Jan)
d3414 1
a3414 1
Compilation of libpq for Win32 fixes(Magnus)
d3542 2
a3543 2
/contrib/noupdate code to revoke update permission on a column
libpq can now be compiled on win32(Magnus)
d3587 1
a3587 1
        * Rules and views inherit the permissions on the creator
d3607 1
a3607 1
psql and libpq now compile under win32 using win32.mak(Magnus)
d3620 1
a3620 1
Remove ARCHIVE keyword, that is no longer used(Thomas)
d3750 1
a3750 1
Allow optional TABLE keyword in LOCK and SELECT INTO(Thomas)
d3774 2
a3775 2
     * Better password authorization mechanisms. Default table
       permissions have changed.
d3816 1
a3816 1
   User-created tables now no longer have SELECT permission to PUBLIC by
d3818 1
a3818 1
   of course GRANT any permissions you want after the table is created.
d3832 1
a3832 1
   permissions now, not based on the underlying tables, so permissions on
d3888 1
a3888 1
Subselects with EXISTS, IN, ALL, ANY keywords (Vadim, Bruce, Thomas)
d3945 1
a3945 1
Dump ACLs, GRANT, REVOKE permissions(Matt)
d3975 1
a3975 1
Allow VIEW permissions to be set separately from the underlying tables.
d3978 1
a3978 1
        explicitly grant such permissions.
d4009 1
a4009 1
New i386 'lock' for spin lock asm(Billy)
d4106 1
a4106 1
Fix very old bug which made tuples changed/inserted by a commnd
d4108 1
a4108 1
        updated tuples, etc)(Vadim)
d4112 1
a4112 1
Fix OR (where x != 1 or x isnull didn't return tuples with x NULL) (Vadim)
d4126 1
a4126 1
Return number of tuples inserted/affected by INSERT/UPDATE/DELETE etc.(Vadim)
d4319 1
a4319 1
fix deleted tuples re-incarnation caused by vacuum (Vadim)
d4379 1
a4379 1
removed WIN32-specific code(Bruce)
d4425 1
a4425 1
Fixed output of group acl permissions
d4719 1
a4719 1
 * added ASC and DESC keywords
d4759 1
a4759 1
 *  "delimiters" is now a keyword
d4783 1
a4783 1
   permissions
d4836 1
a4836 1
   - Privileges can be given to a group using the "GROUP" keyword.
d4839 1
a4839 1
        The keyword 'PUBLIC' is also supported to mean all users.
d4856 1
a4856 1
   MAX/MIN of an empty table will return a tuple of value NULL.
d4882 1
a4882 1
   pg_result -oid returns oid of the last tuple inserted.   If the
@


1.226.2.1
log
@Update HISTORY to match release.sgml.
@
text
@d10 66
a75 95
   IN/NOT IN subqueries are now much more efficient
          In previous releases, IN/NOT IN subqueries were joined to the
          upper query by sequentially scanning the subquery looking for a
          match. The 7.4 code uses the same sophisticated techniques used
          by ordinary joins and so is much faster. An IN will now usually
          be as fast as or faster than an equivalent EXISTS subquery;
          this reverses the conventional wisdom that applied to previous
          releases.
          
   Improved GROUP BY processing by using hash buckets
          In previous releases, rows to be grouped had to be sorted
          first. The 7.4 code can do GROUP BY without sorting, by
          accumulating results into a hash table with one entry per
          group. It will still use the sort technique, however, if the
          hash table is estimated to be too large to fit in sort_mem.
          
   New multikey hash join capability
          In previous releases, hash joins could only occur on single
          keys. This release allows multicolumn hash joins.
          
   Queries using the explicit JOIN syntax are now better optimized
          Prior releases evaluated queries using the explicit JOIN syntax
          only in the order implied by the syntax. 7.4 allows full
          optimization of these queries, meaning the optimizer considers
          all possible join orderings and chooses the most efficient.
          Outer joins, however, must still follow the declared ordering.
          
   Faster and more powerful regular expression code
          The entire regular expression module has been replaced with a
          new version by Henry Spencer, originally written for Tcl. The
          code greatly improves performance and supports several flavors
          of regular expressions.
          
   Function-inlining for simple SQL functions
          Simple SQL functions can now be inlined by including their SQL
          in the main query. This improves performance by eliminating
          per-call overhead. That means, simple SQL functions now behave
          like macros.
          
   Full support for IPv6 connections and IPv6 address data types
          Previous releases allowed only IPv4 connections, and the IP
          data types only supported IPv4 addresses. This release adds
          full IPv6 support in both of these areas.
          
   Major improvements in SSL performance and reliability
          Several people very familiar with the SSL API have overhauled
          our SSL code to improve SSL key negotiation and error recovery.
          
   Make free space map to efficiently reuse empty index pages, and other
          free space management improvements
          In previous releases, B-tree index pages that were left empty
          because of deleted rows could only be reused by rows with index
          values similar to the original rows indexed on that page. In
          7.4, "VACUUM" records empty index pages and allows them to be
          reused for any future index rows.
          
   SQL-standard information schema
          The information schema provides a standardized and stable way
          to access information about the schema objects defined in a
          database.
          
   Cursors conform more closely with the SQL standard
          The commands "FETCH" and "MOVE" have been overhauled to conform
          more closely to the SQL standard.
          
   Cursors can exist outside transactions
          These cursors are also called holdable cursors
          
   New client-to-server protocol
          The new protocol adds error codes, more status information,
          faster startup, better support for binary data transmission,
          parameter values separated from SQL commands, prepared
          statements available at the protocol level, and cleaner
          recovery from "COPY" failures. The older protocol is still
          supported by both server and clients.
          
   libpq and ECPG applications are now fully thread-safe
          While previous libpq releases already supported threads, this
          release improves thread safety by fixing some non-thread-safe
          code that was used during database connection startup. The
          "configure" option "--enable-thread-safety" must be used to
          enable this feature.
          
   New version of full-text indexing
          A new full-text indexing suite is available in
          "contrib/tsearch2".
          
   New autovacuum tool
          The new autovacuum tool in "contrib/autovacuum" monitors the
          database statistics tables for "INSERT"/"UPDATE"/"DELETE"
          activity and automatically vacuums tables when needed.
          
   Array handling has been improved and moved into the server core
          Many array limitations have been removed, and arrays behave
          more like fully-supported data types.
d86 33
a118 37
       in client applications and languages. Server-side autocommit was
       causing too many problems with languages and applications that
       wanted to control their own autocommit behavior, so autocommit was
       removed from the server and added to individual client APIs as
       appropriate.
     * Error message wording has changed substantially in this release.
       Significant effort was invested to make the messages more
       consistent and user-oriented. If your applications try to detect
       different error conditions by parsing the error message, you are
       strongly encourage to use the new error code facility.
     * Inner joins using the explicit JOIN syntax may behave differently
       because they are now better optimized.
     * A number of server configuration parameters have been renamed for
       clarity, primarily those related to logging.
     * FETCH 0 or MOVE 0 now does nothing. In prior releases, FETCH 0
       would fetch all remaining rows, and MOVE 0 would move to the end
       of the cursor.
     * "FETCH" and "MOVE" now return the actual number of rows
       fetched/moved, or zero if at the beginning/end of the cursor.
       Prior releases would return the row count passed to the command,
       not the number of rows actually fetched or moved.
     * "COPY" now can process files that use carriage-return or
       carriage-return/line-feed end-of-line sequences. Literal
       carriage-returns and line-feeds are no longer accepted in data
       values; use \r and \n instead.
     * Trailing spaces are now trimmed when converting from type char(n)
       to varchar(n) or text. This is what most people always expected to
       happen anyway.
     * The data type float(p) now measures "p" in binary digits, not
       decimal digits. The new behavior follows the SQL standard.
     * Ambiguous date values now must match the ordering specified by the
       datestyle setting. In prior releases, a date specification of
       10/20/03 was interpreted as a date in October even if datestyle
       specified that the day should be first. 7.4 will throw an error if
       a date specification is invalid for the current setting of
       datestyle.
     * The functions oidrand, oidsrand, and userfntest have been removed.
d120 14
a133 16
     * String literals specifying time-varying date/time values, such as
       'now' or 'today' will no longer work as expected in column default
       expressions; they now cause the time of the table creation to be
       the default, not the time of the insertion. Functions such as
       now(), current_timestamp, or current_date should be used instead.
       In previous releases, there was special code so that strings such
       as 'now' were interpreted at "INSERT" time and not at table
       creation time, but this work around didn't cover all cases.
       Release 7.4 now requires that defaults be defined properly using
       functions such as now() or current_timestamp. These will work in
       all situations.
     * The dollar sign ($) is no longer allowed in operator names. It can
       instead be a non-first character in identifiers. This was done to
       improve compatibility with other database systems, and to avoid
       syntax problems when parameter placeholders ($n) are written
       adjacent to operators.
d136 1
a136 1
                                  Changes
a137 6
   Below you will find a detailed account of the changes between release
   7.4 and the previous major release.
     _________________________________________________________________
   
Server Operation Changes

d141 2
a142 2
       In prior releases, certain SSL API error reports were not handled
       correctly. This release fixes those problems.
d149 2
a150 2
     * Update "/tmp" socket modification times regularly to avoid their
       removal (Tom)
d153 2
a154 2
     * Enable PAM for Mac OS X (Aaron Hillegass)
     * Make B-tree indexes fully WAL-safe (Tom)
d156 1
a156 1
       cause B-tree indexes to become corrupt. This release removes those
d158 1
a158 1
     * Allow B-tree index compaction and empty page reuse (Tom)
d161 4
a164 3
       In prior releases, when a single-page index split into two pages,
       there was a brief period when another database session could miss
       seeing an index entry. This release fixes that rare failure case.
d166 1
a166 1
     * Preserve free space information between server restarts (Tom)
d168 4
a171 3
       postmaster was stopped, so newly started servers had no free space
       information. This release saves the free space map, and reloads it
       when the server is restarted.
d176 4
a179 4
       allow clean exit from "COPY" (Tom)
     * Add transaction status, table ID, column ID to client/server
       protocol (Tom)
     * Add binary I/O to client/server protocol (Tom)
d183 1
a183 1
       detail (Tom, Joe, Peter)
d186 2
a187 2
Performance Improvements

d189 2
a190 2
     * Make nested-loop joins be smarter about multicolumn indexes (Tom)
     * Allow multikey hash joins (Tom)
a203 5
     * Pattern matching operations can use indexes regardless of locale
       (Peter)
       There is no way for non-ASCII locales to use the standard indexes
       for LIKE comparisons. This release adds a way to create a special
       index for LIKE.
d207 2
a208 2
       is available so the library can be preloaded in the postmaster and
       inherited by all database sessions.
d212 1
a212 1
     * Deduce that WHERE a.x = b.y AND b.y = 42 also means a.x = 42 (Tom)
d215 1
a215 1
     * Allow join optimization of explicit inner joins, disable with
d217 3
a219 3
     * Add parameter from_collapse_limit to control conversion of
       subqueries to joins (Tom)
     * Use faster and more powerful regular expression code from Tcl
d222 3
a224 3
     * Improve connection startup time (Tom)
       The new client/server protocol requires fewer network packets to
       start a database session.
d232 1
a232 1
       B-tree and hash index performance.
d235 6
a240 5
       Certain CPU's perform faster data copies when addresses are
       32-byte aligned.
     * Data type numeric reimplemented for better performance (Tom)
       numeric used to be stored in base 100. The new code uses base
       10000, for significantly better performance.
d243 2
a244 2
Server Configuration Changes

d248 1
a248 1
       begin with log_.
d259 3
a261 3
     * Prevent server log variables from being turned off by
       non-superusers (Bruce)
       This is a security feature so non-superusers cannot disable
d267 2
a268 2
     * Add Mac OS X Rendezvous server support (Chris Campbell)
       This allows Mac OS X hosts to query the network for available
d274 1
a274 1
     * Allow "pg_hba.conf" to accept netmasks in CIDR format (Andrew
d277 4
a280 3
       netmask fields into a single CIDR field in "pg_hba.conf".
     * New read-only parameter is_superuser (Tom)
     * New parameter log_error_verbosity to control error detail (Tom)
d287 1
a287 1
       the configuration variable names and their minimums, maximums,
a288 2
     * Add new columns in pg_settings: context, type, source, min_val,
       max_val (Joe)
d292 8
a299 7
       start on even very old systems. This release tests the amount of
       shared memory allowed by the platform and selects more reasonable
       default values if possible. Of course, users are still encouraged
       to evaluate their resource load and size shared_buffers
       accordingly.
     * New "pg_hba.conf" record type hostnossl to prevent SSL connections
       (Jon Jensen)
d303 1
a303 4
     * Remove parameter geqo_random_seed (Tom)
     * Add server parameter regex_flavor to control regular expression
       processing (Tom)
     * Make "pg_ctl" better handle nonstandard ports (Greg)
d306 2
a307 2
Query Changes

d309 1
d311 2
d317 1
a317 1
       In prior releases, only the superuser could see query strings
d320 3
a322 5
     * Fix aggregates in subqueries to match SQL standard (Tom)
       The SQL standard says that an aggregate function appearing within
       a nested subquery belongs to the outer query if its argument
       contains only outer-query variables. Prior PostgreSQL releases did
       not handle this fine point correctly.
d326 2
a327 4
       to the FROM clause if they are not already there. This is
       compatible with historic POSTGRES behavior but is contrary to the
       SQL standard. This option allows selecting standard-compatible
       behavior.
d329 1
a329 2
       This allows "UPDATE" to set a column to its declared default
       value.
d333 2
a334 1
     * Implement CREATE TABLE AS EXECUTE (Neil, Peter)
d337 6
a342 4
Object Manipulation Changes

     * Make "CREATE SEQUENCE" grammar more conforming to SQL 2003 (Neil)
     * Add statement-level triggers (Neil)
d345 2
a346 2
       statement. This capability is planned for a future release.
     * Add check constraints for domains (Rod)
d348 3
a350 2
       to use check constraints.
     * Add "ALTER DOMAIN" (Rod)
d355 3
a357 3
     * Have ALTER TABLE ... ADD PRIMARY KEY add not-null constraint (Rod)
       In prior releases, ALTER TABLE ... ADD PRIMARY would add a unique
       index, but not a not-null constraint. That is fixed in this
d359 1
d362 3
a364 3
       OID column. This is most useful for saving storage space.
     * Add ALTER SEQUENCE to modify minimum, maximum, increment, cache,
       cycle values (Rod)
d366 1
a366 1
       This command is used by "pg_dump" to record the cluster column for
d369 1
a369 1
     * Improve automatic type casting for domains (Rod, Tom)
d372 5
a376 5
     * Allow copying table schema using LIKE subtable, also SQL 2003
       feature INCLUDING DEFAULTS (Rod)
     * Add WITH GRANT OPTION clause to "GRANT" (Peter)
       This enabled "GRANT" to give other users the ability to grant
       privileges on a object.
d379 3
a381 4
Utility Command Changes

     * Add ON COMMIT clause to "CREATE TABLE" for temporary tables
       (Gavin)
d386 9
a394 10
       transaction. Using WITH HOLD, the current release allows cursors
       to remain readable after the creating transaction.
     * FETCH 0 and MOVE 0 now do nothing (Bruce)
       In previous releases, FETCH 0 fetched all remaining rows, and MOVE
       0 moved to the end of the cursor.
     * Cause "FETCH" and "MOVE" to return the number of rows
       fetched/moved, or zero if at the beginning/end of cursor, per SQL
       standard (Bruce)
       In prior releases, the row count returned by "FETCH" and "MOVE"
       did not accurately reflect the number of rows processed.
d399 5
a403 4
     * Implement SQL-compatible option FIRST, LAST, ABSOLUTE n, RELATIVE
       n for "FETCH" and "MOVE" (Tom)
     * Allow "EXPLAIN" on "DECLARE CURSOR" (Tom)
     * Allow "CLUSTER" to use index marked as pre-clustered by default
d405 1
a405 1
     * Allow "CLUSTER" to cluster all tables (Alvaro Herrera)
d408 2
a409 2
     * Prevent "CLUSTER" on partial indexes (Tom)
     * Allow DOS and Mac line-endings in "COPY" files (Bruce)
d412 15
a426 7
     * "COPY" changes (binary, \.) (Tom)
     * Recover from "COPY" failure cleanly (Tom)
     * Prevent possible memory leaks in "COPY" (Tom)
     * Make "TRUNCATE" transaction-safe (Rod)
       "TRUNCATE" can now be used inside a transaction, and rolled back
       if the transaction aborts.
     * Allow prepare/bind of utility commands like "FETCH" and "EXPLAIN"
d428 8
a435 2
     * Add "EXPLAIN EXECUTE" (Neil)
     * Improve "VACUUM" performance on indexes by reducing WAL traffic
d437 10
a446 8
     * Functional indexes have been generalized into indexes on
       expressions (Tom)
       In prior releases, functional indexes only supported a simple
       function applied to one or more column names. This release allows
       any type of scalar expression.
     * Have "SHOW TRANSACTION ISOLATION" match input to "SET TRANSACTION
       ISOLATION" (Tom)
     * Have "COMMENT ON DATABASE" on nonlocal database generate a warning
d450 2
a451 2
     * Improve reliability of "LISTEN"/"NOTIFY" (Tom)
     * Allow "REINDEX" to reliably reindex nonshared system catalog
d454 10
a463 4
       of a standalone session, which was necessary in previous releases.
       The only tables that now require a standalone session for
       reindexing are the global system tables pg_database, pg_shadow,
       and pg_group.
d466 5
a470 5
Data Type and Function Changes

     * New server parameter extra_float_digits to control precision
       display of floating-point numbers (Pedro Ferreira, Tom)
       This controls output precision which was causing regression
d472 2
a473 2
     * Allow +1300 as a numeric time-zone specifier, for FJST (Tom)
     * Remove rarely used functions oidrand, oidsrand, and userfntest
d475 1
a475 1
     * Add md5() function to main server, already in "contrib/pgcrypto"
d477 2
a478 2
       An MD5 function was frequently requested. For more complex
       encryption capabilities, use "contrib/pgcrypto".
d480 1
d485 1
a485 1
     * Change the numeric data type internally to base 10000 (Tom)
d487 1
a487 1
     * Fixes for to_char() and to_timestamp() (Karel)
d489 1
a489 1
       any data type, using anyelement and anyarray (Joe)
d494 13
a506 9
     * Allow proper comparisons for arrays, including ORDER BY and
       DISTINCT support (Joe)
     * Allow indexes on array columns (Joe)
     * Allow array concatenation with || (Joe)
     * Allow WHERE qualification expr op ANY/SOME/ALL (array_expr) (Joe)
       This allows arrays to behave like a list of values, for purposes
       like SELECT * FROM tab WHERE col IN (array_val).
     * New array functions array_append, array_cat, array_lower,
       array_prepend, array_to_string, array_upper, string_to_array (Joe)
d508 2
d511 1
a511 1
     * Allow 60 in seconds fields of time, timestamp, and interval input
d514 10
a523 5
     * Allow cidr data type to be cast to text (Tom)
     * Disallow invalid time zone names (Tom)
     * Trim trailing spaces when char is cast to varchar or text (Tom)
     * Make float(p) measure the precision "p" in binary digits, not
       decimal digits (Tom)
d527 6
a532 6
     * Have SHOW datestyle generate output similar to that used by SET
       datestyle (Tom)
     * Make EXTRACT(TIMEZONE) and SET/SHOW TIME ZONE follow the SQL
       convention for the sign of time zone offsets, i.e., positive is
       east from UTC (Tom)
     * Fix date_trunc('quarter', ...) (B?jthe Zolt?n)
d535 13
a547 20
       initcap() now uppercases a letter appearing after any
       non-alphanumeric character, rather than only after whitespace.
     * Allow only datestyle field order for date values not in ISO-8601
       format (Greg)
     * Add new datestyle values MDY, DMY, and YMD to set input field
       order; honor US and European for backward compatibility (Tom)
     * String literals like 'now' or 'today' will no longer work as a
       column default. Use functions such as now(), current_timestamp
       instead. (change required for prepared statements) (Tom)
     * Treat NaN as larger than any other value in min()/max() (Tom)
       NaN was already sorted after ordinary numeric values for most
       purposes, but min() and max() didn't get this right.
     * Prevent interval from suppressing :00 seconds display
     * New function pg_get_triggerdef(prettyprint) and
       pg_constraint_is_visible()
     * Allow time to be specified as 040506 or 0405 (Tom)
     * Input date order must now be YYYY-MM-DD (with 4-digit year) or
       match datestyle
     * Make pg_get_constraintdef to support unique, primary-key, and
       check constraints (Christopher)
d550 2
a551 2
Server-Side Language Changes

d554 1
a554 1
     * Make PL/Python's spi_execute interface handle null values properly
d558 2
a559 2
     * Fix PL/Python's _quote() function to handle big integers
     * Make PL/Python an untrusted language, now called plpythonu (Kevin
d562 3
a564 3
       environment, so the trusted version of PL/Python was removed. If
       this situation changes, a version of PL/python that can be used by
       non-superusers will be readded.
a565 1
     * Allow polymorphic SQL functions (Joe)
d568 1
a568 1
     * Add new parameter $0 in PL/pgSQL representing the function's
d570 3
a572 3
     * Allow PL/Tcl and PL/Python to use the same trigger on multiple
       tables (Tom)
     * Fixed PL/Tcl's spi_prepare to accept fully qualified type names in
d576 3
a578 3
psql Changes

     * Add \pset pager always to always use pager (Greg)
d580 2
a581 2
       less than the screen height. This is valuable for rows that wrap
       across several screen rows.
d586 6
a591 6
     * "\encoding" now changes based on the server parameter
       client_encoding server (Tom)
       In previous versions, "\encoding" was not aware of encoding
       changes made using SET client_encoding.
     * Save editor buffer into readline history (Ross)
       When "\e" is used to edit a query, the result is saved in the
d593 5
a597 5
     * Improve "\d" display (Christopher)
     * Enhance HTML mode to be more standards-conforming (Greg)
     * New "\set AUTOCOMMIT off" capability (Tom)
       This takes the place of the removed server parameter autocommit.
     * New "\set VERBOSITY" to control error detail (Tom)
d599 1
a599 1
     * New prompt escape sequence %x to show transaction status (Tom)
d603 6
a608 28
pg_dump Changes

     * Multiple pg_dump fixes, including tar format and large objects
     * Allow pg_dump to dump specific schemas (Neil)
     * Make pg_dump preserve column storage characteristics (Christopher)
       This preserves ALTER TABLE ... SET STORAGE information.
     * Make pg_dump preserve "CLUSTER" characteristics (Christopher)
     * Have pg_dumpall use "GRANT"/"REVOKE" to dump database-level
       privleges (Tom)
     * Allow pg_dumpall to support the options "-a", "-s", "-x" of
       pg_dump (Tom)
     * Prevent pg_dump from lowercasing identifiers specified on the
       command line (Tom)
     * pg_dump options "--use-set-session-authorization" and
       "--no-reconnect" now do nothing, all dumps use "SET SESSION
       AUTHORIZATION"
       pg_dump no longer reconnects to switch users, but instead always
       uses "SET SESSION AUTHORIZATION". This will reduce password
       prompting during restores.
     * Long options for pg_dump are now available on all platforms
       PostgreSQL now includes its own long-option processing routines.
     _________________________________________________________________
   
libpq Changes

     * Add function PQfreemem for freeing memory on Windows, suggested
       for "NOTIFY" (Bruce)
       Windows requires that memory allocated in a library be freed by a
d610 2
a611 2
       freeing memory allocated by libpq. PQfreemem is the proper way to
       free libpq memory, especially on Windows, and is recommended for
d616 1
a616 1
     * Make PQsetdbLogin have the same defaults as PQconnectdb (Tom)
d618 7
a624 8
     * Improve performance of function PGunescapeBytea (Ben Lamb)
     * Allow thread-safe libpq with "configure" option
       "--enable-thread-safety" (Lee Kindness, Philip Yarra)
     * Allow function pqInternalNotice to accept a format string and
       arguments instead of just a preformatted message (Tom, Sean
       Chittenden)
     * Control SSL negotiation with sslmode values disable, allow,
       prefer, and require (Jon Jensen)
d632 3
a634 3
     * Add ability to pass binary data directly to the server (Tom)
     * Add function PQexecPrepared and PQsendQueryPrepared functions
       which perform bind/execute of previously prepared statements (Tom)
d637 3
a639 3
JDBC Changes

     * Allow setNull on updateable result sets
d646 2
a647 2
Miscellaneous Interface Changes

d650 2
a651 2
     * Add Informix compatibility to ECPG (Michael)
       This allows ECPG to process embedded C programs that were written
d653 6
a658 7
     * Add type decimal to ECPG that is fixed length, for Informix
       (Michael)
     * Allow thread-safe embedded SQL programs with "configure" option
       "--enable-thread-safety" (Lee Kindness, Bruce)
       This allows multiple threads to access the database at the same
       time.
     * Moved Python client PyGreSQL to http://www.pygresql.org (Marc)
d661 2
a662 2
Source Code Changes

d666 2
a667 1
     * New function palloc0 to allocate and clear memory (Bruce)
d679 2
a680 2
     * Add Windows compatibility functions (Bruce)
     * Allow client interfaces to compile under MinGW (Bruce)
d682 1
a682 1
     * Support Intel compiler on Linux (Peter)
d685 2
a686 2
     * Remove "--enable-recode" option from "configure"
       This was no longer needed now that we have "CREATE CONVERSION".
d690 1
a690 1
       a new "configure" option.
d693 2
a694 2
Contrib Changes

d698 1
a698 1
     * Prevent crash in xml (John Gray, Michael Richards)
d705 1
a705 1
     * Add hash-based crosstab function to tablefuncs (Joe)
d709 2
a710 2
     * New pg_autovacuum allows automatic "VACUUM" (Matthew T. O'Connor)
     * Make pgbench honor environment variables PGHOST, PGPORT, PGUSER
d717 1
a717 1
     * Fix dbase "-s" option and improve non-ASCII handling (Thomas
d722 9
d800 1
a800 1
     * Avoid improper schema-privilege-check failure in foreign-key
d851 1
a851 1
     * Fix problem with checking for wrong type of access privilege in
d988 1
a988 1
          Table/index creation can be restricted by removing privileges
d1115 1
a1115 1
     * Add new object privilege bits EXECUTE and USAGE (Tom)
d1160 1
a1160 1
     * Add DEFAULT key word to INSERT, e.g., INSERT ... (..., DEFAULT,
d1389 1
a1389 1
     * Add libpq PQescapeString() and PQescapeBytea() to Windows (Bruce)
d1448 1
a1448 1
     * Fix for link() usage by WAL code on Windows, BeOS (Jason Tishler)
d1475 1
a1475 1
     * Rename some internal identifiers to simplify Windows compile (Jan,
d1758 1
a1758 1
     * Change UPDATE, DELETE privileges to be distinct (Peter E)
d1852 1
a1852 1
     * Fix privilege checks for CREATE INDEX (Tom)
d2061 1
a2061 1
     * Fixes in Cygwin and Windows ports (Jason Tishler, Gerhard Haring,
d2063 1
a2063 1
     * Fix for Windows socket communication failures (Magnus, Mikhail
d2150 1
a2150 1
Referential integrity privilege fix
d2179 1
a2179 1
Fix for whole rows in functions (Tom)
d2272 1
a2272 1
Allow ORDER BY, LIMIT in subqueries (Tom)
d2305 1
a2305 1
   new ONLY key word prevents it (Chris Bitmead, Tom)
d2313 1
a2313 1
Allow TEMPORARY or TEMP key word when creating temporary tables (Bruce)
d2470 2
a2471 2
Fix VACUUM problem with moving chain of update row versions when source
    and destination of a row version lie on the same page (Tom)
d2657 1
a2657 1
Prevent privileges on indexes (Peter E)
d2662 1
a2662 1
Fix for privilege check on UNION tables (Tom)
d2721 1
a2721 1
Add privilege check for vacuum (Peter E)
d2776 1
a2776 1
Add SESSION_USER as SQL92 key word, same as CURRENT_USER (Thomas)
d2905 1
a2905 1
Enable Windows compilation of libpq
d2918 1
a2918 1
Fix for libpq and psql on Windows (Magnus)
d2972 1
a2972 1
Fix for Windows making problem with MB enabled(Hiroki Kataoka)
d3020 1
a3020 1
Fix to prevent too large row from being created(Bruce)
d3190 1
a3190 1
Allow user name containing a dash to grant privileges
d3208 1
a3208 1
Allow pg_dump to properly dump group privileges(Bruce)
d3306 1
a3306 1
Add Windows NT backend port and enable dynamic loading(Magnus and Daniel Horak)
d3312 1
a3312 1
Removed CURRENT key word for rule queries(Jan)
d3382 1
a3382 1
Compilation of libpq for Windows fixes(Magnus)
d3510 2
a3511 2
contrib/noupdate code to revoke update permission on a column
libpq can now be compiled on Windows(Magnus)
d3555 1
a3555 1
        * Rules and views inherit the privileges of the creator
d3575 1
a3575 1
psql and libpq now compile under Windows using win32.mak(Magnus)
d3588 1
a3588 1
Remove ARCHIVE key word, that is no longer used(Thomas)
d3718 1
a3718 1
Allow optional TABLE key word in LOCK and SELECT INTO(Thomas)
d3742 2
a3743 2
     * Better password authorization mechanisms. Default table privileges
       have changed.
d3784 1
a3784 1
   User-created tables now no longer have SELECT privilege to PUBLIC by
d3786 1
a3786 1
   of course GRANT any privileges you want after the table is created.
d3800 1
a3800 1
   privileges now, not based on the underlying tables, so privileges on
d3856 1
a3856 1
Subselects with EXISTS, IN, ALL, ANY key words (Vadim, Bruce, Thomas)
d3913 1
a3913 1
Dump ACLs, GRANT, REVOKE privileges(Matt)
d3943 1
a3943 1
Allow VIEW privileges to be set separately from the underlying tables.
d3946 1
a3946 1
        explicitly grant such privileges.
d3977 1
a3977 1
New i386 'lock' for spinlock asm(Billy)
d4074 1
a4074 1
Fix very old bug which made rows changed/inserted by a command
d4076 1
a4076 1
        updated rows, etc.)(Vadim)
d4080 1
a4080 1
Fix OR (where x != 1 or x isnull didn't return rows with x NULL) (Vadim)
d4094 1
a4094 1
Return number of rows inserted/affected by INSERT/UPDATE/DELETE etc.(Vadim)
d4287 1
a4287 1
fix deleted rows reincarnation caused by vacuum (Vadim)
d4347 1
a4347 1
removed Windows-specific code(Bruce)
d4393 1
a4393 1
Fixed output of group acl privileges
d4687 1
a4687 1
 * added ASC and DESC key words
d4727 1
a4727 1
 *  "delimiters" is now a key word
d4751 1
a4751 1
   privileges
d4804 1
a4804 1
   - Privileges can be given to a group using the "GROUP" key word.
d4807 1
a4807 1
        The key word 'PUBLIC' is also supported to mean all users.
d4824 1
a4824 1
   MAX/MIN of an empty table will return a row of value NULL.
d4850 1
a4850 1
   pg_result -oid returns oid of the last row inserted.   If the
@


1.226.2.2
log
@Add release date for 7.4.
@
text
@a5 3
     Release date: 2003-11-17
     _________________________________________________________________
   
@


1.226.2.3
log
@Correct names of people with funny characters.
@
text
@d545 1
a545 1
     * Fix date_trunc('quarter', ...) (Bjthe Zoltn)
d760 1
a760 1
     * Update spi/timetravel (Bjthe Zoltn)
d762 1
a762 1
       Behr, Mrcio Smiderle)
@


1.226.2.4
log
@Update HISTORY
@
text
@d49 1
a49 1
          per-call overhead. That means simple SQL functions now behave
d61 1
a61 1
   Make free space map efficiently reuse empty index pages, and other
d65 1
a65 1
          values similar to the rows originally indexed on that page. In
d74 1
a74 1
   Cursors conform more closely to the SQL standard
d79 1
a79 1
          These cursors are also called holdable cursors.
d127 1
a127 1
       strongly encouraged to use the new error code facility instead.
d241 2
a242 2
       This release fixes several inefficiencies in the way the GEQO
       optimizer manages potential query paths.
d433 2
a434 3
       transaction that created them. Cursors can now be created with the
       WITH HOLD option, which allows them to continue to be accessed
       after the creating transaction has committed.
d444 4
a447 6
       Allowing random access (both forward and backward scrolling) to
       some kinds of queries cannot be done without some additional work.
       If SCROLL is specified when the cursor is created, this additional
       work will be performed. Furthermore, if the cursor has been
       created with NO SCROLL, no random access is allowed.
     * Implement SQL-compatible options FIRST, LAST, ABSOLUTE n, RELATIVE
d463 2
a464 3
       "TRUNCATE" can now be used inside a transaction. If the
       transaction aborts, the changes made by the "TRUNCATE" are
       automatically rolled back.
d761 2
a762 2
     * Fix dbase "-s" option and improve non-ASCII handling (Thomas Behr,
       Mrcio Smiderle)
@


1.226.2.5
log
@Change "IN/NOT IN" to "IN / NOT IN" for clarity, both branches.
@
text
@d13 1
a13 1
   IN / NOT IN subqueries are now much more efficient
@


1.226.2.6
log
@Update HISTORY and release notes for 7.4.1.
@
text
@a3 55
                               Release 7.4.1
                                      
     Release date: 2003-12-15
     
   This has a variety of fixes from 7.4.
     _________________________________________________________________
   
Migration to version 7.4

   A dump/restore is *not* required for those running 7.4.
     _________________________________________________________________
   
Changes

   Changes as of 2003-12-14
   
     * Fixed bug in CREATE SCHEMA parsing (Michael)
     * Fix --enable-thread-safety compile error when used with
       --with-perl (Peter)
     * Fix for subqueries that used hash joins (Tom)
       Certain subqueries that used hash joins would crash because of
       improperly shared structures.
     * Fix free space map compaction bug (Tom)
       This fixes a bug where compaction of the free space map could lead
       to a database server shutdown.
     * Fix for Borland compiler build of libpq (Bruce)
     * Fix netmask() and hostmask() to return the maximum-length masklen
       (Tom)
       Fix these functions to return values consistent with pre-7.4
       releases.
     * Several /contrib/pg_autovacuum fixes
       Fixes include improper variable initialization, missing vacuum
       after TRUNCATE, and duration computation overflow for long
       vacuums.
     * Allow compile of /contrib/cube under Cygwin (Jason Tishler)
     * Fix Solaris use of password file when no passwords are defined
       (Tom)
       Fix crash on Solaris caused by use of any type of password
       authentication when no passwords were defined.
     * JDBC fix for thread problems, other fixes
     * Fix for index bytea lookups (Joe)
     * Fix information schema for bit data types (Peter)
       To enable this fix, an initdb is required.
     * Force zero_damaged_pages to be on during recovery from WAL
     * Prevent some obscure cases of "variable not in subplan target
       lists"
     * Make PQescapeBytea and byteaout consistent with each other (Joe)
     * Escape bytea output for bytes > 0x7e(Joe)
       If different client encodings are used for bytea output and input,
       it is possible for bytea values to be corrupted by the differing
       encodings. This fix escapes all bytes that might be affected.
     * Added missing SPI_finish() calls to dblink's
       get_tuple_of_interest() (Joe)
     _________________________________________________________________
   
d9 2
a10 2
Overview

d110 2
a111 2
Migration to version 7.4

d174 2
a175 2
Changes

d537 1
a537 1
     * Disallow invalid time zone names in SET TIMEZONE
d589 1
a589 1
     * Allow polymorphic PL/pgSQL functions (Joe, Tom)
a769 47
                               Release 7.3.5
                                      
     Release date: 2003-12-03
     
   This has a variety of fixes from 7.3.4.
     _________________________________________________________________
   
Migration to version 7.3.5

   A dump/restore is *not* required for those running 7.3.*.
     _________________________________________________________________
   
Changes

     * Force zero_damaged_pages to be on during recovery from WAL
     * Prevent some obscure cases of "variable not in subplan target
       lists"
     * Force stats processes to detach from shared memory, ensuring
       cleaner shutdown
     * Make PQescapeBytea and byteaout consistent with each other (Joe)
     * Added missing SPI_finish() calls to dblink's
       get_tuple_of_interest() (Joe)
     * Fix for possible foreign key violation when rule rewrites INSERT
       (Jan)
     * Support qualified type names in PL/Tcl's spi_prepare command (Jan)
     * Make pg_dump handle a procedural language handler located in
       pg_catalog
     * Make pg_dump handle cases where a custom opclass is in another
       schema
     * Make pg_dump dump binary-compatible casts correctly (Jan)
     * Fix insertion of expressions containing subqueries into rule
       bodies
     * Fix incorrect argument processing in clusterdb script (Anand
       Ranganathan)
     * Fix problems with dropped columns in plpython triggers
     * Repair problems with to_char() reading past end of its input
       string (Karel)
     * Fix GB18030 mapping errors (Tatsuo)
     * Fix several problems with SSL error handling and asynchronous SSL
       I/O
     * Remove ability to bind a list of values to a single parameter in
       JDBC (prevents possible SQL-injection attacks)
     * Fix some errors in HAVE_INT64_TIMESTAMP code paths
     * Fix corner case for btree search in parallel with first root page
       split
     _________________________________________________________________
   
d777 2
a778 2
Migration to version 7.3.4

d782 2
a783 2
Changes

d804 2
a805 2
Migration to version 7.3.3

d809 2
a810 2
Changes

d927 2
a928 2
Migration to version 7.3.2

d932 2
a933 2
Changes

d983 2
a984 2
Migration to version 7.3.1

d991 2
a992 2
Changes

d1019 2
a1020 2
Overview

d1074 2
a1075 2
Migration to version 7.3

d1109 2
a1110 2
Changes

d1567 2
a1568 2
Migration to version 7.2.4

d1572 2
a1573 2
Changes

d1598 2
a1599 2
Migration to version 7.2.3

d1603 2
a1604 2
Changes

d1621 2
a1622 2
Migration to version 7.2.2

d1626 2
a1627 2
Changes

d1652 2
a1653 2
Migration to version 7.2.1

d1657 2
a1658 2
Changes

d1687 2
a1688 2
Overview

d1725 2
a1726 2
Migration to version 7.2

d1754 2
a1755 2
Changes

d2153 2
a2154 2
Migration to version 7.1.3

d2158 2
a2159 2
Changes

d2180 2
a2181 2
Migration to version 7.1.2

d2185 2
a2186 2
Changes

d2202 2
a2203 2
Migration to version 7.1.1

d2207 2
a2208 2
Changes

d2270 2
a2271 2
Migration to version 7.1

d2276 2
a2277 2
Changes

d2473 2
a2474 2
Migration to version 7.0.3

d2478 2
a2479 2
Changes

d2529 2
a2530 2
Migration to version 7.0.2

d2534 2
a2535 2
Changes

d2547 2
a2548 2
Migration to version 7.0.1

d2552 2
a2553 2
Changes

d2613 2
a2614 2
Migration to version 7.0

d2644 2
a2645 2
Changes

d2977 2
a2978 2
Migration to version 6.5.3

d2982 2
a2983 2
Changes

d2998 2
a2999 2
Migration to version 6.5.2

d3003 2
a3004 2
Changes

d3042 2
a3043 2
Migration to version 6.5.1

d3047 2
a3048 2
Changes

d3145 2
a3146 2
Migration to version 6.5

d3191 2
a3192 2
Changes

d3368 2
a3369 2
Migration to version 6.4.2

d3373 2
a3374 2
Changes

d3386 2
a3387 2
Migration to version 6.4.1

d3391 2
a3392 2
Changes

d3464 2
a3465 2
Migration to version 6.4

d3470 2
a3471 2
Changes

d3693 2
a3694 2
Changes

d3736 2
a3737 2
Changes

d3849 2
a3850 2
Migration to version 6.3

d3855 2
a3856 2
Changes

d4043 2
a4044 2
Migration from version 6.2 to version 6.2.1

d4061 2
a4062 2
Changes

d4085 2
a4086 2
Migration from version 6.1 to version 6.2

d4094 2
a4095 2
Migration from version 1.x to version 6.2

d4100 2
a4101 2
Changes

d4221 2
a4222 2
Migration from version 6.1 to version 6.1.1

d4228 2
a4229 2
Changes

d4289 2
a4290 2
Migration to version 6.1

d4298 2
a4299 2
Changes

d4404 2
a4405 2
Migration from version 1.09 to version 6.0

d4410 2
a4411 2
Migration from pre-1.09 to version 6.0

d4416 2
a4417 2
Changes

d4539 2
a4540 2
Migration from version 1.02 to version 1.02.1

d4567 2
a4568 2
Dump/Reload Procedure

d4591 2
a4592 2
Changes

d4625 2
a4626 2
Migration from version 1.0 to version 1.01

d4715 2
a4716 2
Changes

d4756 2
a4757 2
Changes

d4804 2
a4805 2
Changes

d4918 2
a4919 2
Changes

@


1.226.2.7
log
@Restore information schema upgrade instructions of Peter.
@
text
@a13 11
   
   If you want to install the fixes in the information schema concerning
   the bit types, you need to reload the information schema. This is
   either accomplished by initializing a new cluster by running "initdb",
   or by running the following sequence of SQL commands in each database
   (ideally including template1) as a superuser in psql, after installing
   the new release:
DROP SCHEMA information_schema CASCADE;
\i /usr/local/pgsql/share/information_schema.sql

   Substitute your installation path in the second command.
@


1.226.2.8
log
@Update HISTORY file for 7.4.1.
@
text
@d15 6
a20 5
   If you want to install the fixes in the information schema you need to
   reload it into the database. This is either accomplished by
   initializing a new cluster by running "initdb", or by running the
   following sequence of SQL commands in each database (ideally including
   template1) as a superuser in psql, after installing the new release:
d31 3
a33 3
     * Fixed bug in "CREATE SCHEMA" parsing in ECPG (Michael)
     * Fix compile error when "--enable-thread-safety" and "--with-perl"
       are used together (Peter)
d45 1
a45 1
     * Several "contrib/pg_autovacuum" fixes
d47 1
a47 1
       after "TRUNCATE", and duration computation overflow for long
d49 1
a49 1
     * Allow compile of "contrib/cube" under Cygwin (Jason Tishler)
d55 1
a55 1
     * Fix for bytea index lookups (Joe)
d57 1
@


1.226.2.9
log
@Update 7.4.1 release notes in preparation for release.
@
text
@d28 2
a65 18
     * New Czech FAQ
     * Fix information schema constraint_column_usage for foreign keys
       (Peter)
     * Ecpg fixes (Michael)
     * Fix bug with multiple IN subqueries and joins in the subqueries
       (Tom)
     * Alllow COUNT('x') to work (Tom)
     * Install Informix ecpg include files into separate /informix
       directory (Peter)
       Some Informix ecpg include file names conflicted with operating
       system include files. By installing them in their own directory,
       name conflicts have been reduced.
     * Fix SSL memory leak (Neil)
       This release fixes a bug in 7.4 where SSL didn't free all memory
       it allocated.
     * Prevent pg_service.conf from using service name as default dbname
       (Bruce)
     * Fix local 'ident' on FreeBSD (Tom)
@


1.226.2.10
log
@Update HISTORY for 7.4.1 release.
@
text
@d3 1
a3 1

d5 4
a8 4

     Release date: 2003-12-22

   This release contains a variety of fixes from 7.4.
d10 2
a11 2

Migration to version 7.4.1
d14 1
a14 1

d25 1
a25 1

d65 3
a67 3
     * Fix information schema view constraint_column_usage for foreign
       keys (Peter)
     * ECPG fixes (Michael)
d71 5
a75 5
     * Install ECPG include files for Informix compatibility into
       separate directory (Peter)
       Some names of ECPG include files for Informix compatibility
       conflicted with operating system include files. By installing them
       in their own directory, name conflicts have been reduced.
d79 3
a81 3
     * Prevent "pg_service.conf" from using service name as default
       dbname (Bruce)
     * Fix local ident authentication on FreeBSD (Tom)
d83 1
a83 1

d85 1
a85 1

d88 1
a88 1

d92 1
a92 1

d101 1
a101 1

d108 1
a108 1

d112 1
a112 1

d119 1
a119 1

d125 1
a125 1

d131 1
a131 1

d136 1
a136 1

d140 1
a140 1

d148 1
a148 1

d153 1
a153 1

d157 1
a157 1

d160 1
a160 1

d168 1
a168 1

d175 1
a175 1

d179 1
a179 1

d184 1
a184 1

d189 1
a189 1

d194 1
a194 1

d196 1
a196 1

d253 1
a253 1

d259 1
a259 1

d307 1
a307 1

d368 1
a368 1

d434 1
a434 1

d466 1
a466 1

d504 1
a504 1

d574 1
a574 1

d653 1
a653 1

d680 1
a680 1

d707 1
a707 1

d730 1
a730 1

d764 1
a764 1

d773 1
a773 1

d789 1
a789 1

d820 1
a820 1

d849 1
a849 1

d851 1
a851 1

d853 1
a853 1

d856 1
a856 1

d861 1
a861 1

d896 1
a896 1

d898 1
a898 1

d900 1
a900 1

d903 1
a903 1

d908 1
a908 1

d923 1
a923 1

d925 1
a925 1

d927 1
a927 1

d930 1
a930 1

d935 1
a935 1

d1046 1
a1046 1

d1048 1
a1048 1

d1050 1
a1050 1

d1053 1
a1053 1

d1058 1
a1058 1

d1102 1
a1102 1

d1104 1
a1104 1

d1106 1
a1106 1

d1109 1
a1109 1

d1117 1
a1117 1

d1140 1
a1140 1

d1142 1
a1142 1

d1145 1
a1145 1

d1149 1
a1149 1

d1156 1
a1156 1

d1160 1
a1160 1

d1166 1
a1166 1

d1170 1
a1170 1

d1176 1
a1176 1

d1181 1
a1181 1

d1184 1
a1184 1

d1187 1
a1187 1

d1192 1
a1192 1

d1200 1
a1200 1

d1208 1
a1208 1

d1210 1
a1210 1

d1235 1
a1235 1

d1247 1
a1247 1

d1275 1
a1275 1

d1287 1
a1287 1

d1317 1
a1317 1

d1344 1
a1344 1

d1384 1
a1384 1

d1434 1
a1434 1

d1494 1
a1494 1

d1515 1
a1515 1

d1528 1
a1528 1

d1544 1
a1544 1

d1559 1
a1559 1

d1575 1
a1575 1

d1596 1
a1596 1

d1658 1
a1658 1

d1685 1
a1685 1

d1687 1
a1687 1

d1689 1
a1689 1

d1693 1
a1693 1

d1698 1
a1698 1

d1716 1
a1716 1

d1718 1
a1718 1

d1720 1
a1720 1

d1724 1
a1724 1

d1729 1
a1729 1

d1740 1
a1740 1

d1742 1
a1742 1

d1744 1
a1744 1

d1747 1
a1747 1

d1752 1
a1752 1

d1771 1
a1771 1

d1773 1
a1773 1

d1775 1
a1775 1

d1778 1
a1778 1

d1783 1
a1783 1

d1808 1
a1808 1

d1810 1
a1810 1

d1813 1
a1813 1

d1817 1
a1817 1

d1819 1
a1819 1

d1825 1
a1825 1

d1829 1
a1829 1

d1833 1
a1833 1

d1837 1
a1837 1

d1842 1
a1842 1

d1846 1
a1846 1

d1851 1
a1851 1

d1856 1
a1856 1

d1858 1
a1858 1

d1875 1
a1875 1

d1880 1
a1880 1

d1907 1
a1907 1

d1921 1
a1921 1

d1934 1
a1934 1

d1948 1
a1948 1

d1960 1
a1960 1

d1975 1
a1975 1

d2005 1
a2005 1

d2021 1
a2021 1

d2074 1
a2074 1

d2090 1
a2090 1

d2107 1
a2107 1

d2114 1
a2114 1

d2120 1
a2120 1

d2125 1
a2125 1

d2137 1
a2137 1

d2145 1
a2145 1

d2183 1
a2183 1

d2197 1
a2197 1

d2212 1
a2212 1

d2222 1
a2222 1

d2242 1
a2242 1

d2258 1
a2258 1

d2274 1
a2274 1

d2276 1
a2276 1

d2279 1
a2279 1

d2284 1
a2284 1

d2299 1
a2299 1

d2301 1
a2301 1

d2303 1
a2303 1

d2306 1
a2306 1

d2311 1
a2311 1

d2321 1
a2321 1

d2323 1
a2323 1

d2325 1
a2325 1

d2328 1
a2328 1

d2333 1
a2333 1

d2352 1
a2352 1

d2354 1
a2354 1

d2356 1
a2356 1

d2359 1
a2359 1

d2361 1
a2361 1

d2370 1
a2370 1

d2376 1
a2376 1

d2381 1
a2381 1

d2388 1
a2388 1

d2396 1
a2396 1

d2402 1
a2402 1

d2592 1
a2592 1

d2594 1
a2594 1

d2596 1
a2596 1

d2599 1
a2599 1

d2604 1
a2604 1

d2648 1
a2648 1

d2650 1
a2650 1

d2652 1
a2652 1

d2655 1
a2655 1

d2660 1
a2660 1

d2666 1
a2666 1

d2668 1
a2668 1

d2670 1
a2670 1

d2673 1
a2673 1

d2678 1
a2678 1

d2707 1
a2707 1

d2709 1
a2709 1

d2711 1
a2711 1

d2717 1
a2717 1

d2719 1
a2719 1

d2724 1
a2724 1

d2729 1
a2729 1

d2733 1
a2733 1

d2739 1
a2739 1

d2747 1
a2747 1

d2750 1
a2750 1

d2770 1
a2770 1

d3095 1
a3095 1

d3097 1
a3097 1

d3099 1
a3099 1

d3103 1
a3103 1

d3108 1
a3108 1

d3116 1
a3116 1

d3118 1
a3118 1

d3120 1
a3120 1

d3124 1
a3124 1

d3129 1
a3129 1

d3160 1
a3160 1

d3162 1
a3162 1

d3164 1
a3164 1

d3168 1
a3168 1

d3173 1
a3173 1

d3201 1
a3201 1

d3203 1
a3203 1

d3205 1
a3205 1

d3210 1
a3210 1

d3212 1
a3212 1

d3226 1
a3226 1

d3231 1
a3231 1

d3235 1
a3235 1

d3239 1
a3239 1

d3244 1
a3244 1

d3249 1
a3249 1

d3253 1
a3253 1

d3257 1
a3257 1

d3271 1
a3271 1

d3278 1
a3278 1

d3284 1
a3284 1

d3294 1
a3294 1

d3300 1
a3300 1

d3307 1
a3307 1

d3312 1
a3312 1

d3317 1
a3317 1

d3486 1
a3486 1

d3488 1
a3488 1

d3490 1
a3490 1

d3494 1
a3494 1

d3499 1
a3499 1

d3504 1
a3504 1

d3506 1
a3506 1

d3508 1
a3508 1

d3512 1
a3512 1

d3517 1
a3517 1

d3551 1
a3551 1

d3553 1
a3553 1

d3555 1
a3555 1

d3560 1
a3560 1

d3590 1
a3590 1

d3596 1
a3596 1

d3795 1
a3795 1

d3797 1
a3797 1

d3799 1
a3799 1

d3802 1
a3802 1

d3804 1
a3804 1

d3810 1
a3810 1

d3815 1
a3815 1

d3819 1
a3819 1

d3842 1
a3842 1

d3844 1
a3844 1

d3846 1
a3846 1

d3848 1
a3848 1

d3853 1
a3853 1

d3858 1
a3858 1

d3862 1
a3862 1

d3894 1
a3894 1

d3896 1
a3896 1

d3898 1
a3898 1

d3901 1
a3901 1

d3912 1
a3912 1

d3915 1
a3915 1

d3919 1
a3919 1

d3928 1
a3928 1

d3933 1
a3933 1

d3941 1
a3941 1

d3949 1
a3949 1

d3954 1
a3954 1

d3958 1
a3958 1

d3962 1
a3962 1

d3969 1
a3969 1

d3975 1
a3975 1

d3981 1
a3981 1

d4152 1
a4152 1

d4154 1
a4154 1

d4156 1
a4156 1

d4158 1
a4158 1

d4160 1
a4160 1

d4164 1
a4164 1

d4169 1
a4169 1

d4174 1
a4174 1

d4178 1
a4178 1

d4187 1
a4187 1

d4203 1
a4203 1

d4205 1
a4205 1

d4207 1
a4207 1

d4211 1
a4211 1

d4216 1
a4216 1

d4220 1
a4220 1

d4226 1
a4226 1

d4342 1
a4342 1

d4344 1
a4344 1

d4347 1
a4347 1

d4354 1
a4354 1

d4376 1
a4376 1

d4378 1
a4378 1

d4380 1
a4380 1

d4383 1
a4383 1

d4389 1
a4389 1

d4400 1
a4400 1

d4405 1
a4405 1

d4409 1
a4409 1

d4415 1
a4415 1

d4420 1
a4420 1

d4424 1
a4424 1

d4522 1
a4522 1

d4524 1
a4524 1

d4526 1
a4526 1

d4530 1
a4530 1

d4536 1
a4536 1

d4542 1
a4542 1

d4651 1
a4651 1

d4653 1
a4653 1

d4655 1
a4655 1

d4660 1
a4660 1

d4662 1
a4662 1

d4665 1
a4665 1

d4670 1
a4670 1

d4674 1
a4674 1

d4677 1
a4677 1

d4693 1
a4693 1

d4717 1
a4717 1

d4746 1
a4746 1

d4748 1
a4748 1

d4751 1
a4751 1

d4756 1
a4756 1

d4759 1
a4759 1

d4841 1
a4841 1

d4877 1
a4877 1

d4879 1
a4879 1

d4882 1
a4882 1

d4925 1
a4925 1

d4927 1
a4927 1

d4930 1
a4930 1

d5039 1
a5039 1

d5041 1
a5041 1

d5044 1
a5044 1

d5081 1
a5081 1

d5083 1
a5083 1

d5085 1
a5085 1

@


1.226.2.11
log
@Regenerate HISTORY for release.
@
text
@d3 1
a3 1
                                      
d5 1
a5 1
                                      
d7 1
a7 1
     
d10 1
a10 1
   
d14 1
a14 1
   
d25 1
a25 1
   
d83 1
a83 1
   
d85 1
a85 1
                                      
d88 1
a88 1
   
d92 1
a92 1
   
d101 1
a101 1
          
d108 1
a108 1
          
d112 1
a112 1
          
d119 1
a119 1
          
d125 1
a125 1
          
d131 1
a131 1
          
d136 1
a136 1
          
d140 1
a140 1
          
d148 1
a148 1
          
d153 1
a153 1
          
d157 1
a157 1
          
d160 1
a160 1
          
d168 1
a168 1
          
d175 1
a175 1
          
d179 1
a179 1
          
d184 1
a184 1
          
d189 1
a189 1
   
d194 1
a194 1
   
d196 1
a196 1
   
d253 1
a253 1
   
d259 1
a259 1
   
d307 1
a307 1
   
d368 1
a368 1
   
d434 1
a434 1
   
d466 1
a466 1
   
d504 1
a504 1
   
d574 1
a574 1
   
d653 1
a653 1
   
d680 1
a680 1
   
d707 1
a707 1
   
d730 1
a730 1
   
d764 1
a764 1
   
d773 1
a773 1
   
d789 1
a789 1
   
d820 1
a820 1
   
d849 1
a849 1
   
d851 1
a851 1
                                      
d853 1
a853 1
     
d856 1
a856 1
   
d861 1
a861 1
   
d896 1
a896 1
   
d898 1
a898 1
                                      
d900 1
a900 1
     
d903 1
a903 1
   
d908 1
a908 1
   
d923 1
a923 1
   
d925 1
a925 1
                                      
d927 1
a927 1
     
d930 1
a930 1
   
d935 1
a935 1
   
d1046 1
a1046 1
   
d1048 1
a1048 1
                                      
d1050 1
a1050 1
     
d1053 1
a1053 1
   
d1058 1
a1058 1
   
d1102 1
a1102 1
   
d1104 1
a1104 1
                                      
d1106 1
a1106 1
     
d1109 1
a1109 1
   
d1117 1
a1117 1
   
d1140 1
a1140 1
   
d1142 1
a1142 1
                                      
d1145 1
a1145 1
   
d1149 1
a1149 1
   
d1156 1
a1156 1
          
d1160 1
a1160 1
          
d1166 1
a1166 1
          
d1170 1
a1170 1
          
d1176 1
a1176 1
          
d1181 1
a1181 1
          
d1184 1
a1184 1
          
d1187 1
a1187 1
          
d1192 1
a1192 1
          
d1200 1
a1200 1
   
d1208 1
a1208 1
   
d1210 1
a1210 1
   
d1235 1
a1235 1
   
d1247 1
a1247 1
   
d1275 1
a1275 1
   
d1287 1
a1287 1
   
d1317 1
a1317 1
   
d1344 1
a1344 1
   
d1384 1
a1384 1
   
d1434 1
a1434 1
   
d1494 1
a1494 1
   
d1515 1
a1515 1
   
d1528 1
a1528 1
   
d1544 1
a1544 1
   
d1559 1
a1559 1
   
d1575 1
a1575 1
   
d1596 1
a1596 1
   
d1658 1
a1658 1
   
d1685 1
a1685 1
   
d1687 1
a1687 1
                                      
d1689 1
a1689 1
     
d1693 1
a1693 1
   
d1698 1
a1698 1
   
d1716 1
a1716 1
   
d1718 1
a1718 1
                                      
d1720 1
a1720 1
     
d1724 1
a1724 1
   
d1729 1
a1729 1
   
d1740 1
a1740 1
   
d1742 1
a1742 1
                                      
d1744 1
a1744 1
     
d1747 1
a1747 1
   
d1752 1
a1752 1
   
d1771 1
a1771 1
   
d1773 1
a1773 1
                                      
d1775 1
a1775 1
     
d1778 1
a1778 1
   
d1783 1
a1783 1
   
d1808 1
a1808 1
   
d1810 1
a1810 1
                                      
d1813 1
a1813 1
   
d1817 1
a1817 1
   
d1819 1
a1819 1
   
d1825 1
a1825 1
          
d1829 1
a1829 1
          
d1833 1
a1833 1
          
d1837 1
a1837 1
          
d1842 1
a1842 1
          
d1846 1
a1846 1
          
d1851 1
a1851 1
   
d1856 1
a1856 1
   
d1858 1
a1858 1
   
d1875 1
a1875 1
       
d1880 1
a1880 1
   
d1907 1
a1907 1
   
d1921 1
a1921 1
   
d1934 1
a1934 1
   
d1948 1
a1948 1
   
d1960 1
a1960 1
   
d1975 1
a1975 1
   
d2005 1
a2005 1
   
d2021 1
a2021 1
   
d2074 1
a2074 1
   
d2090 1
a2090 1
   
d2107 1
a2107 1
   
d2114 1
a2114 1
   
d2120 1
a2120 1
   
d2125 1
a2125 1
   
d2137 1
a2137 1
   
d2145 1
a2145 1
   
d2183 1
a2183 1
   
d2197 1
a2197 1
   
d2212 1
a2212 1
   
d2222 1
a2222 1
   
d2242 1
a2242 1
   
d2258 1
a2258 1
   
d2274 1
a2274 1
   
d2276 1
a2276 1
                                      
d2279 1
a2279 1
   
d2284 1
a2284 1
   
d2299 1
a2299 1
   
d2301 1
a2301 1
                                      
d2303 1
a2303 1
     
d2306 1
a2306 1
   
d2311 1
a2311 1
   
d2321 1
a2321 1
   
d2323 1
a2323 1
                                      
d2325 1
a2325 1
     
d2328 1
a2328 1
   
d2333 1
a2333 1
   
d2352 1
a2352 1
   
d2354 1
a2354 1
                                      
d2356 1
a2356 1
     
d2359 1
a2359 1
   
d2361 1
a2361 1
   
d2370 1
a2370 1
          
d2376 1
a2376 1
          
d2381 1
a2381 1
          
d2388 1
a2388 1
          
d2396 1
a2396 1
   
d2402 1
a2402 1
   
d2592 1
a2592 1
   
d2594 1
a2594 1
                                      
d2596 1
a2596 1
     
d2599 1
a2599 1
   
d2604 1
a2604 1
   
d2648 1
a2648 1
   
d2650 1
a2650 1
                                      
d2652 1
a2652 1
     
d2655 1
a2655 1
   
d2660 1
a2660 1
   
d2666 1
a2666 1
   
d2668 1
a2668 1
                                      
d2670 1
a2670 1
     
d2673 1
a2673 1
   
d2678 1
a2678 1
   
d2707 1
a2707 1
   
d2709 1
a2709 1
                                      
d2711 1
a2711 1
     
d2717 1
a2717 1
   
d2719 1
a2719 1
   
d2724 1
a2724 1
          
d2729 1
a2729 1
          
d2733 1
a2733 1
          
d2739 1
a2739 1
   
d2747 1
a2747 1
   
d2750 1
a2750 1
   
d2770 1
a2770 1
   
d3095 1
a3095 1
   
d3097 1
a3097 1
                                      
d3099 1
a3099 1
     
d3103 1
a3103 1
   
d3108 1
a3108 1
   
d3116 1
a3116 1
   
d3118 1
a3118 1
                                      
d3120 1
a3120 1
     
d3124 1
a3124 1
   
d3129 1
a3129 1
   
d3160 1
a3160 1
   
d3162 1
a3162 1
                                      
d3164 1
a3164 1
     
d3168 1
a3168 1
   
d3173 1
a3173 1
   
d3201 1
a3201 1
   
d3203 1
a3203 1
                                      
d3205 1
a3205 1
     
d3210 1
a3210 1
   
d3212 1
a3212 1
   
d3226 1
a3226 1
          
d3231 1
a3231 1
          
d3235 1
a3235 1
          
d3239 1
a3239 1
          
d3244 1
a3244 1
          
d3249 1
a3249 1
          
d3253 1
a3253 1
          
d3257 1
a3257 1
          
d3271 1
a3271 1
   
d3278 1
a3278 1
   
d3284 1
a3284 1
   
d3294 1
a3294 1
   
d3300 1
a3300 1
   
d3307 1
a3307 1
   
d3312 1
a3312 1
     
d3317 1
a3317 1
   
d3486 1
a3486 1
   
d3488 1
a3488 1
                                      
d3490 1
a3490 1
     
d3494 1
a3494 1
   
d3499 1
a3499 1
   
d3504 1
a3504 1
   
d3506 1
a3506 1
                                      
d3508 1
a3508 1
     
d3512 1
a3512 1
   
d3517 1
a3517 1
   
d3551 1
a3551 1
   
d3553 1
a3553 1
                                      
d3555 1
a3555 1
     
d3560 1
a3560 1
   
d3590 1
a3590 1
   
d3596 1
a3596 1
   
d3795 1
a3795 1
   
d3797 1
a3797 1
                                      
d3799 1
a3799 1
     
d3802 1
a3802 1
   
d3804 1
a3804 1
   
d3810 1
a3810 1
       
d3815 1
a3815 1
   
d3819 1
a3819 1
   
d3842 1
a3842 1
   
d3844 1
a3844 1
                                      
d3846 1
a3846 1
     
d3848 1
a3848 1
   
d3853 1
a3853 1
       
d3858 1
a3858 1
   
d3862 1
a3862 1
   
d3894 1
a3894 1
   
d3896 1
a3896 1
                                      
d3898 1
a3898 1
     
d3901 1
a3901 1
   
d3912 1
a3912 1
       
d3915 1
a3915 1
     
d3919 1
a3919 1
   
d3928 1
a3928 1
   
d3933 1
a3933 1
   
d3941 1
a3941 1
   
d3949 1
a3949 1
   
d3954 1
a3954 1
   
d3958 1
a3958 1
   
d3962 1
a3962 1
   
d3969 1
a3969 1
   
d3975 1
a3975 1
   
d3981 1
a3981 1
   
d4152 1
a4152 1
   
d4154 1
a4154 1
                                      
d4156 1
a4156 1
     
d4158 1
a4158 1
   
d4160 1
a4160 1
   
d4164 1
a4164 1
       
d4169 1
a4169 1
   
d4174 1
a4174 1
   
d4178 1
a4178 1
   
d4187 1
a4187 1
   
d4203 1
a4203 1
   
d4205 1
a4205 1
                                      
d4207 1
a4207 1
     
d4211 1
a4211 1
   
d4216 1
a4216 1
   
d4220 1
a4220 1
   
d4226 1
a4226 1
   
d4342 1
a4342 1
   
d4344 1
a4344 1
                                      
d4347 1
a4347 1
   
d4354 1
a4354 1
   
d4376 1
a4376 1
   
d4378 1
a4378 1
                                      
d4380 1
a4380 1
     
d4383 1
a4383 1
   
d4389 1
a4389 1
   
d4400 1
a4400 1
   
d4405 1
a4405 1
   
d4409 1
a4409 1
   
d4415 1
a4415 1
   
d4420 1
a4420 1
   
d4424 1
a4424 1
   
d4522 1
a4522 1
   
d4524 1
a4524 1
                                      
d4526 1
a4526 1
     
d4530 1
a4530 1
   
d4536 1
a4536 1
   
d4542 1
a4542 1
   
d4651 1
a4651 1
   
d4653 1
a4653 1
                                      
d4655 1
a4655 1
     
d4660 1
a4660 1
   
d4662 1
a4662 1
                                      
d4665 1
a4665 1
   
d4670 1
a4670 1
   
d4674 1
a4674 1
     
d4677 1
a4677 1
     
d4693 1
a4693 1
   
d4717 1
a4717 1
   
d4746 1
a4746 1
   
d4748 1
a4748 1
                                      
d4751 1
a4751 1
   
d4756 1
a4756 1
   
d4759 1
a4759 1
   
d4841 1
a4841 1
   
d4877 1
a4877 1
   
d4879 1
a4879 1
                                      
d4882 1
a4882 1
   
d4925 1
a4925 1
   
d4927 1
a4927 1
                                      
d4930 1
a4930 1
   
d5039 1
a5039 1
   
d5041 1
a5041 1
                                      
d5044 1
a5044 1
   
d5081 1
a5081 1
   
d5083 1
a5083 1
                                      
d5085 1
a5085 1
     
@


1.226.2.12
log
@Jan:

someone asked me about the FK deadlock fix, mentioned in the 7.3.3
release notes as 3rd change:

     http://www.postgresql.org/docs/current/static/release-7-3-3.html

Actually, that fix was available with 7.4, not 7.3. Don't know if we can
retroactively change the release-notes though.
@
text
@a464 2
     * Don't lock referenced row when "UPDATE" doesn't change foreign
       key's value (Jan)
d941 2
@


1.226.2.13
log
@Tom Lane wrote:
> momjian@@svr1.postgresql.org (Bruce Momjian) writes:
>>      someone asked me about the FK deadlock fix, mentioned in the 7.3.3
>>      release notes as 3rd change:
>>      http://www.postgresql.org/docs/current/static/release-7-3-3.html
>>      Actually, that fix was available with 7.4, not 7.3. Don't know if we can
>>      retroactively change the release-notes though.
>
> This is completely erroneous, please undo it.
>
> 2003-05-21 14:14  tgl
>
>       * src/: backend/utils/adt/ri_triggers.c,
>       test/regress/expected/foreign_key.out (REL7_3_STABLE): Back-patch
>       Jan's fix to avoid primary key lookup (and lock) if foreign key
>       does not change on UPDATE.

Oh ... didn't know that you did a backpatch. Sorry


Jan
@
text
@d465 2
a942 2
     * Don't lock referenced row when "UPDATE" doesn't change foreign
       key's value (Jan)
@


1.226.2.14
log
@Update release notes for 7.3.6.
@
text
@d3 1
a3 1

d5 1
a5 1

d7 1
a7 1

d10 2
a11 2

                         Migration to version 7.4.1
d14 1
a14 1

d25 2
a26 2

                                  Changes
d83 1
a83 1

d85 1
a85 1

d88 2
a89 2

                                  Overview
d92 1
a92 1

d101 1
a101 1

d108 1
a108 1

d112 1
a112 1

d119 1
a119 1

d125 1
a125 1

d131 1
a131 1

d136 1
a136 1

d140 1
a140 1

d148 1
a148 1

d153 1
a153 1

d157 1
a157 1

d160 1
a160 1

d168 1
a168 1

d175 1
a175 1

d179 1
a179 1

d184 1
a184 1

d189 2
a190 2

                          Migration to version 7.4
d194 1
a194 1

d196 1
a196 1

d253 2
a254 2

                                  Changes
d259 1
a259 1

d307 1
a307 1

d368 1
a368 1

d434 1
a434 1

d466 1
a466 1

d504 1
a504 1

d574 1
a574 1

d653 1
a653 1

d680 1
a680 1

d707 1
a707 1

d730 1
a730 1

d764 1
a764 1

d773 1
a773 1

d789 1
a789 1

d820 1
a820 1

d849 1
a849 44

                               Release 7.3.6

     Release date: 2004-03-02

   This release contains a variety of fixes from 7.3.5.
     _________________________________________________________________

                         Migration to version 7.3.6

   A dump/restore is *not* required for those running 7.3.*.
     _________________________________________________________________

                                  Changes

     * Revert erroneous changes in rule permissions checking
       A patch applied in 7.3.3 to fix a corner case in rule permissions
       checks turns out to have disabled rule-related permissions checks
       in many not-so-corner cases. This would for example allow users to
       insert into views they weren't supposed to have permission to
       insert into. We have therefore reverted the 7.3.3 patch. The
       original bug will be fixed in 7.5.
     * Repair incorrect order of operations in GetNewTransactionId()
       This bug could result in failure under out-of-disk-space
       conditions, including inability to restart even after disk space
       is freed.
     * Ensure configure selects -fno-strict-aliasing even when an
       external value for CFLAGS is supplied
       On some platforms, building with -fstrict-aliasing causes bugs.
     * Make pg_restore handle 64-bit off_t correctly
       This bug prevented proper restoration from archive files exceeding
       4Gb.
     * Make contrib/dblink not assume that local and remote type OIDs
       match (Joe)
     * Quote connectby()'s start_with argument properly (Joe)
     * Don't crash when a rowtype argument to a plpgsql function is NULL
     * Avoid generating invalid character encoding sequences in corner
       cases when planning LIKE operations
     * Ensure text_position() cannot scan past end of source string in
       multibyte cases (Korea PostgreSQL Users' Group)
     * Fix index optimization and selectivity estimates for LIKE
       operations on bytea columns (Joe)
     _________________________________________________________________

d851 1
a851 1

d853 1
a853 1

d856 2
a857 2

                         Migration to version 7.3.5
d861 2
a862 2

                                  Changes
d896 1
a896 1

d898 1
a898 1

d900 1
a900 1

d903 2
a904 2

                         Migration to version 7.3.4
d908 2
a909 2

                                  Changes
d923 1
a923 1

d925 1
a925 1

d927 2
a928 2

   This release contains a variety of fixes for version 7.3.2.
d930 2
a931 2

                         Migration to version 7.3.3
d935 2
a936 2

                                  Changes
d1046 1
a1046 1

d1048 1
a1048 1

d1050 1
a1050 1

d1053 2
a1054 2

                         Migration to version 7.3.2
d1058 2
a1059 2

                                  Changes
d1102 1
a1102 1

d1104 1
a1104 1

d1106 1
a1106 1

d1109 2
a1110 2

                         Migration to version 7.3.1
d1117 2
a1118 2

                                  Changes
d1140 1
a1140 1

d1142 1
a1142 1

d1145 2
a1146 2

                                  Overview
d1149 1
a1149 1

d1156 1
a1156 1

d1160 1
a1160 1

d1166 1
a1166 1

d1170 1
a1170 1

d1176 1
a1176 1

d1181 1
a1181 1

d1184 1
a1184 1

d1187 1
a1187 1

d1192 1
a1192 1

d1200 2
a1201 2

                          Migration to version 7.3
d1208 1
a1208 1

d1210 1
a1210 1

d1235 2
a1236 2

                                  Changes
d1247 1
a1247 1

d1275 1
a1275 1

d1287 1
a1287 1

d1317 1
a1317 1

d1344 1
a1344 1

d1384 1
a1384 1

d1434 1
a1434 1

d1494 1
a1494 1

d1515 1
a1515 1

d1528 1
a1528 1

d1544 1
a1544 1

d1559 1
a1559 1

d1575 1
a1575 1

d1596 1
a1596 1

d1658 1
a1658 1

d1685 1
a1685 1

d1687 1
a1687 1

d1689 1
a1689 1

d1693 2
a1694 2

                         Migration to version 7.2.4
d1698 2
a1699 2

                                  Changes
d1716 1
a1716 1

d1718 1
a1718 1

d1720 1
a1720 1

d1724 2
a1725 2

                         Migration to version 7.2.3
d1729 2
a1730 2

                                  Changes
d1740 1
a1740 1

d1742 1
a1742 1

d1744 1
a1744 1

d1747 2
a1748 2

                         Migration to version 7.2.2
d1752 2
a1753 2

                                  Changes
d1771 1
a1771 1

d1773 1
a1773 1

d1775 1
a1775 1

d1778 2
a1779 2

                         Migration to version 7.2.1
d1783 2
a1784 2

                                  Changes
d1808 1
a1808 1

d1810 1
a1810 1

d1813 2
a1814 2

                                  Overview
d1817 1
a1817 1

d1819 1
a1819 1

d1825 1
a1825 1

d1829 1
a1829 1

d1833 1
a1833 1

d1837 1
a1837 1

d1842 1
a1842 1

d1846 1
a1846 1

d1851 2
a1852 2

                          Migration to version 7.2
d1856 1
a1856 1

d1858 1
a1858 1

d1875 1
a1875 1

d1880 2
a1881 2

                                  Changes
d1907 1
a1907 1

d1921 1
a1921 1

d1934 1
a1934 1

d1948 1
a1948 1

d1960 1
a1960 1

d1975 1
a1975 1

d2005 1
a2005 1

d2021 1
a2021 1

d2074 1
a2074 1

d2090 1
a2090 1

d2107 1
a2107 1

d2114 1
a2114 1

d2120 1
a2120 1

d2125 1
a2125 1

d2137 1
a2137 1

d2145 1
a2145 1

d2183 1
a2183 1

d2197 1
a2197 1

d2212 1
a2212 1

d2222 1
a2222 1

d2242 1
a2242 1

d2258 1
a2258 1

d2274 1
a2274 1

d2276 1
a2276 1

d2279 2
a2280 2

                         Migration to version 7.1.3
d2284 2
a2285 2

                                  Changes
d2299 1
a2299 1

d2301 1
a2301 1

d2303 1
a2303 1

d2306 2
a2307 2

                         Migration to version 7.1.2
d2311 2
a2312 2

                                  Changes
d2321 1
a2321 1

d2323 1
a2323 1

d2325 1
a2325 1

d2328 2
a2329 2

                         Migration to version 7.1.1
d2333 2
a2334 2

                                  Changes
d2352 1
a2352 1

d2354 1
a2354 1

d2356 1
a2356 1

d2359 1
a2359 1

d2361 1
a2361 1

d2370 1
a2370 1

d2376 1
a2376 1

d2381 1
a2381 1

d2388 1
a2388 1

d2396 2
a2397 2

                          Migration to version 7.1
d2402 2
a2403 2

                                  Changes
d2592 1
a2592 1

d2594 1
a2594 1

d2596 1
a2596 1

d2599 2
a2600 2

                         Migration to version 7.0.3
d2604 2
a2605 2

                                  Changes
d2648 1
a2648 1

d2650 1
a2650 1

d2652 1
a2652 1

d2655 2
a2656 2

                         Migration to version 7.0.2
d2660 2
a2661 2

                                  Changes
d2666 1
a2666 1

d2668 1
a2668 1

d2670 1
a2670 1

d2673 2
a2674 2

                         Migration to version 7.0.1
d2678 2
a2679 2

                                  Changes
d2707 1
a2707 1

d2709 1
a2709 1

d2711 1
a2711 1

d2717 1
a2717 1

d2719 1
a2719 1

d2724 1
a2724 1

d2729 1
a2729 1

d2733 1
a2733 1

d2739 2
a2740 2

                          Migration to version 7.0
d2747 1
a2747 1

d2750 1
a2750 1

d2770 2
a2771 2

                                  Changes
d3095 1
a3095 1

d3097 1
a3097 1

d3099 1
a3099 1

d3103 2
a3104 2

                         Migration to version 6.5.3
d3108 2
a3109 2

                                  Changes
d3116 1
a3116 1

d3118 1
a3118 1

d3120 1
a3120 1

d3124 2
a3125 2

                         Migration to version 6.5.2
d3129 2
a3130 2

                                  Changes
d3160 1
a3160 1

d3162 1
a3162 1

d3164 1
a3164 1

d3168 2
a3169 2

                         Migration to version 6.5.1
d3173 2
a3174 2

                                  Changes
d3201 1
a3201 1

d3203 1
a3203 1

d3205 1
a3205 1

d3210 1
a3210 1

d3212 1
a3212 1

d3226 1
a3226 1

d3231 1
a3231 1

d3235 1
a3235 1

d3239 1
a3239 1

d3244 1
a3244 1

d3249 1
a3249 1

d3253 1
a3253 1

d3257 1
a3257 1

d3271 2
a3272 2

                          Migration to version 6.5
d3278 1
a3278 1

d3284 1
a3284 1

d3294 1
a3294 1

d3300 1
a3300 1

d3307 1
a3307 1

d3312 1
a3312 1

d3317 2
a3318 2

                                  Changes
d3486 1
a3486 1

d3488 1
a3488 1

d3490 1
a3490 1

d3494 2
a3495 2

                         Migration to version 6.4.2
d3499 2
a3500 2

                                  Changes
d3504 1
a3504 1

d3506 1
a3506 1

d3508 1
a3508 1

d3512 2
a3513 2

                         Migration to version 6.4.1
d3517 2
a3518 2

                                  Changes
d3551 1
a3551 1

d3553 1
a3553 1

d3555 1
a3555 1

d3560 1
a3560 1

d3590 2
a3591 2

                          Migration to version 6.4
d3596 2
a3597 2

                                  Changes
d3795 1
a3795 1

d3797 1
a3797 1

d3799 1
a3799 1

d3802 1
a3802 1

d3804 1
a3804 1

d3810 1
a3810 1

d3815 1
a3815 1

d3819 2
a3820 2

                                  Changes
d3842 1
a3842 1

d3844 1
a3844 1

d3846 1
a3846 1

d3848 1
a3848 1

d3853 1
a3853 1

d3858 1
a3858 1

d3862 2
a3863 2

                                  Changes
d3894 1
a3894 1

d3896 1
a3896 1

d3898 1
a3898 1

d3901 1
a3901 1

d3912 1
a3912 1

d3915 1
a3915 1

d3919 1
a3919 1

d3928 1
a3928 1

d3933 1
a3933 1

d3941 1
a3941 1

d3949 1
a3949 1

d3954 1
a3954 1

d3958 1
a3958 1

d3962 1
a3962 1

d3969 1
a3969 1

d3975 2
a3976 2

                          Migration to version 6.3
d3981 2
a3982 2

                                  Changes
d4152 1
a4152 1

d4154 1
a4154 1

d4156 1
a4156 1

d4158 1
a4158 1

d4160 1
a4160 1

d4164 1
a4164 1

d4169 2
a4170 2

                Migration from version 6.2 to version 6.2.1
d4174 1
a4174 1

d4178 1
a4178 1

d4187 2
a4188 2

                                  Changes
d4203 1
a4203 1

d4205 1
a4205 1

d4207 1
a4207 1

d4211 2
a4212 2

                 Migration from version 6.1 to version 6.2
d4216 1
a4216 1

d4220 2
a4221 2

                 Migration from version 1.x to version 6.2
d4226 2
a4227 2

                                  Changes
d4342 1
a4342 1

d4344 1
a4344 1

d4347 2
a4348 2

                Migration from version 6.1 to version 6.1.1
d4354 2
a4355 2

                                  Changes
d4376 1
a4376 1

d4378 1
a4378 1

d4380 1
a4380 1

d4383 1
a4383 1

d4389 1
a4389 1

d4400 1
a4400 1

d4405 1
a4405 1

d4409 1
a4409 1

d4415 2
a4416 2

                          Migration to version 6.1
d4420 1
a4420 1

d4424 2
a4425 2

                                  Changes
d4522 1
a4522 1

d4524 1
a4524 1

d4526 1
a4526 1

d4530 2
a4531 2

                 Migration from version 1.09 to version 6.0
d4536 2
a4537 2

                   Migration from pre-1.09 to version 6.0
d4542 2
a4543 2

                                  Changes
d4651 1
a4651 1

d4653 1
a4653 1

d4655 1
a4655 1

d4660 1
a4660 1

d4662 1
a4662 1

d4665 2
a4666 2

               Migration from version 1.02 to version 1.02.1
d4670 1
a4670 1

d4674 1
a4674 1

d4677 1
a4677 1

d4693 2
a4694 2

                           Dump/Reload Procedure
d4717 2
a4718 2

                                  Changes
d4746 1
a4746 1

d4748 1
a4748 1

d4751 2
a4752 2

                 Migration from version 1.0 to version 1.01
d4756 1
a4756 1

d4759 1
a4759 1

d4841 2
a4842 2

                                  Changes
d4877 1
a4877 1

d4879 1
a4879 1

d4882 2
a4883 2

                                  Changes
d4925 1
a4925 1

d4927 1
a4927 1

d4930 2
a4931 2

                                  Changes
d5039 1
a5039 1

d5041 1
a5041 1

d5044 2
a5045 2

                                  Changes
d5081 1
a5081 1

d5083 1
a5083 1

d5085 1
a5085 1

@


1.226.2.15
log
@First update of release notes for 7.4.2.  Still needs work.
@
text
@d3 1
a3 42
                                      
                               Release 7.4.2
                                      
     Release date: 2004-03-??
     
   This release contains a variety of fixes from 7.4.1.
     _________________________________________________________________
   
Migration to version 7.4.2

   A dump/restore is *not* required for those running 7.4.X.
     _________________________________________________________________
   
Changes

   As of 2004-03-02
   
     * Fix problems with ALTER TABLE during concurrent access (Tom)
     * Improve hash build reliability (Tom)
     * Fix statistics alignment bug that could affect optimizer, initdb
       required (Tom)
     * Optimizer improvements (Tom)
     * Permission fix for view updates (Tom)
     * Allow non-super users to update pg_settings (Tom)
     * Fix for multibyte handling in position() (Korea PostgreSQL Users'
       Group)
     * Various multibyte fixes
     * Fix problem with hitting open file limit, especially on OS X (Tom)
     * Have pg_dump set client encoding on restore (Tom)
     * Allow ecpg to again use C keywords as column names (Michael)
     * Added ecpg WHENEVER NOT_FOUND to SELECT/INSERT/UPDATE/DELETE
       (Michael)
     * Fix ecpg crash for queries calling set-returning functions
       (Michael)
     * Various ecpg fixes (Michael)
     * Fixes for Borland compiler
     * Thread build improvements (Bruce)
     * Fix for configure --disable-shared support (Tom)
     * Various build fixes
     * Various jdbc fixes
     _________________________________________________________________
   
d5 1
a5 1
                                      
d7 1
a7 1
     
d10 2
a11 2
   
Migration to version 7.4.1
d14 1
a14 1
   
d25 2
a26 2
   
Changes
d83 1
a83 1
   
d85 1
a85 1
                                      
d88 2
a89 2
   
Overview
d92 1
a92 1
   
d101 1
a101 1
          
d108 1
a108 1
          
d112 1
a112 1
          
d119 1
a119 1
          
d125 1
a125 1
          
d131 1
a131 1
          
d136 1
a136 1
          
d140 1
a140 1
          
d148 1
a148 1
          
d153 1
a153 1
          
d157 1
a157 1
          
d160 1
a160 1
          
d168 1
a168 1
          
d175 1
a175 1
          
d179 1
a179 1
          
d184 1
a184 1
          
d189 2
a190 2
   
Migration to version 7.4
d194 1
a194 1
   
d196 1
a196 1
   
d253 2
a254 2
   
Changes
d259 1
a259 1
   
d307 1
a307 1
   
d368 1
a368 1
   
d434 1
a434 1
   
d466 1
a466 1
   
d504 1
a504 1
   
d574 1
a574 1
   
d653 1
a653 1
   
d680 1
a680 1
   
d707 1
a707 1
   
d730 1
a730 1
   
d764 1
a764 1
   
d773 1
a773 1
   
d789 1
a789 1
   
d820 1
a820 1
   
d849 1
a849 1
   
d851 1
a851 1
                                      
d853 1
a853 1
     
d856 2
a857 2
   
Migration to version 7.3.6
d861 2
a862 2
   
Changes
d892 1
a892 1
   
d894 1
a894 1
                                      
d896 1
a896 1
     
d899 2
a900 2
   
Migration to version 7.3.5
d904 2
a905 2
   
Changes
d939 1
a939 1
   
d941 1
a941 1
                                      
d943 1
a943 1
     
d946 2
a947 2
   
Migration to version 7.3.4
d951 2
a952 2
   
Changes
d966 1
a966 1
   
d968 1
a968 1
                                      
d970 1
a970 1
     
d973 2
a974 2
   
Migration to version 7.3.3
d978 2
a979 2
   
Changes
d1089 1
a1089 1
   
d1091 1
a1091 1
                                      
d1093 1
a1093 1
     
d1096 2
a1097 2
   
Migration to version 7.3.2
d1101 2
a1102 2
   
Changes
d1145 1
a1145 1
   
d1147 1
a1147 1
                                      
d1149 1
a1149 1
     
d1152 2
a1153 2
   
Migration to version 7.3.1
d1160 2
a1161 2
   
Changes
d1183 1
a1183 1
   
d1185 1
a1185 1
                                      
d1188 2
a1189 2
   
Overview
d1192 1
a1192 1
   
d1199 1
a1199 1
          
d1203 1
a1203 1
          
d1209 1
a1209 1
          
d1213 1
a1213 1
          
d1219 1
a1219 1
          
d1224 1
a1224 1
          
d1227 1
a1227 1
          
d1230 1
a1230 1
          
d1235 1
a1235 1
          
d1243 2
a1244 2
   
Migration to version 7.3
d1251 1
a1251 1
   
d1253 1
a1253 1
   
d1278 2
a1279 2
   
Changes
d1290 1
a1290 1
   
d1318 1
a1318 1
   
d1330 1
a1330 1
   
d1360 1
a1360 1
   
d1387 1
a1387 1
   
d1427 1
a1427 1
   
d1477 1
a1477 1
   
d1537 1
a1537 1
   
d1558 1
a1558 1
   
d1571 1
a1571 1
   
d1587 1
a1587 1
   
d1602 1
a1602 1
   
d1618 1
a1618 1
   
d1639 1
a1639 1
   
d1701 1
a1701 1
   
d1728 1
a1728 1
   
d1730 1
a1730 1
                                      
d1732 1
a1732 1
     
d1736 2
a1737 2
   
Migration to version 7.2.4
d1741 2
a1742 2
   
Changes
d1759 1
a1759 1
   
d1761 1
a1761 1
                                      
d1763 1
a1763 1
     
d1767 2
a1768 2
   
Migration to version 7.2.3
d1772 2
a1773 2
   
Changes
d1783 1
a1783 1
   
d1785 1
a1785 1
                                      
d1787 1
a1787 1
     
d1790 2
a1791 2
   
Migration to version 7.2.2
d1795 2
a1796 2
   
Changes
d1814 1
a1814 1
   
d1816 1
a1816 1
                                      
d1818 1
a1818 1
     
d1821 2
a1822 2
   
Migration to version 7.2.1
d1826 2
a1827 2
   
Changes
d1851 1
a1851 1
   
d1853 1
a1853 1
                                      
d1856 2
a1857 2
   
Overview
d1860 1
a1860 1
   
d1862 1
a1862 1
   
d1868 1
a1868 1
          
d1872 1
a1872 1
          
d1876 1
a1876 1
          
d1880 1
a1880 1
          
d1885 1
a1885 1
          
d1889 1
a1889 1
          
d1894 2
a1895 2
   
Migration to version 7.2
d1899 1
a1899 1
   
d1901 1
a1901 1
   
d1918 1
a1918 1
       
d1923 2
a1924 2
   
Changes
d1950 1
a1950 1
   
d1964 1
a1964 1
   
d1977 1
a1977 1
   
d1991 1
a1991 1
   
d2003 1
a2003 1
   
d2018 1
a2018 1
   
d2048 1
a2048 1
   
d2064 1
a2064 1
   
d2117 1
a2117 1
   
d2133 1
a2133 1
   
d2150 1
a2150 1
   
d2157 1
a2157 1
   
d2163 1
a2163 1
   
d2168 1
a2168 1
   
d2180 1
a2180 1
   
d2188 1
a2188 1
   
d2226 1
a2226 1
   
d2240 1
a2240 1
   
d2255 1
a2255 1
   
d2265 1
a2265 1
   
d2285 1
a2285 1
   
d2301 1
a2301 1
   
d2317 1
a2317 1
   
d2319 1
a2319 1
                                      
d2322 2
a2323 2
   
Migration to version 7.1.3
d2327 2
a2328 2
   
Changes
d2342 1
a2342 1
   
d2344 1
a2344 1
                                      
d2346 1
a2346 1
     
d2349 2
a2350 2
   
Migration to version 7.1.2
d2354 2
a2355 2
   
Changes
d2364 1
a2364 1
   
d2366 1
a2366 1
                                      
d2368 1
a2368 1
     
d2371 2
a2372 2
   
Migration to version 7.1.1
d2376 2
a2377 2
   
Changes
d2395 1
a2395 1
   
d2397 1
a2397 1
                                      
d2399 1
a2399 1
     
d2402 1
a2402 1
   
d2404 1
a2404 1
   
d2413 1
a2413 1
          
d2419 1
a2419 1
          
d2424 1
a2424 1
          
d2431 1
a2431 1
          
d2439 2
a2440 2
   
Migration to version 7.1
d2445 2
a2446 2
   
Changes
d2635 1
a2635 1
   
d2637 1
a2637 1
                                      
d2639 1
a2639 1
     
d2642 2
a2643 2
   
Migration to version 7.0.3
d2647 2
a2648 2
   
Changes
d2691 1
a2691 1
   
d2693 1
a2693 1
                                      
d2695 1
a2695 1
     
d2698 2
a2699 2
   
Migration to version 7.0.2
d2703 2
a2704 2
   
Changes
d2709 1
a2709 1
   
d2711 1
a2711 1
                                      
d2713 1
a2713 1
     
d2716 2
a2717 2
   
Migration to version 7.0.1
d2721 2
a2722 2
   
Changes
d2750 1
a2750 1
   
d2752 1
a2752 1
                                      
d2754 1
a2754 1
     
d2760 1
a2760 1
   
d2762 1
a2762 1
   
d2767 1
a2767 1
          
d2772 1
a2772 1
          
d2776 1
a2776 1
          
d2782 2
a2783 2
   
Migration to version 7.0
d2790 1
a2790 1
   
d2793 1
a2793 1
   
d2813 2
a2814 2
   
Changes
d3138 1
a3138 1
   
d3140 1
a3140 1
                                      
d3142 1
a3142 1
     
d3146 2
a3147 2
   
Migration to version 6.5.3
d3151 2
a3152 2
   
Changes
d3159 1
a3159 1
   
d3161 1
a3161 1
                                      
d3163 1
a3163 1
     
d3167 2
a3168 2
   
Migration to version 6.5.2
d3172 2
a3173 2
   
Changes
d3203 1
a3203 1
   
d3205 1
a3205 1
                                      
d3207 1
a3207 1
     
d3211 2
a3212 2
   
Migration to version 6.5.1
d3216 2
a3217 2
   
Changes
d3244 1
a3244 1
   
d3246 1
a3246 1
                                      
d3248 1
a3248 1
     
d3253 1
a3253 1
   
d3255 1
a3255 1
   
d3269 1
a3269 1
          
d3274 1
a3274 1
          
d3278 1
a3278 1
          
d3282 1
a3282 1
          
d3287 1
a3287 1
          
d3292 1
a3292 1
          
d3296 1
a3296 1
          
d3300 1
a3300 1
          
d3314 2
a3315 2
   
Migration to version 6.5
d3321 1
a3321 1
   
d3327 1
a3327 1
   
d3337 1
a3337 1
   
d3343 1
a3343 1
   
d3350 1
a3350 1
   
d3355 1
a3355 1
     
d3360 2
a3361 2
   
Changes
d3529 1
a3529 1
   
d3531 1
a3531 1
                                      
d3533 1
a3533 1
     
d3537 2
a3538 2
   
Migration to version 6.4.2
d3542 2
a3543 2
   
Changes
d3547 1
a3547 1
   
d3549 1
a3549 1
                                      
d3551 1
a3551 1
     
d3555 2
a3556 2
   
Migration to version 6.4.1
d3560 2
a3561 2
   
Changes
d3594 1
a3594 1
   
d3596 1
a3596 1
                                      
d3598 1
a3598 1
     
d3603 1
a3603 1
   
d3633 2
a3634 2
   
Migration to version 6.4
d3639 2
a3640 2
   
Changes
d3838 1
a3838 1
   
d3840 1
a3840 1
                                      
d3842 1
a3842 1
     
d3845 1
a3845 1
   
d3847 1
a3847 1
   
d3853 1
a3853 1
       
d3858 1
a3858 1
   
d3862 2
a3863 2
   
Changes
d3885 1
a3885 1
   
d3887 1
a3887 1
                                      
d3889 1
a3889 1
     
d3891 1
a3891 1
   
d3896 1
a3896 1
       
d3901 1
a3901 1
   
d3905 2
a3906 2
   
Changes
d3937 1
a3937 1
   
d3939 1
a3939 1
                                      
d3941 1
a3941 1
     
d3944 1
a3944 1
   
d3955 1
a3955 1
       
d3958 1
a3958 1
     
d3962 1
a3962 1
   
d3971 1
a3971 1
   
d3976 1
a3976 1
   
d3984 1
a3984 1
   
d3992 1
a3992 1
   
d3997 1
a3997 1
   
d4001 1
a4001 1
   
d4005 1
a4005 1
   
d4012 1
a4012 1
   
d4018 2
a4019 2
   
Migration to version 6.3
d4024 2
a4025 2
   
Changes
d4195 1
a4195 1
   
d4197 1
a4197 1
                                      
d4199 1
a4199 1
     
d4201 1
a4201 1
   
d4203 1
a4203 1
   
d4207 1
a4207 1
       
d4212 2
a4213 2
   
Migration from version 6.2 to version 6.2.1
d4217 1
a4217 1
   
d4221 1
a4221 1
   
d4230 2
a4231 2
   
Changes
d4246 1
a4246 1
   
d4248 1
a4248 1
                                      
d4250 1
a4250 1
     
d4254 2
a4255 2
   
Migration from version 6.1 to version 6.2
d4259 1
a4259 1
   
d4263 2
a4264 2
   
Migration from version 1.x to version 6.2
d4269 2
a4270 2
   
Changes
d4385 1
a4385 1
   
d4387 1
a4387 1
                                      
d4390 2
a4391 2
   
Migration from version 6.1 to version 6.1.1
d4397 2
a4398 2
   
Changes
d4419 1
a4419 1
   
d4421 1
a4421 1
                                      
d4423 1
a4423 1
     
d4426 1
a4426 1
   
d4432 1
a4432 1
   
d4443 1
a4443 1
   
d4448 1
a4448 1
   
d4452 1
a4452 1
   
d4458 2
a4459 2
   
Migration to version 6.1
d4463 1
a4463 1
   
d4467 2
a4468 2
   
Changes
d4565 1
a4565 1
   
d4567 1
a4567 1
                                      
d4569 1
a4569 1
     
d4573 2
a4574 2
   
Migration from version 1.09 to version 6.0
d4579 2
a4580 2
   
Migration from pre-1.09 to version 6.0
d4585 2
a4586 2
   
Changes
d4694 1
a4694 1
   
d4696 1
a4696 1
                                      
d4698 1
a4698 1
     
d4703 1
a4703 1
   
d4705 1
a4705 1
                                      
d4708 2
a4709 2
   
Migration from version 1.02 to version 1.02.1
d4713 1
a4713 1
   
d4717 1
a4717 1
     
d4720 1
a4720 1
     
d4736 2
a4737 2
   
Dump/Reload Procedure
d4760 2
a4761 2
   
Changes
d4789 1
a4789 1
   
d4791 1
a4791 1
                                      
d4794 2
a4795 2
   
Migration from version 1.0 to version 1.01
d4799 1
a4799 1
   
d4802 1
a4802 1
   
d4884 2
a4885 2
   
Changes
d4920 1
a4920 1
   
d4922 1
a4922 1
                                      
d4925 2
a4926 2
   
Changes
d4968 1
a4968 1
   
d4970 1
a4970 1
                                      
d4973 2
a4974 2
   
Changes
d5082 1
a5082 1
   
d5084 1
a5084 1
                                      
d5087 2
a5088 2
   
Changes
d5124 1
a5124 1
   
d5126 1
a5126 1
                                      
d5128 1
a5128 1
     
@


1.226.2.16
log
@Some editorial work on 7.4.2 release notes.
@
text
@d3 1
a3 1

d5 3
a7 3

     Release date: 2004-03-08

d10 2
d13 4
a16 1
                         Migration to version 7.4.2
d18 14
a31 84
   A dump/restore is not required for those running 7.4.X. However, it
   may be advisable as the easiest method of incorporating fixes for two
   errors that have been found in the initial contents of 7.4.X system
   catalogs. A dump/initdb/reload sequence using 7.4.2's initdb will
   automatically correct these problems.

   The more severe of the two errors is that data type anyarray has the
   wrong alignment label; this is a problem because the pg_statistic
   system catalog uses anyarray columns. The mislabeling can cause
   planner misestimations and even crashes when planning queries that
   involve WHERE clauses on double-aligned columns (such as float8 and
   timestamp). It is strongly recommended that all installations repair
   this error, either by initdb or by following the manual repair
   procedure given below.

   The lesser error is that the system view pg_settings ought to be
   marked as having public update access, to allow UPDATE pg_settings to
   be used as a substitute for "SET". This can also be fixed either by
   initdb or manually, but it is not necessary to fix unless you want to
   use UPDATE pg_settings.

   If you wish not to do an initdb, the following procedure will work for
   fixing pg_statistic. As the database superuser, do:
-- clear out old data in pg_statistic:
DELETE FROM pg_statistic;
VACUUM pg_statistic;
-- this should update 1 row:
UPDATE pg_type SET typalign = 'd' WHERE oid = 2277;
-- this should update 6 rows:
UPDATE pg_attribute SET attalign = 'd' WHERE atttypid = 2277;
--
-- At this point you MUST start a fresh backend to avoid a crash!
--
-- repopulate pg_statistic:
ANALYZE;

   This can be done in a live database, but beware that all backends
   running in the altered database must be restarted before it is safe to
   repopulate pg_statistic.

   To repair the pg_settings error, simply do:
GRANT SELECT, UPDATE ON pg_settings TO PUBLIC;

   The above procedures must be carried out in *each* database of an
   installation, including template1, and ideally including template0 as
   well. If you do not fix the template databases then any subsequently
   created databases will contain the same errors. template1 can be fixed
   in the same way as any other database, but fixing template0 requires
   additional steps. First, from any database issue
UPDATE pg_database SET datallowconn = true WHERE datname = 'template0';

   Next connect to template0 and perform the above repair procedures.
   Finally, do
-- re-freeze template0:
VACUUM FREEZE;
-- and protect it against future alterations:
UPDATE pg_database SET datallowconn = false WHERE datname = 'template0';
     _________________________________________________________________

                                  Changes

   Release 7.4.2 incorporates all the fixes included in release 7.3.6,
   plus the following fixes:

     * Fix pg_statistics alignment bug that could crash optimizer
       See above for details about this problem.
     * Allow non-super users to update pg_settings
     * Fix several optimizer bugs, most of which led to "variable not
       found in subplan target lists" errors
     * Avoid out-of-memory failure during startup of large multiple index
       scan
     * Fix multibyte problem that could lead to "out of memory" error
       during "COPY IN"
     * Fix problems with "SELECT INTO" / "CREATE TABLE AS" from tables
       without OIDs
     * Fix problems with "alter_table" regression test during parallel
       testing
     * Fix problems with hitting open file limit, especially on OS X
       (Tom)
     * Partial fix for Turkish-locale issues
       initdb will succeed now in Turkish locale, but there are still
       some inconveniences associated with the i/I problem.
     * Make pg_dump set client encoding on restore
     * Other minor pg_dump fixes
d37 1
a37 1
     * Various other ecpg fixes (Michael)
d40 3
a42 2
     * Various other build fixes
     * Various JDBC fixes
d44 1
a44 1

d46 1
a46 1

d48 1
a48 1

d51 2
a52 2

                         Migration to version 7.4.1
d55 1
a55 1

d66 2
a67 2

                                  Changes
d124 1
a124 1

d126 1
a126 1

d129 2
a130 2

                                  Overview
d133 1
a133 1

d142 1
a142 1

d149 1
a149 1

d153 1
a153 1

d160 1
a160 1

d166 1
a166 1

d172 1
a172 1

d177 1
a177 1

d181 1
a181 1

d189 1
a189 1

d194 1
a194 1

d198 1
a198 1

d201 1
a201 1

d209 1
a209 1

d216 1
a216 1

d220 1
a220 1

d225 1
a225 1

d230 2
a231 2

                          Migration to version 7.4
d235 1
a235 1

d237 1
a237 1

d294 2
a295 2

                                  Changes
d300 1
a300 1

d348 1
a348 1

d409 1
a409 1

d475 1
a475 1

d507 1
a507 1

d545 1
a545 1

d615 1
a615 1

d694 1
a694 1

d721 1
a721 1

d748 1
a748 1

d771 1
a771 1

d805 1
a805 1

d814 1
a814 1

d830 1
a830 1

d861 1
a861 1

d890 1
a890 1

d892 1
a892 1

d894 1
a894 1

d897 2
a898 2

                         Migration to version 7.3.6
d902 2
a903 2

                                  Changes
d933 1
a933 1

d935 1
a935 1

d937 1
a937 1

d940 2
a941 2

                         Migration to version 7.3.5
d945 2
a946 2

                                  Changes
d980 1
a980 1

d982 1
a982 1

d984 1
a984 1

d987 2
a988 2

                         Migration to version 7.3.4
d992 2
a993 2

                                  Changes
d1007 1
a1007 1

d1009 1
a1009 1

d1011 1
a1011 1

d1014 2
a1015 2

                         Migration to version 7.3.3
d1019 2
a1020 2

                                  Changes
d1130 1
a1130 1

d1132 1
a1132 1

d1134 1
a1134 1

d1137 2
a1138 2

                         Migration to version 7.3.2
d1142 2
a1143 2

                                  Changes
d1186 1
a1186 1

d1188 1
a1188 1

d1190 1
a1190 1

d1193 2
a1194 2

                         Migration to version 7.3.1
d1201 2
a1202 2

                                  Changes
d1224 1
a1224 1

d1226 1
a1226 1

d1229 2
a1230 2

                                  Overview
d1233 1
a1233 1

d1240 1
a1240 1

d1244 1
a1244 1

d1250 1
a1250 1

d1254 1
a1254 1

d1260 1
a1260 1

d1265 1
a1265 1

d1268 1
a1268 1

d1271 1
a1271 1

d1276 1
a1276 1

d1284 2
a1285 2

                          Migration to version 7.3
d1292 1
a1292 1

d1294 1
a1294 1

d1319 2
a1320 2

                                  Changes
d1331 1
a1331 1

d1359 1
a1359 1

d1371 1
a1371 1

d1401 1
a1401 1

d1428 1
a1428 1

d1468 1
a1468 1

d1518 1
a1518 1

d1578 1
a1578 1

d1599 1
a1599 1

d1612 1
a1612 1

d1628 1
a1628 1

d1643 1
a1643 1

d1659 1
a1659 1

d1680 1
a1680 1

d1742 1
a1742 1

d1769 1
a1769 1

d1771 1
a1771 1

d1773 1
a1773 1

d1777 2
a1778 2

                         Migration to version 7.2.4
d1782 2
a1783 2

                                  Changes
d1800 1
a1800 1

d1802 1
a1802 1

d1804 1
a1804 1

d1808 2
a1809 2

                         Migration to version 7.2.3
d1813 2
a1814 2

                                  Changes
d1824 1
a1824 1

d1826 1
a1826 1

d1828 1
a1828 1

d1831 2
a1832 2

                         Migration to version 7.2.2
d1836 2
a1837 2

                                  Changes
d1855 1
a1855 1

d1857 1
a1857 1

d1859 1
a1859 1

d1862 2
a1863 2

                         Migration to version 7.2.1
d1867 2
a1868 2

                                  Changes
d1892 1
a1892 1

d1894 1
a1894 1

d1897 2
a1898 2

                                  Overview
d1901 1
a1901 1

d1903 1
a1903 1

d1909 1
a1909 1

d1913 1
a1913 1

d1917 1
a1917 1

d1921 1
a1921 1

d1926 1
a1926 1

d1930 1
a1930 1

d1935 2
a1936 2

                          Migration to version 7.2
d1940 1
a1940 1

d1942 1
a1942 1

d1959 1
a1959 1

d1964 2
a1965 2

                                  Changes
d1991 1
a1991 1

d2005 1
a2005 1

d2018 1
a2018 1

d2032 1
a2032 1

d2044 1
a2044 1

d2059 1
a2059 1

d2089 1
a2089 1

d2105 1
a2105 1

d2158 1
a2158 1

d2174 1
a2174 1

d2191 1
a2191 1

d2198 1
a2198 1

d2204 1
a2204 1

d2209 1
a2209 1

d2221 1
a2221 1

d2229 1
a2229 1

d2267 1
a2267 1

d2281 1
a2281 1

d2296 1
a2296 1

d2306 1
a2306 1

d2326 1
a2326 1

d2342 1
a2342 1

d2358 1
a2358 1

d2360 1
a2360 1

d2363 2
a2364 2

                         Migration to version 7.1.3
d2368 2
a2369 2

                                  Changes
d2383 1
a2383 1

d2385 1
a2385 1

d2387 1
a2387 1

d2390 2
a2391 2

                         Migration to version 7.1.2
d2395 2
a2396 2

                                  Changes
d2405 1
a2405 1

d2407 1
a2407 1

d2409 1
a2409 1

d2412 2
a2413 2

                         Migration to version 7.1.1
d2417 2
a2418 2

                                  Changes
d2436 1
a2436 1

d2438 1
a2438 1

d2440 1
a2440 1

d2443 1
a2443 1

d2445 1
a2445 1

d2454 1
a2454 1

d2460 1
a2460 1

d2465 1
a2465 1

d2472 1
a2472 1

d2480 2
a2481 2

                          Migration to version 7.1
d2486 2
a2487 2

                                  Changes
d2676 1
a2676 1

d2678 1
a2678 1

d2680 1
a2680 1

d2683 2
a2684 2

                         Migration to version 7.0.3
d2688 2
a2689 2

                                  Changes
d2732 1
a2732 1

d2734 1
a2734 1

d2736 1
a2736 1

d2739 2
a2740 2

                         Migration to version 7.0.2
d2744 2
a2745 2

                                  Changes
d2750 1
a2750 1

d2752 1
a2752 1

d2754 1
a2754 1

d2757 2
a2758 2

                         Migration to version 7.0.1
d2762 2
a2763 2

                                  Changes
d2791 1
a2791 1

d2793 1
a2793 1

d2795 1
a2795 1

d2801 1
a2801 1

d2803 1
a2803 1

d2808 1
a2808 1

d2813 1
a2813 1

d2817 1
a2817 1

d2823 2
a2824 2

                          Migration to version 7.0
d2831 1
a2831 1

d2834 1
a2834 1

d2854 2
a2855 2

                                  Changes
d3179 1
a3179 1

d3181 1
a3181 1

d3183 1
a3183 1

d3187 2
a3188 2

                         Migration to version 6.5.3
d3192 2
a3193 2

                                  Changes
d3200 1
a3200 1

d3202 1
a3202 1

d3204 1
a3204 1

d3208 2
a3209 2

                         Migration to version 6.5.2
d3213 2
a3214 2

                                  Changes
d3244 1
a3244 1

d3246 1
a3246 1

d3248 1
a3248 1

d3252 2
a3253 2

                         Migration to version 6.5.1
d3257 2
a3258 2

                                  Changes
d3285 1
a3285 1

d3287 1
a3287 1

d3289 1
a3289 1

d3294 1
a3294 1

d3296 1
a3296 1

d3310 1
a3310 1

d3315 1
a3315 1

d3319 1
a3319 1

d3323 1
a3323 1

d3328 1
a3328 1

d3333 1
a3333 1

d3337 1
a3337 1

d3341 1
a3341 1

d3355 2
a3356 2

                          Migration to version 6.5
d3362 1
a3362 1

d3368 1
a3368 1

d3378 1
a3378 1

d3384 1
a3384 1

d3391 1
a3391 1

d3396 1
a3396 1

d3401 2
a3402 2

                                  Changes
d3570 1
a3570 1

d3572 1
a3572 1

d3574 1
a3574 1

d3578 2
a3579 2

                         Migration to version 6.4.2
d3583 2
a3584 2

                                  Changes
d3588 1
a3588 1

d3590 1
a3590 1

d3592 1
a3592 1

d3596 2
a3597 2

                         Migration to version 6.4.1
d3601 2
a3602 2

                                  Changes
d3635 1
a3635 1

d3637 1
a3637 1

d3639 1
a3639 1

d3644 1
a3644 1

d3674 2
a3675 2

                          Migration to version 6.4
d3680 2
a3681 2

                                  Changes
d3879 1
a3879 1

d3881 1
a3881 1

d3883 1
a3883 1

d3886 1
a3886 1

d3888 1
a3888 1

d3894 1
a3894 1

d3899 1
a3899 1

d3903 2
a3904 2

                                  Changes
d3926 1
a3926 1

d3928 1
a3928 1

d3930 1
a3930 1

d3932 1
a3932 1

d3937 1
a3937 1

d3942 1
a3942 1

d3946 2
a3947 2

                                  Changes
d3978 1
a3978 1

d3980 1
a3980 1

d3982 1
a3982 1

d3985 1
a3985 1

d3996 1
a3996 1

d3999 1
a3999 1

d4003 1
a4003 1

d4012 1
a4012 1

d4017 1
a4017 1

d4025 1
a4025 1

d4033 1
a4033 1

d4038 1
a4038 1

d4042 1
a4042 1

d4046 1
a4046 1

d4053 1
a4053 1

d4059 2
a4060 2

                          Migration to version 6.3
d4065 2
a4066 2

                                  Changes
d4236 1
a4236 1

d4238 1
a4238 1

d4240 1
a4240 1

d4242 1
a4242 1

d4244 1
a4244 1

d4248 1
a4248 1

d4253 2
a4254 2

                Migration from version 6.2 to version 6.2.1
d4258 1
a4258 1

d4262 1
a4262 1

d4271 2
a4272 2

                                  Changes
d4287 1
a4287 1

d4289 1
a4289 1

d4291 1
a4291 1

d4295 2
a4296 2

                 Migration from version 6.1 to version 6.2
d4300 1
a4300 1

d4304 2
a4305 2

                 Migration from version 1.x to version 6.2
d4310 2
a4311 2

                                  Changes
d4426 1
a4426 1

d4428 1
a4428 1

d4431 2
a4432 2

                Migration from version 6.1 to version 6.1.1
d4438 2
a4439 2

                                  Changes
d4460 1
a4460 1

d4462 1
a4462 1

d4464 1
a4464 1

d4467 1
a4467 1

d4473 1
a4473 1

d4484 1
a4484 1

d4489 1
a4489 1

d4493 1
a4493 1

d4499 2
a4500 2

                          Migration to version 6.1
d4504 1
a4504 1

d4508 2
a4509 2

                                  Changes
d4606 1
a4606 1

d4608 1
a4608 1

d4610 1
a4610 1

d4614 2
a4615 2

                 Migration from version 1.09 to version 6.0
d4620 2
a4621 2

                   Migration from pre-1.09 to version 6.0
d4626 2
a4627 2

                                  Changes
d4735 1
a4735 1

d4737 1
a4737 1

d4739 1
a4739 1

d4744 1
a4744 1

d4746 1
a4746 1

d4749 2
a4750 2

               Migration from version 1.02 to version 1.02.1
d4754 1
a4754 1

d4758 1
a4758 1

d4761 1
a4761 1

d4777 2
a4778 2

                           Dump/Reload Procedure
d4801 2
a4802 2

                                  Changes
d4830 1
a4830 1

d4832 1
a4832 1

d4835 2
a4836 2

                 Migration from version 1.0 to version 1.01
d4840 1
a4840 1

d4843 1
a4843 1

d4925 2
a4926 2

                                  Changes
d4961 1
a4961 1

d4963 1
a4963 1

d4966 2
a4967 2

                                  Changes
d5009 1
a5009 1

d5011 1
a5011 1

d5014 2
a5015 2

                                  Changes
d5123 1
a5123 1

d5125 1
a5125 1

d5128 2
a5129 2

                                  Changes
d5165 1
a5165 1

d5167 1
a5167 1

d5169 1
a5169 1

@


1.226.2.17
log
@Rebuild HISTORY file to match our official style sheets.
@
text
@d11 1
a11 1
Migration to version 7.4.2
d72 1
a72 1
Changes
d116 1
a116 1
Migration to version 7.4.1
d131 1
a131 1
Changes
d194 1
a194 1
Overview
d295 1
a295 1
Migration to version 7.4
d359 1
a359 1
Changes
d962 1
a962 1
Migration to version 7.3.6
d967 1
a967 1
Changes
d1005 1
a1005 1
Migration to version 7.3.5
d1010 1
a1010 1
Changes
d1052 1
a1052 1
Migration to version 7.3.4
d1057 1
a1057 1
Changes
d1079 1
a1079 1
Migration to version 7.3.3
d1084 1
a1084 1
Changes
d1202 1
a1202 1
Migration to version 7.3.2
d1207 1
a1207 1
Changes
d1258 1
a1258 1
Migration to version 7.3.1
d1266 1
a1266 1
Changes
d1294 1
a1294 1
Overview
d1349 1
a1349 1
Migration to version 7.3
d1384 1
a1384 1
Changes
d1842 1
a1842 1
Migration to version 7.2.4
d1847 1
a1847 1
Changes
d1873 1
a1873 1
Migration to version 7.2.3
d1878 1
a1878 1
Changes
d1896 1
a1896 1
Migration to version 7.2.2
d1901 1
a1901 1
Changes
d1927 1
a1927 1
Migration to version 7.2.1
d1932 1
a1932 1
Changes
d1962 1
a1962 1
Overview
d2000 1
a2000 1
Migration to version 7.2
d2029 1
a2029 1
Changes
d2428 1
a2428 1
Migration to version 7.1.3
d2433 1
a2433 1
Changes
d2455 1
a2455 1
Migration to version 7.1.2
d2460 1
a2460 1
Changes
d2477 1
a2477 1
Migration to version 7.1.1
d2482 1
a2482 1
Changes
d2545 1
a2545 1
Migration to version 7.1
d2551 1
a2551 1
Changes
d2748 1
a2748 1
Migration to version 7.0.3
d2753 1
a2753 1
Changes
d2804 1
a2804 1
Migration to version 7.0.2
d2809 1
a2809 1
Changes
d2822 1
a2822 1
Migration to version 7.0.1
d2827 1
a2827 1
Changes
d2888 1
a2888 1
Migration to version 7.0
d2919 1
a2919 1
Changes
d3252 1
a3252 1
Migration to version 6.5.3
d3257 1
a3257 1
Changes
d3273 1
a3273 1
Migration to version 6.5.2
d3278 1
a3278 1
Changes
d3317 1
a3317 1
Migration to version 6.5.1
d3322 1
a3322 1
Changes
d3420 1
a3420 1
Migration to version 6.5
d3466 1
a3466 1
Changes
d3643 1
a3643 1
Migration to version 6.4.2
d3648 1
a3648 1
Changes
d3661 1
a3661 1
Migration to version 6.4.1
d3666 1
a3666 1
Changes
d3739 1
a3739 1
Migration to version 6.4
d3745 1
a3745 1
Changes
d3968 1
a3968 1
Changes
d4011 1
a4011 1
Changes
d4124 1
a4124 1
Migration to version 6.3
d4130 1
a4130 1
Changes
d4318 1
a4318 1
Migration from version 6.2 to version 6.2.1
d4336 1
a4336 1
Changes
d4360 1
a4360 1
Migration from version 6.1 to version 6.2
d4369 1
a4369 1
Migration from version 1.x to version 6.2
d4375 1
a4375 1
Changes
d4496 1
a4496 1
Migration from version 6.1 to version 6.1.1
d4503 1
a4503 1
Changes
d4564 1
a4564 1
Migration to version 6.1
d4573 1
a4573 1
Changes
d4679 1
a4679 1
Migration from version 1.09 to version 6.0
d4685 1
a4685 1
Migration from pre-1.09 to version 6.0
d4691 1
a4691 1
Changes
d4814 1
a4814 1
Migration from version 1.02 to version 1.02.1
d4842 1
a4842 1
Dump/Reload Procedure
d4866 1
a4866 1
Changes
d4900 1
a4900 1
Migration from version 1.0 to version 1.01
d4990 1
a4990 1
Changes
d5031 1
a5031 1
Changes
d5079 1
a5079 1
Changes
d5193 1
a5193 1
Changes
@


1.226.2.18
log
@Remove HISTORY and INSTALL.  Have them generated by the tarball scripts.

Add README.CVS to help CVS folks find this information.
@
text
@@


1.225
log
@Update HISTORY.
@
text
@d17 6
a22 7
       
     Note: In previous releases, GROUP BY totals were accumulated by
     sequentially scanning the list of groups looking for a match; the
     7.4 code places GROUP BY values in hash buckets so the proper match
     can be found much quicker. This is particularly significant in
     speeding up queries that have a large number of distinct GROUP BY
     values.
d24 2
a25 3
       
     Note: In previous releases, hash joins could only occur on
     single-column joins. This release allows multi-column hash joins.
d27 4
a30 5
       
     Note: Prior releases evaluated ANSI join syntax only in the order
     specified by the query; 7.4 allows full optimization of queries
     using ANSI join syntax, meaning the optimizer considers all
     possible join orderings and chooses the most efficient.
d32 4
a35 5
       
     Note: The entire regular expression module has been replaced with a
     new version by Henry Spencer, originally written for TCL. The code
     greatly improves performance and supports several flavors of
     regular expressions.
d37 4
a40 5
       
     Note: Simple SQL functions can now be inlined by including their
     SQL in the main query. This improves performance by preventing
     repeated calls to the SQL function --- this allows simple SQL
     functions to behave like macros.
d42 3
a44 4
       
     Note: Prior releases allowed only IPv6 connections and IP data
     types only supported IPv4 addresses. This release adds full IPv6
     support in both of these areas.
d46 2
a47 3
       
     Note: Several people very familiar with the SSL API have overhauled
     our SSL code to improve SSL key negotiation and error recovery.
d50 5
a54 6
       
     Note: In prior releases, index pages that were left empty because
     of deleted rows could only be reused by rows with index values
     similar to the original rows indexed on that page. In 7.4, VACUUM
     records empty index pages and allows them to be used for any future
     index rows.
d65 3
a67 4
       
     Note: While prior libpq releases already supported threads, this
     release improves thread safety by fixing some non-thread-safe code
     that was used in the database connection routines.
d70 3
a72 4
       
     Note: This new tool monitors the database statistics tables for
     INSERT/UPDATE/DELETE activity and automatically vacuums tables when
     needed.
d74 2
a75 3
       
     Note: Many array limitations have been removed and they behave more
     like fully-supported data types.
d87 4
a90 5
       
     Note: Server-side autocommit was causing too many problems with
     languages and applications that wanted to control their own
     autocommit behavior so autocommit was removed from the server and
     added to individual client API's as appropriate.
d98 2
a99 3
       
     Note: In prior releases, FETCH 0 would fetch all remaining rows,
     and MOVE 0 would move to the end of the cursor.
d102 2
a103 3
       
     Note: Prior releases would return the tuple count passed to the
     command, not the actual number of rows FETCHed or MOVEd.
d113 4
a116 6
       
     Note: In prior releases, a date of 10/20/03 was interpreted as a
     date in October even if the DateStyle specified the day should be
     first. In 7.4, DateStyle is honored when converting such values and
     will throw an error if the date is invalid for the current
     DateStyle.
d119 1
a119 2
       
     Note: These functions were determined to be no longer useful.
d122 5
a126 6
       
     Note: In prior releases, there was special code so the string 'now'
     was interpreted at "INSERT" time and not at table creation time,
     but this work around didn't cover all cases. Release 7.4 now
     requires that defaults be defined properly using the now() or the
     special value CURRENT_TIMESTAMP. These will work in all situations.
d129 1
a129 2
       
     Note: Same description as above.
d132 2
a133 3
       
     Note: This was done to improve compatibility with other database
     systems.
d141 2
a142 4
       
     Note: In prior releases, certain rare SSL API error reports were
     not handled correctly. This release fixes those problems.
     gracefully.
d145 2
a146 3
       
     Note: SSL key renegotiation was happening too frequently, causing
     poor SSL performance. Also, initial key handling was improved.
d148 1
a148 2
       
     Note: This allows easier debugging of deadlock situations.
d151 2
a152 3
       
     Note: This should help prevent "/tmp" directory cleaner
     administration scripts from removing server socket files.
d155 3
a157 4
       
     Note: In prior releases, under certain rare cases, a server crash
     could cause btree indexes to become corrupt. This release removes
     those last few rare cases.
d161 4
a164 5
       
     Note: In prior releases, when a single-page index split into two
     page, there was a brief period when another database session would
     miss seeing an index entry. This failure was possible primarly on
     multi-cpu machines. This release fixes that rare failure case.
d167 4
a170 5
       
     Note: In prior releases, the free space map was not saved when the
     postmaster was stopped, so newly started servers has no free space
     information. This release saves the free space map, which is loaded
     when the server is restarted.
d194 4
a197 5
       
     Note: In prior releases, functions returning allocated memory would
     not free it until the query completed. This release allows the
     freeing of function-allocated memory when the function call
     completes, reducing the total memory used by functions.
d199 2
a200 3
       
     Note: There were several inefficiencies in the way the GEQO
     optimizer managed potential query paths. This release fixes this.
d206 3
a208 4
       
     Note: For shared libraries that require a long time to load, this
     option is available so the library can be pre-loaded in the
     postmaster and inherited by all database sessions.
d223 2
a224 3
       
     Note: The new network protocol requires fewer network packets to
     start a database session.
d229 4
a232 5
       
     Note: Prior releases suffered from poor hash index performance,
     particularly for high concurrency situations. This release fixes
     that, and the development group is interested in reports comparing
     btree and hash index performance.
d235 2
a236 3
       
     Note: Certain CPU's perform faster data copies when addresses are
     32-bit aligned.
d239 2
a240 3
       
     Note: NUMERIC used to be stored in base-100. The new code uses
     base-10000, for significantly better performance.
d247 2
a248 3
       
     Note: This was done so most parameters that control the server logs
     being with log_.
d253 3
a255 4
       
     Note: In prior releases, it was difficult to determine if
     checkpoint was happening too frequently. This feature adds a
     warning to the server logs when excessive checkpointing happens.
d261 2
a262 3
       
     Note: This is a security feature so non-super-users can't disable
     logging that was enabled by the administrator.
d265 2
a266 3
       
     Note: This centralizes client debug information so all debug output
     can be sent to either the client or server logs.
d268 2
a269 3
       
     Note: This allows OS X machines to query the network for available
     PostgreSQL servers.
d272 2
a273 3
       
     Note: This is an often requested debugging feature that allows
     administrators to see only slow queries in their server logs.
d276 2
a277 3
       
     Note: This allows administrators to merge the host IP address and
     netmask fields into a single CIDR field in pg_hba.conf.
d281 3
a283 4
       
     Note: This works with the new error reporting feature to supply
     additional error information like hints, file names and line
     numbers.
d286 3
a288 4
       
     Note: This option is useful for administration tools that need to
     know the configuration variable names and their minimum, maximums,
     defaults, and descriptions.
d291 5
a295 6
       
     Note: Prior versions defaulted to 64 shared buffers so PostgreSQL
     would start on even old computers. This release tests the amount of
     shared memory supported by the hardware and sizes it accordingly.
     Of course, users are still encouraged to evaluate their resource
     load and size shared_buffers accordingly.
d300 3
a302 4
       
     Note: In prior releases, there was no way to prevent SSL
     connections if both the client and server supported SSL. This
     option allows that capability.
d309 1
a309 2
       
     Note: bjm
d317 3
a319 4
       
     Note: In prior releases, only the super-user could see query
     strings using pg_stat_activity. Now ordinary users can see their
     own query strings.
d322 1
a322 2
       
     Note: bjm
d325 3
a327 4
       
     Note: By default, tables mentioned in the query are automatically
     added to the FROM clause if they are not already there. This option
     disabled that behavior.
d329 1
a329 2
       
     Note: This allows UPDATE to set a column to its default value.
d331 2
a332 3
       
     Note: In prior releases, LIMIT/OFFSET could only use constants, not
     expressions.
d334 1
a334 2
       
     Note: bjm ?
d341 1
a341 2
       
     Note: bjm ?
d343 3
a345 5
       
     Note: While this allows a trigger to fire at the end of a
     statement, it does not allow the trigger to access all rows
     modified by the query. This capability is planned for a future
     release.
d347 2
a348 3
       
     Note: This greatly increases the usefulness of domains by allowing
     them to use CHECK constraints.
d351 1
a351 2
       
     Note: This allows manipulation of existing domains.
d353 2
a354 3
       
     Note: PostgreSQL supports zero-column tables. This fixes various
     bugs that occur when using such tables.
d356 3
a358 4
       
     Note: In prior releases, ALTER TABLE ADD PRIMARY would add a unique
     index, but not a NOT NULL constraint. That is fixed in this
     release.
d361 2
a362 3
       
     Note: This allows control over whether new and updated rows will
     have an oid column. This is most useful for saving storage space.
d366 3
a368 4
       
     Note: This command is used by pg_dump to record the CLUSTER column
     for each table previously clustered. This information is used by
     database-wide cluster to cluster all previously clustered tables.
d375 2
a376 3
       
     Note: Allow GRANT to give other users the ability to grant
     permissions on a object.
d382 2
a383 3
       
     Note: This adds the ability for a table to be dropped or all rows
     deleted on transaction commit.
d385 3
a387 4
       
     Note: In previous releases, cursors were removed at the end of the
     transaction. Using WITH HOLD, the current release allows
     transaction to remain outside their own transaction.
d389 2
a390 3
       
     Note: In previous releases, MOVE 0 moved to the end of the cursor,
     and FETCH 0 fetched all remaning rows.
d393 2
a394 3
       
     Note: In prior releases, the row count returned by MOVE and FETCH
     did not accurately reflect the number of rows processed.
d396 3
a398 4
       
     Note: Certain cursors can not be fetched backwards optimally. By
     specifying SCROLL, extra work will be performed to guarantee that
     the cursor can be fetched in reverse or random order.
d402 1
a402 3
       
     Note: Prior versions would not allow EXPLAIN on a DECLARE
     statement.
d406 2
a407 3
       
     Note: This allows all previously clustered tables in a database to
     be reclustered with a single command.
d416 2
a417 3
       
     Note: Truncate can now be used inside a transaction, and rolled
     back if the transaction aborts.
d422 1
a422 2
       
     Note: This preserves ALTER TABLE ... SET STORAGE information.
d440 2
a441 3
       
     Note: In prior releases, only columns could be used in functional
     indexes. This release allows any type of expression.
d448 2
a449 3
       
     Note: Database comments are stored in database-local tables so
     comments on a database have to be stored in each database.
d453 4
a456 6
       
     Note: This allows system tables to be reindexed without the
     requirement of a standalone backend, which was necessary in
     previous releases. The only tables that now require a standalone
     backend for reindex are the global system tables pg_database,
     pg_shadow, and pg_group.
d459 3
a461 4
       
     Note: pg_dump now no longer reconnects to switch users, but instead
     uses SET SESSION AUTHORIZATION. This should reduce password
     prompting during restores.
d463 1
a463 2
       
     Note: We now include our own long option processing routines.
d470 2
a471 3
       
     Note: This controls precision output which was causing regression
     testing problems.
d477 2
a478 3
       
     Note: An md5 function was frequently requested. For more complex
     encryption capabilities, use /contrib/pgcrypto.
d480 1
a480 2
       
     Note: bjm ??
d490 2
a491 3
       
     Note: This allows the creation of functions that can work with any
     data type.
d500 2
a501 3
       
     Note: This allows arrays to behave like subqueries or a list of
     values: SELECT * FROM tab WHERE col IN array_val
d503 1
a503 2
       
     Note: bjm ??
d508 1
a508 2
       
     Note: bjm ??
d513 1
a513 2
       
     Note: Sixty-second values are needed for leap seconds.
d517 3
a519 4
       
     Note: There is no way for non-ASCII locales to use indexes for LIKE
     comparisons. However, this release adds a way to create a special
     index for LIKE. bjm ??
d533 1
a533 3
       
     Note: Prior releases returned an incorrect value for this function
     call.
d535 1
a535 2
       
     Note: bjm ??
d561 4
a564 5
       
     Note: The Python language no longer supports a restricted execution
     environment, so we removed the trusted version of PL/python. If
     this situation changes, we will re-add a version of PL/python that
     can be used by non-super users.
d579 3
a581 4
       
     Note: This forces the pager to be used even if the number of rows
     is less than the screen height --- this is valuable for rows that
     wrap across several screen rows.
d588 2
a589 3
       
     Note: In previous versions, \encoding was not aware of encoding
     changes made using SET CLIENT_ENCODING.
d591 2
a592 3
       
     Note: When \e is used to edit a query, the result is saved in the
     readline history for retrieval using the up arrow.
d596 1
a596 3
       
     Note: This takes the place of the remove server variable
     'autocommit'.
d598 1
a598 2
       
     Note: This controls the new error reporting details.
d608 5
a612 6
       
     Note: Win32 requires that memory allocated in a library be freed by
     a function in the same library, hence free() doesn't work for
     freeing memory allocated by libpq. PQfreemem() is the proper way to
     free libpq memory, especially on Win32, and is recommended for
     other platforms as well.
d614 2
a615 3
       
     Note: This allows clients to look up connection information in a
     central file on the client machine.
d628 3
a630 4
       
     Note: This is helpful for query-builder applications that want to
     know the underlying table and column names associated with a
     specific result set.
d651 2
a652 3
       
     Note: This allows ecpg to process embedded C programs that were
     written using certain Informix extensions.
d656 2
a657 3
       
     Note: This allows multiple ecpg threads to access the database at
     the same time.
d686 1
a686 2
       
     Note: This was no longer needed now that we have CREATE CONVERSION.
d688 3
a690 4
       
     Note: Platforms without spinlock code will now fail to compile,
     rather than silently using semaphores. This failure can be disabled
     with a new configure option.
@


1.224
log
@Fix markup by using <note> for comments.
@
text
@d11 5
a15 6
       
     Note: In previous releases, IN/NOT IN subqueries were joined to the
     upper query by sequentially scanning the subquery looking for a
     join. The 7.4 code uses the same sophisticated techniques used by
     ordinary joins and so is much faster, and is now faster than EXISTS
     subqueries.
d355 2
d364 4
d370 2
d374 4
d379 2
d382 3
d386 2
d394 2
d397 5
d403 3
d408 2
d411 3
d415 4
d421 3
d427 4
d437 3
d445 3
d449 4
d454 3
d459 3
d463 4
d470 3
d476 3
d487 4
a490 1
     * Multiple pg_dump fixes, including tar format and large objects
d494 2
d513 3
d522 3
d528 6
d536 4
d541 2
d549 3
d557 3
d561 2
d572 3
d583 3
d587 2
d593 2
d599 2
d604 4
d621 3
d625 2
d629 1
a629 1
     * Add new DateStyle values MDY, DMY, and YMD, honor US and European
d644 1
a644 1
       record var. (Tom)
d652 5
d671 4
d679 1
a679 1
     * \encoding now changes based on client_encoding server variable
d681 3
d685 3
d691 3
d695 2
d706 6
d713 3
d724 1
a724 1
       "allow", "Prefer", and "require" (Jon Jensen)
d728 4
d752 3
d758 3
d789 2
d792 4
d833 1
a833 1
     * Pattern matching operations can use indexes regardless of locale
@


1.223
log
@Fix markup for new release footnotes.
@
text
@d10 78
a87 50
   Performance
          IN/NOT IN subqueries are now much more efficient [1]
          
          Improved GROUP BY processing by using hash buckets [2]
          
          New multi-key hash join capability [3]
          
          ANSI joins are now better optimized [4]
          
          Faster and more powerful regular expression code [5]
          
          Function-inlining for simple SQL functions [6]
          
   IPv6
          Full support for IPv6 connections and IPv6 address data types
          [7]
          
   SSL
          Major improvements in SSL performance and reliability [8]
          
   Index Growth Prevention
          Allow free space map to efficiently reuse empty index pages,
          and other free space management improvements. [9]
          
   Standards Compliance
          Implement information schema
          
          Support for read-only transactions
          
          Make cursors comply more closely with the SQL standard
          
   New Client/Server Communication Protocol
          New protocol improves connection speed/reliability, and adds
          error codes, status information, a binary protocol, error
          reporting verbosity, and cleaner startup packets.
          
   Holdable Cursors
          Allow cursors to exist outside transactions
          
   Threads
          libpq and ecpg are now fully thread-safe with
          --enable-thread-safety [10]
          
   Contrib
          New version of full text indexing (tsearch2)
          
          New autovacuum tool [11]
          
          Array handling has been improved and moved into the main server
          [12]
d98 6
a103 1
       in client applications and languages. [13]
d110 4
a113 1
     * MOVE/FETCH 0 now does nothing [14]
d115 4
a118 1
       zero if at the beginning/end of the cursor [15]
d127 7
a133 1
       DateStyle [16]
d135 3
a137 1
       removed. [17]
d139 7
a145 1
       CURRENT_TIMESTAMP should be used instead [18]
d147 3
a149 1
       should be used instead [19]
d151 4
a154 1
     * Dollar sign ($) can be a non-first character in identifiers [20]
d157 1
a157 1
                                  Changes
a158 2
Server Operation

d161 5
a165 1
     * Fix SSL to handle errors cleanly (Nathan Mueller) [21]
d167 7
a173 2
       Chittenden) [22]
     * Print lock information when a deadlock is detected (Tom) [23]
d175 4
a178 1
       (Tom) [24]
d180 5
a184 1
     * Make btree indexes fully WAL-safe (Tom) [25]
d187 6
a192 1
       (Tom) [26]
d195 5
a199 1
       [27]
d215 2
a216 2
Performance

d222 10
a231 2
     * Reduce memory usage for queries using complex functions (Tom) [28]
     * Improve GEQO optimizer performance (Tom) [29]
d236 5
a240 1
       (Joe) [30]
d255 3
d261 6
a266 1
     * Improve hash index concurrency and speed (Tom) [31]
d268 4
a271 1
       improvement (Manfred Spraul) [32]
d273 4
a276 1
       (Tom) [33]
d279 2
a280 2
Server Configuration

d282 4
a285 1
       (Bruce) [34]
d290 4
d299 3
d304 7
a310 1
     * Add Rendezvous server support (Chris Campbell)
d313 3
d318 3
d324 4
d330 4
d336 6
d346 4
d353 2
a354 2
Queries

d372 2
a373 2
Object Manipulation

d395 2
a396 2
Utility Commands

d452 2
a453 2
Data Types and Functions

d519 2
a520 2
Server-side Languages

d541 2
a542 2
Psql

d559 2
a560 2
Libpq

d583 2
a584 2
JDBC

d592 2
a593 2
Miscellaneous Interfaces

d603 2
a604 2
Source Code

d631 2
a632 2
Contrib

d660 2
a661 2
Other Uncategorized

a4858 168
   
  Notes
  
   [1]
   
   In previous releases, IN/NOT IN subqueries were joined to the upper
   query by sequentially scanning the subquery looking for a join. The
   7.4 code uses the same sophisticated techniques used by ordinary joins
   and so is much faster, and is now faster than EXISTS subqueries.
   [2]
   
   In previous releases, GROUP BY totals were accumulated by sequentially
   scanning the list of groups looking for a match; the 7.4 code places
   GROUP BY values in hash buckets so the proper match can be found much
   quicker. This is particularly significant in speeding up queries that
   have a large number of distinct GROUP BY values.
   [3]
   
   In previous releases, hash joins could only occur on single-column
   joins. This release allows multi-column hash joins.
   [4]
   
   Prior releases evaluated ANSI join syntax only in the order specified
   by the query; 7.4 allows full optimization of queries using ANSI join
   syntax, meaning the optimizer considers all possible join orderings
   and chooses the most efficient.
   [5]
   
   The entire regular expression module has been replaced with a new
   version by Henry Spencer, originally written for TCL. The code greatly
   improves performance and supports several flavors of regular
   expressions.
   [6]
   
   Simple SQL functions can now be inlined by including their SQL in the
   main query. This improves performance by preventing repeated calls to
   the SQL function --- this allows simple SQL functions to behave like
   macros.
   [7]
   
   Prior releases allowed only IPv6 connections and IP data types only
   supported IPv4 addresses. This release adds full IPv6 support in both
   of these areas.
   [8]
   
   Several people very familiar with the SSL API have overhauled our SSL
   code to improve SSL key negotiation and error recovery.
   [9]
   
   In prior releases, index pages that were left empty because of deleted
   rows could only be reused by rows with index values similar to the
   original rows indexed on that page. In 7.4, VACUUM records empty index
   pages and allows them to be used for any future index rows.
   [10]
   
   While prior libpq releases already supported threads, this release
   improves thread safety by fixing some non-thread-safe code that was
   used in the database connection routines.
   [11]
   
   This new tool monitors the database statistics tables for
   INSERT/UPDATE/DELETE activity and automatically vacuums tables when
   needed.
   [12]
   
   Many array limitations have been removed and they behave more like
   fully-supported data types.
   [13]
   
   Server-side autocommit was causing too many problems with languages
   and applications that wanted to control their own autocommit behavior
   so autocommit was removed from the server and added to individual
   client API's as appropriate.
   [14]
   
   In prior releases, FETCH 0 would fetch all remaining rows, and MOVE 0
   would move to the end of the cursor.
   [15]
   
   Prior releases would return the tuple count passed to the command, not
   the actual number of rows FETCHed or MOVEd.
   [16]
   
   In prior releases, a date of 10/20/03 was interpreted as a date in
   October even if the DateStyle specified the day should be first. In
   7.4, DateStyle is honored when converting such values and will throw
   an error if the date is invalid for the current DateStyle.
   [17]
   
   These functions were determined to be no longer useful.
   [18]
   
   In prior releases, there was special code so the string 'now' was
   interpreted at "INSERT" time and not at table creation time, but this
   work around didn't cover all cases. Release 7.4 now requires that
   defaults be defined properly using the now() or the special value
   CURRENT_TIMESTAMP. These will work in all situations.
   [19]
   
   Same description as above.
   [20]
   
   This was done to improve compatibility with other database systems.
   [21]
   
   In prior releases, certain rare SSL API error reports were not handled
   correctly. This release fixes those problems. gracefully.
   [22]
   
   SSL key renegotiation was happening too frequently, causing poor SSL
   performance. Also, initial key handling was improved.
   [23]
   
   This allows easier debugging of deadlock situations.
   [24]
   
   This should help prevent "/tmp" directory cleaner administration
   scripts from removing server socket files.
   [25]
   
   In prior releases, under certain rare cases, a server crash could
   cause btree indexes to become corrupt. This release removes those last
   few rare cases.
   [26]
   
   In prior releases, when a single-page index split into two page, there
   was a brief period when another database session would miss seeing an
   index entry. This failure was possible primarly on multi-cpu machines.
   This release fixes that rare failure case.
   [27]
   
   In prior releases, the free space map was not saved when the
   postmaster was stopped, so newly started servers has no free space
   information. This release saves the free space map, which is loaded
   when the server is restarted.
   [28]
   
   In prior releases, functions returning allocated memory would not free
   it until the query completed. This release allows the freeing of
   function-allocated memory when the function call completes, reducing
   the total memory used by functions.
   [29]
   
   There were several inefficiencies in the way the GEQO optimizer
   managed potential query paths. This release fixes this.
   [30]
   
   For shared libraries that require a long time to load, this option is
   available so the library can be pre-loaded in the postmaster and
   inherited by all database sessions.
   [31]
   
   Prior releases suffered from poor hash index performance, particularly
   for high concurrency situations. This release fixes that, and the
   development group is interested in reports comparing btree and hash
   index performance.
   [32]
   
   Certain CPU's perform faster data copies when addresses are 32-bit
   aligned.
   [33]
   
   NUMERIC used to be stored in base-100. The new code uses base-10000,
   for significantly better performance.
   [34]
   
   This was done so most parameters that control the server logs being
   with log_.
@


1.222
log
@Release notes updates from Neil Conway.
@
text
@d11 1
a11 1
          IN/NOT IN subqueries are now much more efficient
d13 1
a13 1
          Improved GROUP BY processing by using hash buckets
d15 1
a15 1
          New multi-key hash join capability
d17 1
a17 1
          ANSI joins are now better optimized
d19 1
a19 1
          Faster and more powerful regular expression code
d21 1
a21 1
          Function-inlining for simple SQL functions
d25 1
d28 1
a28 1
          Major improvements in SSL performance and reliability
d32 1
a32 1
          and other free space management improvements.
d51 1
a51 1
          --enable-thread-safety
d56 1
a56 1
          New autovacuum tool
d59 1
d70 1
a70 1
       in client applications and languages.
d75 9
a83 6
     * A number of server variables have been renamed for clarity
     * MOVE/FETCH 0 now does nothing; return value of MOVE/FETCH 1/0
       varies based on the current offset in the cursor
     * COPY now can process carriage-return/line-feed and carriage-return
       terminated files. Literal carriage-returns and line-feeds are no
       longer accepted as data values; use \r and \n instead.
d88 1
a88 1
       DateStyle
d90 1
a90 1
       removed.
d92 1
a92 1
       CURRENT_TIMESTAMP should be used instead
d94 1
a94 1
       should be used instead
d96 1
a96 1
     * Dollar sign ($) can be a non-first character in identifiers
d105 1
a105 1
     * Fix SSL to handle errors cleanly (Nathan Mueller)
d107 2
a108 2
       Chittenden)
     * Print lock information when a deadlock is detected (Tom)
d110 1
a110 1
       (Tom)
d112 1
a112 1
     * Make btree indexes fully WAL-safe (Tom)
d115 1
a115 1
       (Tom)
d118 1
d141 2
a142 2
     * Reduce memory usage for queries using complex functions (Tom)
     * Improve GEQO optimizer performance (Tom)
d147 1
a147 1
       (Joe)
d165 1
a165 1
     * Improve hash index concurrency and speed (Tom)
d167 1
a167 1
       improvement (Manfred Spraul)
d169 1
a169 1
       (Tom)
d175 1
a175 1
       (Bruce)
d252 3
a254 4
     * Make MOVE/FETCH 0 actually move/fetch 0 (Bruce)
     * Cause FETCH 1 to return the next cursor row number, or zero if at
       beginning/end of cursor, per SQL spec (Bruce)
     * Have MOVE return 0 or 1 depending on cursor position (Bruce)
d4712 168
@


1.221
log
@Add mention that "today" doesn't work as column default anymore.
@
text
@d5 1
a5 2
     _________________________________________________________________
   
d10 13
d34 3
a36 1
          Implement information schema Support for read-only transactions
a44 13
   Performance
          IN/NOT IN subqueries now perform as efficiently as joins
          
          Improved GROUP BY processing by using hash buckets
          
          New multi-key hash join capability
          
          ANSI joins are now better optimized
          
          Faster and more powerful regular expression code
          
          Function-inlining for simple SQL functions
          
d71 2
a72 2
     * ANSI joins may behave differently because they are now better
       optimized
d148 1
a148 1
     * Allow join optimization of ANSI joins, disable with
d152 2
a153 1
     * Use faster regular expression code from TCL (Henry Spencer, Tom)
d162 2
d189 2
a190 2
     * postgres --help-config now dumps server config variables (Aizaz
       Ahmed)
d193 1
a193 1
     * Add new columns in pg_settings: context, type, source , min_val,
d244 1
a244 1
     * Add ON COMMIT PRESERVE ROWS for temp tables (Gavin)
d247 1
a247 1
     * Cause FETCH 1 to return the current cursor row, or zero if at
d284 2
a285 1
     * Functional indexes now support indexes on column expressions (Tom)
d297 1
d340 1
a340 2
     * Trim trailing spaces when CHAR() data is cast to VARCHAR or TEXT
       (Tom)
a347 1
     * Change DATESTYLE to output its value in a more common format (Tom)
d394 2
a395 1
     * Add schema, cast, and conversion backslash commands (Christopher)
d404 1
d457 1
a457 1
     * New palloc0 to allocate and clear memory (Bruce)
d466 2
a467 1
     * Bison >=1.85 is now required for grammar changes
d475 1
a475 1
     * Remove configure --enable-recode
a509 2
     * EXTRACT(TIMEZONE) and "SET/SHOW TIMEZONE " now follow SQL sign
       convention (positive = east of UTC)
a513 10
     * Output of "SHOW DATESTYLE" is now in the same format accepted by
       "SET DATESTYLE"
     * PL/Python is now an untrusted language, and is renamed to
       plpythonu
     * Dollar sign ($) is no longer allowed in operator names
     * Dollar sign ($) can be a non-first character in identifiers
     * Precision in FLOAT(p) is now interpreted as bits, not decimal
       digits
     * Functional indexes have been generalized into expressional indexes
     * CHAR(n) to TEXT conversion automatically strips trailing blanks
a514 37
     * New frontend/backend protocol supports many long-requested
       features
     * "SET AUTOCOMMIT TO OFF" is no longer supported; psql has an
       AUTOCOMMIT variable
     * Reimplementation of NUMERIC datatype for more speed
     * New regular expression package, many more regexp features (most of
       Perl5)
     * Can now do " EXPLAIN" ... "EXECUTE" to see plan used for a
       prepared query
     * Explicit "JOIN"s no longer constrain query plan, unless
       "JOIN_COLLAPSE_LIMIT = 1"
     * Performance of "foo IN (SELECT ...)" queries has been considerably
       improved
     * "FETCH 0" now re-fetches cursor's current row, per SQL spec
     * Revised executor state representation; plan trees are read-only to
       executor now
     * Information schema
     * Domains now support "CHECK" constraints
     * psql backslash commands for listing conversions, casts, and
       schemas
     * "TRUNCATE TABLE" is transaction-safe
     * "CLUSTER" can re-cluster a previously clustered table, or all such
       tables
     * Statement-level triggers
     * System can use either hash- or sort-based strategy for grouped
       aggregation
     * "ON COMMIT" options for temp tables
     * extra_float_digits option allows pg_dump to dump float data
       accurately
     * Long options for psql and pg_dump are now available on all
       platforms
     * Read-only transactions
     * Object owners can allow grantees to grant the privilege to others
       (grant option)
     * Added "contrib" module for pg_autovacuum which monitors inserts
       and deletes, and does "ANALYZE" or " VACUUM ANALYZE " when
       quantities exceed specified thresholds.
@


1.220
log
@Fix SGML markup.

Update HISTORY file.
@
text
@d85 6
a90 2
     * 'now' will no longer work as a column default; now() should be
       used instead
@


1.219
log
@Release updates by Tom.
@
text
@d4 1
a4 7
                           7.4 Development Branch
                                      

Valid as of 2003-09-28.  Update release.sgml later.

   
     Release date: 2003-??-??
d12 2
a13 2
         Full support for IPv6 connections and IPv6 address data types

d15 2
a16 2
         Major improvements in SSL performance and reliability

d18 3
a20 3
         Allow free space map to efficiently reuse empty index pages,
         and other free space management improvements.

d22 4
a25 4
         Implement information schema
         Support for read-only transactions
         Make cursors comply more closely with the SQL standard

d27 4
a30 4
         New protocol improves connection speed/reliability, and adds 
         error codes, status information, a binary protocol, error
         reporting verbosity, and cleaner startup packets.

d32 11
a42 6
         IN/NOT IN subqueries now perform as efficiently as joins
         Improved GROUP BY processing by using hash buckets
         New multi-key hash join capability
         ANSI joins are now better optimized
         Faster and more powerful regular expression code
         Function-inlining for simple SQL functions
d45 2
a46 2
         Allow cursors to exist outside transactions

d48 3
a50 2
         libpq and ecpg are now fully thread-safe with --enable-thread-safety

d52 5
a56 4
         New version of full text indexing (tsearch2)
         New autovacuum tool
         Array handling has been improved and moved into the main server

d65 1
d70 2
a71 1
     * ANSI joins may behave differently because they are now better optimized
d76 2
a77 2
       terminated files.  Literal carriage-returns and line-feeds are no
       longer accepted as data values;  use \r and \n instead.
d79 1
a79 1
       VARCHAR(n)/TEXT
d81 2
a82 1
     * Ambiguous date values now must match the ordering specified by DateStyle
d85 2
a86 1

d93 28
a120 22
Allow IPv6 server connections (Nigel Kukard, Johan Jordaan, Bruce, Tom, Kurt
  Roeckx, Andrew Dunstan)
Fix SSL to handle errors cleanly (Nathan Mueller)
SSL protocol security and performance improvements (Sean Chittenden)
Print lock information when a deadlock is detected (Tom)
Update /tmp socket mod. times regularly to avoid their removal (Tom)
Enable PAM for MAC OS X (Aaron Hillegass)
Make btree indexes fully WAL-safe (Tom)
Allow btree index compaction and empty page reuse (Tom)
Fix inconsistent index lookups during split of first root page (Tom)
Improve free space map allocation logic (Tom)
Preserve free space information between postmaster restarts (Tom)
Set proper schema permissions in initdb (Peter)
Add start time to pg_stat_activity (Neil)
New code to detect corrupt disk pages;  erase with zero_damaged_pages (Tom)
New client/server protocol: faster, no username length limit, allow
  clean exit from COPY (Tom)
Add transaction status, tableid, columnid to backend protocol (Tom)
Add new binary I/O protocol (Tom)
Remove autocommit server setting; move to client applications (Tom)
New error message wording, error codes, and three levels of error detail (Tom)

d122 1
a122 1

d125 31
a155 27
Add hashing for GROUP BY aggregates (Tom)
Allow nested loops to be smarter about multicolumn indexes (Tom)
Allow multi-key hash joins (Tom)
Improve constant folding (Tom)
Add ability to inline simple SQL functions (Tom)
Reduce memory usage for queries using complex functions (Tom)
Improve GEQO optimizer performance (Tom)
Allow IN/NOT IN to be handled via hash tables (Tom)
Improve NOT IN (subquery) performance (Tom)
Allow most IN subqueries to be processed as joins (Tom)
Allow the postmaster to preload libraries using preload_libraries (Joe)
Improve optimizer cost computations, particularly for subqueries (Tom)
Avoid sort when subquery ORDER BY matches upper query (Tom)
Assume WHERE a.x = b.y and b.y = 42 also means a.x = 42 (Tom)
Allow hash/merge joins on complex joins (Tom)
Allow hash joins for more data types (Tom)
Allow join optimization of ANSI joins, disable with join_collapse_limit (Tom)
Add from_collapse_limit to control conversion of subqueries to joins (Tom)
Use faster regular expression code from TCL (Henry Spencer, Tom)
Use bit-mapped relation sets in the optimizer (Tom)
Improve backend startup time (Tom)
Improve trigger/constraint performance (Stephan)
Improve speed of col IN (const, const, const, ...) (Tom)
Fix hash indexes which were broken in rare cases (Tom)
Improve hash index concurrency and speed (Tom)
Align shared buffers on 32-byte boundary for copy speed improvement

d157 1
a157 1

d160 30
a189 21
Rename server parameter server_min_messages to log_min_messages (Bruce)
Rename show_*_stats to log_*_stats (Bruce)
Rename show_source_port to log_source_port (Bruce)
Rename hostname_lookup to log_hostname (Bruce)
Add checkpoint_warning to warn of excessive checkpointing (Bruce)
New read-only server parameters for localization (Tom)
Change debug server log messages to output as DEBUG rather than LOG (Bruce)
Prevent server log variables from being turned off by non-super users (Bruce)
log_min_messages/client_min_messages now controls debug_* output (Bruce)
Add Rendezvous server support (Chris Campbell)
Add ability to print only slow statements using log_min_duration_statement
  (Christopher)
Allow pg_hba.conf to accept netmasks in CIDR format (Andrew Dunstan)
New is_superuser read-only variable (Tom)
New server-side parameter log_error_verbosity to control error detail (Tom)
postgres --help-config now dumps server config variables (Aizaz Ahmed)
Make default shared_buffers 1000 and max_connections 100, if possible (Tom)
Add new columns in pg_settings: context, type, source , min_val, max_val (Joe)
New pg_hba.conf 'hostnossl' to prevent SSL connections (Jon Jensen)
Remove geqo_random_seed server parameter (Tom)

d191 1
a191 1

d194 15
a208 13
New SQL-standard information schema (Peter)
Add read-only transactions (Peter)
Add server variable regex_flavor to control regular expression
  processing (Tom)
Print key name and value in foreign-key violation messages (Dmitry Tkach)
Allow users to see their own queries in pg_stat_activity (Kevin Brown)
Fix subquery aggregates of upper query columns to match SQL spec. (Tom)
Add option to prevent auto-addition of tables referenced in query (Nigel J.
  Andrews)
Allow UPDATE ... SET col = DEFAULT (Rod)
Allow expressions to be used in LIMIT/OFFSET (Tom)
Change EXECUTE INTO to CREATE TABLE AS EXECUTE (Peter)

d210 1
a210 1

d213 19
a231 17
Make CREATE SEQUENCE grammar more SQL1999 standards compliant (Neil)
Add FOR EACH STATEMENT statement-level triggers (Neil)
Add DOMAIN CHECK constraints (Rod)
Add ALTER DOMAIN .. SET / DROP NOT NULL, SET / DROP DEFAULT, ADD / DROP
  CONSTRAINT (Rod)
Fix several zero-column table bugs (Tom)
Have ALTER TABLE ... ADD PRIMARY KEY add NOT NULL constraint (Rod)
Add ALTER DOMAIN OWNER (Rod)
Add ALTER TABLE ... WITHOUT OIDS (Rod)
Add ALTER SEQUENCE to modify min/max/increment/cache/cycle values (Rod)
Add ALTER TABLE ... CLUSTER ON (Alvaro Herrera)
Improve DOMAIN automatic type casting (Rod, Tom)
Allow dollar signs in identifiers, except as first character (Tom)
Disallow dollar signs in operator names, so x=$1 works (Tom)
Allow SQL200X inheritance syntax LIKE <subtable>, INCLUDING DEFAULTS (Rod)
Add WITH GRANT OPTION clause to GRANT, per SQL spec (Peter)

d233 1
a233 1

d236 52
a287 42
Add ON COMMIT PRESERVE ROWS for temp tables (Gavin)
Allow cursors outside transactions using WITH HOLD (Neil)
Make MOVE/FETCH 0 actually move/fetch 0 (Bruce)
Cause FETCH 1 to return the current cursor row, or zero if at
  beginning/end of cursor, per SQL spec (Bruce)
Have MOVE return 0 or 1 depending on cursor position (Bruce)
Properly handle SCROLL with cursors, or report an error (Neil)
Implement SQL92-compatible FIRST, LAST, ABSOLUTE n, RELATIVE n options
   for FETCH and MOVE (Tom)
Allow EXPLAIN on DECLARE CURSOR (Tom)
Allow CLUSTER to use index marked as pre-clustered by default (Alvaro Herrera)
Allow CLUSTER to cluster all tables (Alvaro Herrera)
Prevent CLUSTER on partial indexes (Tom)
Allow \r and \r\n termination for COPY files (Bruce)
Disallow literal carriage return as a data value, backslash-carriage-return
  and \r are still allowed (Bruce)
COPY changes (binary, \.)? (Tom)
Recover from COPY IN/OUT failure cleanly (Tom)
Prevent possible memory leaks in COPY (Tom)
Make TRUNCATE transaction-safe (Rod)
Multiple pg_dump fixes, including tar format and large objects
Allow pg_dump to dump specific schemas (Neil)
Allow pg_dump to preserve column storage characteristics (Christopher)
Allow pg_dump to preserve CLUSTER characteristics (Christopher)
Have pg_dumpall use GRANT/REVOKE to dump database-level permissions (Tom)
Allow pg_dumpall to support the -a, -s, -x options of pg_dump (Tom)
Prevent pg_dump from lowercasing identifiers specified on the command line (Tom)
Allow PREPARE/bind of utility commands like FETCH and EXPLAIN (Tom)
Add EXPLAIN EXECUTE (Neil)
Allow pg_get_constraintdef() to support UNIQUE, PRIMARY KEY and
  CHECK constraints (Christopher)
Improve VACUUM performance on indexes by reducing WAL traffic (Tom)
Allow pg_ctl to better handle non-standard ports (Greg)
Functional indexes now support indexes on column expressions (Tom)
Syntax errors now reported as 'syntax error' rather than 'parse error' (Tom)
Have SHOW TRANSACTION_ISOLATION match input to SET TRANSACTION_ISOLATION (Tom)
Have COMMENT ON DATABASE on non-local database generate a warning (Rod)
Improve reliability of LISTEN/NOTIFY (Tom)
Allow REINDEX to reliably reindex non-shared system catalog indexes (Tom)
pg_dump --use-set-session-authorization and --no-reconnect now do nothing,
  all dumps use SET SESSION AUTHORIZATION

d289 1
a289 1

d292 65
a356 50
New extra_float_digits server parameter to control float precision display
  (Pedro Ferreira, Tom)
Allow +1300 as a numeric timezone specifier, for FJST (Tom)
Remove rarely used oidrand(), oidsrand(), and userfntest() functions (Neil)
Add md5() function to main server, already in /contrib/pgcrypto (Joe)
Increase date range of timestamp (John Cochran)
Change EXTRACT(EPOCH FROM timestamp) so timestamp without time zone
 is assumed to be in local time, not GMT (Tom)
Trap division by zero in case the operating system doesn't prevent it (Tom)
Change the NUMERIC data type internally to base 10000 (Tom)
New hostmask() function (Greg Wickham)
Fixes for to_char() (Karel)
Allow functions that can take any argument data type and return
  any data type, using ANYELEMENT and ANYARRAY (Joe)
Arrays may now be specified as ARRAY[1,2,3], ARRAY[['a','b'],['c','d']],
  or ARRAY[ARRAY[ARRAY[2]]] (Joe)
Allow proper comparisons for arrays (Joe)
Allow array concatenation with '||' (Joe)
Allow indexes on array columns, and used in ORDER BY and DISTINCT (Joe)
Allow WHERE qualification 'expr <oper> ANY/SOME/ALL (array-expr)' (Joe)
Allow polymorphic SQL functions (Joe)
New array functions array_append(), array_cat(), array_lower(),
  array_prepend(), array_to_string(), array_upper(), string_to_array() (Joe)
Allow user defined aggregates to use polymorphic functions (Joe)
Allow polymorphic user defined aggregates  (Joe)
Allow assignments to empty arrays (Joe)
Allow 60 in seconds fields of timestamp, time, interval input values (Tom)
Allow CIDR data type to be cast to text (Tom)
Allow the creation of special LIKE indexes for non-C locales (Peter)
Disallow invalid timezone names (Tom)
Trim trailing spaces when CHAR() data is cast to VARCHAR or TEXT (Tom)
Make FLOAT(p) measure the precision p in bits, not decimal digits (Tom)
Add IPv6 support to the inet and cidr data types (Michael Graff)
Add family() function to report whether address is IPv4 or IPv6 (Michael Graff)
Have SHOW DATESTYLE generate output similar to that used by SET DATESTYLE (Tom)
Change DATESTYLE to output its value in a more common format (Tom)
Make EXTRACT(TIMEZONE) and SET/SHOW TIMEZONE follow the SQL convention
  for the sign of timezone offsets, ie, positive is east from UTC (Tom)
Fix date_trunc('quarter',...) (B?jthe Zolt?n)
Make initcap() more compatible with Oracle (Mike Nolan)
Allow only DateStyle field order for date values not in ISO format (Greg)
Add new DateStyle values MDY, DMY, and YMD, honor US and European for
  backward compatibility (Tom)
'now' will no longer work as a column default, use now() (change required for 
  prepared statements) (Tom)
Assume NaN value to be larger than any other value in MIN()/MAX() (Tom)
Prevent interval from suppressing ':00' seconds display
New pg_get_triggerdef(prettyprint) and pg_constraint_is_visible() functions
Allow time to be specified as '040506' or '0405' (Tom)

d358 1
a358 1

d361 18
a378 14
Prevent PL/pgSQL crash when RETURN NEXT is used on a zero-row record var. (Tom)
Make PL/python's spi_execute interface handle NULLs properly (Andrew Bosma)
Allow PL/pgSQL to declare variables of composite types without %ROWTYPE (Tom)
Fix PL/python _quote() function to handle big integers (?)
Make PL/python an untrusted language, now called plpythonu (Kevin Jacobs, Tom)
Allow polymorphic PL/pgSQL functions (Tom, Joe)
Improved compiled function caching mechanism in PL/pgSQL with full
  support for polymorphism (Joe)
Add new $0 parameter in PL/pgSQL representing the function's actual
  return type (Joe)
Allow pltcl and plpython use the same trigger on multiple tables (Tom)
Fixed PL/Tcl's spi_prepare to accept full qualified type names in
  the parameter type list (Jan)

d380 1
a380 1

d383 12
a394 12
Add "\pset pager always" to always use pager (Greg)
Improve tab completion (Rod, Ross Reedstrom, Ian Barwick)
Reorder \? help into groupings (Harald Armin Massa, Bruce)
Add schema, cast, and conversion backslash commands (Christopher)
\encoding now changes based on client_encoding server variable (Tom)
Save edit history into readline history (Ross)
Improve \d display (Christopher)
Enhance HTML mode to be more standards-compliant (Greg)
New '\set AUTOCOMMIT off' capability (Tom)
New '\set VERBOSITY' to control error detail (Tom)
New  %T prompt string to show transaction status (Tom)

d396 1
a396 1

d399 20
a418 18
Allow PQcmdTuples() to return row counts for MOVE and FETCH (Neil)
Add PQfreemem() for freeing memory on Win32, suggest for NOTIFY (Bruce)
Document service capability, and add sample file (Bruce)
Make PQsetdbLogin() have the same defaults as PQconnectdb() (Tom)
Allow libpq to cleanly fail when result sets are too large (Tom)
Improve performance of PGunescapeBytea() (Ben Lamb)
Allow thread-safe libpq with --enable-thread-safety (Lee Kindness, Philip Yarra)
Allow pqInternalNotice() to accept a format string and args instead of
  just a preformatted message (Tom, Sean Chittenden)
Allow control SSL negotiation with sslmode values "disable", "allow", 
  "Prefer", and "require" (Jon Jensen)
Allow new error codes and levels of text (Tom)
Allow access to the underlying table and column of a query result (Tom)
Allow access to the current transaction status (Tom)
Add ability to pass binary data directly to the backend (Tom)
Add PQexecPrepared() and PQsendQueryPrepared() functions which
  perform Bind/Execute of previously prepared statements (Tom)

d420 1
a420 1

d423 5
a427 6
Allow setNull on updateable resultsets
Allow executeBatch on a prepared statement (Barry)
Support SSL connections (Barry)
Handle schema names in result sets (Paul Sorenson)
Add refcursor support (Nic Ferrier)

d429 1
a429 1

d432 7
a438 6
Prevent possible memory leak or core dump during libpgtcl shutdown (Tom)
Add ecpg Informix compatibility (Michael)
Add ecpg DECIMAL type that is fixed length, for Informix (Michael)
Allow thread-safe ecpg with --enable-thread-safety (Lee Kindness, Bruce)
Move python client interface to http://www.pygresql.org (Marc)

d440 1
a440 1

d443 23
a465 22
Prevent need for separate platform geometry regression result files (Tom)
Improved PPC locking primitive (Reinhard Max)
Embed LD_LIBRARY_PATH used for build process into binaries (Billy)
New palloc0 to allocate and clear memory (Bruce)
Fix locking code for s390x CPU (64-bit) (Tom)
Allow OpenBSD to use local ident credentials (William Ahern)
Make query plan trees read-only to executor (Tom)
Add Darwin startup scripts (David Wheeler)
Allow libpq to compile with Borland C++ compiler (Lester Godwin, Karl Waclawek)
Use our own version of getopt_long() if needed (Peter)
Convert administration scripts to C (Peter)
Bison >=1.85 is now required for grammar changes
Merge documentation into one book (Peter)
Add Win32 compatibility functions (Bruce)
Allow client interfaces to compile under MinGW/Win32 (Bruce)
New ereport() function for error reporting (Tom)
Support Intel Linux compiler (Peter)
Improve Linux startup scripts (Slawomir Sudnik, Darko Prenosil)
Add support for AMD Opteron and Itanium (Jeffrey W. Baker, Bruce)
Remove configure --enable-recode
Generate a compile error if spinlock code is not found (Bruce)

d467 1
a467 1

d470 110
a579 23
Change dbmirror license to BSD
Improve earthdistance (Bruno Wolff III)
Portability improvements to pgcrypto (Marko Kreen)
Prevent xml crash (John Gray, Michael Richards)
Update oracle
Update mysql
Update cube (Bruno Wolff III)
Update earthdistance to use cube (Bruno Wolff III)
Update btree_gist (Oleg)
New tsearch2 full-text search module (Oleg, Teodor)
Add hashed based crosstab function to tablefuncs (Joe)
Add serial column to order connectby() siblings in tablefuncs (Nabil Sayegh,Joe)
Add named persistent connections to dblink (Shridhar Daithanka)
New pg_autovacuum allows automatic VACUUM (Matthew T. O'Connor)
Allow pgbench to honor PGHOST, PGPORT, PGUSER env. variables (Tatsuo)
Improve intarray (Teodor Sigaev)
Improve pgstattuple (Rod)
Fix bug in metaphone() in fuzzystrmatch
Improve adddepend (Rod)
Update spi/timetravel (B?jthe Zolt?n)
Fix dbase -s option and improve non-ASCII handling (Thomas Behr,M?rcio Smiderle)
Remove array module because features now included by default (Joe)

d581 1
a581 1

d583 1
a583 1

d585 2
a586 2

   This has a variety of fixes from 7.3.2.
d588 1
a588 1

d590 2
a591 2

   A dump/restore is *not* required for those running 7.3.*.
d593 1
a593 1

d595 108
a702 85

   Repair sometimes-incorrect computation of StartUpID after a crash
   Avoid slowness with lots of deferred triggers in one transaction (Stephan)
   Don't lock referenced row when UPDATE doesn't change foreign key's value
	(Jan)
   Use -fPIC not -fpic on Sparc (Tom Callaway)
   Repair lack of schema-awareness in contrib/reindexdb
   Fix contrib/intarray error for zero-element result array (Teodor)
   Ensure createuser script will exit on control-C (Oliver)
   Fix errors when the type of a dropped column has itself been dropped
   CHECKPOINT does not cause database panic on failure in noncritical steps
   Accept 60 in seconds fields of timestamp, time, interval input values
   Issue notice, not error, if TIMESTAMP, TIME, or INTERVAL precision too
	large
   Fix abstime-to-time cast function (fix is not applied unless you initdb)
   Fix pg_proc entry for timestamptz_izone (fix is not applied unless you
	initdb)
   Make EXTRACT(EPOCH FROM timestamp without time zone) treat input as
	local time
   'now'::timestamptz gave wrong answer if timezone changed earlier in
	transaction
   HAVE_INT64_TIMESTAMP code for time with timezone overwrote its input
   Accept GLOBAL TEMP/TEMPORARY as a synonym for TEMPORARY
   Avoid improper schema-permissions-check failure in foreign-key triggers
   Fix bugs in foreign-key triggers for SET DEFAULT action
   Fix incorrect time-qual check in row fetch for UPDATE and DELETE triggers
   Foreign-key clauses were parsed but ignored in ALTER TABLE ADD COLUMN
   Fix createlang script breakage for case where handler function already
	exists
   Fix misbehavior on zero-column tables in pg_dump, COPY, ANALYZE, other
	places
   Fix misbehavior of func_error() on type names containing '%'
   Fix misbehavior of replace() on strings containing '%'
   Regular-expression patterns containing certain multibyte characters failed
   Account correctly for NULLs in more cases in join size estimation
   Avoid conflict with system definition of isblank() function or macro
   Fix failure to convert large code point values in EUC_TW conversions
	(Tatsuo)
   Fix error recovery for SSL_read/SSL_write calls
   Don't do early constant-folding of type coercion expressions
   Validate page header fields immediately after reading in any page
   Repair incorrect check for ungrouped variables in unnamed joins
   Fix buffer overrun in to_ascii (Guido Notari)
   contrib/ltree fixes (Teodor)
   Fix core dump in deadlock detection on machines where char is unsigned
   Avoid running out of buffers in many-way indexscan (bug introduced in 7.3)
   Fix planner's selectivity estimation functions to handle domains properly
   Fix dbmirror memory-allocation bug (Steven Singer)
   Prevent infinite loop in ln(numeric) due to roundoff error.
   GROUP BY got confused if there were multiple equal GROUP BY items
   Fix bad plan when inherited UPDATE/DELETE references another inherited
	table
   Prevent clustering on incomplete (partial or non-NULL-storing) indexes
   Service shutdown request at proper time if it arrives while still
	starting up
   Fix left-links in temporary indexes (could make backwards scans miss
	entries)
   Fix incorrect handling of client_encoding setting in postgresql.conf
	(Tatsuo)
   Fix failure to respond to 'pg_ctl stop -m fast' after Async_NotifyHandler
	runs
   Fix SPI for case where rule contains multiple statements of the same type
   Fix problem with checking for wrong type of access permission in rule query
   Fix problem with EXCEPT in CREATE RULE
   Prevent problem with dropping temp tables having serial columns
   Fix replace_vars_with_subplan_refs failure in complex views
   Fix regexp slowness in single-byte encodings (Tatsuo)
   Allow qualified type names in CREATE CAST and DROP CAST
   Accept 'SETOF type[]', which formerly had to be written 'SETOF _type'
   Fix pg_dump core dump in some cases with procedural languages
   Force ISO datestyle in pg_dump output, for portability (Oliver)
   pg_dump failed to handle error return from lo_read (Oleg Drokin)
   pg_dumpall failed with groups having no members (Nick Eskelinen)
   pg_dumpall failed to recognize --globals-only switch
   pg_restore failed to restore blobs if -X disable-triggers is specified
   Repair intrafunction memory leak in plpgsql
   pltcl's elog command dumped core if given wrong parameters (Ian Harding)
   plpython used wrong value of atttypmod (Brad McLean)
   Fix improper quoting of boolean values in Python interface (D'Arcy)
   Added addDataType() method to PGConnection interface for JDBC
   Fixed various problems with updateable ResultSets for JDBC (Shawn Green)
   Fixed various problems with DatabaseMetaData for JDBC (Kris Jurka,
	Peter Royal)
   Fixed problem with parsing table ACLs in JDBC
   Better error message for character set conversion problems in JDBC
d704 1
a704 1

d706 1
a706 1

d708 2
a709 2

   This has a variety of fixes from 7.3.1.
d711 1
a711 1

d713 2
a714 2

   A dump/restore is *not* required for those running 7.3.*.
d716 1
a716 1

d718 41
a758 32

   Restore creation of OID column in CREATE TABLE AS / SELECT INTO
   Fix pg_dump core dump when dumping views having comments
   Dump DEFERRABLE/INITIALLY DEFERRED constraints properly
   Fix UPDATE when child table's column numbering differs from parent
   Increase default value of max_fsm_relations
   Fix problem when fetching backwards in a cursor for a single-row query
   Make backward fetch work properly with cursor on SELECT DISTINCT query
   Fix problems with loading pg_dump files containing contrib/lo usage
   Fix problem with all-numeric user names
   Fix possible memory leak and core dump during disconnect in libpgtcl
   Make plpython's spi_execute command handle nulls properly (Andrew Bosma)
   Adjust plpython error reporting so that its regression test passes again
   Work with bison 1.875
   Handle mixed-case names properly in plpgsql's %type (Neil)
   Fix core dump in pltcl when executing a query rewritten by a rule
   Repair array subscript overruns (per report from Yichen Xie)
   Reduce MAX_TIME_PRECISION from 13 to 10 in floating-point case
   Correctly case-fold variable names in per-database and per-user settings
   Fix coredump in plpgsql's RETURN NEXT when SELECT into record returns
	no rows
   Fix outdated use of pg_type.typprtlen in python client interface
   Correctly handle fractional seconds in timestamps in JDBC driver
   Improve performance of getImportedKeys() in JDBC
   Make shared-library symlinks work standardly on HPUX (Giles)
   Repair inconsistent rounding behavior for timestamp, time, interval
   SSL negotiation fixes (Nathan Mueller)
   Make libpq's ~/.pgpass feature work when connecting with PQconnectDB
   Update my2pg, ora2pg
   Translation updates
   Add casts between types lo and oid in contrib/lo
   fastpath code now checks for privilege to call function
d765 1
a765 1
   This has a variety of fixes from 7.3.
d770 4
a773 4
   A dump/restore is *not* required for those running 7.3. However, it
   should be noted that the main PostgreSQL interface library, libpq, has
   a new major version number for this release, which may require
   recompilation of client code in certain cases.
d778 19
a796 17
   Fix a core dump of COPY TO when client/server encodings don't match (Tom)
   Allow pg_dump to work with pre-7.2 servers (Philip)
   /contrib/adddepend fixes (Tom)
   Fix problem with deletion of per-user/per-database config settings (Tom)
   /contrib/vacuumlo fix (Tom)
   Allow 'password' encryption even when pg_shadow contains MD5 passwords
    (Bruce)
   /contrib/dbmirror fix (Steven Singer)
   Optimizer fixes (Tom)
   /contrib/tsearch fixes (Teodor Sigaev, Magnus)
   Allow locale names to be mixed case (Nicolai Tufar)
   Increment libpq library's major version number (Bruce)
   pg_hba.conf error reporting fixes (Bruce, Neil)
   Add SCO Openserver 5.0.4 as a supported platform (Bruce)
   Prevent EXPLAIN from crashing server (Tom)
   SSL fixes (Nathan Mueller)
   Prevent composite column creation via ALTER TABLE (Tom)
d865 1
a865 1
   http://www.ca.postgresql.org/docs/momjian/upgrade_tips_7.3.
d898 6
a903 6
   Add pg_locks view to show locks (Neil)
   Security fixes for password negotiation memory allocation (Neil)
   Remove support for version 0 FE/BE protocol (PostgreSQL 6.2 and
     earlier) (Tom)
   Reserve the last few backend slots for superusers, add parameter
     superuser_reserved_connections to control this (Nigel J. Andrews)
d908 24
a931 22
   Improve startup by calling localtime() only once (Tom)
   Cache system catalog information in flat files for faster startup
     (Tom)
   Improve caching of index information (Tom)
   Optimizer improvements (Tom, Fernando Nasser)
   Catalog caches now store failed lookups (Tom)
   Hash function improvements (Neil)
   Improve performance of query tokenization and network handling (Peter)
   Speed improvement for large object restore (Mario Weilguni)
   Mark expired index entries on first lookup, saving later heap fetches
     (Tom)
   Avoid excessive NULL bitmap padding (Manfred Koizar)
   Add BSD-licensed qsort() for Solaris, for performance (Bruce)
   Reduce per-row overhead by four bytes (Manfred Koizar)
   Fix GEQO optimizer bug (Neil Conway)
   Make WITHOUT OID actually save four bytes per row (Manfred Koizar)
   Add default_statistics_target variable to specify ANALYZE buckets
     (Neil)
   Use local buffer cache for temporary tables so no WAL overhead (Tom)
   Improve free space map performance on large tables (Stephen Marshall,
     Tom)
   Improved WAL write concurrency (Tom)
d936 8
a943 8
   Add privileges on functions and procedural languages (Peter)
   Add OWNER to CREATE DATABASE so superusers can create databases
     on behalf of unprivileged users.  (Gavin Sherry, Tom)
   Add new object permission bits EXECUTE and USAGE (Tom)
   Add SET SESSION AUTHORIZATION DEFAULT and RESET SESSION AUTHORIZATION
     (Tom)
   Allow functions to be executed with the privilege of the function
     owner (Peter)
d948 26
a973 25
   Server log messages now tagged with LOG, not DEBUG (Bruce)
   Add user column to pg_hba.conf (Bruce)
   Have log_connections output two lines in log file (Tom)
   Remove debug_level from postgresql.conf, now server_min_messages
     (Bruce)
   New ALTER DATABASE/USER ... SET command for per-user/database
      initialization (Peter)
   New parameters server_min_messages and client_min_messages to
     control which messages are sent to the server logs or client
     applications (Bruce)
   Allow pg_hba.conf to specify lists of users/databases separated by
     commas, group names prepended with +, and file names prepended
     with @@ (Bruce)
   Remove secondary password file capability and pg_password utility
     (Bruce)
   Add variable db_user_namespace for database-local user names (Bruce)
   SSL improvements (Bear Giles)
   Make encryption of stored passwords the default (Bruce)
   Allow pg_statistics to be reset by calling pg_stat_reset()
     (Christopher)
   Add log_duration parameter (Bruce)
   Rename debug_print_query to log_statement (Bruce)
   Rename show_query_stats to show_statement_stats (Bruce)
   Add param log_min_error_statement to print commands to logs on error
     (Gavin)
d978 23
a1000 21
   Make cursors insensitive, meaning their contents do not change (Tom)
   Disable LIMIT #,# syntax; now only LIMIT # OFFSET # supported (Bruce)
   Increase identifier length to 63 (Neil, Bruce)
   UNION fixes for merging >= 3 columns of different lengths (Tom)
   Add DEFAULT keyword to INSERT, e.g., INSERT ... (..., DEFAULT, ...)
     (Rod)
   Allow views to have default values using ALTER COLUMN ... SET DEFAULT
     (Neil)
   Fail on INSERTs with column lists that don't supply all column
     values, e.g., INSERT INTO tab (col1, col2) VALUES ('val1');  (Rod)
   Fix for join aliases (Tom)
   Fix for FULL OUTER JOINs (Tom)
   Improve reporting of invalid identifier and location (Tom, Gavin)
   Fix OPEN cursor(args) (Tom)
   Allow 'ctid' to be used in a view and currtid(viewname) (Hiroshi)
   Fix for CREATE TABLE AS with UNION (Tom)
   SQL99 syntax improvements (Thomas)
   Add statement_timeout variable to cancel queries (Bruce)
   Allow prepared queries with PREPARE/EXECUTE (Neil)
   Allow FOR UPDATE to appear after LIMIT/OFFSET (Bruce)
   Add variable autocommit (Tom, David Van Wie)
d1005 36
a1040 35
   Make equals signs optional in CREATE DATABASE (Gavin Sherry)
   Make ALTER TABLE OWNER change index ownership too (Neil)
   New ALTER TABLE tabname ALTER COLUMN colname SET STORAGE controls
     TOAST storage, compression (John Gray)
   Add schema support, CREATE/DROP SCHEMA (Tom)
   Create schema for temporary tables (Tom)
   Add variable search_path for schema search (Tom)
   Add ALTER TABLE SET/DROP NOT NULL (Christopher)
   New CREATE FUNCTION volatility levels (Tom)
   Make rule names unique only per table (Tom)
   Add 'ON tablename' clause to DROP RULE and COMMENT ON RULE (Tom)
   Add ALTER TRIGGER RENAME (Joe)
   New current_schema() and current_schemas() inquiry functions (Tom)
   Allow functions to return multiple rows (table functions) (Joe)
   Make WITH optional in CREATE DATABASE, for consistency (Bruce)
   Add object dependency tracking (Rod, Tom)
   Add RESTRICT/CASCADE to DROP commands (Rod)
   Add ALTER TABLE DROP for non-CHECK CONSTRAINT (Rod)
   Autodestroy sequence on DROP of table with SERIAL (Rod)
   Prevent column dropping if column is used by foreign key (Rod)
   Automatically drop constraints/functions when object is dropped (Rod)
   Add CREATE/DROP OPERATOR CLASS (Bill Studenmund, Tom)
   Add ALTER TABLE DROP COLUMN (Christopher, Tom, Hiroshi)
   Prevent inherited columns from being removed or renamed (Alvaro
     Herrera)
   Fix foreign key constraints to not error on intermediate database
     states (Stephan)
   Propagate column or table renaming to foreign key constraints
   Add CREATE OR REPLACE VIEW (Gavin, Neil, Tom)
   Add CREATE OR REPLACE RULE (Gavin, Neil, Tom)
   Have rules execute alphabetically, returning more predictable values
     (Tom)
   Triggers are now fired in alphabetical order (Tom)
   Add /contrib/adddepend to handle pre-7.3 object dependencies (Rod)
   Allow better casting when inserting/updating values (Tom)
d1045 46
a1090 41
   Have COPY TO output embedded carriage returns and newlines as \r and
     \n (Tom)
   Allow DELIMITER in COPY FROM to be 8-bit clean (Tatsuo)
   Make pg_dump use ALTER TABLE ADD PRIMARY KEY, for performance (Neil)
   Disable brackets in multistatement rules (Bruce)
   Disable VACUUM from being called inside a function (Bruce)
   Allow dropdb and other scripts to use identifiers with spaces (Bruce)
   Restrict database comment changes to the current database
   Allow comments on operators, independent of the underlying function
     (Rod)
   Rollback SET commands in aborted transactions (Tom)
   EXPLAIN now outputs as a query (Tom)
   Display condition expressions and sort keys in EXPLAIN (Tom)
   Add 'SET LOCAL var = value' to set configuration variables for a
     single transaction (Tom)
   Allow ANALYZE to run in a transaction (Bruce)
   Improve COPY syntax using new WITH clauses, keep backward
     compatibility (Bruce)
   Fix pg_dump to consistently output tags in non-ASCII dumps (Bruce)
   Make foreign key constraints clearer in dump file (Rod)
   Add COMMENT ON CONSTRAINT (Rod)
   Allow COPY TO/FROM to specify column names (Brent Verner)
   Dump UNIQUE and PRIMARY KEY constraints as ALTER TABLE (Rod)
   Have SHOW output a query result (Joe)
   Generate failure on short COPY lines rather than pad NULLs (Neil)
   Fix CLUSTER to preserve all table attributes (Alvaro Herrera)
   New pg_settings table to view/modify GUC settings (Joe)
   Add smart quoting, portability improvements to pg_dump output (Peter)
   Dump serial columns out as SERIAL (Tom)
   Enable large file support, >2G for pg_dump (Peter, Philip Warner,
     Bruce)
   Disallow TRUNCATE on tables that are involved in referential
     constraints (Rod)
   Have TRUNCATE also auto-truncate the toast table of the relation (Tom)
   Add clusterdb utility that will auto-cluster an entire database
     based on previous CLUSTER operations (Alvaro Herrera)
   Overhaul pg_dumpall (Peter)
   Allow REINDEX of TOAST tables (Tom)
   Implemented START TRANSACTION, per SQL99 (Neil)
   Fix rare index corruption when a page split affects bulk delete (Tom)
   Fix ALTER TABLE ... ADD COLUMN for inheritance (Alvaro Herrera)
d1095 56
a1150 53
   Fix factorial(0) to return 1 (Bruce)
   Date/time/timezone improvements (Thomas)
   Fix for array slice extraction (Tom)
   Fix extract/date_part to report proper microseconds for timestamp
     (Tatsuo)
   Allow text_substr() and bytea_substr() to read TOAST values more
     efficiently (John Gray)
   Add domain support (Rod)
   Make WITHOUT TIME ZONE the default for TIMESTAMP and TIME data types
     (Thomas)
   Allow alternate storage scheme of 64-bit integers for date/time types
     using --enable-integer-datetimes in configure (Thomas)
   Make timezone(timestamptz) return timestamp rather than a string
     (Thomas)
   Allow fractional seconds in date/time types for dates prior to 1BC
     (Thomas)
   Limit timestamp data types to 6 decimal places of precision (Thomas)
   Change timezone conversion functions from timetz() to timezone()
     (Thomas)
   Add configuration variables datestyle and timezone (Tom)
   Add OVERLAY(), which allows substitution of a substring in a string
     (Thomas)
   Add SIMILAR TO (Thomas, Tom)
   Add regular expression SUBSTRING(string FROM pat FOR escape) (Thomas)
   Add LOCALTIME and LOCALTIMESTAMP functions (Thomas)
   Add named composite types using CREATE TYPE typename AS (column)
     (Joe)
   Allow composite type definition in the table alias clause (Joe)
   Add new API to simplify creation of C language table functions (Joe)
   Remove ODBC-compatible empty parentheses from calls to SQL99
     functions for which these parentheses do not match the standard
     (Thomas)
   Allow macaddr data type to accept 12 hex digits with no separators
     (Mike Wyer)
   Add CREATE/DROP CAST (Peter)
   Add IS DISTINCT FROM operator (Thomas)
   Add SQL99 TREAT() function, synonym for CAST() (Thomas)
   Add pg_backend_pid() to output backend pid (Bruce)
   Add IS OF / IS NOT OF type predicate (Thomas)
   Allow bit string constants without fully-specified length (Thomas)
   Allow conversion between 8-byte integers and bit strings (Thomas)
   Implement hex literal conversion to bit string literal (Thomas)
   Allow table functions to appear in the FROM clause (Joe)
   Increase maximum number of function parameters to 32 (Bruce)
   No longer automatically create index for SERIAL column (Tom)
   Add current_database() (Rod)
   Fix cash_words() to not overflow buffer (Tom)
   Add functions replace(), split_part(), to_hex() (Joe)
   Fix LIKE for bytea as a right-hand argument (Joe)
   Prevent crashes caused by SELECT cash_out(2) (Tom)
   Fix to_char(1,'FM999.99') to return a period (Karel)
   Fix trigger/type/language functions returning OPAQUE to return
     proper type (Tom)
d1155 17
a1171 17
   Add additional encodings: Korean (JOHAB), Thai (WIN874), Vietnamese
     (TCVN), Arabic (WIN1256), Simplified Chinese (GBK), Korean (UHC)
     (Eiji Tokuya)
   Enable locale support by default (Peter)
   Add locale variables (Peter)
   Escape byes >= 0x7f for multibyte in PQescapeBytea/PQunescapeBytea
     (Tatsuo)
   Add locale awareness to regular expression character classes
   Enable multibyte support by default (Tatso)
   Add GB18030 multibyte support (Bill Huang)
   Add CREATE/DROP CONVERSION, allowing loadable encodings (Tatsuo,
     Kaori)
   Add pg_conversion table (Tatsuo)
   Add SQL99 CONVERT() function (Tatsuo)
   pg_dumpall, pg_controldata, and pg_resetxlog now national-language
     aware (Peter)
   New and updated translations
d1176 40
a1215 40
   Allow recursive SQL function (Peter)
   Change PL/Tcl build to use configured compiler and Makefile.shlib
     (Peter)
   Overhaul the PL/pgSQL FOUND variable to be more Oracle-compatible
     (Neil, Tom)
   Allow PL/pgSQL to handle quoted identifiers (Tom)
   Allow set-returning PL/pgSQL functions (Neil)
   Make PL/pgSQL schema-aware (Joe)
   Remove some memory leaks (Nigel J. Andrews, Tom)
     _________________________________________________________________
   
Psql

   Don't lowercase psql \connect database name for 7.2.0 compatibility
     (Tom)
   Add psql \timing to time user queries (Greg Sabino Mullane)
   Have psql \d show index information (Greg Sabino Mullane)
   New psql \dD shows domains (Jonathan Eisler)
   Allow psql to show rules on views (Paul ?)
   Fix for psql variable substitution (Tom)
   Allow psql \d to show temporary table structure (Tom)
   Allow psql \d to show foreign keys (Rod)
   Fix \? to honor \pset pager (Bruce)
   Have psql reports its version number on startup (Tom)
   Allow \copy to specify column names (Tom)
     _________________________________________________________________
   
Libpq

   Add $HOME/.pgpass to store host/user password combinations (Alvaro
     Herrera)
   Add PQunescapeBytea() function to libpq (Patrick Welche)
   Fix for sending large queries over non-blocking connections
     (Bernhard Herzog)
   Fix for libpq using timers on Win9X (David Ford)
   Allow libpq notify to handle servers with different-length
     identifiers (Tom)
   Add libpq PQescapeString() and PQescapeBytea() to Win32 (Bruce)
   Fix for SSL with non-blocking connections (Jack Bates)
   Add libpq connection timeout parameter (Denis A Ustimenko)
d1220 12
a1231 11
   Allow JDBC to compile with JDK 1.4 (Dave)
   Add JDBC 3 support (Barry)
   Allows JDBC to set loglevel by adding ?loglevel=X to the connection
     URL (Barry)
   Add Driver.info() message that prints out the version number (Barry)
   Add updateable result sets (Raghu Nidagal, Dave)
   Add support for callable statements (Paul Bethe)
   Add query cancel capability
   Add refresh row (Dave)
   Fix MD5 encryption handling for multibyte servers (Jun Kawai)
   Add support for prepared statements (Barry)
d1236 17
a1252 16
   Fixed ECPG bug concerning octal numbers in single quotes (Michael)
   Move src/interfaces/libpgeasy to http://gborg.postgresql.org (Marc,
     Bruce)
   Improve Python interface (Elliot Lee, Andrew Johnson, Greg Copeland)
   Add libpgtcl connection close event (Gerhard Hintermayer)
   Move src/interfaces/libpq++ to http://gborg.postgresql.org (Marc,
     Bruce)
   Move src/interfaces/odbc to http://gborg.postgresql.org (Marc)
   Move src/interfaces/libpgeasy to http://gborg.postgresql.org (Marc,
     Bruce)
   Move src/interfaces/perl5 to http://gborg.postgresql.org (Marc,
     Bruce)
   Remove src/bin/pgaccess from main tree, now at
     http://www.pgaccess.org (Bruce)
   Add pg_on_connection_loss command to libpgtcl (Gerhard Hintermayer,
     Tom)
d1257 58
a1314 55
   Fix for parallel make (Peter)
   AIX fixes for linking Tcl (Andreas Zeugswetter)
   Allow PL/Perl to build under Cygwin (Jason Tishler)
   Improve MIPS compiles (Peter, Oliver Elphick)
   Require Autoconf version 2.53 (Peter)
   Require readline and zlib by default in configure (Peter)
   Allow Solaris to use Intimate Shared Memory (ISM), for performance
     (Scott Brunza, P.J. Josh Rovero)
   Always enable syslog in compile, remove --enable-syslog option
     (Tatsuo)
   Always enable multibyte in compile, remove --enable-multibyte option
     (Tatsuo)
   Always enable locale in compile, remove --enable-locale option
     (Peter)
   Fix for Win9x DLL creation (Magnus Naeslund)
   Fix for link() usage by WAL code on Win32, BeOS (Jason Tishler)
   Add sys/types.h to c.h, remove from main files (Peter, Bruce)
   Fix AIX hang on SMP machines (Tomoyuki Niijima)
   AIX SMP hang fix (Tomoyuki Niijima)
   Fix pre-1970 date handling on newer glibc libraries (Tom)
   Fix PowerPC SMP locking (Tom)
   Prevent gcc -ffast-math from being used (Peter, Tom)
   Bison >= 1.50 now required for developer builds
   Kerberos 5 support now builds with Heimdal (Peter)
   Add appendix in the User's Guide which lists SQL features (Thomas)
   Improve loadable module linking to use RTLD_NOW (Tom)
   New error levels WARNING, INFO, LOG, DEBUG[1-5] (Bruce)
   New src/port directory holds replaced libc functions (Peter, Bruce)
   New pg_namespace system catalog for schemas (Tom)
   Add pg_class.relnamespace for schemas (Tom)
   Add pg_type.typnamespace for schemas (Tom)
   Add pg_proc.pronamespace for schemas (Tom)
   Restructure aggregates to have pg_proc entries (Tom)
   System relations now have their own namespace, pg_* test not required
     (Fernando Nasser)
   Rename TOAST index names to be *_index rather than *_idx (Neil)
   Add namespaces for operators, opclasses (Tom)
   Add additional checks to server control file (Thomas)
   New Polish FAQ (Marcin Mazurek)
   Add Posix semaphore support (Tom)
   Document need for reindex (Bruce)
   Rename some internal identifiers to simplify Win32 compile (Jan,
     Katherine Ward)
   Add documentation on computing disk space (Bruce)
   Remove KSQO from GUC (Bruce)
   Fix memory leak in rtree (Kenneth Been)
   Modify a few error messages for consistency (Bruce)
   Remove unused system table columns (Peter)
   Make system columns NOT NULL where appropriate (Tom)
   Clean up use of sprintf in favor of snprintf() (Neil, Jukka Holappa)
   Remove OPAQUE and create specific subtypes (Tom)
   Cleanups in array internal handling (Joe, Tom)
   Disallow pg_atoi('') (Bruce)
   Remove parameter wal_files because WAL files are now recycled (Bruce)
   Add version numbers to heap pages (Tom)
d1319 23
a1341 23
   Allow inet arrays in /contrib/array (Neil)
   Gist fixes (Teodor Sigaev, Neil)
   Upgrade /contrib/mysql
   Add /contrib/dbsize which shows table sizes without vacuum (Peter)
   Add /contrib/intagg, integer aggregator routines (mlw)
   Improve /contrib/oid2name (Neil, Bruce)
   Improve /contrib/tsearch (Oleg, Teodor Sigaev)
   Cleanups of /contrib/rserver (Alexey V. Borzov)
   Update /contrib/oracle conversion utility (Gilles Darold)
   Update /contrib/dblink (Joe)
   Improve options supported by /contrib/vacuumlo (Mario Weilguni)
   Improvements to /contrib/intarray (Oleg, Teodor Sigaev, Andrey
     Oktyabrski)
   Add /contrib/reindexdb utility (Shaun Thomas)
   Add indexing to /contrib/isbn_issn (Dan Weston)
   Add /contrib/dbmirror (Steven Singer)
   Improve /contrib/pgbench (Neil)
   Add /contrib/tablefunc table function examples (Joe)
   Add /contrib/ltree data type for tree structures (Teodor Sigaev,
     Oleg Bartunov)
   Move /contrib/pg_controldata, pg_resetxlog into main tree (Bruce)
   Fixes to /contrib/cube (Bruno Wolff)
   Improve /contrib/fulltextindex (Christopher)
d1343 1
a1343 1

d1345 1
a1345 1

d1347 3
a1349 3

   This  has  a  variety  of fixes from 7.2.3, including fixes to prevent
   possible data loss.
d1351 1
a1351 1

d1353 2
a1354 2

   A dump/restore is *not* required for those running 7.2.X.
d1356 1
a1356 1

d1358 15
a1372 14

   Fix some additional cases of VACUUM "No one parent tuple was found"
	error
   Prevent VACUUM from being called inside a function  (Bruce)
   Ensure pg_clog updates are sync'd to disk before marking checkpoint
	complete
   Avoid integer overflow during large hash joins
   Make GROUP commands work when pg_group.grolist is large enough
	to be toasted
   Fix errors in datetime tables; some timezone names weren't being
	recognized
   Fix integer overflows in circle_poly(), path_encode(), path_add()
	(Neil)
   Repair long-standing logic errors in lseg_eq(), lseg_ne(), lseg_center()
d1379 2
a1380 2
   This has a variety of fixes from 7.2.2, including fixes to prevent
   possible data loss.
d1385 1
a1385 1
   A dump/restore is *not* required for those running 7.2.X.
d1390 7
a1396 6
   Prevent possible compressed transaction log loss (Tom)
   Prevent non-superuser from increasing most recent vacuum info (Tom)
   Handle pre-1970 date values in newer versions of glibc (Tom)
   Fix possible hang during server shutdown
   Prevent spinlock hangs on SMP PPC machines (Tomoyuki Niijima)
   Fix pg_dump to properly dump FULL JOIN USING (Tom)
d1403 1
a1403 1
   This has a variety of fixes from 7.2.1.
d1408 1
a1408 1
   A dump/restore is *not* required for those running 7.2.X.
d1413 15
a1427 15
   Allow EXECUTE of "CREATE TABLE AS ... SELECT" in PL/pgSQL (Tom)
   Fix for compressed transaction log id wraparound (Tom)
   Fix PQescapeBytea/PQunescapeBytea so that they handle bytes > 0x7f (Ta
   tsuo)
   Fix for psql and pg_dump crashing when invoked with non-existand long
     options (Tatsuo)
   Fix crash when invoking geometric operators (Tom)
   Allow OPEN cursor(args) (Tom)
   Fix for rtree_gist index build (Teodor)
   Fix for dumping user-defined aggregates (Tom)
   Contrib/intarray fixes (Oleg)
   Fix for complex UNION/EXCEPT/INTERSECT queries using parens (Tom)
   Fix to pg_convert (Tatsuo)
   Fix for crash with long DATA strings (Thomes, Neil)
   Fix for repeat(), lpad(), rpad() and long strings (Neil)
d1434 1
a1434 1
   This has a variety of fixes from 7.2.
d1439 1
a1439 1
   A dump/restore is *not* required for those running 7.2.
d1444 21
a1464 18
   Ensure that sequence counters do not go backwards after a crash (Tom)
   Fix pgaccess kanji-coversion key binding (Tatsuo)
   Optimizer improvements (Tom)
   Cash I/O improvements (Tom)
   New Russian FAQ
   Compile fix for missing AuthBlockSig (Heiko)
   Additional time zones and time zone fixes (Thomas)
   Allow psql \connect to handle mixed case database and user names (Tom)
   Return proper OID on command completion even with ON INSERT rules (Tom
   )
   Allow COPY FROM to use 8-bit DELIMITERS (Tatsuo)
   Fix bug in extract/date_part for milliseconds/microseconds (Tatsuo)
   Improve handling of multiple UNIONs with different lengths (Tom)
   contrib/btree_gist improvements (Teodor Sigaev)
   contrib/tsearch dictionary improvements, see README.tsearch for
     an additional installation step (Thomas T. Thai, Teodor Sigaev)
   Fix for array subscripts handling (Tom)
   Allow EXECUTE of "CREATE TABLE AS ... SELECT" in PL/pgSQL (Tom)
d1543 21
a1563 21
   Create temporary files in a separate directory (Bruce)
   Delete orphaned temporary files on postmaster startup (Bruce)
   Added unique indexes to some system tables (Tom)
   System table operator reorganization (Oleg Bartunov, Teodor Sigaev, To
   m)
   Renamed pg_log to pg_clog (Tom)
   Enable SIGTERM, SIGQUIT to kill backends (Jan)
   Removed compile-time limit on number of backends (Tom)
   Better cleanup for semaphore resource failure (Tatsuo, Tom)
   Allow safe transaction ID wraparound (Tom)
   Removed OIDs from some system tables (Tom)
   Removed "triggered data change violation" error check (Tom)
   SPI portal creation of prepared/saved plans (Jan)
   Allow SPI column functions to work for system columns (Tom)
   Long value compression improvement (Tom)
   Statistics collector for table, index access (Jan)
   Truncate extra-long sequence names to a reasonable value (Tom)
   Measure transaction times in milliseconds (Thomas)
   Fix TID sequential scans (Hiroshi)
   Superuser ID now fixed at 1 (Peter E)
   New pg_ctl "reload" option (Tom)
d1568 10
a1577 10
   Optimizer improvements (Tom)
   New histogram column statistics for optimizer (Tom)
   Reuse write-ahead log files rather than discarding them (Tom)
   Cache improvements (Tom)
   IS NULL, IS NOT NULL optimizer improvement (Tom)
   Improve lock manager to reduce lock contention (Tom)
   Keep relcache entries for index access support functions (Tom)
   Allow better selectivity with NaN and infinities in NUMERIC (Tom)
   R-tree performance improvements (Kenneth Been)
   B-tree splits more efficient (Tom)
d1582 9
a1590 9
   Change UPDATE, DELETE permissions to be distinct (Peter E)
   New REFERENCES, TRIGGER privileges (Peter E)
   Allow GRANT/REVOKE to/from more than one user at a time (Peter E)
   New has_table_privilege() function (Joe Conway)
   Allow non-superuser to vacuum database (Tom)
   New SET SESSION AUTHORIZATION command (Peter E)
   Fix bug in privilege modifications on newly created tables (Tom)
   Disallow access to pg_statistic for non-superuser, add user-accessible
    views (Tom)
d1595 10
a1604 7
   Fork postmaster before doing authentication to prevent hangs (Peter E)
   Add ident authentication over Unix domain sockets on Linux, *BSD (Helg
   e Bahmann, Oliver Elphick, Teodor Sigaev, Bruce)
   Add a password authentication method that uses MD5 encryption (Bruce)
   Allow encryption of stored passwords using MD5 (Bruce)
   PAM authentication (Dominic J. Eidson)
   Load pg_hba.conf and pg_ident.conf only on startup and SIGHUP (Bruce)
d1609 8
a1616 8
   Interpretation of some time zone abbreviations as Australian rather th
   an North American now settable at run time (Bruce)
   New parameter to set default transaction isolation level (Peter E)
   New parameter to enable conversion of "expr = NULL" into "expr IS NULL
   ", off by default (Peter E)
   New parameter to control memory usage by VACUUM (Tom)
   New parameter to set client authentication timeout (Tom)
   New parameter to set maximum number of open files (Tom)
d1621 11
a1631 10
   Statements added by INSERT rules now execute after the INSERT (Jan)
   Prevent unadorned relation names in target list (Bruce)
   NULLs now sort after all normal values in ORDER BY (Tom)
   New IS UNKNOWN, IS NOT UNKNOWN Boolean tests (Tom)
   New SHARE UPDATE EXCLUSIVE lock mode (Tom)
   New EXPLAIN ANALYZE command that shows run times and row counts (Marti
   jn van Oosterhout)
   Fix problem with LIMIT and subqueries (Tom)
   Fix for LIMIT, DISTINCT ON pushed into subqueries (Tom)
   Fix nested EXCEPT/INTERSECT (Tom)
d1636 26
a1661 24
   Fix SERIAL in temporary tables (Bruce)
   Allow temporary sequences (Bruce)
   Sequences now use int8 internally (Tom)
   New SERIAL8 creates int8 columns with sequences, default still SERIAL4
    (Tom)
   Make OIDs optional using WITHOUT OIDS (Tom)
   Add %TYPE syntax to CREATE TYPE (Ian Lance Taylor)
   Add ALTER TABLE / DROP CONSTRAINT for CHECK constraints (Christopher K
   ings-Lynne)
   New CREATE OR REPLACE FUNCTION to alter existing function (preserving
   the function OID) (Gavin Sherry)
   Add ALTER TABLE / ADD [ UNIQUE | PRIMARY ] (Christopher Kings-Lynne)
   Allow column renaming in views
   Make ALTER TABLE / RENAME COLUMN update column names of indexes (Brent
    Verner)
   Fix for ALTER TABLE / ADD CONSTRAINT ... CHECK with inherited tables (
   Stephan Szabo)
   ALTER TABLE RENAME update foreign-key trigger arguments correctly (Bre
   nt Verner)
   DROP AGGREGATE and COMMENT ON AGGREGATE now accept an aggtype (Tom)
   Add automatic return type data casting for SQL functions (Tom)
   Allow GiST indexes to handle NULLs and multikey indexes (Oleg Bartunov
   , Teodor Sigaev, Tom)
   Enable partial indexes (Martijn van Oosterhout)
d1666 12
a1677 12
   Add RESET ALL, SHOW ALL (Marko Kreen)
   CREATE/ALTER USER/GROUP now allow options in any order (Vince)
   Add LOCK A, B, C functionality (Neil Padgett)
   New ENCRYPTED/UNENCRYPTED option to CREATE/ALTER USER (Bruce)
   New light-weight VACUUM does not lock table; old semantics are availab
   le as VACUUM FULL (Tom)
   Disable COPY TO/FROM on views (Bruce)
   COPY DELIMITERS string must be exactly one character (Tom)
   VACUUM warning about index tuples fewer than heap now only appears whe
   n appropriate (Martijn van Oosterhout)
   Fix permission checks for CREATE INDEX (Tom)
   Disallow inappropriate use of CREATE/DROP INDEX/TRIGGER/VIEW (Tom)
d1682 49
a1730 42
   SUM(), AVG(), COUNT() now uses int8 internally for speed (Tom)
   Add convert(), convert2() (Tatsuo)
   New function bit_length() (Peter E)
   Make the "n" in CHAR(n)/VARCHAR(n) represents letters, not bytes (Tats
   uo)
   CHAR(), VARCHAR() now reject strings that are too long (Peter E)
   BIT VARYING now rejects bit strings that are too long (Peter E)
   BIT now rejects bit strings that do not match declared size (Peter E)
   INET, CIDR text conversion functions (Alex Pilosov)
   INET, CIDR operators << and <<= indexable (Alex Pilosov)
   Bytea \### now requires valid three digit octal number
   Bytea comparison improvements, now supports =, <>, >, >=, <, and <=
   Bytea now supports B-tree indexes
   Bytea now supports LIKE, LIKE...ESCAPE, NOT LIKE, NOT LIKE...ESCAPE
   Bytea now supports concatenation
   New bytea functions: position, substring, trim, btrim, and length
   New encode() function mode, "escaped", converts minimally escaped byte
   a to/from text
   Add pg_database_encoding_max_length() (Tatsuo)
   Add pg_client_encoding() function (Tatsuo)
   now() returns time with millisecond precision (Thomas)
   New TIMESTAMP WITHOUT TIMEZONE data type (Thomas)
   Add ISO date/time specification with "T", yyyy-mm-ddThh:mm:ss (Thomas)
   New xid/int comparison functions (Hiroshi)
   Add precision to TIME, TIMESTAMP, and INVERVAL data types (Thomas)
   Modify type coercion logic to attempt binary-compatible functions firs
   t (Tom)
   New encode() function installed by default (Marko Kreen)
   Improved to_*() conversion functions (Karel Zak)
   Optimize LIKE/ILIKE when using single-byte encodings (Tatsuo)
   New functions in contrib/pgcrypto: crypt(), hmac(), encrypt(), gen_sal
   t() (Marko Kreen)
   Correct description of translate() function (Bruce)
   Add INTERVAL argument for SET TIME ZONE (Thomas)
   Add INTERVAL YEAR TO MONTH (etc.) syntax (Thomas)
   Optimize length functions when using single-byte encodings (Tatsuo)
   Fix path_inter, path_distance, path_length, dist_ppath to handle close
   d paths (Curtis Barrett, Tom)
   octet_length(text) now returns non-compressed length (Tatsuo, Bruce)
   Handle "July" full name in date/time literals (Greg Sabino Mullane)
   Some datatype() function calls now evaluated differently
   Add support for Julian and ISO time specifications (Thomas)
d1735 12
a1746 12
   National language support in psql, pg_dump, libpq, and server (Peter E
   )
   Message translations in Chinese (simplified, traditional), Czech, Fren
   ch, German, Hungarian, Russian, Swedish (Peter E, Serguei A. Mokhov, K
   arel Zak, Weiping He, Zhenbang Wei, Kovacs Zoltan)
   Make trim, ltrim, rtrim, btrim, lpad, rpad, translate multibyte aware
   (Tatsuo)
   Add LATIN5,6,7,8,9,10 support (Tatsuo)
   Add ISO 8859-5,6,7,8 support (Tatsuo)
   Correct LATIN5 to mean ISO-8859-9, not ISO-8859-5 (Tatsuo)
   Make mic2ascii() non-ASCII aware (Tatsuo)
   Reject invalid multibyte character sequences (Tatsuo)
d1751 13
a1763 12
   Now uses portals for SELECT loops, allowing huge result sets (Jan)
   CURSOR and REFCURSOR support (Jan)
   Can now return open cursors (Jan)
   Add ELSEIF (Klaus Reger)
   Improve PL/pgSQL error reporting, including location of error (Tom)
   Allow IS or FOR key words in cursor declaration, for compatibility (Br
   uce)
   Fix for SELECT ... FOR UPDATE (Tom)
   Fix for PERFORM returning multiple rows (Tom)
   Make PL/pgSQL use the server's type coercion code (Tom)
   Memory leak fix (Jan, Tom)
   Make trailing semicolon optional (Tom)
d1768 3
a1770 3
   New untrusted PL/Perl (Alex Pilosov)
   PL/Perl is now built on some platforms even if libperl is not shared (
   Peter E)
d1775 2
a1776 2
   Now reports errorInfo (Vsevolod Lobko)
   Add spi_lastoid function (bob@@redivi.com)
d1781 1
a1781 1
   ...is new (Andrew Bosma)
d1784 1
a1784 1
Psql
d1786 8
a1793 7
   \d displays indexes in unique, primary groupings (Christopher Kings-Ly
   nne)
   Allow trailing semicolons in backslash commands (Greg Sabino Mullane)
   Read password from /dev/tty if possible
   Force new password prompt when changing user and database (Tatsuo, Tom
   )
   Format the correct number of columns for Unicode (Patrice)
d1796 1
a1796 1
Libpq
d1798 4
a1801 4
   New function PQescapeString() to escape quotes in command strings (Flo
   rian Weimer)
   New function PQescapeBytea() escapes binary strings for use as SQL str
   ing literals
d1806 34
a1839 34
   Return OID of INSERT (Ken K)
   Handle more data types (Ken K)
   Handle single quotes and newlines in strings (Ken K)
   Handle NULL variables (Ken K)
   Fix for time zone handling (Barry Lind)
   Improved Druid support
   Allow eight-bit characters with non-multibyte server (Barry Lind)
   Support BIT, BINARY types (Ned Wolpert)
   Reduce memory usage (Michael Stephens, Dave Cramer)
   Update DatabaseMetaData (Peter E)
   Add DatabaseMetaData.getCatalogs() (Peter E)
   Encoding fixes (Anders Bengtsson)
   Get/setCatalog methods (Jason Davies)
   DatabaseMetaData.getColumns() now returns column defaults (Jason Davie
   s)
   DatabaseMetaData.getColumns() performance improvement (Jeroen van Vian
   en)
   Some JDBC1 and JDBC2 merging (Anders Bengtsson)
   Transaction performance improvements (Barry Lind)
   Array fixes (Greg Zoller)
   Serialize addition
   Fix batch processing (Rene Pijlman)
   ExecSQL method reorganization (Anders Bengtsson)
   GetColumn() fixes (Jeroen van Vianen)
   Fix isWriteable() function (Rene Pijlman)
   Improved passage of JDBC2 conformance tests (Rene Pijlman)
   Add bytea type capability (Barry Lind)
   Add isNullable() (Rene Pijlman)
   JDBC date/time test suite fixes (Liam Stewart)
   Fix for SELECT 'id' AS xxx FROM table (Dave Cramer)
   Fix DatabaseMetaData to show precision properly (Mark Lillywhite)
   New getImported/getExported keys (Jason Davies)
   MD5 password encryption support (Jeremy Wohl)
   Fix to actually use type cache (Ned Wolpert)
d1844 10
a1853 10
   Remove query size limit (Hiroshi)
   Remove text field size limit (Hiroshi)
   Fix for SQLPrimaryKeys in multibyte mode (Hiroshi)
   Allow ODBC procedure calls (Hiroshi)
   Improve boolean handing (Aidan Mountford)
   Most configuration options on setable via DSN (Hiroshi)
   Multibyte, performance fixes (Hiroshi)
   Allow driver to be used with iODBC or unixODBC (Peter E)
   MD5 password encryption support (Bruce)
   Add more compatibility functions to odbc.sql (Peter E)
d1858 11
a1868 10
   EXECUTE ... INTO implemented (Christof Petig)
   Multiple row descriptor support (e.g. CARDINALITY) (Christof Petig)
   Fix for GRANT parameters (Lee Kindness)
   Fix INITIALLY DEFERRED bug
   Various bug fixes (Michael, Christof Petig)
   Auto allocation for indicator variable arrays (int *ind_p=NULL)
   Auto allocation for string arrays (char **foo_pp=NULL)
   ECPGfree_auto_mem fixed
   All function names with external linkage are now prefixed by ECPG
   Fixes for arrays of structures (Michael)
d1873 6
a1878 6
   Python fix fetchone() (Gerhard Haring)
   Use UTF, Unicode in Tcl where appropriate (Vsevolod Lobko, Reinhard Ma
   x)
   Add Tcl COPY TO/FROM (ljb)
   Prevent output of default index op class in pg_dump (Tom)
   Fix libpgeasy memory leak (Bruce)
d1883 16
a1898 15
   Configure, dynamic loader, and shared library fixes (Peter E)
   Fixes in QNX 4 port (Bernd Tegge)
   Fixes in Cygwin and Win32 ports (Jason Tishler, Gerhard Haring, Dmitry
    Yurtaev, Darko Prenosil, Mikhail Terekhov)
   Fix for Win32 socket communication failures (Magnus, Mikhail Terekhov)
   Hurd compile fix (Oliver Elphick)
   BeOS fixes (Cyril Velter)
   Remove configure --enable-unicode-conversion, now enabled by multibyte
    (Tatsuo)
   AIX fixes (Tatsuo, Andreas)
   Fix parallel make (Peter E)
   Install SQL language manual pages into OS-specific directories (Peter
   E)
   Rename config.h to pg_config.h (Peter E)
   Reorganize installation layout of header files (Peter E)
d1903 12
a1914 12
   Remove SEP_CHAR (Bruce)
   New GUC hooks (Tom)
   Merge GUC and command line handling (Marko Kreen)
   Remove EXTEND INDEX (Martijn van Oosterhout, Tom)
   New pgjindent utility to indent java code (Bruce)
   Remove define of true/false when compiling under C++ (Leandro Fanzone,
    Tom)
   pgindent fixes (Bruce, Tom)
   Replace strcasecmp() with strcmp() where appropriate (Peter E)
   Dynahash portability improvements (Tom)
   Add 'volatile' usage in spinlock structures
   Improve signal handling logic (Tom)
d1919 12
a1930 12
   New contrib/rtree_gist (Oleg Bartunov, Teodor Sigaev)
   New contrib/tsearch full-text indexing (Oleg, Teodor Sigaev)
   Add contrib/dblink for remote database access (Joe Conway)
   contrib/ora2pg Oracle conversion utility (Gilles Darold)
   contrib/xml XML conversion utility (John Gray)
   contrib/fulltextindex fixes (Christopher Kings-Lynne)
   New contrib/fuzzystrmatch with levenshtein and metaphone, soundex merg
   ed (Joe Conway)
   Add contrib/intarray boolean queries, binary search, fixes (Oleg Bartu
   nov)
   New pg_upgrade utility (Bruce)
   Add new pg_resetxlog options (Bruce, Tom)
d2581 1
a2581 1
Libpq non-blocking mode (Alfred Perlstein)
d3183 1
a3183 1
Fix test for table existance to allow mixed-case and whitespace in
d3289 1
a3289 1
Libpq now allows asynchronous clients(Tom)
d3291 2
a3292 2
Psql now cancels query with Control-C(Tom)
Libpq users need not issue dummy queries to get NOTIFY messages(Tom)
d3335 1
a3335 1
Libpq can now be compiled on win32(Magnus)
d3399 1
a3399 1
Psql and libpq now compile under win32 using win32.mak(Magnus)
d4227 2
a4228 2
Psql \g filename now works(Bruce)
Psql fixed problem with multiple statements on one line with multiple outputs
d4263 2
a4264 2
Libpq has PQgetisnull()(Bruce)
Libpq++ improvements
d4271 6
a4276 6
Psql \h and \? is now readable(Bruce)
Psql allow backslashed, semicolons anywhere on the line(Bruce)
Psql changed command prompt for lines in query or in quotes(Bruce)
Psql char(3) now displays as (bp)char in \d output(Bruce)
Psql return code now more accurate(Bryan?)
Psql updated help syntax(Bruce)
@


1.218
log
@Update Jan's completed item.
@
text
@d21 1
a21 1
         Major improvements in SSL performance and security
d24 1
a24 1
         Allow free space map to efficiently reused empty index pages,
d41 2
a42 2
         ANSI joins are now fully optimized
         Faster regular expression code
d64 1
a64 1
     * The server-side autocommit setting was removed an reimplemented
d66 1
a66 1
     * Error message wording has changed dramatically in this release,
d68 1
a68 1
     * ANSI joins may behave differently because they are now fully optimized
d78 1
a78 1
     * Date values now must match the ordering specified by DateStyle
@


1.217
log
@Update HISTORY for 7.4.

Neil Conway
@
text
@d319 2
@


1.216
log
@Update release notes.
@
text
@d18 1
a18 1
         Full support for IPv6 connections and IPv6 data types.
d21 1
a21 1
         Major SSL improvements in performance and security.
d25 6
a30 1
         and other free space improvements.
d33 3
a35 3
          New protocol improves connection speed/reliability, and adds 
          error codes, status information, a binary protocol, error
          reporting verbosity, and cleaner startup packets.
d38 6
a43 6
          IN/NOT IN subqueries now perform as efficiently as joins
          Improved GROUP BY procesing by using hack buckets
          Hash indexes now have better concurrency/reliability/performance
          New multi-key hash join capability
          ANSI joins are now fully optimized
          Faster regular expression code
d45 2
a46 2
   Cursors
          Allow cursors to exist outside transactions
d49 1
a49 1
          libpq and ecpg are now fully thread-safe with --enable-thread-safety
d52 3
a54 3
          New version of full text indexing (tsearch2)
          New autovacuum tool
          Array handling has been improved and moved into the main server
d66 1
a66 1
     * Error message wording has changed dramtically in this release,
d72 1
a72 1
     * COPY now can process carriage-return/line-feed and carraige-return
d75 2
a76 1
     * Auto-trim spaces when converting from CHAR() to VARCHAR()/TEXT
d79 2
d188 1
a188 1
Add FOR EACH STATEMENT statement-level triggers (Neil Conway)
d195 1
a195 1
Add ALTER TABLE ... WITHOUT OIDS? (Rod)
d236 1
a236 1
Allow EXPLAIN EXECUTE (Neil)
d246 1
a246 1
Allow REINDEX to reliabily reindex all indexes, except global ones (Tom)
d300 1
a300 1
Prevent interval from supressing ':00' seconds display
@


1.215
log
@Update HISTORY to current.
@
text
@d7 70
a76 1
Valid as of 2003-09-29.  Update release.sgml later.
d124 1
a124 1
Use faster regex code from TCL (Henry Spencer, Tom)
d215 1
a215 1
  and \r still allowed (Bruce)
a367 1
Allow client interfaces to compile under MinGW/win32 (Bruce)
d388 1
d394 1
a394 1
Generate a compile error if spinlock code isn't found (Bruce)
@


1.214
log
@
another totally benign, test commit
@
text
@d7 2
a8 3
Valid as of 2003-08-01.  Update release.sgml later.


d59 4
d87 1
d168 4
d225 1
d241 1
d251 1
a251 1
\encoding now tracks client_encoding server variable (Tom)
d278 2
d324 2
d351 2
a352 1
Fix dbase -s option (Thomas Behr)
@


1.213
log
@
test 2, benign, no change
@
text
@d1 1
@


1.212
log
@
not change, just added a space to test something
@
text
@a0 1

@


1.211
log
@Add to release notes.
@
text
@d1 1
@


1.210
log
@Add to libpq changes made by Tom for new protocol.
@
text
@d215 1
@


1.209
log
@Update items.
@
text
@d262 4
@


1.209.2.1
log
@Update this branch to match CVS head, includes WIN32 improvements.
@
text
@a214 1
New pg_get_triggerdef(prettyprint) and pg_constraint_is_visible() functions
a261 4
Allow new error codes and levels of text (Tom)
Allow access to the underlying table and column of a query result (Tom)
Allow access to the current transaction status (Tom)
Add ability to pass binary data directly to the backend (Tom)
@


1.208
log
@Move dollar sign items to object section.
@
text
@d119 1
a119 1
Allow SQL200X inheritance syntax LIKE <subtable>, INCLUDING DEFAULTS? (Rod)
d162 1
a162 1
Have COMMENT ON DATABASE on non-local database generate a warning
@


1.207
log
@Update release items from Tom.
@
text
@a96 1
Allow dollar signs in identifiers, except as first character (Tom)
d117 1
@


1.206
log
@Modify:

	Prevent interval from supressing ':00' seconds display
@
text
@d16 1
a16 1
Update /tmp socket files regularly to avoid their removal (Tom)
d27 1
a27 1
  clean exit
a47 1
Improve reverse index scan performance (Tom)
d49 1
d79 1
a79 1
postgres --help-config now dumps server config variables (Tom)
d82 1
a82 2
Prevent assign_session_authorization() from being confused by
  all-numeric user names (Tom)
d92 1
a92 2
Allow ORDER BY in FROM subqueries to be honored by outer queries (Tom)
Print key name in foreign-key violation messages (Dmitry Tkach)
d94 1
a94 1
Allow subquery aggregates to reference upper query columns (?) (Tom)
d100 1
d111 1
a111 1
Allow zero-column tables (Tom)
a113 1
Add pg_trigger.tgenabled to disable triggers? (Neil)
a114 2
Have parser honor foreign-key constraints if created via ALTER TABLE ADD
  COLUMN? (Tom)
d117 2
a118 2
Improve DOMAIN automatic type casting (Tom)
Disallow dollar signs in operator names (Tom)
d120 1
a120 1
Object owners can allow grantees to grant privilege to others?
d132 1
a132 1
Properly handle SCROLL with cursors, or report an error (Tom)
d137 1
a137 1
Allow CLUSTER without tablename clusters all tables (Alvaro Herrera)
d144 1
a144 1
Reduce memory used by COPY (Tom)
d153 1
d162 1
a162 1
Have COMMENT ON DATABASE on non-local database generate a warning (Tom)
d178 1
a178 1
New hostmast() function (Greg Wickham)
d185 1
d188 1
a188 2
Allow polymorphic SQL functions (Tom, Joe)
Allow array concatenation with '||' and normal array comparisons (Joe)
a194 1
Allow PREPARE/bind of utility commands like FETCH and EXPLAIN (Tom)
d208 1
a208 1
Honor only DateStyle setting for date entry without a four-digit year (Greg)
d211 3
a213 3
'now' will no longer work as a default, use now() (change required for prepared
  statements) (Tom)
Assume NaN value to be larger than any other value in comparisons (Tom)
d220 1
a220 1
Prevent PL/pgSQL crash when RETURN NEXT is used on a zero-row record (Tom)
a224 1
Change PL/pgSQL EXECUTE INTO to CREATE TABLE AS EXECUTE? (Peter)
d227 1
a227 1
  support for polymorphism (Tom, Joe)
d229 1
a229 1
  return type (Tom, Joe)
d243 2
a244 2
New '\set autocommit off' capability (Tom)
New '\set verbosity' to control error detail (Tom)
d293 2
a294 2
Allow OpenBSD to use local indent credentials (William Ahern)
Allow read-only query plans (Tom)
@


1.205
log
@Remove Tom mention on array items.
@
text
@d218 1
a218 1
Prevent timestamp from supressing ':00' seconds display
@


1.204
log
@Add mention of :00 seconds.
@
text
@d189 1
a189 1
Allow WHERE qualification 'expr <oper> ANY/SOME/ALL (array-expr)' (Tom, Joe)
d194 2
a195 2
Allow user defined aggregates to use polymorphic functions (Tom, Joe)
Allow polymorphic user defined aggregates  (Tom, Joe)
@


1.203
log
@Update thread wording.
@
text
@d218 1
@


1.202
log
@Modify tsearch2 to be Oleg,Teodor
@
text
@d261 1
a261 1
Allow threaded with --enable-thread-safety (Lee Kindness, Philip Yarra)
d284 1
a284 1
Allow threaded ecpg with --enable-thread-safety (Lee Kindness, Bruce)
@


1.201
log
@Add tsearch2 mention.
@
text
@d324 1
a324 1
New tsearch2 full-text search module (Oleg)
@


1.200
log
@Add Philip Yarra to threads item, remove my name.
@
text
@d319 2
a320 2
Upgrade oracle
Upgrade mysql
d324 1
@


1.199
log
@Update release items from Joe Conway.
@
text
@d261 1
a261 1
Allow threaded with --enable-thread-safety (Lee Kindness, Bruce)
@


1.198
log
@Remove MOVE ALL item.
@
text
@d47 1
a68 1
Allow the postmaster to preload libraries using preload_libraries (Joe)
d81 1
a81 1
Add pg_settings table to see server settings (Joe)
d189 2
a190 2
Allow WHERE qualifications of the form 'col IN/ANY/SOME/ALL (array) (?) (Joe)
Allow SQL functions to return arrays and take them as params (Joe)
d194 2
d229 5
d324 3
a326 1
Add hashes to tablefuncs (Joe)
d331 1
a331 2
Fix second argument to metaphone() in fullystrmatch
Add named persistent connections to dblink (Shridhar Daithanka)
@


1.197
log
@Update comments.
@
text
@a132 1
Add MOVE ALL to move to end of cursor (Bruce)
@


1.196
log
@Update HISTORY file for 7.4.
@
text
@d6 1
a6 1
Valid as of 2003-08-01.
@


1.195
log
@contraints -> constraints

Rod Taylor
@
text
@a0 1
 
d5 324
a328 25
   Below is a subset of the changes that have gone into the development
   branch of PostgreSQL since version 7.3. For a complete list of
   changes, consult the CVS logs.
   
   Explicit JOINs no longer constrain query plan, unless
	JOIN_COLLAPSE_LIMIT = 1
   Performance of "foo IN (SELECT ...)" queries has been considerably
	improved
   FETCH 0 now re-fetches cursor's current row, per SQL spec
   Revised executor state representation; plan trees are read-only
	to executor now
   Information schema
   Domains now support CHECK constraints
   psql backslash commands for listing conversions, casts, and schemas
   TRUNCATE TABLE is transaction-safe
   CLUSTER can re-cluster a previously clustered table, or all such tables
   Statement-level triggers
   System can use either hash- or sort-based strategy for grouped
	aggregation
   ON COMMIT options for temp tables
   extra_float_digits option allows pg_dump to dump float data accurately
   Long options for psql and pg_dump are now available on all platforms
   Read-only transactions
   Object owners can allow grantees to grant the privilege to others
	(grant option)
@


1.194
log
@Fix misstatement in release-notes item.
@
text
@d478 1
a478 1
   Dump UNIQUE and PRIMARY KEY contraints as ALTER TABLE (Rod)
@


1.193
log
@Update for 7.3.3.
@
text
@d112 1
a112 1
   Fix regexp slowness in multibyte encodings (Tatsuo)
@


1.192
log
@Allow PAM to work on MAC OS X, report from Aaron Hillegass.

Change was actually made in a previous commit.
@
text
@d33 100
@


1.191
log
@Update release history for 7.3.2.
@
text
@d1 1
a1 1

@


1.190
log
@Update release history for 7.2.4.
@
text
@d32 47
@


1.189
log
@Fix capitalization.
@
text
@d10 7
d19 12
d593 30
@


1.188
log
@Update 7.3.1 to give proper attribution to pg_dump item.
@
text
@d647 1
a647 1
   cash I/O improvements (Tom)
@


1.187
log
@Stamp 7.3.1.
@
text
@d31 2
a32 3
   Fix a core dump of COPY TO when client/server encodings don't match (T
   om)
   Allow pg_dump to work with pre-7.2 servers (Tom)
d34 1
a34 2
   Fix problem with deletion of per-user/per-database config settings (To
   m)
@


1.186
log
@Recreate HISTORY file to match release.sgml changes.  Stamp 7.3 final in
configure/configure.in.
@
text
@d9 41
@


1.185
log
@Fix typo in release notes.
@
text
@d3 8
a10 1

d12 2
a13 2

     Release date: 2002-11-??
d15 3
a17 3

Overview

d19 1
a19 1

d21 6
a26 6
          Schemas allow users to create objects in their own namespace so
          two people or applications can have tables with the same name.
          There is also a public schema for shared tables. Table/index
          creation can be restricted by removing permissions on the
          public schema.

d30 1
a30 1

d36 1
a36 1

d40 1
a40 1

d46 1
a46 1

d51 1
a51 1

d54 1
a54 1

d57 1
a57 1

d62 1
a62 1

d65 8
a72 5
          identifiers can be up to 63 bytes long.
     _________________________________________________________________

Migration to version 7.3

d78 1
a78 1

d80 1
a80 1

d84 1
a84 2
     * Several "postgresql.conf" logging parameters have been renamed and
       improved.
d86 6
a91 3
     * "INSERT" statements with column lists must specify all values;
       e.g., INSERT INTO tab (col1, col2) VALUES ('val1') is now invalid.
     * An index is now not automatically created for serial columns.
d94 2
a95 1
       All columns need to be specified.
d97 1
a97 1
       timezone, instead of timestamp with timezone.
d102 2
d105 3
a107 3

Changes

d117 1
a117 1

d131 1
a131 1
   Eliminate NULL bitmap padding when not required (Manfred)
d143 1
a143 1

d155 1
a155 1

d184 1
a184 1

d191 1
a191 1
   Add DEFAULT keyword to INSERT, e.g., INSERT ... (..., DEFAULT, )
d209 1
a209 1

d213 1
a213 1
   Make ALTER TABLE OWNER to change index ownership (Neil)
d248 1
a248 1

d263 1
a263 1
   Display sort keys in EXPLAIN (Tom)
d293 1
a293 1

d350 1
a350 1

d353 1
a353 1
   Add additional encodings (Korean (JOHAB), Thai (WIN874), Vietnamese
d371 1
a371 1

d378 1
a378 1
     (Tom, Neil)
d384 1
a384 1

d400 1
a400 1

d415 1
a415 1

d430 1
a430 1

d450 1
a450 1

d509 1
a509 1

d532 1
a532 1
   Move /contrib/pg_controldata into main tree (Bruce)
d536 1
a536 1

d538 1
a538 1

d540 1
a540 1

d544 3
a546 3

Migration to version 7.2.3

d549 3
a551 3

Changes

d559 1
a559 1

d561 1
a561 1

d563 1
a563 1

d566 3
a568 3

Migration to version 7.2.2

d571 3
a573 3

Changes

d590 1
a590 1

d592 1
a592 1

d594 1
a594 1

d597 3
a599 3

Migration to version 7.2.1

d602 3
a604 3

Changes

d624 1
a624 1

d626 1
a626 1

d629 3
a631 3

Overview

d633 1
a633 1

d635 1
a635 1

d641 1
a641 1

d645 1
a645 1

d649 1
a649 1

d653 1
a653 1

d658 1
a658 1

d662 1
a662 1

d667 3
a669 3

Migration to version 7.2

d672 1
a672 1

d674 1
a674 1

d691 1
a691 1

d696 3
a698 3

Changes

d723 1
a723 1

d737 1
a737 1

d750 1
a750 1

d761 1
a761 1

d773 1
a773 1

d787 1
a787 1

d815 1
a815 1

d831 1
a831 1

d877 1
a877 1

d893 1
a893 1

d909 1
a909 1

d916 1
a916 1

d922 1
a922 1

d927 1
a927 1

d938 1
a938 1

d946 1
a946 1

d984 1
a984 1

d998 1
a998 1

d1012 1
a1012 1

d1022 1
a1022 1

d1041 1
a1041 1

d1057 1
a1057 1

d1073 1
a1073 1

d1075 1
a1075 1

d1078 3
a1080 3

Migration to version 7.1.3

d1083 3
a1085 3

Changes

d1098 1
a1098 1

d1100 1
a1100 1

d1102 1
a1102 1

d1105 3
a1107 3

Migration to version 7.1.2

d1110 3
a1112 3

Changes

d1120 1
a1120 1

d1122 1
a1122 1

d1124 1
a1124 1

d1127 3
a1129 3

Migration to version 7.1.1

d1132 3
a1134 3

Changes

d1151 1
a1151 1

d1153 1
a1153 1

d1155 1
a1155 1

d1158 1
a1158 1

d1160 1
a1160 1

d1169 1
a1169 1

d1175 1
a1175 1

d1180 1
a1180 1

d1187 1
a1187 1

d1195 3
a1197 3

Migration to version 7.1

d1201 3
a1203 3

Changes

d1391 1
a1391 1

d1393 1
a1393 1

d1395 1
a1395 1

d1398 3
a1400 3

Migration to version 7.0.3

d1403 3
a1405 3

Changes

d1447 1
a1447 1

d1449 1
a1449 1

d1451 1
a1451 1

d1454 3
a1456 3

Migration to version 7.0.2

d1459 3
a1461 3

Changes

d1465 1
a1465 1

d1467 1
a1467 1

d1469 1
a1469 1

d1472 3
a1474 3

Migration to version 7.0.1

d1477 3
a1479 3

Changes

d1506 1
a1506 1

d1508 1
a1508 1

d1510 1
a1510 1

d1516 1
a1516 1

d1518 1
a1518 1

d1523 1
a1523 1

d1528 1
a1528 1

d1532 1
a1532 1

d1538 3
a1540 3

Migration to version 7.0

d1546 1
a1546 1

d1549 1
a1549 1

d1569 3
a1571 3

Changes

d1894 1
a1894 1

d1896 1
a1896 1

d1898 1
a1898 1

d1902 3
a1904 3

Migration to version 6.5.3

d1907 3
a1909 3

Changes

d1915 1
a1915 1

d1917 1
a1917 1

d1919 1
a1919 1

d1923 3
a1925 3

Migration to version 6.5.2

d1928 3
a1930 3

Changes

d1959 1
a1959 1

d1961 1
a1961 1

d1963 1
a1963 1

d1967 3
a1969 3

Migration to version 6.5.1

d1972 3
a1974 3

Changes

d2000 1
a2000 1

d2002 1
a2002 1

d2004 1
a2004 1

d2009 1
a2009 1

d2011 1
a2011 1

d2025 1
a2025 1

d2030 1
a2030 1

d2034 1
a2034 1

d2038 1
a2038 1

d2043 1
a2043 1

d2048 1
a2048 1

d2052 1
a2052 1

d2056 1
a2056 1

d2070 3
a2072 3

Migration to version 6.5

d2077 1
a2077 1

d2083 1
a2083 1

d2093 1
a2093 1

d2099 1
a2099 1

d2106 1
a2106 1

d2111 1
a2111 1

d2116 3
a2118 3

Changes

d2285 1
a2285 1

d2287 1
a2287 1

d2289 1
a2289 1

d2293 3
a2295 3

Migration to version 6.4.2

d2298 3
a2300 3

Changes

d2303 1
a2303 1

d2305 1
a2305 1

d2307 1
a2307 1

d2311 3
a2313 3

Migration to version 6.4.1

d2316 3
a2318 3

Changes

d2350 1
a2350 1

d2352 1
a2352 1

d2354 1
a2354 1

d2359 1
a2359 1

d2389 3
a2391 3

Migration to version 6.4

d2395 3
a2397 3

Changes

d2594 1
a2594 1

d2596 1
a2596 1

d2598 1
a2598 1

d2601 1
a2601 1

d2603 1
a2603 1

d2609 1
a2609 1

d2614 1
a2614 1

d2618 3
a2620 3

Changes

d2641 1
a2641 1

d2643 1
a2643 1

d2645 1
a2645 1

d2647 1
a2647 1

d2652 1
a2652 1

d2657 1
a2657 1

d2661 3
a2663 3

Changes

d2693 1
a2693 1

d2695 1
a2695 1

d2697 1
a2697 1

d2700 1
a2700 1

d2711 1
a2711 1

d2714 1
a2714 1

d2718 1
a2718 1

d2727 1
a2727 1

d2732 1
a2732 1

d2740 1
a2740 1

d2748 1
a2748 1

d2753 1
a2753 1

d2757 1
a2757 1

d2761 1
a2761 1

d2768 1
a2768 1

d2774 3
a2776 3

Migration to version 6.3

d2780 3
a2782 3

Changes

d2951 1
a2951 1

d2953 1
a2953 1

d2955 1
a2955 1

d2957 1
a2957 1

d2959 1
a2959 1

d2963 1
a2963 1

d2968 3
a2970 3

Migration from version 6.2 to version 6.2.1

d2973 1
a2973 1

d2977 1
a2977 1

d2986 3
a2988 3

Changes

d3002 1
a3002 1

d3004 1
a3004 1

d3006 1
a3006 1

d3010 3
a3012 3

Migration from version 6.1 to version 6.2

d3015 1
a3015 1

d3019 3
a3021 3

Migration from version 1.x to version 6.2

d3025 3
a3027 3

Changes

d3141 1
a3141 1

d3143 1
a3143 1

d3146 3
a3148 3

Migration from version 6.1 to version 6.1.1

d3153 3
a3155 3

Changes

d3175 1
a3175 1

d3177 1
a3177 1

d3179 1
a3179 1

d3182 1
a3182 1

d3188 1
a3188 1

d3199 1
a3199 1

d3204 1
a3204 1

d3208 1
a3208 1

d3214 3
a3216 3

Migration to version 6.1

d3219 1
a3219 1

d3223 3
a3225 3

Changes

d3321 1
a3321 1

d3323 1
a3323 1

d3325 1
a3325 1

d3329 3
a3331 3

Migration from version 1.09 to version 6.0

d3335 3
a3337 3

Migration from pre-1.09 to version 6.0

d3341 3
a3343 3

Changes

d3450 1
a3450 1

d3452 1
a3452 1

d3454 1
a3454 1

d3459 1
a3459 1

d3461 1
a3461 1

d3464 3
a3466 3

Migration from version 1.02 to version 1.02.1

d3469 1
a3469 1

d3473 1
a3473 1

d3476 1
a3476 1

d3492 3
a3494 3

Dump/Reload Procedure

d3516 3
a3518 3

Changes

d3529 1
a3529 1
   monitor to be depreciated in next release.
d3545 1
a3545 1

d3547 1
a3547 1

d3550 3
a3552 3

Migration from version 1.0 to version 1.01

d3555 1
a3555 1

d3558 1
a3558 1

d3640 3
a3642 3

Changes

d3676 1
a3676 1

d3678 1
a3678 1

d3681 3
a3683 3

Changes

d3724 1
a3724 1

d3726 1
a3726 1

d3729 3
a3731 3

Changes

d3838 1
a3838 1

d3840 1
a3840 1

d3843 3
a3845 3

Changes

d3880 1
a3880 1

d3882 1
a3882 1

d3884 1
a3884 1

@


1.184
log
@Merge release note updates from 7.3 branch.
@
text
@d88 1
a88 1
       description and a script that will add the such dependencies.
@


1.183
log
@Update release docs for 7.3.
@
text
@a0 1
                                 Release Notes
d2 3
a4 1
                                  Release 7.3
d7 1
d14 5
a18 6

           Schemas allow users to create objects in their own namespace
           so two people or applications can have tables with the same
           name. There is also a public schema for shared tables.
           Table/index creation can be restricted by removing
           permissions on the public schema.
d21 2
a22 2

           PostgreSQL now supports ALTER TABLE ... DROP COLUMN functionality.
d25 4
a28 5

           Functions returning multiple rows and/or multiple columns are
           now much easier to use than before.  You can call such a
           "table function" in the SELECT FROM clause, treating its output
           like a table. Also, plpgsql functions can now return sets.
d31 2
a32 2

           For performance, PostgreSQL now supports prepared queries.
d35 4
a38 3

           PostgreSQL now records object dependencies, which allows
           improvements in many areas.
d41 3
d45 2
a46 6
           Functions and procedural languages now have privileges, and
           people running them can take on the privileges of their creators.

   Multibyte/Locale

           Both multibyte and locale are now always enabled.
d49 1
a49 2

           A variety of logging options have been enhanced.
d52 3
a54 4

           A large number of interfaces have been moved to 
           http://gborg.postgresql.org where they can be developed
           and released independently.
d57 3
a59 5

           By default, functions can now take up to 32 parameters, and 
           identifiers can be up to 63 bytes long.

     ----------------------------------------------------------------------
d63 2
a64 2
   A dump/restore using "pg_dump" is required for those wishing to migrate
   data from any previous release.  If your application examines the
d67 1
a67 2

		http://www.ca.postgresql.org/docs/momjian/upgrade_tips_7.3
d72 13
a84 21

     * pg_hba.conf now has a USER column and additional features.

     * Several GUC logging parameters have been renamed and improved.

     * LIMIT #,# is disabled, use LIMIT # OFFSET #.

     * INSERTs with column lists must specify all values, e.g. 
       INSERT INTO tab (col1, col2) VALUES ('val1') is now invalid.

     * DROP object now takes either CASCADE or RESTRICT to control
       whether dependent objects are also dropped.

     * An index is now not automatically created for SERIAL columns.

     * A SET inside an aborted transaction is now rolled back.

     * COPY no longer considers missing trailing columns to be NULL.

     * TIMESTAMP and TIME data types now default to WITHOUT TIMEZONE.

d86 4
a89 5
       dependencies for SERIAL, UNIQUE constraints, and foreign keys. See
       /contrib/adddepend for a detailed description and a script that
       will add the such dependencies.

     ----------------------------------------------------------------------
d93 1
a93 1
2002-10-23
d95 7
a101 8
Server Operation
================
Kerberos V Heimdal support (KTH)
Add pg_locks view to show locks (Neil)
Security fixes for password negotiation memory allocation (Neil)
Remove support for version 0, <=6.2 FE/BE protocol (Tom)
Reserve the last few backend slots for superusers, add GUC variable
  superuser_reserved_connections to control this (Nigel J. Andrews)
d104 24
a127 19
===========
Improve startup by calling localtime() only once (Tom)
Cache system catalog information in flat files for faster startup (Tom)
Improve caching of index information (Tom)
Optimizer improvements (Tom, Fernando Nasser)
Catalog caches now store failed lookups (Tom)
Hash function improvements (Neil)
Improve performance of query tokenization and network handling (Peter)
Speed improvement for large object restore (Mario Weilguni)
Mark expired index entries on first lookup, saving later heap fetches (Tom)
Eliminate NULL bitmap padding when not required (Manfred)
Add BSD-licensed qsort() for Solaris, for performance (Bruce)
Reduce per-row overhead by four bytes (Manfred Koizar)
Fix GEQO optimizer bug (Neil Conway)
Make WITHOUT OID actually save four bytes per row (Manfred Koizar)
Add GUC default_statistics_target variable to specify ANALYZE buckets (Neil)
Use local buffer cache for temporary tables so no WAL overhead (Tom)
Improve free space map performance on large tables (Stephen Marshall, Tom)
Improved WAL write concurrency (Tom)
a129 7
==========
Add privileges on functions and procedural languages (Peter)
Add OWNER to CREATE DATABASE so superusers can create databases
  on behalf of unprivileged users.  (Gavin Sherry, Tom)
Add new object permission bits EXECUTE and USAGE (Tom)
Add SET SESSION AUTHORIZATION DEFAULT and RESET SESSION AUTHORIZATION (Peter)
Allow functions to be executed with the privilege of the function owner (Peter)
d131 9
a139 3
Client Authentication
=====================
Allow $HOME/.pgpass to store host/user password combinations (Alvaro Herrera)
d142 27
a168 22
====================
Server log messages now tagged with LOG, not DEBUG (Bruce)
Add USER column to pg_hba.conf (Bruce)
Have log_connections output two lines in log file (Tom)
Remove debug_level from postgresql.conf, now SERVER_MIN_MESSAGES (Bruce)
New ALTER DATABASE/USER ... SET command for per-user/db initialization (Peter)
New GUC variables server_min_messages and client_min_messages which control
  which messages are sent to the server logs or client applications (Bruce)
Allow pg_hba.conf to specify lists of users/dbs separated by commas, 
  group names prepended with +, and file names prepended with @@ (Bruce)
Allow group names specified by +
Add samegroup in pg_hba.conf for group name/dbname restriction (Bruce)
Remove secondary password file capability (Bruce)
Remove pg_passwd utility (Bruce)
Add GUC variable db_user_namespace for db-local user names (Bruce)
SSL improvements (Bear Giles)
Make encryption of stored passwords the default (Bruce)
Allow pg_statistics to be reset by calling pg_stat_reset() (Christopher)
Add log_duration GUC parameter (Bruce)
Rename GUC debug_print_query to log_statement (Bruce)
Rename GUC show_query_stats to show_statement_stats (Bruce)
Add GUC param log_min_error_statement to print query to logs on error (Gavin)
d171 23
a193 20
=======
Make cursors insensitive, meaning their contents do not change (Tom)
Disable LIMIT #,# syntax; now only LIMIT # OFFSET # supported (Bruce)
Increase identifier length to 63 (Neil, Bruce)
UNION fixes for merging >= 3 columns of different lengths (Tom)
Add DEFAULT keyword to INSERT, i.e INSERT ... (..., DEFAULT, ) (Rod)
Allow views to have default values using ALTER COLUMN ... SET DEFAULT (Neil)
Fail on INSERTs with column lists that don't supply all column values,
  e.g. INSERT INTO tab (col1, col2) VALUES ('val1');  (Rod)
Fix for join aliases (Tom)
Fix for FULL OUTER JOINs (Tom)
Improve reporting of invalid identifier and location (Tom, Gavin)
Fix OPEN cursor(args) (Tom)
Allow 'ctid' to be used in a view and currtid(viewname) (Hiroshi)
Fix for CREATE TABLE AS with UNION (Tom)
SQL99 syntax improvements (Thomas)
Add GUC statement_timeout variable to cancel queries (Bruce)
Allow prepared queries with PREPARE/EXECUTE (Neil)
Allow FOR UPDATE to appear after LIMIT/OFFSET (Bruce)
Add auto-transactions with GUC variable autocommit (Tom, David Van Wie)
d196 37
a232 32
===================
Make equals signs optional in CREATE DATABASE (Gavin Sherry)
Make ALTER TABLE OWNER to change index ownership (Neil)
Add per-database and per-user startup commands, ALTER DATABASE ... SET and 
  ALTER USER ... SET (Peter)
New ALTER TABLE tabname ALTER COLUMN colname SET STORAGE controls TOAST
  storage, compression (John Gray)
Add SCHEMA support with CREATE/DROP SCHEMA (Tom)
Create schema for temporary tables (Tom)
Add GUC variable search_path for namespace schema search (Tom)
Add ALTER TABLE SET/DROP NOT NULL (Christopher)
New CREATE FUNCTION volatility levels (Tom)
Make rule names unique only per table (Tom)
Add 'ON tablename' clause to DROP RULE and COMMENT ON RULE (Tom)
Add ALTER TRIGGER RENAME (Joe)
New current_schema() and current_schemas() inquiry functions (Tom)
Allow functions to return multiple rows, also called table functions (Joe)
Make WITH optional in CREATE DATABASE, for consistency (Bruce)
Add object dependency tracking (Rod, Tom)
Add RESTRICT/CASCADE to DROP commands (Rod)
Add ALTER TABLE DROP non-CHECK CONSTRAINT (Rod)
Auto-destroy sequence on DROP of table with SERIAL (Rod)
Prevent column dropping if column is used by foreign key (Rod)
Automatically drop constraints/functions when object is dropped (Rod)
Add CREATE/DROP OPERATOR CLASS (Bill Studenmund, Tom)
Add ALTER TABLE DROP COLUMN (Christopher, Tom, Hiroshi)
Prevent inherited columns from being removed or renamed (Alvaro Herrera)
Fix foreign key constraints to not error on intermediate db states (Stephan)
Propagate column or table renaming to foreign key constraints
Add CREATE OR REPLACE VIEW (Gavin, Neil, Tom)
Add CREATE OR REPLACE RULE (Gavin, Neil, Tom)
Have rules execute alphabetically, returning more accurate values (Tom)
d235 43
a277 36
================
Have COPY TO output embedded carriage returns and newlines as \r and \n (Tom)
Allow DELIMITER in COPY FROM to be 8-bit clean (Tatsuo)
Make pg_dump use ALTER TABLE ADD PRIMARY KEY, for performance (Neil)
Disable brackets in multi-statement rules (Bruce)
Disable VACUUM from being called inside a function (Bruce)
Allow dropdb and other scripts to use identifiers with spaces (Bruce)
Restrict comment to the current database
Allow comments on operators, independent of the underlying function (Rod)
Rollback SET commands in aborted transactions (Tom)
EXPLAIN now outputs as a query (Tom)
Display sort keys in EXPLAIN (Tom)
Add 'SET LOCAL var = value' to set GUC variables for a single transaction (Tom)
Allow ANALYZE to run in a transaction (Bruce)
Improve COPY syntax using new WITH clauses, keep backward compatibility (Bruce)
Fix pg_dump to consistently output tags in non-ASCII dumps (Bruce)
Make foreign key constraints clearer in dump file (Rod)
Add COMMENT ON CONSTRAINT (Rod)
Allow COPY TO/FROM to specify column names (Brent Verner)
Dump UNIQUE and PRIMARY KEY contraints as ALTER TABLE (Rod)
Have SHOW output a query result (Joe)
Generate failure on short COPY lines rather than pad NULLs (Neil)
Fix CLUSTER to preserve all table attributes (Alvaro Herrera)
New pg_settings table to view/modify GUC settings (Joe)
Add smart quoting, portability improvements to pg_dump output (Peter)
Dump serial columns out as SERIAL (Tom)
Enable large file support, >2G for pg_dump (Peter, Philip Warner, Bruce)
Disallow TRUNCATE on tables that are involved in referential constraints (Rod)
Have TRUNCATE also auto-truncate the toast table of the relation (Tom)
Add clusterdb utility that will auto-cluster an entire database based on
  previous CLUSTER operations (Alvaro Herrera)
Overhaul pg_dumpall (Peter)
Allow REINDEX of TOAST tables (Tom)
Implemented START TRANSACTION, per SQL99 (Neil)
Fix rare index corruption when a page split affects bulk delete (Tom)
Fix ALTER TABLE ... ADD COLUMN for inheritance (Alvaro Herrera)
d280 55
a334 49
========================
Fix factorial(0) to return 1 (Bruce)
Date/time/timezone improvements (Thomas)
Fix for array slice extraction (Tom)
Fix extract/date_part to report proper microseconds for timestamp (Tatsuo)
Allow text_substr() and bytea_substr() to read TOAST values more
  efficiently (John Gray)
Add DOMAIN type support (Rod)
Make WITHOUT TIME ZONE the default for TIMESTAMP and TIME data types (Thomas)
Allow alternate storage scheme of 64-bit integers for date/time types
  using --enable-integer-datetimes in configure (Thomas)
Make timezone(timestamptz) return timestamp rather than a string (Thomas)
Allow fractional seconds in date/time types for dates prior to 1BC (Thomas)
Limit timestamp data types to 6 decimal places of precision (Thomas)
Change timezone conversion functions from timetz() to timezone() (Thomas)
Add GUC variables datestyle and timezone (Tom)
Add OVERLAY(), which allows substitution of a substring in a string (Thomas)
Add SIMILAR TO as a synonym for our existing operator "~" (Thomas, Tom)
Add regular expression SUBSTRING(string FROM pat FOR escape) (Thomas)
Add LOCALTIME and LOCALTIMESTAMP functions (Thomas)
Add named composite types using CREATE TYPE typename AS (column) (Joe)
Allow composite type definition in the table alias clause (Joe)
Add new API to simplify creation of C language table functions (Joe)
Remove ODBC-compatible empty parentheses from calls to SQL99 functions
 for which these parentheses do not match the standar (Thomas)
Add appendix in the User's Guide which lists SQL92 features (Thomas)
Allow macaddr data type to accept 12 hex digits with no separators (Mike Wyer)
Add CREATE/DROP CAST (Thomas)
Add IS DISTINCT FROM operator (Thomas)
Add SQL99 TREAT() function, synonym for CAST() (Thomas)
Add pg_backend_pid() to output backend pid (Bruce)
Allow inet arrays in /contrib/array (Neil)
Add IS OF / IS NOT OF type predicate (Thomas)
Allow bit string constants without fully-specified length (Thomas)
Allow conversion between 8-byte integers and bit strings (Thomas)
Implement hex literal conversion to bit string literal (Thomas)
Allow table functions to appear in the FROM clause (Joe)
Increase maximum number of function parameters to 32 (Bruce)
No longer automatically create index for SERIAL column (Tom)
Add current_database() (Rod)
Fix cash_words() to not overflow buffer (Tom)
Add functions replace(), split_part(), to_hex() (Joe)
Fix LIKE for bytea as a right-hand argument (Joe)
Prevent crashes caused by SELECT cash_out(2)
Triggers are now fired in alphabetical order (Tom)
Add /contrib/adddepend to handle pre-7.3 object dependencies (Rod)
Allow better casting when INSERTing/UPDATing values (Tom)
Fix to_char(1,'FM999.99') to return a period (Karel)
Fix trigger/type/language functions returning OPAQUE to return proper type (Tom)
d337 19
a355 13
====================
Add additional encodings (Korean (JOHAB), Thai (WIN874), Vietnamese (TCVN), 
  Arabic (WIN1256), Simplified Chinese (GBK), Korean (UHC) (Eiji Tokuya)
Enable locale support by default (Peter)
Add GUC locale variables (Peter)
Escape byes >= 0x7f for multibyte in PQescapeBytea/PQunescapeBytea (Tatsuo)
Add locale awareness to regular expression character classes
Enable multibyte support by default (Tatso)
Add GUC variables client_encoding (Tom)
Add GB18030 multibyte support (Bill Huang)
Add CREATE/DROP CONVERSION, allowing loadable encodings (Tatsuo, Kaori)
Add pg_conversion table (Tatsuo)
Add SQL99 CONVERT() function (Tatsuo)
d358 11
a368 8
=====================
Allow recursive SQL function (Peter)
Change PL/Tcl build to use configured compiler and Makefile.shlib (Peter)
Overhaul the PL/pgSQL FOUND variable to be more Oracle-compatible (Tom, Neil)
Allow PL/pgSQL to handle quoted identifiers (Tom)
Allow set-returning PL/pgSQL functions (Neil)
Make PL/pgSQL schema-aware (Joe)
Remove some memory leaks (Nigel J. Andrews, Tom)
d371 14
a384 12
====
Don't lowercase psql \connect database name for 7.2.0 compatibility (Tom)
Add psql \timing to time user queries (Greg Sabino Mullane)
Have psql \d show index information (Greg Sabino Mullane)
New psql \dD shows domains (Jonathan Eisler)
Allow psql to show rules on views (Paul ?)
Fix for psql variable substitution (Tom)
Allow psql \d to show temporary table structure (Tom)
Allow psql \d to show foreign keys (Rod)
Fix \? to honor \pset pager (Bruce)
Have psql reports its version number on startup (Tom)
Allow \copy to specify column names (Tom)
d387 13
a399 8
=====
Add PQunescapeBytea() function to libpq (Patrick Welche)
Fix for sending large queries over non-blocking connections (Bernhard Herzog)
Fix for libpq using timers on Win9X (David Ford)
Allow libpq notify to handle servers with different-length identifiers (Tom)
Add libpq PQescapeString() and PQescapeBytea() to Win32 (Bruce)
Fix for SSL with non-blocking connections (Jack Bates)
Add libpq connection timeout parameter (Denis A Ustimenko)
a401 11
====
Allow jdbc to compile with jdk 1.4 (Dave)
Add jdbc3 support (Barry)
Allows jdbc to set loglevel by adding ?loglevel=X to the connection URL (Barry)
Add jdbc Driver.info() message that prints out the version number (Barry)
Add jdbc updateable result sets (Raghu Nidagal, Dave)
Add jdbc support for callable statements (Paul Bethe)
Add jdbc query cancel capability
Add refresh row to jdbc (Dave)
Fix jdbc MD5 encryption handling for multibyte servers (Jun Kawai)
Add JDBC support for prepared statements (Barry)
d403 12
a414 3
ECPG
====
Fixed ecpg bug concerning octal numbers in single quotes (Michael)
a416 10
========================
Move /interfaces/libpgeasy to http://gborg.postgresql.org (Marc, Bruce)
Improve python (Elliot Lee, Andrew Johnson, Greg Copeland)
Add libpgtcl connection close event (Gerhard Hintermayer)
Move /interfaces/libpq++ to http://gborg.postgresql.org (Marc, Bruce)
Move /interfaces/odbc to http://gborg.postgresql.org (Marc)
Move /interfaces/libpgeasy to http://gborg.postgresql.org (Marc, Bruce)
Move /interfaces/perl5 to http://gborg.postgresql.org (Marc, Bruce)
Remove /bin/pgaccess from main tree, now at http://www.pgaccess.org (Bruce)
Add pg_on_connection_loss command to libpgtcl (Gerhard Hintermayer, Tom)
d418 17
a434 22
Build and Install
=================
Fix for parallel make (Peter)
AIX fixes for linking TCL (Andreas Zeugswetter)
Allow plperl to build under Cygwin (Jason Tishler)
Improve MIPS compiles (Peter, Oliver Elphick)
Require autoconf version 2.53 (Peter)
Require readline and zlib by default in configure (Peter)
Allow Solaris to use Intimate Shared Memory (ISM), for performance
  (Scott Brunza, P.J. Josh Rovero)
Always enable syslog in compile, remove --enable-syslog option (Tatsuo)
Always enable multibyte in compile, remove --enable-multibyte option (Tatsuo)
Always enable locale in compile, remove --enable-locale option (Tatsuo)
Fix for Win9x DLL creation (Magnus Naeslund)
Fix for link() usage by WAL code on Win32, Netware, BeOS (Jason Tishler)
Add sys/types.h to c.h, remove from main files (Peter, Bruce)
Fix AIX hang on SMP machines (Tomoyuki Niijima)
AIX SMP hang fix (Tomoyuki Niijima)
Fix pre-1970 date handling on newer glibc libraries (Tom)
Fix PowerPC SMP locking (Tom)
Prevent gcc -ffast-math from being used (Tom)
Bison >= 1.50 now required for developer builds
a436 30
===========
Improve loadable module linking to use RTLD_NOW (Tom)
New error levels WARNING, INFO, LOG, DEBUG[1-5] (Bruce)
New src/port directory holds replace libc functions (Peter, Bruce)
New pg_namespace system catalog for schemas (Tom)
Add pg_class.relnamespace for schemas (Tom)
Add pg_type.typnamespace for schemas (Tom)
Add pg_proc.pronamespace for schemas (Tom)
Restructure aggregates to have pg_proc entries (Tom)
System relations now have their own namespace, pg_* test not required
  (Fernando Nasser)
Rename TOAST index names to be *_index rather than *_idx (Neil)
Add namespaces for operators, opclasses (Tom)
Add additional checks to server control file (Thomas)
New Polish FAQ (Marcin Mazurek)
Add Posix semaphore support (Tom)
Document need for reindex (Bruce)
Rename some internal identifiers to simplify Win32 compile (Jan, Katherine Ward)
Add documentation on computing disk space (Bruce)
Remove KSQO from GUC (Bruce)
Fix memory leak in rtree (Kenneth Been)
Modify a few error messages for consistency (Bruce)
Remove unused system table columns (Peter)
Make system columns NOT NULL where appropriate (Tom)
Clean up use of sprintf in favor of snprintf() (Neil, Jukka Holappa)
Remove OPAQUE and create specific subtypes (Tom)
Cleanups in array internal handling (Joe, Tom)
Disallow pg_atoi('') (Bruce)
Remove GUC parameter wal_files because WAL files are now recycled (Bruce)
Add version numbers to heap pages (Tom)
d438 56
a495 23
=======
Gist fixes (Teodor Sigaev, Neil)
Upgrade /contrib/mysql
Add /contrib/dbsize which shows table sizes without vacuum (Peter)
Add /contrib/intagg, integer aggregator routines (mlw)
Improve /contrib/Oid2name (Neil, Bruce)
Improve /contrib/tsearch (Teodor Sigaev)
Improve /contrib/tsearch (Oleg)
Cleanups of /contrib/rserver (Alexey V. Borzov)
Update /contrib/oracle conversion utility (Gilles Darold)
Update /contrib/dblink (Joe)
Improve options supported by /contrib/vacuumlo (Mario Weilguni)
Improvements to /contrib/intarray (Oleg, Teodor Sigaev, Andrey Oktyabrski)
Add /contrib/reindexdb utility (Shaun Thomas)
Add indexing to /contrib/isbn_issn (Dan Weston)
Add /contrib/dbmirror (Steven Singer)
Improve /contrib/pgbench (Neil)
Add /contrib/tablefunc table function examples (Joe)
Add /contrib/ltree data type for tree structures (Teodor Sigaev, Oleg Bartunov)
Move /contrib/pg_controldata into main tree (Bruce)
Fixes to /contrib/cube (Bruno Wolff)
Improve /contrib/fulltextindex (Christopher)

d497 24
a520 1
     ----------------------------------------------------------------------
d522 1
a522 1
                                 Release 7.2.3
d528 1
a528 2

     ----------------------------------------------------------------------
d533 1
a533 2

     ----------------------------------------------------------------------
d537 7
a543 6
 Prevent possible compressed transaction log loss (Tom)
 Prevent non-superuser from increasing most recent vacuum info (Tom)
 Handle pre-1970 date values in newer versions of glibc (Tom)
 Fix possible hang during server shutdown
 Prevent spinlock hangs on SMP PPC machines (Tomoyuki Niijima)
 Fix pg_dump to properly dump FULL JOIN USING (Tom)
d545 1
a545 4

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

                                 Release 7.2.2
d549 2
a550 4
   This has a variety of fixes from 7.2.1, including the security
   problems reported on BUGTRAQ.

     ----------------------------------------------------------------------
d555 1
a555 2

     ----------------------------------------------------------------------
d559 16
a574 18
 Allow EXECUTE of "CREATE TABLE AS ... SELECT" in PL/pgSQL (Tom)
 Fix for compressed transaction log id wraparound (Tom)
 Fix PQescapeBytea/PQunescapeBytea so that they handle bytes > 0x7f (Tatsuo)
 Fix for psql and pg_dump crashing when invoked with non-existent long 
   options (Tatsuo)
 Fix crash when invoking geometric operators (Tom)
 Allow OPEN cursor(args) (Tom)
 Fix for rtree_gist index build (Teodor)
 Fix for usage of partial indexes for relations other than first in
   joins (Tom)
 Fix for dumping user-defined aggregates (Tom)
 Contrib/intarray fixes (Oleg)
 Fix for complex UNION/EXCEPT/INTERSECT queries using parens (Tom)
 Fix to pg_convert (Tatsuo)
 Fix for buffer overrun in handling long datetime input (Thomas, Neil)
 Fix for buffer overrun in repeat() (Neil)
 Fix for buffer overrun in lpad() and rpad() with multibyte (Neil)
 Fix for buffer overrun in SET TIME ZONE and TZ env var (Neil)
d576 1
a576 4

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

                                 Release 7.2.1
d581 1
a581 2

     ----------------------------------------------------------------------
d586 1
a586 2

     ----------------------------------------------------------------------
d590 19
a608 18
 Ensure that sequence counters do not go backwards after a crash (Tom)
 Fix pgaccess kanji-coversion key binding (Tatsuo)
 Optimizer improvements (Tom)
 cash I/O improvements (Tom)
 New Russian FAQ
 Compile fix for missing AuthBlockSig (Heiko)
 Additional time zones and time zone fixes (Thomas)
 Allow psql \connect to handle mixed case database and user names (Tom)
 Return proper OID on command completion even with ON INSERT rules (Tom)
 Allow COPY FROM to use 8-bit DELIMITERS (Tatsuo)
 Fix bug in extract/date_part for milliseconds/microseconds (Tatsuo)
 Improve handling of multiple UNIONs with different lengths (Tom)
 contrib/btree_gist improvements (Teodor Sigaev)
 contrib/tsearch dictionary improvements, see README.tsearch for
   an additional installation step (Thomas T. Thai, Teodor Sigaev)
 Fix for array subscripts handling (Tom)
 Allow EXECUTE of "CREATE TABLE AS ... SELECT" in PL/pgSQL (Tom)

d610 1
a610 3
     ----------------------------------------------------------------------

                                  Release 7.2
d613 1
d622 4
a625 5

           Vacuuming no longer locks tables, thus allowing normal user access
           during the vacuum. A new "VACUUM FULL" command does old-style
           vacuum by locking the table and shrinking the on-disk copy of the
           table.
d628 2
d631 3
a633 7
           There is no longer a problem with installations that exceed four
           billion transactions.

   OID's

           OID's are now optional. Users can now create tables without OID's
           for cases where OID usage is excessive.
d636 2
a637 3

           The system now computes histogram column statistics during
           "ANALYZE", allowing much better optimizer choices.
d640 3
a642 4

           A new MD5 encryption option allows more secure storage and
           transfer of passwords. A new Unix-domain socket authentication
           option is available on Linux and BSD systems.
d645 2
a646 3

           Administrators can use the new table access statistics module to
           get fine-grained information about table and index usage.
d649 3
a651 5

           Program and library messages can now be displayed in several
           languages.

     ----------------------------------------------------------------------
d655 2
a656 2
   A dump/restore using "pg_dump" is required for those wishing to migrate
   data from any previous release.
d660 7
a666 8
     * The semantics of the "VACUUM" command have changed in this release.
       You may wish to update your maintenance procedures accordingly.

     * In this release, comparisons using = NULL will always return false (or
       NULL, more precisely). Previous releases automatically transformed
       this syntax to IS NULL. The old behavior can be re-enabled using a
       "postgresql.conf" parameter.

d668 2
a669 2
       reloaded after receiving a SIGHUP signal, not with each connection.

d672 9
a680 12

     * The date/time value 'current' is no longer available. You will need to
       rewrite your applications.

     * The timestamp() function is no longer available.  Use timestamp
       'string' instead, or CAST.

   The SELECT ... LIMIT #,# syntax will be removed in the next release. You
   should change your queries to use separate LIMIT and OFFSET clauses, e.g.
   LIMIT 10 OFFSET 20.

     ----------------------------------------------------------------------
d684 1
a684 1
  Server Operation
d687 1
a687 1
   Delete orphanded temporary files on postmaster startup (Bruce)
d689 2
a690 1
   System table operator reorganization (Oleg Bartunov, Teodor Sigaev, Tom)
d696 1
a696 1
   Removed OID's from some system tables (Tom)
d707 1
d709 1
a709 3
     ----------------------------------------------------------------------

  Performance
d721 1
d723 1
a723 3
     ----------------------------------------------------------------------

  Privileges
d732 3
a734 1
   Disallow access to pg_statistic for non-superuser, add user-accessible views (Tom)
d736 1
a736 3
     ----------------------------------------------------------------------

  Client Authentication
d739 2
a740 1
   Add ident authentication over Unix domain sockets on Linux, *BSD (Helge Bahmann, Oliver Elphick, Teodor Sigaev, Bruce)
d745 1
d747 1
a747 1
     ----------------------------------------------------------------------
d749 2
a750 3
  Server Configuration

   Interpretation of some time zone abbreviations as Australian rather than North American now settable at run time (Bruce)
d752 2
a753 1
   New parameter to enable conversion of "expr = NULL" into "expr IS NULL", off by default (Peter E)
d757 1
d759 1
a759 3
     ----------------------------------------------------------------------

  Queries
d766 2
a767 1
   New EXPLAIN ANALYZE command that shows run times and row counts (Martijn van Oosterhout)
d769 1
a769 1
   Fix for LIMIT, DISTINCT ON pushed into subqueryies (Tom)
d771 1
d773 1
a773 3
     ----------------------------------------------------------------------

  Schema Manipulation
d778 2
a779 1
   New SERIAL8 creates int8 columns with sequences, default still SERIAL4 (Tom)
d782 4
a785 2
   Add ALTER TABLE / DROP CONSTRAINT for CHECK constraints (Christopher Kings-Lynne)
   New CREATE OR REPLACE FUNCTION to alter existing function (preserving the function OID) (Gavin Sherry)
d788 6
a793 3
   Make ALTER TABLE / RENAME COLUMN update column names of indexes (Brent Verner)
   Fix for ALTER TABLE / ADD CONSTRAINT ... CHECK with inherited tables (Stephan Szabo)
   ALTER TABLE RENAME update foreign-key trigger arguments correctly (Brent Verner)
d796 2
a797 1
   Allow GiST indexes to handle NULLs and multikey indexes (Oleg Bartunov, Teodor Sigaev, Tom)
d799 1
d801 1
a801 3
     ----------------------------------------------------------------------

  Utility Commands
d807 2
a808 1
   New light-weight VACUUM does not lock table; old semantics are available as VACUUM FULL (Tom)
d811 2
a812 1
   VACUUM warning about index tuples fewer than heap now only appears when appropriate (Martijn van Oosterhout)
d815 1
d817 1
a817 3
     ----------------------------------------------------------------------

  Data Types and Functions
d822 2
a823 1
   Make the "n" in CHAR(n)/VARCHAR(n) represents letters, not bytes (Tatsuo)
d835 2
a836 1
   New encode() function mode, "escaped", converts minimally escaped bytea to/from text
d844 2
a845 1
   Modify type coersion logic to attempt binary-compatible functions first (Tom)
d849 2
a850 1
   New functions in contrib/pgcrypto: crypt(), hmac(), encrypt(), gen_salt() (Marko Kreen)
d855 2
a856 1
   Fix path_inter, path_distance, path_length, dist_ppath to handle closed paths (Curtis Barrett, Tom)
d861 1
d863 1
a863 3
     ----------------------------------------------------------------------

  Internationalization
d865 7
a871 3
   National language support in psql, pg_dump, libpq, and server (Peter E)
   Message translations in Chinese (simplified, traditional), Czech, French, German, Hungarian, Russian, Swedish (Peter E, Serguei A. Mokhov, Karel Zak, Weiping He, Zhenbang Wei, Kovacs Zoltan)
   Make trim, ltrim, rtrim, btrim, lpad, rpad, translate multibyte aware (Tatsuo)
d877 1
d879 1
a879 3
     ----------------------------------------------------------------------

  PL/pgSQL
d886 2
a887 1
   Allow IS or FOR key words in cursor declaration, for compatibility (Bruce)
d893 1
d895 1
a895 3
     ----------------------------------------------------------------------

  PL/Perl
d898 3
a900 1
   PL/Perl is now built on some platforms even if libperl is not shared (Peter E)
d902 1
a902 3
     ----------------------------------------------------------------------

  PL/Tcl
d906 1
d908 1
a908 3
     ----------------------------------------------------------------------

  PL/Python
d911 1
d913 1
a913 3
     ----------------------------------------------------------------------

  Psql
d915 2
a916 1
   \d displays indexes in unique, primary groupings (Christopher Kings-Lynne)
d919 2
a920 1
   Force new password prompt when changing user and database (Tatsuo, Tom)
d922 1
d924 1
a924 1
     ----------------------------------------------------------------------
d926 5
a930 1
  Libpq
d932 1
a932 6
   New function PQescapeString() to escape quotes in command strings (Florian Weimer)
   New function PQescapeBytea() escapes binary strings for use as SQL string literals

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

  JDBC
d947 4
a950 2
   DatabaseMetaData.getColumns() now returns column defaults (Jason Davies)
   DatabaseMetaData.getColumns() performance improvement (Jeroen van Vianen)
d954 1
a954 1
   Serialize addition 
d968 1
d970 1
a970 3
     ----------------------------------------------------------------------

  ODBC
d982 1
d984 1
a984 3
     ----------------------------------------------------------------------

  ECPG
d996 1
d998 1
a998 3
     ----------------------------------------------------------------------

  Misc. Interfaces
d1001 2
a1002 1
   Use UTF, Unicode in Tcl where appropriate (Vsevolod Lobko, Reinhard Max)
d1006 1
d1008 1
a1008 3
     ----------------------------------------------------------------------

  Build and Install
d1012 2
a1013 1
   Fixes in Cygwin and Win32 ports (Jason Tishler, Gerhard Haring, Dmitry Yurtaev, Darko Prenosil, Mikhail Terekhov)
d1017 2
a1018 1
   Remove configure --enable-unicode-conversion, now enabled by multibyte (Tatsuo)
d1021 2
a1022 1
   Install SQL language manual pages into OS-specific directories (Peter E)
d1025 1
d1027 1
a1027 3
     ----------------------------------------------------------------------

  Source Code
d1034 2
a1035 1
   Remove define of true/false when compiling under C++ (Leandro Fanzone, Tom)
d1041 1
d1043 1
a1043 3
     ----------------------------------------------------------------------

  Contrib
d1051 4
a1054 2
   New contrib/fuzzystrmatch with levenshtein and metaphone, soundex merged (Joe Conway)
   Add contrib/intarray boolean queries, binary search, fixes (Oleg Bartunov)
d1057 1
a1057 1
     ----------------------------------------------------------------------
d1059 1
a1059 1
                                 Release 7.1.3
d1062 1
a1062 2

     ----------------------------------------------------------------------
d1067 1
a1067 2

     ----------------------------------------------------------------------
d1071 10
a1080 11
 Remove unused WAL segements of large transactions (Tom)
 Multiaction rule fix (Tom)
 PL/pgSQL memory allocation fix (Jan)
 VACUUM buffer fix (Tom)
 Regression test fixes (Tom)
 pg_dump fixes for GRANT/REVOKE/comments on views, user-defined types (Tom)
 Fix subselects with DISTINCT ON or LIMIT (Tom)
 BEOS fix
 Disable COPY TO/FROM a view (Tom)
 Cygwin build (Jason Tishler)
     
d1082 1
a1082 1
     ----------------------------------------------------------------------
d1084 1
a1084 1
                                 Release 7.1.2
d1089 1
a1089 2

     ----------------------------------------------------------------------
d1094 1
a1094 2

     ----------------------------------------------------------------------
d1098 5
a1102 6
 Fix PL/pgSQL SELECTs when returning no rows
 Fix for psql backslash core dump
 Referential integrity permission fix
 Optimizer fixes
 pg_dump cleanups
     
d1104 1
a1104 1
     ----------------------------------------------------------------------
d1106 1
a1106 1
                                 Release 7.1.1
d1111 1
a1111 2

     ----------------------------------------------------------------------
d1116 1
a1116 2

     ----------------------------------------------------------------------
d1120 14
a1133 15
 Fix for numeric MODULO operator (Tom)
 pg_dump fixes (Philip)
 pg_dump can dump 7.0 databases (Philip)
 readline 4.2 fixes (Peter E)
 JOIN fixes (Tom)
 AIX, MSWIN, VAX,N32K fixes (Tom)
 Multibytes fixes (Tom)
 Unicode fixes (Tatsuo)
 Optimizer improvements (Tom)
 Fix for whole tuples in functions (Tom)
 Fix for pg_ctl and option strings with spaces (Peter E)
 ODBC fixes (Hiroshi)
 EXTRACT can now take string argument (Thomas)
 Python fixes (Darcy)
     
d1135 1
a1135 1
     ----------------------------------------------------------------------
d1137 1
a1137 1
                                  Release 7.1
d1147 7
a1153 8

           To maintain database consistency in case of an operating system
           crash, previous releases of PostgreSQL have forced all data
           modifications to disk before each transaction commit. With WAL,
           only one log file must be flushed to disk, greatly improving
           performance. If you have been using -F in previous releases to
           disable disk flushes, you may want to consider discontinuing its
           use.
d1156 4
a1159 5

           TOAST - Previous releases had a compiled-in row length limit,
           typically 8k - 32k. This limit made storage of long text fields
           difficult. With TOAST, long rows of any length can be stored with
           good performance.
d1162 3
a1164 3

           We now support outer joins. The UNION/NOT IN workaround for outer
           joins is no longer required. We use the SQL92 outer join syntax.
d1167 5
a1171 6

           The previous C function manager did not handle NULLs properly, nor
           did it support 64-bit CPU's (Alpha). The new function manager
           does. You can continue using your old custom functions, but you
           may want to rewrite them in the future to use the new function
           manager call interface.
d1174 6
d1181 1
a1181 5
           A large number of complex queries that were unsupported in
           previous releases now work. Many combinations of views,
           aggregates, UNION, LIMIT, cursors, subqueries, and inherited
           tables now work properly. Inherited tables are now accessed by
           default. Subqueries in FROM are now supported.
d1183 3
a1185 1
     ----------------------------------------------------------------------
d1187 1
a1187 1
Migration to version 7.1
d1189 135
a1323 2
   A dump/restore using pg_dump is required for those wishing to migrate data
   from any previous release.
d1325 9
a1333 1
     ----------------------------------------------------------------------
d1335 39
a1373 1
Changes
d1375 1
a1375 186
 Bug Fixes
 ---------
 Many multi-byte/Unicode/locale fixes (Tatsuo and others)
 More reliable ALTER TABLE RENAME (Tom)
 Kerberos V fixes (David Wragg)
 Fix for INSERT INTO...SELECT where targetlist has subqueries (Tom)
 Prompt username/password on standard error (Bruce)
 Large objects inv_read/inv_write fixes (Tom)
 Fixes for to_char(), to_date(), to_ascii(), and to_timestamp() (Karel,
     Daniel Baldoni)
 Prevent query expressions from leaking memory (Tom)
 Allow UPDATE of arrays elements (Tom)
 Wake up lock waiters during cancel (Hiroshi)
 Fix rare cursor crash when using hash join (Tom)
 Fix for DROP TABLE/INDEX in rolled-back transaction (Hiroshi)
 Fix psql crash from \l+ if MULTIBYTE enabled (Peter E)
 Fix truncation of rule names during CREATE VIEW (Ross Reedstrom)
 Fix PL/perl (Alex Kapranoff)
 Disallow LOCK on views (Mark Hollomon)
 Disallow INSERT/UPDATE/DELETE on views (Mark Hollomon)
 Disallow DROP RULE, CREATE INDEX, TRUNCATE on views (Mark Hollomon)
 Allow PL/pgSQL accept non-ASCII identifiers (Tatsuo)
 Allow views to proper handle GROUP BY, aggregates, DISTINCT (Tom)
 Fix rare failure with TRUNCATE command (Tom)
 Allow UNION/INTERSECT/EXCEPT to be used with ALL, subqueries, views,
     DISTINCT, ORDER BY, SELECT...INTO (Tom)
 Fix parser failures during aborted transactions (Tom)
 Allow temporary relations to properly clean up indexes (Bruce)
 Fix VACUUM problem with moving rows in same page (Tom)
 Modify pg_dump to better handle user-defined items in template1 (Philip)
 Allow LIMIT in VIEW (Tom)
 Require cursor FETCH to honor LIMIT (Tom)
 Allow PRIMARY/FOREIGN Key definitions on inherited columns (Stephan)
 Allow ORDER BY, LIMIT in sub-selects (Tom)
 Allow UNION in CREATE RULE (Tom)
 Make ALTER/DROP TABLE rollback-able (Vadim, Tom)
 Store initdb collation in pg_control so collation cannot be changed (Tom)
 Fix INSERT...SELECT with rules (Tom)
 Fix FOR UPDATE inside views and subselects (Tom)
 Fix OVERLAPS operators conform to SQL92 spec regarding NULLs (Tom)
 Fix lpad() and rpad() to handle length less than input string (Tom)
 Fix use of NOTIFY in some rules (Tom)
 Overhaul btree code (Tom)
 Fix NOT NULL use in PL/pgSQL variables (Tom)
 Overhaul GIST code (Oleg)
 Fix CLUSTER to preserve constraints and column default (Tom)
 Improved deadlock detection handling (Tom)
 Allow multiple SERIAL columns in a table (Tom)
 Prevent occasional index corruption (Vadim)

 Enhancements
 ------------
 Add OUTER JOINs (Tom)
 Function manager overhaul (Tom)
 Allow ALTER TABLE RENAME on indexes (Tom)
 Improve CLUSTER (Tom)
 Improve ps status display for more platforms (Peter E, Marc)
 Improve CREATE FUNCTION failure message (Ross)
 JDBC improvements (Peter, Travis Bauer, Christopher Cain, William Webber,
     Gunnar)
 Grand Unified Configuration scheme/GUC.  Many options can now be set in
     data/postgresql.conf, postmaster/postgres flags, or SET commands (Peter E)
 Improved handling of file descriptor cache (Tom)
 New warning code about auto-created table alias entries (Bruce)
 Overhaul initdb process (Tom, Peter E)
 Overhaul of inherited tables; inherited tables now accessed by default;
    new ONLY keyword prevents it (Chris Bitmead, Tom)
 ODBC cleanups/improvements (Nick Gorham, Stephan Szabo, Zoltan Kovacs,
     Michael Fork)
 Allow renaming of temp tables (Tom)
 Overhaul memory manager contexts (Tom)
 pg_dumpall uses CREATE USER or CREATE GROUP rather using COPY (Peter E)
 Overhaul pg_dump (Philip Warner)
 Allow pg_hba.conf secondary password file to specify only username (Peter E)
 Allow TEMPORARY or TEMP keyword when creating temporary tables (Bruce)
 New memory leak checker (Karel)
 New SET SESSION CHARACTERISTICS (Thomas)
 Allow nested block comments (Thomas)
 Add WITHOUT TIME ZONE type qualifier (Thomas)
 New ALTER TABLE ADD CONSTRAINT (Stephan)
 Use NUMERIC accumulators for INTEGER aggregates (Tom)
 Overhaul aggregate code (Tom)
 New VARIANCE and STDDEV() aggregates
 Improve dependency ordering of pg_dump (Philip)
 New pg_restore command (Philip)
 New pg_dump tar output option (Philip)
 New pg_dump of large objects  (Philip)
 New ESCAPE option to LIKE (Thomas)
 New case-insensitive LIKE - ILIKE (Thomas)
 Allow functional indexes to use binary-compatible type (Tom)
 Allow SQL functions to be used in more contexts (Tom)
 New pg_config utility (Peter E)
 New PL/pgSQL EXECUTE command which allows dynamic SQL and utility statements
     (Jan)
 New PL/pgSQL GET DIAGNOSTICS statement for SPI value access (Jan)
 New quote_identifiers() and quote_literal() functions (Jan)
 New ALTER TABLE table OWNER TO user command (Mark Hollomon)
 Allow subselects in FROM, i.e. FROM (SELECT ...) [AS] alias (Tom)
 Update PyGreSQL to version 3.1 (D'Arcy)
 Store tables as files named by OID (Vadim)
 New SQL function setval(seq,val,bool) for use in pg_dump (Philip)
 Require DROP VIEW to remove views, no DROP TABLE (Mark)
 Allow DROP VIEW view1, view2 (Mark)
 Allow multiple objects in DROP INDEX, DROP RULE, and DROP TYPE (Tom)
 Allow automatic conversion to/from Unicode (Tatsuo, Eiji)
 New /contrib/pgcrypto hashing functions (Marko Kreen)
 New pg_dumpall --globals-only option (Peter E)
 New CHECKPOINT command for WAL which creates new WAL log file (Vadim)
 New AT TIME ZONE syntax (Thomas)
 Allow location of Unix domain socket to be configurable (David J. MacKenzie)
 Allow postmaster to listen on a specific IP address (David J. MacKenzie)
 Allow socket path name to be specified in hostname by using leading slash
     (David J. MacKenzie)
 Allow CREATE DATABASE to specify template database (Tom)
 New utility to convert MySQL schema dumps to SQL92 and PostgreSQL (Thomas)
 New /contrib/rserv replication toolkit (Vadim)
 New file format for COPY BINARY (Tom)
 New /contrib/oid2name to map numeric files to table names (B Palmer)
 New "idle in transaction" ps status message (Marc)
 Update to pgaccess 0.98.7 (Constantin Teodorescu)
 pg_ctl now defaults to -w (wait) on shutdown, new -l (log) option
 Add rudimentary dependency checking to pg_dump (Philip)

 Types
 -----
 Fix INET/CIDR type ordering and add new functions (Tom)
 Make OID behave as an unsigned type (Tom)
 Allow BIGINT as synonym for INT8 (Peter E)
 New int2 and int8 comparison operators (Tom)
 New BIT and BIT VARYING types (Adriaan Joubert, Tom, Peter E)
 CHAR() no longer faster than VARCHAR() because of TOAST (Tom)
 New GIST seg/cube examples (Gene Selkov)
 Improved round(numeric) handling (Tom)
 Fix CIDR output formatting (Tom)
 New CIDR abbrev() function (Tom)

 Performance
 -----------
 Write-Ahead Log (WAL) to provide crash recovery with less performance
     overhead (Vadim)
 ANALYZE stage of VACUUM no longer exclusively locks table (Bruce)
 Reduced file seeks (Denis Perchine)
 Improve BTREE code for duplicate keys (Tom)
 Store all large objects in a single table (Denis Perchine, Tom)
 Improve memory allocation performance (Karel, Tom)

 Source Code
 -----------
 New function manager call conventions (Tom)
 SGI portability fixes (David Kaelbling)
 New configure --enable-syslog option (Peter E)
 New BSDI README (Bruce)
 configure script moved to top level, not /src (Peter E)
 Makefile/configuration/compilation overhaul (Peter E)
 New configure --with-python option (Peter E)
 Solaris cleanups (Peter E)
 Overhaul /contrib Makefiles (Karel)
 New OpenSSL configuration option (Magnus, Peter E)
 AIX fixes (Andreas)
 QNX fixes (Maurizio)
 New heap_open(), heap_openr() API (Tom)
 Remove colon and semi-colon operators (Thomas)
 New pg_class.relkind value for views (Mark Hollomon)
 Rename ichar() to chr() (Karel)
 New documentation for btrim(), ascii(), chr(), repeat() (Karel)
 Fixes for NT/Cygwin (Pete Forman)
 AIX port fixes (Andreas)
 New BeOS port (David Reid, Cyril Velter)
 Add proofreader's changes to docs (Addison-Wesley, Bruce)
 New Alpha spinlock code (Adriaan Joubert, Compaq)
 Unixware port overhaul (Peter E)
 New Darwin/Mac OSX port (Peter Bierman, Bruce Hartzler)
 New FreeBSD Alpha port (Alfred)
 Overhaul shared memory segments (Tom)
 Add IBM S/390 support (Neale Ferguson)
 Moved macmanuf to /contrib (Larry Rosenman)
 Syslog improvements (Larry Rosenman)
 New template0 database that contains no user additions (Tom)
 New /contrib/cube and /contrib/seg GIST sample code (Gene Selkov)
 Allow NetBSD's libedit instead of readline (Peter)
 Improved assembly language source code format (Bruce)
 New contrib/pg_logger
 New --template option to createdb
 New contrib/pg_control utility (Oliver)
 New FreeBSD tools ipc_check, start-scripts/freebsd
     
d1377 1
a1377 3
     ----------------------------------------------------------------------

                                 Release 7.0.3
d1382 1
a1382 2

     ----------------------------------------------------------------------
d1387 1
a1387 2

     ----------------------------------------------------------------------
d1391 39
a1429 40
 Jdbc fixes (Peter)
 Large object fix (Tom)
 Fix lean in COPY WITH OIDS leak (Tom)
 Fix backwards-index-scan (Tom)
 Fix SELECT ... FOR UPDATE so it checks for duplicate keys (Hiroshi)
 Add --enable-syslog to configure (Marc)
 Fix abort transaction at backend exit in rare cases (Tom)
 Fix for psql \l+ when multi-byte enabled (Tatsuo)
 Allow PL/pgSQL to accept non ascii identifiers (Tatsuo)
 Make vacuum always flush buffers (Tom)
 Fix to allow cancel while waiting for a lock (Hiroshi)
 Fix for memory aloocation problem in user authentication code (Tom)
 Remove bogus use of int4out() (Tom)
 Fixes for multiple subqueries in COALESCE or BETWEEN (Tom)
 Fix for failure of triggers on heap open in certain cases (Jeroen van
     Vianen)
 Fix for erroneous selectivity of not-equals (Tom)
 Fix for erroneous use of strcmp() (Tom)
 Fix for bug where storage manager accesses items beyond end of file
     (Tom)
 Fix to include kernel errno message in all smgr elog messages (Tom)
 Fix for '.' not in PATH at build time (SL Baur)
 Fix for out-of-file-descriptors error (Tom)
 Fix to make pg_dump dump 'iscachable' flag for functions (Tom)
 Fix for subselect in targetlist of Append node (Tom)
 Fix for mergejoin plans (Tom)
 Fix TRUNCATE failure on relations with indexes (Tom)
 Avoid database-wide restart on write error (Hiroshi)
 Fix nodeMaterial to honor chgParam by recomputing its output (Tom)
 Fix VACUUM problem with moving chain of update tuples when source and
     destination of a tuple lie on the same page (Tom)
 Fix user.c CommandCounterIncrement (Tom)
 Fix for AM/PM boundary problem in to_char() (Karel Zak)
 Fix TIME aggregate handling (Tom)
 Fix to_char() to avoid coredump on NULL input (Tom)
 Buffer fix (Tom)
 Fix for inserting/copying longer multibyte strings into char() data
     types (Tatsuo)
 Fix for crash of backend, on abort (Tom)
     
d1431 1
a1431 1
     ----------------------------------------------------------------------
d1433 1
a1433 1
                                 Release 7.0.2
d1438 1
a1438 2

     ----------------------------------------------------------------------
d1443 1
a1443 2

     ----------------------------------------------------------------------
d1447 1
a1447 2
 Added documentation to tarball.
     
d1449 1
a1449 1
     ----------------------------------------------------------------------
d1451 1
a1451 1
                                 Release 7.0.1
d1456 1
a1456 2

     ----------------------------------------------------------------------
d1461 1
a1461 2

     ----------------------------------------------------------------------
d1465 24
a1488 25
 Fix many CLUSTER failures (Tom)
 Allow ALTER TABLE RENAME works on indexes (Tom)
 Fix plpgsql to handle datetime->timestamp and timespan->interval (Bruce)
 New configure --with-setproctitle switch to use setproctitle() (Marc, Bruce)
 Fix the off by one errors in ResultSet from 6.5.3, and more.
 jdbc ResultSet fixes (Joseph Shraibman)
 optimizer tunings (Tom)
 Fix create user for pgaccess
 Fix for UNLISTEN failure
 IRIX fixes (David Kaelbling)
 QNX fixes (Andreas Kardos)
 Reduce COPY IN lock level (Tom)
 Change libpqeasy to use PQconnectdb() style parameters (Bruce)
 Fix pg_dump to handle OID indexes (Tom)
 Fix small memory leak (Tom)
 Solaris fix for createdb/dropdb (Tatsuo)
 Fix for non-blocking connections (Alfred Perlstein)
 Fix improper recovery after RENAME TABLE failures (Tom)
 Copy pg_ident.conf.sample into /lib directory in install (Bruce)
 Add SJIS UDC (NEC selection IBM kanji) support (Eiji Tokuya)
 Fix too long syslog message (Tatsuo)
 Fix problem with quoted indexes that are too long (Tom)
 JDBC ResultSet.getTimestamp() fix (Gregory Krasnow & Floyd Marinescu)
 ecpg changes (Michael)
     
d1490 1
a1490 1
     ----------------------------------------------------------------------
d1492 1
a1492 1
                                  Release 7.0
d1497 4
a1500 4
   continued growth of PostgreSQL. There are more improvements and fixes in
   7.0 than in any previous release. The developers have confidence that this
   is the best release yet; we do our best to put out only solid releases,
   and this one is no exception.
d1505 3
a1507 4

           Foreign keys are now implemented, with the exception of PARTIAL
           MATCH foreign keys. Many users have been asking for this feature,
           and we are pleased to offer it.
d1510 3
a1512 4

           Continuing on work started a year ago, the optimizer has been
           improved, allowing better query plan selection and faster
           performance with less memory usage.
d1515 2
a1516 3

           psql, our interactive terminal monitor, has been updated with a
           variety of new features. See the psql manual page for details.
d1519 4
a1522 6

           SQL92 join syntax is now supported, though only as INNER JOINs for
           this release. JOIN, NATURAL JOIN, JOIN/USING, JOIN/ON are
           available, as are column correlation names.

     ----------------------------------------------------------------------
d1526 5
a1530 4
   A dump/restore using pg_dump is required for those wishing to migrate data
   from any previous release of PostgreSQL. For those upgrading from 6.5.*,
   you may instead use pg_upgrade to upgrade to this release; however, a full
   dump/reload installation is always the most robust method for upgrades.
d1535 6
a1540 7
     * The date/time types datetime and timespan have been superseded by the
       SQL92-defined types timestamp and interval. Although there has been
       some effort to ease the transition by allowing PostgreSQL to recognize
       the deprecated type names and translate them to the new type names,
       this mechanism may not be completely transparent to your existing
       application.

d1542 6
a1547 7
       cost estimation. In some cases, this will result in decreased query
       times as the optimizer makes a better choice for the preferred plan.
       However, in a small number of cases, usually involving pathological
       distributions of data, your query times may go up. If you are dealing
       with large amounts of data, you may want to check your queries to
       verify performance.

d1549 251
d1801 76
a1876 327
     * The string function CHAR_LENGTH is now a native function. Previous
       versions translated this into a call to LENGTH, which could result in
       ambiguity with other types implementing LENGTH such as the geometric
       types.

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

Changes

 Bug Fixes
 ---------
 Prevent function calls exceeding maximum number of arguments (Tom)
 Improve CASE construct (Tom)
 Fix SELECT coalesce(f1,0) FROM int4_tbl GROUP BY f1 (Tom)
 Fix SELECT sentence.words[0] FROM sentence GROUP BY sentence.words[0] (Tom)
 Fix GROUP BY scan bug (Tom)
 Improvements in SQL grammar processing (Tom)
 Fix for views involved in INSERT ... SELECT ... (Tom)
 Fix for SELECT a/2, a/2 FROM test_missing_target GROUP BY a/2 (Tom)
 Fix for subselects in INSERT ... SELECT (Tom)
 Prevent INSERT ... SELECT ... ORDER BY (Tom)
 Fixes for relations greater than 2GB, including vacuum
 Improve propagating system table changes to other backends (Tom)
 Improve propagating user table changes to other backends (Tom)
 Fix handling of temp tables in complex situations (Bruce, Tom)
 Allow table locking at table open, improving concurrent reliability (Tom)
 Properly quote sequence names in pg_dump (Ross J. Reedstrom)
 Prevent DROP DATABASE while others accessing
 Prevent any rows from being returned by GROUP BY if no rows processed (Tom)
 Fix SELECT COUNT(1) FROM table WHERE ...' if no rows matching WHERE (Tom)
 Fix pg_upgrade so it works for MVCC (Tom)
 Fix for SELECT ... WHERE x IN (SELECT ... HAVING SUM(x) > 1) (Tom)
 Fix for "f1 datetime DEFAULT 'now'"  (Tom)
 Fix problems with CURRENT_DATE used in DEFAULT (Tom)
 Allow comment-only lines, and ;;; lines too. (Tom)
 Improve recovery after failed disk writes, disk full (Hiroshi)
 Fix cases where table is mentioned in FROM but not joined (Tom)
 Allow HAVING clause without aggregate functions (Tom)
 Fix for "--" comment and no trailing newline, as seen in perl interface
 Improve pg_dump failure error reports (Bruce)
 Allow sorts and hashes to exceed 2GB file sizes (Tom)
 Fix for pg_dump dumping of inherited rules (Tom)
 Fix for NULL handling comparisons (Tom)
 Fix inconsistent state caused by failed CREATE/DROP commands (Hiroshi)
 Fix for dbname with dash
 Prevent DROP INDEX from interfering with other backends (Tom)
 Fix file descriptor leak in verify_password()
 Fix for "Unable to identify an operator =$" problem
 Fix ODBC so no segfault if CommLog and Debug enabled (Dirk Niggemann)
 Fix for recursive exit call (Massimo)
 Fix for extra-long timezones (Jeroen van Vianen)
 Make pg_dump preserve primary key information (Peter E)
 Prevent databases with single quotes (Peter E)
 Prevent DROP DATABASE inside  transaction (Peter E)
 ecpg memory leak fixes (Stephen Birch)
 Fix for SELECT null::text, SELECT int4fac(null) and SELECT 2 + (null) (Tom)
 Y2K timestamp fix (Massimo)
 Fix for VACUUM 'HEAP_MOVED_IN was not expected' errors (Tom)
 Fix for views with tables/columns containing spaces  (Tom)
 Prevent permissions on indexes (Peter E)
 Fix for spinlock stuck problem when error is generated (Hiroshi)
 Fix ipcclean on Linux
 Fix handling of NULL constraint conditions (Tom)
 Fix memory leak in odbc driver (Nick Gorham)
 Fix for permission check on UNION tables (Tom)
 Fix to allow SELECT 'a' LIKE 'a' (Tom)
 Fix for SELECT 1 + NULL (Tom)
 Fixes to CHAR
 Fix log() on numeric type (Tom)
 Deprecate ':' and ';' operators
 Allow vacuum of temporary tables
 Disallow inherited columns with the same name as new columns
 Recover or force failure when disk space is exhausted (Hiroshi)
 Fix INSERT INTO ... SELECT with AS columns matching result columns
 Fix INSERT ... SELECT ... GROUP BY groups by target columns not source columns (Tom)
 Fix CREATE TABLE test (a char(5) DEFAULT text '', b int4) with INSERT (Tom)
 Fix UNION with LIMIT
 Fix CREATE TABLE x AS SELECT 1 UNION SELECT 2
 Fix CREATE TABLE test(col char(2) DEFAULT user)
 Fix mismatched types in CREATE TABLE ... DEFAULT
 Fix SELECT * FROM pg_class where oid in (0,-1)
 Fix SELECT COUNT('asdf') FROM pg_class WHERE oid=12
 Prevent user who can create databases can modifying pg_database table (Peter E)
 Fix btree to give a useful elog when key > 1/2 (page - overhead) (Tom)
 Fix INSERT of 0.0 into DECIMAL(4,4) field (Tom)

 Enhancements
 ------------
 New CLI interface include file sqlcli.h, based on SQL3/SQL98
 Remove all limits on query length, row length limit still exists (Tom)
 Update jdbc protocol to 2.0 (Jens Glaser <jens@@jens.de>)
 Add TRUNCATE command to quickly truncate relation (Mike Mascari)
 Fix to give super user and createdb user proper update catalog rights (Peter E)
 Allow ecpg bool variables to have NULL values (Christof)
 Issue ecpg error if NULL value for variable with no NULL indicator (Christof)
 Allow ^C to cancel COPY command (Massimo)
 Add SET FSYNC and SHOW PG_OPTIONS commands(Massimo)
 Function name overloading for dynamically-loaded C functions (Frankpitt)
 Add CmdTuples() to libpq++(Vince)
 New CREATE CONSTRAINT TRIGGER and SET CONSTRAINTS commands(Jan)
 Allow CREATE FUNCTION/WITH clause to be used for all language types
 configure --enable-debug adds -g (Peter E)
 configure --disable-debug removes -g (Peter E)
 Allow more complex default expressions (Tom)
 First real FOREIGN KEY constraint trigger functionality (Jan)
 Add FOREIGN KEY ... MATCH FULL ... ON DELETE CASCADE (Jan)
 Add FOREIGN KEY ... MATCH <unspecified> referential actions (Don Baccus)
 Allow WHERE restriction on ctid (physical heap location) (Hiroshi)
 Move pginterface from contrib to interface directory, rename to pgeasy (Bruce)
 Change pgeasy connectdb() parameter ordering (Bruce)
 Require SELECT DISTINCT target list to have all ORDER BY columns (Tom)
 Add Oracle's COMMENT ON command (Mike Mascari <mascarim@@yahoo.com>)
 libpq's PQsetNoticeProcessor function now returns previous hook(Peter E)
 Prevent PQsetNoticeProcessor from being set to NULL (Peter E)
 Make USING in COPY optional (Bruce)
 Allow subselects in the target list (Tom)
 Allow subselects on the left side of comparison operators (Tom)
 New parallel regression test (Jan)
 Change backend-side COPY to write files with permissions 644 not 666 (Tom)
 Force permissions on PGDATA directory to be secure, even if it exists (Tom)
 Added psql LASTOID variable to return last inserted oid (Peter E)
 Allow concurrent vacuum and remove pg_vlock vacuum lock file (Tom)
 Add permissions check for vacuum (Peter E)
 New libpq functions to allow asynchronous connections: PQconnectStart(),
    PQconnectPoll(), PQresetStart(), PQresetPoll(), PQsetenvStart(),
    PQsetenvPoll(), PQsetenvAbort (Ewan Mellor)
 New libpq PQsetenv() function (Ewan Mellor)
 create/alter user extension (Peter E)
 New postmaster.pid and postmaster.opts under $PGDATA (Tatsuo)
 New scripts for create/drop user/db (Peter E)
 Major psql overhaul (Peter E)
 Add const to libpq interface (Peter E)
 New libpq function PQoidValue (Peter E)
 Show specific non-aggregate causing problem with GROUP BY (Tom)
 Make changes to pg_shadow recreate pg_pwd file (Peter E)
 Add aggregate(DISTINCT ...) (Tom)
 Allow flag to control COPY input/output of NULLs (Peter E)
 Make postgres user have a password by default (Peter E)
 Add CREATE/ALTER/DROP GROUP (Peter E)
 All administration scripts now support --long options (Peter E, Karel)
 Vacuumdb script now supports --all option (Peter E)
 ecpg new portable FETCH syntax
 Add ecpg EXEC SQL IFDEF, EXEC SQL IFNDEF, EXEC SQL ELSE, EXEC SQL ELIF
         and EXEC SQL ENDIF directives
 Add pg_ctl script to control backend start-up (Tatsuo)
 Add postmaster.opts.default file to store start-up flags (Tatsuo)
 Allow --with-mb=SQL_ASCII
 Increase maximum number of index keys to 16 (Bruce)
 Increase maximum number of function arguments to 16 (Bruce)
 Allow configuration of maximum number of index keys and arguments (Bruce)
 Allow unprivileged users to change their passwords (Peter E)
 Password authentication enabled; required for new users (Peter E)
 Disallow dropping a user who owns a database (Peter E)
 Change initdb option --with-mb to --enable-multibyte
 Add option for initdb to prompts for superuser password (Peter E)
 Allow complex type casts like col::numeric(9,2) and col::int2::float8 (Tom)
 Updated user interfaces on initdb, initlocation, pg_dump, ipcclean (Peter E)
 New pg_char_to_encoding() and pg_encoding_to_char() functions (Tatsuo)
 Libpq non-blocking mode (Alfred Perlstein)
 Improve conversion of types in casts that don't specify a length
 New plperl internal programming language (Mark Hollomon)
 Allow COPY IN to read file that do not end with a newline (Tom)
 Indicate when long identifiers are truncated (Tom)
 Allow aggregates to use type equivalency (Peter E)
 Add Oracle's to_char(), to_date(), to_datetime(), to_timestamp(), to_number()
         conversion functions (Karel Zak <zakkr@@zf.jcu.cz>)
 Add SELECT DISTINCT ON (expr [, expr ...]) targetlist ... (Tom)
 Check to be sure ORDER BY is compatible with the DISTINCT operation (Tom)
 Add NUMERIC and int8 types to ODBC
 Improve EXPLAIN results for Append, Group, Agg, Unique (Tom)
 Add ALTER TABLE ... ADD FOREIGN KEY (Stephan Szabo)
 Allow SELECT .. FOR UPDATE in PL/pgSQL (Hiroshi)
 Enable backward sequential scan even after reaching EOF (Hiroshi)
 Add btree indexing of boolean values, >= and <= (Don Baccus)
 Print current line number when COPY FROM fails (Massimo)
 Recognize POSIX time zone e.g. "PST+8" and "GMT-8" (Thomas)
 Add DEC as synonym for DECIMAL (Thomas)
 Add SESSION_USER as SQL92 keyword, same as CURRENT_USER (Thomas)
 Implement SQL92 column aliases (aka correlation names) (Thomas)
 Implement SQL92 join syntax (Thomas)
 Make INTERVAL reserved word allowed as a column identifier (Thomas)
 Implement REINDEX command (Hiroshi)
 Accept ALL in aggregate function SUM(ALL col) (Tom)
 Prevent GROUP BY from using column aliases (Tom)
 New psql \encoding option (Tatsuo)
 Allow PQrequestCancel() to terminate when in waiting-for-lock state (Hiroshi)
 Allow negation of a negative number in all cases
 Add ecpg descriptors (Christof, Michael)
 Allow CREATE VIEW v AS SELECT f1::char(8) FROM tbl
 Allow casts with length, like foo::char(8)
 New libpq functions PQsetClientEncoding(), PQclientEncoding() (Tatsuo)
 Add support for SJIS user defined characters (Tatsuo)
 Larger views/rules supported
 Make libpq's PQconndefaults() thread-safe (Tom)
 Disable // as comment to be ANSI conforming, should use -- (Tom)
 Allow column aliases on views CREATE VIEW name (collist)
 Fixes for views with subqueries (Tom)
 Allow UPDATE table SET fld = (SELECT ...) (Tom)
 SET command options no longer require quotes
 Update pgaccess to 0.98.6
 New SET SEED command
 New pg_options.sample file
 New SET FSYNC command (Massimo)
 Allow pg_descriptions when creating tables
 Allow pg_descriptions when creating types, columns, and functions
 Allow psql \copy to allow delimiters (Peter E)
 Allow psql to print nulls as distinct from "" [null] (Peter E)

 Types
 -----
 Many array fixes (Tom)
 Allow bare column names to be subscripted as arrays (Tom)
 Improve type casting of int and float constants (Tom)
 Cleanups for int8 inputs, range checking, and type conversion (Tom)
 Fix for SELECT timespan('21:11:26'::time) (Tom)
 netmask('x.x.x.x/0') is 255.255.255.255 instead of 0.0.0.0 (Oleg Sharoiko)
 Add btree index on NUMERIC (Jan)
 Perl fix for large objects containing NUL characters (Douglas Thomson)
 ODBC fix for for large objects (free)
 Fix indexing of cidr data type
 Fix for Ethernet MAC addresses (macaddr type) comparisons
 Fix for date/time types when overflows happened in computations (Tom)
 Allow array on int8 (Peter E)
 Fix for rounding/overflow of NUMERIC type, like NUMERIC(4,4) (Tom)
 Allow NUMERIC arrays
 Fix bugs in NUMERIC ceil() and floor() functions (Tom)
 Make char_length()/octet_length including trailing blanks (Tom)
 Made abstime/reltime use int4 instead of time_t (Peter E)
 New lztext data type for compressed text fields
 Revise code to handle coercion of int and float constants (Tom)
 Start at new code to implement a BIT and BIT VARYING type (Adriaan Joubert)
 NUMERIC now accepts scientific notation (Tom)
 NUMERIC to int4 rounds (Tom)
 Convert float4/8 to NUMERIC properly (Tom)
 Allow type conversion with NUMERIC (Thomas)
 Make ISO date style (2000-02-16 09:33) the default (Thomas)
 Add NATIONAL CHAR [ VARYING ] (Thomas)
 Allow NUMERIC round and trunc to accept negative scales (Tom)
 New TIME WITH TIME ZONE type (Thomas)
 Add MAX()/MIN() on time type (Thomas)
 Add abs(), mod(), fac() for int8 (Thomas)
 Rename functions to round(), sqrt(), cbrt(), pow() for float8 (Thomas)
 Add transcendental math functions (e.g. sin(), acos()) for float8 (Thomas)
 Add exp() and ln() for NUMERIC type
 Rename NUMERIC power() to pow() (Thomas)
 Improved TRANSLATE() function (Edwin Ramirez, Tom)
 Allow X=-Y operators  (Tom)
 Allow SELECT float8(COUNT(*))/(SELECT COUNT(*) FROM t) FROM t GROUP BY f1; (Tom)
 Allow LOCALE to use indexes in regular expression searches (Tom)
 Allow creation of functional indexes to use default types

 Performance
 -----------
 Prevent exponential space consumption with many AND's and OR's (Tom)
 Collect attribute selectivity values for system columns (Tom)
 Reduce memory usage of aggregates (Tom)
 Fix for LIKE optimization to use indexes with multibyte encodings (Tom)
 Fix r-tree index optimizer selectivity (Thomas)
 Improve optimizer selectivity computations and functions (Tom)
 Optimize btree searching for cases where many equal keys exist (Tom)
 Enable fast LIKE index processing only if index present (Tom)
 Re-use free space on index pages with duplicates (Tom)
 Improve hash join processing (Tom)
 Prevent descending sort if result is already sorted(Hiroshi)
 Allow commuting of index scan query qualifications (Tom)
 Prefer index scans in cases where ORDER BY/GROUP BY is required (Tom)
 Allocate large memory requests in fix-sized chunks for performance (Tom)
 Fix vacuum's performance by reducing memory allocation requests (Tom)
 Implement constant-expression simplification (Bernard Frankpitt, Tom)
 Use secondary columns to be used to determine start of index scan (Hiroshi)
 Prevent quadruple use of disk space when doing internal sorting (Tom)
 Faster sorting by calling fewer functions (Tom)
 Create system indexes to match all system caches (Bruce, Hiroshi)
 Make system caches use system indexes (Bruce)
 Make all system indexes unique (Bruce)
 Improve pg_statistics management for VACUUM speed improvement (Tom)
 Flush backend cache less frequently (Tom, Hiroshi)
 COPY now reuses previous memory allocation, improving performance (Tom)
 Improve optimization cost estimation (Tom)
 Improve optimizer estimate of range queries x > lowbound AND x < highbound (Tom)
 Use DNF instead of CNF where appropriate (Tom, Taral)
 Further cleanup for OR-of-AND WHERE-clauses (Tom)
 Make use of index in OR clauses (x = 1 AND y = 2) OR (x = 2 AND y = 4) (Tom)
 Smarter optimizer computations for random index page access (Tom)
 New SET variable to control optimizer costs (Tom)
 Optimizer queries based on LIMIT, OFFSET, and EXISTS qualifications (Tom)
 Reduce optimizer internal housekeeping of join paths for speedup (Tom)
 Major subquery speedup (Tom)
 Fewer fsync writes when fsync is not disabled (Tom)
 Improved LIKE optimizer estimates (Tom)
 Prevent fsync in SELECT-only queries (Vadim)
 Make index creation use psort code, because it is now faster (Tom)
 Allow creation of sort temp tables > 1 Gig

 Source Tree Changes
 -------------------
 Fix for linux PPC compile
 New generic expression-tree-walker subroutine (Tom)
 Change form() to varargform() to prevent portability problems
 Improved range checking for large integers on Alphas
 Clean up #include in /include directory (Bruce)
 Add scripts for checking includes (Bruce)
 Remove un-needed #include's from *.c files (Bruce)
 Change #include's to use <> and "" as appropriate (Bruce)
 Enable WIN32 compilation of libpq
 Alpha spinlock fix from Uncle George <gatgul@@voicenet.com>
 Overhaul of optimizer data structures (Tom)
 Fix to cygipc library (Yutaka Tanida)
 Allow pgsql to work on newer Cygwin snapshots (Dan)
 New catalog version number (Tom)
 Add Linux ARM
 Rename heap_replace to heap_update
 Update for QNX (Dr. Andreas Kardos)
 New platform-specific regression handling (Tom)
 Rename oid8 -> oidvector and int28 -> int2vector (Bruce)
 Included all yacc and lex files into the distribution (Peter E.)
 Remove lextest, no longer needed (Peter E)
 Fix for libpq and psql on Win32 (Magnus)
 Internally change datetime and timespan into timestamp and interval (Thomas)
 Fix for plpgsql on BSDI
 Add SQL_ASCII test case to the regression test (Tatsuo)
 configure --with-mb now deprecated (Tatsuo)
 NT fixes
 NetBSD fixes (Johnny C. Lam <lamj@@stat.cmu.edu>)
 Fixes for Alpha compiles
 New multibyte encodings
     
d1878 1
a1878 1
     ----------------------------------------------------------------------
d1880 1
a1880 1
                                 Release 6.5.3
d1886 1
a1886 2

     ----------------------------------------------------------------------
d1891 1
a1891 2

     ----------------------------------------------------------------------
d1895 3
a1897 4
 Updated version of pgaccess 0.98
 NT-specific patch
 Fix dumping rules on inherited tables
     
d1899 1
a1899 1
     ----------------------------------------------------------------------
d1901 1
a1901 1
                                 Release 6.5.2
d1905 3
a1907 4
   This is basically a cleanup release for 6.5.1. We have fixed a variety of
   problems reported by 6.5.1 users.

     ----------------------------------------------------------------------
d1912 1
a1912 2

     ----------------------------------------------------------------------
d1916 26
a1941 25
 subselect+CASE fixes(Tom)
 Add SHLIB_LINK setting for solaris_i386 and solaris_sparc ports(Daren Sefcik)
 Fixes for CASE in WHERE join clauses(Tom)
 Fix BTScan abort(Tom)
 Repair the check for redundant UNIQUE and PRIMARY KEY indexes(Thomas)
 Improve it so that it checks for multi-column constraints(Thomas)
 Fix for Win32 making problem with MB enabled(Hiroki Kataoka)
 Allow BSD yacc and bison to compile pl code(Bruce)
 Fix SET NAMES working
 int8 fixes(Thomas)
 Fix vacuum's memory consumption(Hiroshi,Tatsuo)
 Reduce the total memory consumption of vacuum(Tom)
 Fix for timestamp(datetime)
 Rule deparsing bugfixes(Tom)
 Fix quoting problems in mkMakefile.tcldefs.sh.in and mkMakefile.tkdefs.sh.in(Tom)
 This is to re-use space on index pages freed by vacuum(Vadim)
 document -x for pg_dump(Bruce)
 Fix for unary operators in rule deparser(Tom)
 Comment out FileUnlink of excess segments during mdtruncate()(Tom)
 Irix linking fix from Yu Cao >yucao@@falcon.kla-tencor.com<
 Repair logic error in LIKE: should not return LIKE_ABORT
    when reach end of pattern before end of text(Tom)
 Repair incorrect cleanup of heap memory allocation during transaction abort(Tom)
 Updated version of pgaccess 0.98
     
d1943 1
a1943 1
     ----------------------------------------------------------------------
d1945 1
a1945 1
                                 Release 6.5.1
d1949 3
a1951 4
   This is basically a cleanup release for 6.5. We have fixed a variety of
   problems reported by 6.5 users.

     ----------------------------------------------------------------------
d1956 1
a1956 2

     ----------------------------------------------------------------------
d1960 23
a1982 24
 Add NT README file
 Portability fixes for linux_ppc, Irix, linux_alpha, OpenBSD, alpha
 Remove QUERY_LIMIT, use SELECT...LIMIT
 Fix for EXPLAIN on inheritance(Tom)
 Patch to allow vacuum on multi-segment tables(Hiroshi)
 R-Tree optimizer selectivity fix(Tom)
 ACL file descriptor leak fix(Atsushi Ogawa)
 New expresssion subtree code(Tom)
 Avoid disk writes for read-only transactions(Vadim)
 Fix for removal of temp tables if last transaction was aborted(Bruce)
 Fix to prevent too large tuple from being created(Bruce)
 plpgsql fixes
 Allow port numbers 32k - 64k(Bruce)
 Add ^ precidence(Bruce)
 Rename sort files called pg_temp to pg_sorttemp(Bruce)
 Fix for microseconds in time values(Tom)
 Tutorial source cleanup
 New linux_m68k port
 Fix for sorting of NULL's in some cases(Tom)
 Shared library dependencies fixed (Tom)
 Fixed glitches affecting GROUP BY in subselects(Tom)
 Fix some compiler warnings (Tomoaki Nishiyama)
 Add Win1250 (Czech) support (Pavel Behal)
     
d1984 1
a1984 1
     ----------------------------------------------------------------------
d1986 1
a1986 1
                                  Release 6.5
d1990 4
a1993 4
   This release marks a major step in the development team's mastery of the
   source code we inherited from Berkeley. You will see we are now easily
   adding major features, thanks to the increasing size and experience of our
   world-wide development team.
d1997 13
a2009 13
   Multi-version concurrency control(MVCC)

           This removes our old table-level locking, and replaces it with a
           locking system that is superior to most commercial database
           systems. In a traditional system, each row that is modified is
           locked until committed, preventing reads by other users. MVCC uses
           the natural multi-version nature of PostgreSQL to allow readers to
           continue reading consistent data during writer activity. Writers
           continue to use the compact pg_log transaction system. This is all
           performed without having to allocate a lock for every row like
           traditional database systems. So, basically, we no longer are
           restricted by simple table-level locking; we have something better
           than row-level locking.
d2012 3
a2014 4

           pg_dump takes advantage of the new MVCC features to give a
           consistent database dump/backup while the database stays online
           and available for queries.
d2017 2
a2018 3

           We now have a true numeric data type, with user-specified
           precision.
d2021 2
a2022 3

           Temporary tables are guaranteed to have unique names within a
           database session, and are destroyed on session exit.
d2025 3
a2027 4

           We now have CASE, INTERSECT, and EXCEPT statement support. We have
           new LIMIT/OFFSET, SET TRANSACTION ISOLATION LEVEL, SELECT ... FOR
           UPDATE, and an improved LOCK TABLE command.
d2030 3
a2032 4

           We continue to speed up PostgreSQL, thanks to the variety of
           talents within our team. We have sped up memory allocation,
           optimization, table joins, and row transfer routines.
d2035 2
a2036 3

           We continue to expand our port list, this time including Windows
           NT/ix86 and NetBSD/arm32.
d2039 2
a2040 3

           Most interfaces have new versions, and existing functionality has
           been improved.
d2043 12
a2054 13

           New and updated material is present throughout the documentation.
           New FAQs have been contributed for SGI and AIX platforms. The
           Tutorial has introductory information on SQL from Stefan
           Simkovics. For the User's Guide, there are reference pages
           covering the postmaster and more utility programs, and a new
           appendix contains details on date/time behavior. The
           Administrator's Guide has a new chapter on troubleshooting from
           Tom Lane. And the Programmer's Guide has a description of query
           processing, also from Stefan, and details on obtaining the
           PostgreSQL source tree via anonymous CVS and CVSup.

     ----------------------------------------------------------------------
d2058 10
a2067 9
   A dump/restore using pg_dump is required for those wishing to migrate data
   from any previous release of PostgreSQL. pg_upgrade can *not* be used to
   upgrade to this release because the on-disk structure of the tables has
   changed compared to previous releases.

   The new Multi-Version Concurrency Control (MVCC) features can give
   somewhat different behaviors in multi-user environments. *Read and
   understand the following section to ensure that your existing applications
   will give you the behavior you need.*
d2069 1
a2069 3
     ----------------------------------------------------------------------

  Multi-Version Concurrency Control
d2073 16
a2088 15
   another. In other words, if a row is returned by "SELECT" it doesn't mean
   that this row really exists at the time it is returned (i.e. sometime
   after the statement or transaction began) nor that the row is protected
   from being deleted or updated by concurrent transactions before the
   current transaction does a commit or rollback.

   To ensure the actual existence of a row and protect it against concurrent
   updates one must use "SELECT FOR UPDATE" or an appropriate "LOCK TABLE"
   statement. This should be taken into account when porting applications
   from previous releases of PostgreSQL and other environments.

   Keep the above in mind if you are using "contrib/refint.*" triggers for
   referential integrity. Additional techniques are required now. One way is
   to use "LOCK parent_table IN SHARE ROW EXCLUSIVE MODE" command if a
   transaction is going to update/delete a primary key and use "LOCK
d2092 3
a2094 3
     Note: Note that if you run a transaction in SERIALIZABLE mode then you
     must execute the "LOCK" commands above before execution of any DML
     statement ("SELECT/INSERT/DELETE/UPDATE/FETCH/COPY_TO") in the
d2097 2
a2098 2
   These inconveniences will disappear in the future when the ability to read
   dirty (uncommitted) data (regardless of isolation level) and true
d2100 1
a2100 2

     ----------------------------------------------------------------------
d2104 164
a2267 162
 Bug Fixes
 ---------
 Fix text<->float8 and text<->float4 conversion functions(Thomas)
 Fix for creating tables with mixed-case constraints(Billy)
 Change exp()/pow() behavior to generate error on underflow/overflow(Jan)
 Fix bug in pg_dump -z
 Memory overrun cleanups(Tatsuo)
 Fix for lo_import crash(Tatsuo)
 Adjust handling of data type names to suppress double quotes(Thomas)
 Use type coercion for matching columns and DEFAULT(Thomas)
 Fix deadlock so it only checks once after one second of sleep(Bruce)
 Fixes for aggregates and PL/pgSQL(Hiroshi)
 Fix for subquery crash(Vadim)
 Fix for libpq function PQfnumber and case-insensitive names(Bahman Rafatjoo)
 Fix for large object write-in-middle, no extra block, memory consumption(Tatsuo)
 Fix for pg_dump -d or -D and  quote special characters in INSERT
 Repair serious problems with dynahash(Tom)
 Fix INET/CIDR portability problems
 Fix problem with selectivity error in ALTER TABLE ADD COLUMN(Bruce)
 Fix executor so mergejoin of different column types works(Tom)
 Fix for Alpha OR selectivity bug
 Fix OR index selectivity problem(Bruce)
 Fix so \d shows proper length for char()/varchar()(Ryan)
 Fix tutorial code(Clark)
 Improve destroyuser checking(Oliver)
 Fix for Kerberos(Rodney McDuff)
 Fix for dropping database while dirty buffers(Bruce)
 Fix so sequence nextval() can be case-sensitive(Bruce)
 Fix !!= operator
 Drop buffers before destroying database files(Bruce)
 Fix case where executor evaluates functions twice(Tatsuo)
 Allow sequence nextval actions to be case-sensitive(Bruce)
 Fix optimizer indexing not working for negative numbers(Bruce)
 Fix for memory leak in executor with fjIsNull
 Fix for aggregate memory leaks(Erik Riedel)
 Allow username containing a dash GRANT permissions
 Cleanup of NULL in inet types
 Clean up system table bugs(Tom)
 Fix problems of PAGER and \? command(Masaaki Sakaida)
 Reduce default multi-segment file size limit to 1GB(Peter)
 Fix for dumping of CREATE OPERATOR(Tom)
 Fix for backward scanning of cursors(Hiroshi Inoue)
 Fix for COPY FROM STDIN when using \i(Tom)
 Fix for subselect is compared inside an expression(Jan)
 Fix handling of error reporting while returning rows(Tom)
 Fix problems with reference to array types(Tom,Jan)
 Prevent UPDATE SET oid(Jan)
 Fix pg_dump so -t option can handle case-sensitive tablenames
 Fixes for GROUP BY in special cases(Tom, Jan)
 Fix for memory leak in failed queries(Tom)
 DEFAULT now supports mixed-case identifiers(Tom)
 Fix for multi-segment uses of DROP/RENAME table, indexes(Ole Gjerde)
 Disable use of pg_dump with both -o and -d options(Bruce)
 Allow pg_dump to properly dump GROUP permissions(Bruce)
 Fix GROUP BY in INSERT INTO table SELECT * FROM table2(Jan)
 Fix for computations in views(Jan)
 Fix for aggregates on array indexes(Tom)
 Fix for DEFAULT handles single quotes in value requiring too many quotes
 Fix security problem with non-super users importing/exporting large objects(Tom)
 Rollback of transaction that creates table cleaned up properly(Tom)
 Fix to allow long table and column names to generate proper serial names(Tom)

 Enhancements
 ------------
 Add "vacuumdb" utility
 Speed up libpq by allocating memory better(Tom)
 EXPLAIN all indexes used(Tom)
 Implement CASE, COALESCE, NULLIF  expression(Thomas)
 New pg_dump table output format(Constantin)
 Add string min()/max() functions(Thomas)
 Extend new type coercion techniques to aggregates(Thomas)
 New moddatetime contrib(Terry)
 Update to pgaccess 0.96(Constantin)
 Add routines for single-byte "char" type(Thomas)
 Improved substr() function(Thomas)
 Improved multibyte handling(Tatsuo)
 Multi-version concurrency control/MVCC(Vadim)
 New Serialized mode(Vadim)
 Fix for tables over 2gigs(Peter)
 New SET TRANSACTION ISOLATION LEVEL(Vadim)
 New LOCK TABLE IN ... MODE(Vadim)
 Update ODBC driver(Byron)
 New NUMERIC data type(Jan)
 New SELECT FOR UPDATE(Vadim)
 Handle "NaN" and "Infinity" for input values(Jan)
 Improved date/year handling(Thomas)
 Improved handling of backend connections(Magnus)
 New options ELOG_TIMESTAMPS and USE_SYSLOG options for log files(Massimo)
 New TCL_ARRAYS option(Massimo)
 New INTERSECT and EXCEPT(Stefan)
 New pg_index.indisprimary for primary key tracking(D'Arcy)
 New pg_dump option to allow dropping of tables before creation(Brook)
 Speedup of row output routines(Tom)
 New READ COMMITTED isolation level(Vadim)
 New TEMP tables/indexes(Bruce)
 Prevent sorting if result is already sorted(Jan)
 New memory allocation optimization(Jan)
 Allow psql to do \p\g(Bruce)
 Allow multiple rule actions(Jan)
 Added LIMIT/OFFSET functionality(Jan)
 Improve optimizer when joining a large number of tables(Bruce)
 New intro to SQL from S. Simkovics' Master's Thesis (Stefan, Thomas)
 New intro to backend processing from S. Simkovics' Master's Thesis (Stefan)
 Improved int8 support(Ryan Bradetich, Thomas, Tom)
 New routines to convert between int8 and text/varchar types(Thomas)
 New bushy plans, where meta-tables are joined(Bruce)
 Enable right-hand queries by default(Bruce)
 Allow reliable maximum number of backends to be set at configure time
       (--with-maxbackends and postmaster switch (-N backends))(Tom)
 GEQO default now 10 tables because of optimizer speedups(Tom)
 Allow NULL=Var for MS-SQL portability(Michael, Bruce)
 Modify contrib check_primary_key() so either "automatic" or "dependent"(Anand)
 Allow psql \d on a view show query(Ryan)
 Speedup for LIKE(Bruce)
 Ecpg fixes/features, see src/interfaces/ecpg/ChangeLog file(Michael)
 JDBC fixes/features, see src/interfaces/jdbc/CHANGELOG(Peter)
 Make % operator have precedence like /(Bruce)
 Add new postgres -O option to allow system table structure changes(Bruce)
 Update contrib/pginterface/findoidjoins script(Tom)
 Major speedup in vacuum of deleted rows with indexes(Vadim)
 Allow non-SQL functions to run different versions based on arguments(Tom)
 Add -E option that shows actual queries sent by \dt and friends(Masaaki Sakaida)
 Add version number in start-up banners for psql(Masaaki Sakaida)
 New contrib/vacuumlo removes large objects not referenced(Peter)
 New initialization for table sizes so non-vacuumed tables perform better(Tom)
 Improve error messages when a connection is rejected(Tom)
 Support for arrays of char() and varchar() fields(Massimo)
 Overhaul of hash code to increase reliability and performance(Tom)
 Update to PyGreSQL 2.4(D'Arcy)
 Changed debug options so -d4 and -d5 produce different node displays(Jan)
 New pg_options: pretty_plan, pretty_parse, pretty_rewritten(Jan)
 Better optimization statistics for system table access(Tom)
 Better handling of non-default block sizes(Massimo)
 Improve GEQO optimizer memory consumption(Tom)
 UNION now suppports ORDER BY of columns not in target list(Jan)
 Major libpq++ improvements(Vince Vielhaber)
 pg_dump now uses -z(ACL's) as default(Bruce)
 backend cache, memory speedups(Tom)
 have pg_dump do everything in one snapshot transaction(Vadim)
 fix for large object memory leakage, fix for pg_dumping(Tom)
 INET type now respects netmask for comparisons
 Make VACUUM ANALYZE only use a readlock(Vadim)
 Allow VIEWs on UNIONS(Jan)
 pg_dump now can generate consistent snapshots on active databases(Vadim)

 Source Tree Changes
 -------------------
 Improve port matching(Tom)
 Portability fixes for SunOS
 Add NT/Win32 backend port and enable dynamic loading(Magnus and Daniel Horak)
 New port to Cobalt Qube(Mips) running Linux(Tatsuo)
 Port to NetBSD/m68k(Mr. Mutsuki Nakajima)
 Port to NetBSD/sun3(Mr. Mutsuki Nakajima)
 Port to NetBSD/macppc(Toshimi Aoki)
 Fix for tcl/tk configuration(Vince)
 Removed CURRENT keyword for rule queries(Jan)
 NT dynamic loading now works(Daniel Horak)
 Add ARM32 support(Andrew McMurry)
 Better support for HPUX 11 and Unixware
 Improve file handling to be more uniform, prevent file descriptor leak(Tom)
 New install commands for plpgsql(Jan)
     
d2269 1
a2269 1
     ----------------------------------------------------------------------
d2271 1
a2271 1
                                 Release 6.4.2
d2275 3
a2277 4
   The 6.4.1 release was improperly packaged. This also has one additional
   bug fix.

     ----------------------------------------------------------------------
d2282 1
a2282 2

     ----------------------------------------------------------------------
d2286 2
a2287 1
 Fix for datetime constant problem on some platforms(Thomas)
d2289 1
a2289 3
     ----------------------------------------------------------------------

                                 Release 6.4.1
d2293 3
a2295 4
   This is basically a cleanup release for 6.4. We have fixed a variety of
   problems reported by 6.4 users.

     ----------------------------------------------------------------------
d2300 1
a2300 2

     ----------------------------------------------------------------------
d2304 31
a2334 32
 Add pg_dump -N flag to force double quotes around identifiers.  This is
         the default(Thomas)
 Fix for NOT in where clause causing crash(Bruce)
 EXPLAIN VERBOSE coredump fix(Vadim)
 Fix shared-library problems on Linux
 Fix test for table existance to allow mixed-case and whitespace in
         the table name(Thomas)
 Fix a couple of pg_dump bugs
 Configure matches template/.similar entries better(Tom)
 Change builtin function names from SPI_* to spi_*
 OR WHERE clause fix(Vadim)
 Fixes for mixed-case table names(Billy)
 contrib/linux/postgres.init.csh/sh fix(Thomas)
 libpq memory overrun fix
 SunOS fixes(Tom)
 Change exp() behavior to generate error on underflow(Thomas)
 pg_dump fixes for memory leak, inheritance constraints, layout change
 update pgaccess to 0.93
 Fix prototype for 64-bit platforms
 Multibyte fixes(Tatsuo)
 New ecpg man page
 Fix memory overruns(Tatsuo)
 Fix for lo_import() crash(Bruce)
 Better search for install program(Tom)
 Timezone fixes(Tom)
 HPUX fixes(Tom)
 Use implicit type coercion for matching DEFAULT values(Thomas)
 Add routines to help with single-byte (internal) character type(Thomas)
 Compilation of libpq for Win32 fixes(Magnus)
 Upgrade to PyGreSQL 2.2(D'Arcy)

     ----------------------------------------------------------------------
d2336 1
a2336 1
                                  Release 6.4
d2340 4
a2343 8
   There are *many* new features and improvements in this release. Thanks to
   our developers and maintainers, nearly every aspect of the system has
   received some attention since the previous release. Here is a brief,
   incomplete summary:

     * Views and rules are now functional thanks to extensive new code in the
       rewrite rules system from Jan Wieck. He also wrote a chapter on it for
       the Programmer's Guide.
d2345 3
d2351 11
a2361 13

     * We have optional multiple-byte character set support from Tatsuo Iishi
       to complement our existing locale support.

     * Client/server communications has been cleaned up, with better support
       for asynchronous messages and interrupts thanks to Tom Lane.

     * The parser will now perform automatic type coercion to match arguments
       to available operators and functions, and to match columns and
       expressions with target columns. This uses a generic mechanism which
       supports the type extensibility features of PostgreSQL. There is a new
       chapter in the User's Guide which covers this topic.

d2363 5
a2367 6
       support various forms of IP network, subnet, and machine addressing.
       There is now an 8-byte integer type available on some platforms. See
       the chapter on data types in the User's Guide for details. A fourth
       type, serial, is now supported by the parser as an amalgam of the int4
       type, a sequence, and a unique index.

d2370 4
a2373 6

     * The automatic configuration and installation system has received some
       attention, and should be more robust for more platforms than it has
       ever been.

     ----------------------------------------------------------------------
d2377 202
a2578 2
   A dump/restore using pg_dump or pg_dumpall is required for those wishing
   to migrate data from any previous release of PostgreSQL.
d2580 1
a2580 200
     ----------------------------------------------------------------------

Changes

 Bug Fixes
 ---------
 Fix for a tiny memory leak in PQsetdb/PQfinish(Bryan)
 Remove char2-16 data types, use char/varchar(Darren)
 Pqfn not handles a NOTICE message(Anders)
 Reduced busywaiting overhead for spinlocks with many backends (dg)
 Stuck spinlock detection (dg)
 Fix up "ISO-style" timespan decoding and encoding(Thomas)
 Fix problem with table drop after rollback of transaction(Vadim)
 Change error message and remove non-functional update message(Vadim)
 Fix for COPY array checking
 Fix for SELECT 1 UNION SELECT NULL
 Fix for buffer leaks in large object calls(Pascal)
 Change owner from oid to int4 type(Bruce)
 Fix a bug in the oracle compatibility functions btrim() ltrim() and rtrim()
 Fix for shared invalidation cache overflow(Massimo)
 Prevent file descriptor leaks in failed COPY's(Bruce)
 Fix memory leak in libpgtcl's pg_select(Constantin)
 Fix problems with username/passwords over 8 characters(Tom)
 Fix problems with handling of asynchronous NOTIFY in backend(Tom)
 Fix of many bad system table entries(Tom)

 Enhancements
 ------------
 Upgrade ecpg and ecpglib,see src/interfaces/ecpc/ChangeLog(Michael)
 Show the index used in an EXPLAIN(Zeugswetter)
 EXPLAIN  invokes  rule system and shows plan(s) for rewritten queries(Jan)
 Multibyte awareness of many data types and functions, via configure(Tatsuo)
 New configure --with-mb option(Tatsuo)
 New initdb --pgencoding option(Tatsuo)
 New createdb -E multibyte option(Tatsuo)
 Select version(); now returns PostgreSQL version(Jeroen)
 Libpq now allows asynchronous clients(Tom)
 Allow cancel from client of backend query(Tom)
 Psql now cancels query with Control-C(Tom)
 Libpq users need not issue dummy queries to get NOTIFY messages(Tom)
 NOTIFY now sends sender's PID, so you can tell whether it was your own(Tom)
 PGresult struct now includes associated error message, if any(Tom)
 Define "tz_hour" and "tz_minute" arguments to date_part()(Thomas)
 Add routines to convert between varchar and bpchar(Thomas)
 Add routines to allow sizing of varchar and bpchar into target columns(Thomas)
 Add bit flags to support timezonehour and minute in data retrieval(Thomas)
 Allow more variations on valid floating point numbers (e.g. ".1", "1e6")(Thomas)
 Fixes for unary minus parsing with leading spaces(Thomas)
 Implement TIMEZONE_HOUR, TIMEZONE_MINUTE per SQL92 specs(Thomas)
 Check for and properly ignore FOREIGN KEY column constraints(Thomas)
 Define USER as synonym for CURRENT_USER per SQL92 specs(Thomas)
 Enable HAVING clause but no fixes elsewhere yet.
 Make "char" type a synonym for "char(1)" (actually implemented as bpchar)(Thomas)
 Save string type if specified for DEFAULT clause handling(Thomas)
 Coerce operations involving different data types(Thomas)
 Allow some index use for columns of different types(Thomas)
 Add capabilities for automatic type conversion(Thomas)
 Cleanups for large objects, so file is truncated on open(Peter)
 Readline cleanups(Tom)
 Allow psql  \f \ to make spaces as delimiter(Bruce)
 Pass pg_attribute.atttypmod to the frontend for column field lengths(Tom,Bruce)
 Msql compatibility library in /contrib(Aldrin)
 Remove the requirement that ORDER/GROUP BY clause identifiers be
 included in the target list(David)
 Convert columns to match columns in UNION clauses(Thomas)
 Remove fork()/exec() and only do fork()(Bruce)
 Jdbc cleanups(Peter)
 Show backend status on ps command line(only works on some platforms)(Bruce)
 Pg_hba.conf now has a sameuser option in the database field
 Make lo_unlink take oid param, not int4
 New DISABLE_COMPLEX_MACRO for compilers that can't handle our macros(Bruce)
 Libpgtcl now handles NOTIFY as a Tcl event, need not send dummy queries(Tom)
 libpgtcl cleanups(Tom)
 Add -error option to libpgtcl's pg_result command(Tom)
 New locale patch, see docs/README/locale(Oleg)
 Fix for pg_dump so CONSTRAINT and CHECK syntax is correct(ccb)
 New contrib/lo code for large object orphan removal(Peter)
 New psql command "SET CLIENT_ENCODING TO 'encoding'" for multibytes
 feature, see /doc/README.mb(Tatsuo)
 /contrib/noupdate code to revoke update permission on a column
 Libpq can now be compiled on win32(Magnus)
 Add PQsetdbLogin() in libpq
 New 8-byte integer type, checked by configure for OS support(Thomas)
 Better support for quoted table/column names(Thomas)
 Surround table and column names with double-quotes in pg_dump(Thomas)
 PQreset() now works with passwords(Tom)
 Handle case of GROUP BY target list column number out of range(David)
 Allow UNION in subselects
 Add auto-size to screen to \d? commands(Bruce)
 Use UNION to show all \d? results in one query(Bruce)
 Add \d? field search feature(Bruce)
 Pg_dump issues fewer \connect requests(Tom)
 Make pg_dump -z flag work better, document it in manual page(Tom)
 Add HAVING clause with full support for subselects and unions(Stephan)
 Full text indexing routines in contrib/fulltextindex(Maarten)
 Transaction ids now stored in shared memory(Vadim)
 New PGCLIENTENCODING when issuing COPY command(Tatsuo)
 Support for SQL92 syntax "SET NAMES"(Tatsuo)
 Support for LATIN2-5(Tatsuo)
 Add UNICODE regression test case(Tatsuo)
 Lock manager cleanup, new locking modes for LLL(Vadim)
 Allow index use with OR clauses(Bruce)
 Allows "SELECT NULL ORDER BY 1;"
 Explain VERBOSE prints the plan, and now pretty-prints the plan to
 the postmaster log file(Bruce)
 Add indexes display to \d command(Bruce)
 Allow GROUP BY on functions(David)
 New pg_class.relkind for large objects(Bruce)
 New way to send libpq NOTICE messages to a different location(Tom)
 New \w write command to psql(Bruce)
 New /contrib/findoidjoins scans oid columns to find join relationships(Bruce)
 Allow binary-compatible indexes to be considered when checking for valid
 Indexes for restriction clauses containing a constant(Thomas)
 New ISBN/ISSN code in /contrib/isbn_issn
 Allow NOT LIKE, IN, NOT IN, BETWEEN, and NOT BETWEEN constraint(Thomas)
 New rewrite system fixes many problems with rules and views(Jan)
         * Rules on relations work
         * Event qualifications on insert/update/delete work
         * New OLD variable to reference CURRENT, CURRENT will be remove in future
         * Update rules can reference NEW and OLD in rule qualifications/actions
         * Insert/update/delete rules on views work
         * Multiple rule actions are now supported, surrounded by parentheses
         * Regular users can create views/rules on tables they have RULE permits
         * Rules and views inherit the permissions on the creator
         * No rules at the column level
         * No UPDATE NEW/OLD rules
         * New pg_tables, pg_indexes, pg_rules and pg_views system views
         * Only a single action on SELECT rules
         * Total rewrite overhaul, perhaps for 6.5
         * handle subselects
         * handle aggregates on views
         * handle insert into select from view works
 System indexes are now multi-key(Bruce)
 Oidint2, oidint4, and oidname types are removed(Bruce)
 Use system cache for more system table lookups(Bruce)
 New backend programming language PL/pgSQL in backend/pl(Jan)
 New SERIAL data type, auto-creates sequence/index(Thomas)
 Enable assert checking without a recompile(Massimo)
 User lock enhancements(Massimo)
 New setval() command to set sequence value(Massimo)
 Auto-remove unix socket file on start-up if no postmaster running(Massimo)
 Conditional trace package(Massimo)
 New UNLISTEN command(Massimo)
 Psql and libpq now compile under win32 using win32.mak(Magnus)
 Lo_read no longer stores trailing NULL(Bruce)
 Identifiers are now truncated to 31 characters internally(Bruce)
 Createuser options now availble on the command line
 Code for 64-bit integer supported added, configure tested, int8 type(Thomas)
 Prevent file descriptor leaf from failed COPY(Bruce)
 New pg_upgrade command(Bruce)
 Updated /contrib directories(Massimo)
 New CREATE TABLE DEFAULT VALUES statement available(Thomas)
 New INSERT INTO TABLE DEFAULT VALUES statement available(Thomas)
 New DECLARE and FETCH feature(Thomas)
 libpq's internal structures now not exported(Tom)
 Allow up to 8 key indexes(Bruce)
 Remove ARCHIVE keyword, that is no longer used(Thomas)
 pg_dump -n flag to supress quotes around indentifiers
 disable system columns for views(Jan)
 new INET and CIDR types for network addresses(TomH, Paul)
 no more double quotes in psql output
 pg_dump now dumps views(Terry)
 new SET QUERY_LIMIT(Tatsuo,Jan)

 Source Tree Changes
 -------------------
 /contrib cleanup(Jun)
 Inline some small functions called for every row(Bruce)
 Alpha/linux fixes
 Hp/UX cleanups(Tom)
 Multibyte regression tests(Soonmyung.)
 Remove --disabled options from configure
 Define PGDOC to use POSTGRESDIR by default
 Make regression optional
 Remove extra braces code to pgindent(Bruce)
 Add bsdi shared library support(Bruce)
 New --without-CXX support configure option(Brook)
 New FAQ_CVS
 Update backend flowchart in tools/backend(Bruce)
 Change atttypmod from int16 to int32(Bruce, Tom)
 Getrusage() fix for platforms that do not have it(Tom)
 Add PQconnectdb, PGUSER, PGPASSWORD to libpq man page
 NS32K platform fixes(Phil Nelson, John Buller)
 Sco 7/UnixWare 2.x fixes(Billy,others)
 Sparc/Solaris 2.5 fixes(Ryan)
 Pgbuiltin.3 is obsolete, move to doc files(Thomas)
 Even more documention(Thomas)
 Nextstep support(Jacek)
 Aix support(David)
 pginterface manual page(Bruce)
 shared libraries all have version numbers
 merged all OS-specific shared library defines into one file
 smarter TCL/TK configuration checking(Billy)
 smarter perl configuration(Brook)
 configure uses supplied install-sh if no install script found(Tom)
 new Makefile.shlib for shared library configuration(Tom)

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

                                 Release 6.3.2
d2589 5
a2593 5
     * Repairs automatic configuration support for some platforms, including
       Linux, from breakage inadvertently introduced in version 6.3.1.

     * Correctly handles function calls on the left side of BETWEEN and LIKE
       clauses.
d2596 3
a2598 3
   distclean, make, and make install is all that is required. This last step
   should be performed while the postmaster is not running. You should
   re-link any custom applications that use PostgreSQL libraries.
d2602 1
a2602 2

     ----------------------------------------------------------------------
d2606 18
a2623 19
 Configure detection improvements for tcl/tk(Brook Milligan, Alvin)
 Manual page improvements(Bruce)
 BETWEEN and LIKE fix(Thomas)
 fix for psql \connect used by pg_dump(Oliver Elphick)
 New odbc driver
 pgaccess, version 0.86
 qsort removed, now uses libc version, cleanups(Jeroen)
 fix for buffer over-runs detected(Maurice Gittens)
 fix for buffer overrun in libpgtcl(Randy Kunkee)
 fix for UNION with DISTINCT or ORDER BY(Bruce)
 gettimeofday configure check(Doug Winterburn)
 Fix "indexes not used" bug(Vadim)
 docs additions(Thomas)
 Fix for backend memory leak(Bruce)
 libreadline cleanup(Erwan MAS)
 Remove DISTDIR(Bruce)
 Makefile dependency cleanup(Jeroen van Vianen)
 ASSERT fixes(Bruce)
     
d2625 1
a2625 1
     ----------------------------------------------------------------------
d2627 1
a2627 1
                                 Release 6.3.1
a2633 1

a2634 1

a2635 1

d2638 4
a2641 4
   A dump/restore is NOT required for those running 6.3. A make distclean,
   make, and make install is all that is required. This last step should be
   performed while the postmaster is not running. You should re-link any
   custom applications that use PostgreSQL libraries.
d2645 1
a2645 2

     ----------------------------------------------------------------------
d2649 27
a2675 28
 ecpg cleanup/fixes, now version 1.1(Michael Meskes)
 pg_user cleanup(Bruce)
 large object fix for pg_dump and tclsh (alvin)
 LIKE fix for multiple adjacent underscores
 fix for redefining builtin functions(Thomas)
 ultrix4 cleanup
 upgrade to pg_access 0.83
 updated CLUSTER manual page
 multibyte character set support, see doc/README.mb(Tatsuo)
 configure --with-pgport fix
 pg_ident fix
 big-endian fix for backend communications(Kataoka)
 SUBSTR() and substring() fix(Jan)
 several jdbc fixes(Peter)
 libpgtcl improvements, see libptcl/README(Randy Kunkee)
 Fix for "Datasize = 0" error(Vadim)
 Prevent \do from wrapping(Bruce)
 Remove duplicate Russian character set entries
 Sunos4 cleanup
 Allow optional TABLE keyword in LOCK and SELECT INTO(Thomas)
 CREATE SEQUENCE options to allow a negative integer(Thomas)
 Add "PASSWORD" as an allowed column identifier(Thomas)
 Add checks for UNION target fields(Bruce)
 Fix Alpha port(Dwayne Bailey)
 Fix for text arrays containing quotes(Doug Gibson)
 Solaris compile fix(Albert Chin-A-Young)
 Better identify tcl and tk libs and includes(Bruce)
     
d2677 1
a2677 1
     ----------------------------------------------------------------------
d2679 1
a2679 1
                                  Release 6.3
d2683 2
a2684 2
   There are *many* new features and improvements in this release. Here is a
   brief, incomplete summary:
d2688 8
a2695 11

     * Support for client-side environment variables to specify time zone and
       date style.

     * Socket interface for client/server connection. This is the default now
       so you may need to start postmaster with the "-i" flag.

     * Better password authorization mechanisms. Default table permissions
       have changed.

     * Old-style time travel has been removed. Performance has been improved.
d2700 3
a2702 3
   There are some general 6.3 issues that I want to mention. These are only
   the big items that can not be described in one sentence. A review of the
   detailed changes list is still needed.
d2706 6
a2711 6
   Subselects are a major feature, and you should review your code for places
   where subselects provide a better solution for your queries. I think you
   will find that there are more uses for subselects than you may think.
   Vadim has put us on the big SQL map with subselects, and fully functional
   ones too. The only thing you can't do with subselects is to use them in
   the target list.
d2714 19
a2732 18
   enable connections from other machines, you have to use the new postmaster
   -i option, and of course edit "pg_hba.conf". Also, for this reason, the
   format of "pg_hba.conf" has changed.

   Third, char() fields will now allow faster access than varchar() or text.
   Specifically, the text and varchar() have a penalty for access to any
   columns after the first column of this type. char() used to also have this
   access penalty, but it no longer does. This may suggest that you redesign
   some of your tables, especially if you have short character columns that
   you have defined as varchar() or text. This and other changes make 6.3
   even faster than earlier releases.

   We now have passwords definable independent of any Unix file. There are
   new SQL USER commands. See the Administrator's Guide for more information.
   There is a new table, pg_shadow, which is used to store user information
   and user passwords, and it by default only SELECT-able by the postgres
   super-user. pg_user is now a view of pg_shadow, and is SELECT-able by
   PUBLIC. You should keep using pg_user in your application without changes.
d2735 24
a2758 25
   default. This was done because the ANSI standard requires it. You can of
   course GRANT any permissions you want after the table is created. System
   tables continue to be SELECT-able by PUBLIC.

   We also have real deadlock detection code. No more sixty-second timeouts.
   And the new locking code implements a FIFO better, so there should be less
   resource starvation during heavy use.

   Many complaints have been made about inadequate documentation in previous
   releases. Thomas has put much effort into many new manuals for this
   release. Check out the doc/ directory.

   For performance reasons, time travel is gone, but can be implemented using
   triggers (see "pgsql/contrib/spi/README"). Please check out the new \d
   command for types, operators, etc. Also, views have their own permissions
   now, not based on the underlying tables, so permissions on them have to be
   set separately. Check "/pgsql/interfaces" for some new ways to talk to
   PostgreSQL.

   This is the first release that really required an explanation for existing
   users. In many ways, this was necessary because the new release removes
   many limitations, and the work-arounds people were using are no longer
   needed.

     ----------------------------------------------------------------------
d2762 174
a2935 2
   A dump/restore using pg_dump or pg_dumpall is required for those wishing
   to migrate data from any previous release of PostgreSQL.
d2937 1
a2937 172
     ----------------------------------------------------------------------

Changes

 Bug Fixes
 ---------
 Fix binary cursors broken by MOVE implementation(Vadim)
 Fix for tcl library crash(Jan)
 Fix for array handling, from Gerhard Hintermayer
 Fix acl error, and remove duplicate pqtrace(Bruce)
 Fix psql \e for empty file(Bruce)
 Fix for textcat on varchar() fields(Bruce)
 Fix for DBT Sendproc (Zeugswetter Andres)
 Fix vacuum analyze syntax problem(Bruce)
 Fix for international identifiers(Tatsuo)
 Fix aggregates on inherited tables(Bruce)
 Fix substr() for out-of-bounds data
 Fix for select 1=1 or 2=2, select 1=1 and 2=2, and select sum(2+2)(Bruce)
 Fix notty output to show status result.  -q option still turns it off(Bruce)
 Fix for count(*), aggs with views and multiple tables and sum(3)(Bruce)
 Fix cluster(Bruce)
 Fix for PQtrace start/stop several times(Bruce)
 Fix a variety of locking problems like newer lock waiters getting
         lock before older waiters, and having readlock people not share
         locks if a writer is waiting for a lock, and waiting writers not
         getting priority over waiting readers(Bruce)
 Fix crashes in psql when executing queries from external files(James)
 Fix problem with multiple order by columns, with the first one having
         NULL values(Jeroen)
 Use correct hash table support functions for float8 and int4(Thomas)
 Re-enable JOIN= option in CREATE OPERATOR statement (Thomas)
 Change precedence for boolean operators to match expected behavior(Thomas)
 Generate elog(ERROR) on over-large integer(Bruce)
 Allow multiple-argument functions in constraint clauses(Thomas)
 Check boolean input literals for 'true','false','yes','no','1','0'
         and throw elog(ERROR) if unrecognized(Thomas)
 Major large objects fix
 Fix for GROUP BY showing duplicates(Vadim)
 Fix for index scans in MergeJion(Vadim)

 Enhancements
 ------------
 Subselects with EXISTS, IN, ALL, ANY keywords (Vadim, Bruce, Thomas)
 New User Manual(Thomas, others)
 Speedup by inlining some frequently-called functions
 Real deadlock detection, no more timeouts(Bruce)
 Add SQL92 "constants" CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP,
         CURRENT_USER(Thomas)
 Modify constraint syntax to be SQL92-compliant(Thomas)
 Implement SQL92 PRIMARY KEY and UNIQUE clauses using indexes(Thomas)
 Recognize SQL92 syntax for FOREIGN KEY. Throw elog notice(Thomas)
 Allow NOT NULL UNIQUE constraint clause (each allowed separately before)(Thomas)
 Allow PostgreSQL-style casting ("::") of non-constants(Thomas)
 Add support for SQL3 TRUE and FALSE boolean constants(Thomas)
 Support SQL92 syntax for IS TRUE/IS FALSE/IS NOT TRUE/IS NOT FALSE(Thomas)
 Allow shorter strings for boolean literals (e.g. "t", "tr", "tru")(Thomas)
 Allow SQL92 delimited identifiers(Thomas)
 Implement SQL92 binary and hexadecimal string decoding (b'10' and x'1F')(Thomas)
 Support SQL92 syntax for type coercion of literal strings
         (e.g. "DATETIME 'now'")(Thomas)
 Add conversions for int2, int4, and OID types to and from text(Thomas)
 Use shared lock when building indexes(Vadim)
 Free memory allocated for an user query inside transaction block after
         this query is done, was turned off in <= 6.2.1(Vadim)
 New SQL statement CREATE PROCEDURAL LANGUAGE(Jan)
 New PostgreSQL Procedural Language (PL) backend interface(Jan)
 Rename pg_dump -H option to -h(Bruce)
 Add Java support for passwords, European dates(Peter)
 Use indexes for LIKE and ~, !~ operations(Bruce)
 Add hash functions for datetime and timespan(Thomas)
 Time Travel removed(Vadim, Bruce)
 Add paging for \d and \z, and fix \i(Bruce)
 Add Unix domain socket support to backend and to frontend library(Goran)
 Implement CREATE DATABASE/WITH LOCATION and initlocation utility(Thomas)
 Allow more SQL92 and/or PostgreSQL reserved words as column identifiers(Thomas)
 Augment support for SQL92 SET TIME ZONE...(Thomas)
 SET/SHOW/RESET TIME ZONE uses TZ backend environment variable(Thomas)
 Implement SET keyword = DEFAULT and SET TIME ZONE DEFAULT(Thomas)
 Enable SET TIME ZONE using TZ environment variable(Thomas)
 Add PGDATESTYLE environment variable to frontend and backend initialization(Thomas)
 Add PGTZ, PGCOSTHEAP, PGCOSTINDEX, PGRPLANS, PGGEQO
         frontend library initialization environment variables(Thomas)
 Regression tests time zone automatically set with "setenv PGTZ PST8PDT"(Thomas)
 Add pg_description table for info on tables, columns, operators, types, and
         aggregates(Bruce)
 Increase 16 char limit on system table/index names to 32 characters(Bruce)
 Rename system indexes(Bruce)
 Add 'GERMAN' option to SET DATESTYLE(Thomas)
 Define an "ISO-style" timespan output format with "hh:mm:ss" fields(Thomas)
 Allow fractional values for delta times (e.g. '2.5 days')(Thomas)
 Validate numeric input more carefully for delta times(Thomas)
 Implement day of year as possible input to date_part()(Thomas)
 Define timespan_finite() and text_timespan() functions(Thomas)
 Remove archive stuff(Bruce)
 Allow for a pg_password authentication database that is separate from
         the system password file(Todd)
 Dump ACLs, GRANT, REVOKE permissions(Matt)
 Define text, varchar, and bpchar string length functions(Thomas)
 Fix Query handling for inheritance, and cost computations(Bruce)
 Implement CREATE TABLE/AS SELECT (alternative to SELECT/INTO)(Thomas)
 Allow NOT, IS NULL, IS NOT NULL in constraints(Thomas)
 Implement UNIONs for SELECT(Bruce)
 Add UNION, GROUP, DISTINCT to INSERT(Bruce)
 varchar() stores only necessary bytes on disk(Bruce)
 Fix for BLOBs(Peter)
 Mega-Patch for JDBC...see README_6.3 for list of changes(Peter)
 Remove unused "option" from PQconnectdb()
 New LOCK command and lock manual page describing deadlocks(Bruce)
 Add new psql \da, \dd, \df, \do, \dS, and \dT commands(Bruce)
 Enhance psql \z to show sequences(Bruce)
 Show NOT NULL and DEFAULT in psql \d table(Bruce)
 New psql .psqlrc file start-up(Andrew)
 Modify sample start-up script in contrib/linux to show syslog(Thomas)
 New types for IP and MAC addresses in contrib/ip_and_mac(TomH)
 Unix system time conversions with date/time types in contrib/unixdate(Thomas)
 Update of contrib stuff(Massimo)
 Add Unix socket support to DBD::Pg(Goran)
 New python interface (PyGreSQL 2.0)(D'Arcy)
 New frontend/backend protocol has a version number, network byte order(Phil)
 Security features in pg_hba.conf enhanced and documented, many cleanups(Phil)
 CHAR() now faster access than VARCHAR() or TEXT
 ecpg embedded SQL preprocessor
 Reduce system column overhead(Vadmin)
 Remove pg_time table(Vadim)
 Add pg_type attribute to identify types that need length (bpchar, varchar)
 Add report of offending line when COPY command fails
 Allow VIEW permissions to be set separately from the underlying tables.
         For security, use GRANT/REVOKE on views as appropriate(Jan)
 Tables now have no default GRANT SELECT TO PUBLIC.  You must
         explicitly grant such permissions.
 Clean up tutorial examples(Darren)

 Source Tree Changes
 -------------------
 Add new html development tools, and flow chart in /tools/backend
 Fix for SCO compiles
 Stratus computer port Robert Gillies
 Added support for shlib for BSD44_derived & i386_solaris
 Make configure more automated(Brook)
 Add script to check regression test results
 Break parser functions into smaller files, group together(Bruce)
 Rename heap_create to heap_create_and_catalog, rename heap_creatr
         to heap_create()(Bruce)
 Sparc/Linux patch for locking(TomS)
 Remove PORTNAME and reorganize port-specific stuff(Marc)
 Add optimizer README file(Bruce)
 Remove some recursion in optimizer and clean up some code there(Bruce)
 Fix for NetBSD locking(Henry)
 Fix for libptcl make(Tatsuo)
 AIX patch(Darren)
 Change IS TRUE, IS FALSE, ... to expressions using "=" rather than
         function calls to istrue() or isfalse() to allow optimization(Thomas)
 Various fixes NetBSD/Sparc related(TomH)
 Alpha linux locking(Travis,Ryan)
 Change elog(WARN) to elog(ERROR)(Bruce)
 FAQ for FreeBSD(Marc)
 Bring in the PostODBC source tree as part of our standard distribution(Marc)
 A minor patch for HP/UX 10 vs 9(Stan)
 New pg_attribute.atttypmod for type-specific info like varchar length(Bruce)
 Unixware patches(Billy)
 New i386 'lock' for spin lock asm(Billy)
 Support for multiplexed backends is removed
 Start an OpenBSD port
 Start an AUX port
 Start a Cygnus port
 Add string functions to regression suite(Thomas)
 Expand a few function names formerly truncated to 16 characters(Thomas)
 Remove un-needed malloc() calls and replace with palloc()(Bruce)

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

                                 Release 6.2.1
a2945 1

d2949 4
a2952 5
   This is a minor bug-fix release on 6.2. For upgrades from pre-6.2 systems,
   a full dump/reload is required. Refer to the 6.2 release notes for
   instructions.

     ----------------------------------------------------------------------
d2959 12
a2970 13
   In upgrading from version 6.2, if you choose to dump/reload you will find
   that avg(money) is now calculated correctly. All other bug fixes take
   effect upon updating the executables.

   Another way to avoid dump/reload is to use the following SQL command from
   "psql" to update the existing system table:

   update pg_aggregate set aggfinalfn = 'cash_div_flt8'
    where aggname = 'avg' and aggbasetype = 790;

   This will need to be done to every existing database, including template1.

     ----------------------------------------------------------------------
d2974 11
a2984 12
 Allow TIME and TYPE column names(Thomas)
 Allow larger range of true/false as boolean values(Thomas)
 Support output of "now" and "current"(Thomas)
 Handle DEFAULT with INSERT of NULL properly(Vadim)
 Fix for relation reference counts problem in buffer manager(Vadim)
 Allow strings to span lines, like ANSI(Thomas)
 Fix for backward cursor with ORDER BY(Vadim)
 Fix avg(cash) computation(Thomas)
 Fix for specifying a column twice in ORDER/GROUP BY(Vadim)
 Documented new libpq function to return affected rows, PQcmdTuples(Bruce)
 Trigger function for inserting user names for INSERT/UPDATE(Brook Milligan)
     
d2986 1
a2986 1
     ----------------------------------------------------------------------
d2988 1
a2988 1
                                  Release 6.2
d2992 3
a2994 4
   A dump/restore is required for those wishing to migrate data from previous
   releases of PostgreSQL.

     ----------------------------------------------------------------------
d2998 2
a2999 2
   This migration requires a complete dump of the 6.1 database and a restore
   of the database in 6.2.
d3001 3
a3003 4
   Note that the "pg_dump" and "pg_dumpall" utility from 6.2 should be used
   to dump the 6.1 database.

     ----------------------------------------------------------------------
d3009 1
a3009 2

     ----------------------------------------------------------------------
d3013 113
a3125 108
 Bug Fixes
 ---------
 Fix problems with pg_dump for inheritance, sequences, archive tables(Bruce)
 Fix compile errors on overflow due to shifts, unsigned, and bad prototypes
          from Solaris(Diab Jerius)
 Fix bugs in geometric line arithmetic (bad intersection calculations)(Thomas)
 Check for geometric intersections at endpoints to avoid rounding ugliness(Thomas)
 Catch non-functional delete attempts(Vadim)
 Change time function names to be more consistent(Michael Reifenberg)
 Check for zero divides(Michael Reifenberg)
 Fix very old bug which made tuples changed/inserted by a commnd
         visible to the command itself (so we had multiple update of
         updated tuples, etc)(Vadim)
 Fix for SELECT null, 'fail' FROM pg_am (Patrick)
 SELECT NULL as EMPTY_FIELD now allowed(Patrick)
 Remove un-needed signal stuff from contrib/pginterface
 Fix OR (where x != 1 or x isnull didn't return tuples with x NULL) (Vadim)
 Fix time_cmp function (Vadim)
 Fix handling of functions with non-attribute first argument in
         WHERE clauses (Vadim)
 Fix GROUP BY when order of entries is different from order
         in target list (Vadim)
 Fix pg_dump for aggregates without sfunc1 (Vadim)

 Enhancements
 ------------
 Default genetic optimizer GEQO parameter is now 8(Bruce)
 Allow use parameters in target list having aggregates in functions(Vadim)
 Added JDBC driver as an interface(Adrian & Peter)
 pg_password utility
 Return number of tuples inserted/affected by INSERT/UPDATE/DELETE etc.(Vadim)
 Triggers implemented with CREATE TRIGGER (SQL3)(Vadim)
 SPI (Server Programming Interface) allows execution of queries inside
         C-functions (Vadim)
 NOT NULL implemented (SQL92)(Robson Paniago de Miranda)
 Include reserved words for string handling, outer joins, and unions(Thomas)
 Implement extended comments ("/* ... */") using exclusive states(Thomas)
 Add "//" single-line comments(Bruce)
 Remove some restrictions on characters in operator names(Thomas)
 DEFAULT and CONSTRAINT for tables implemented (SQL92)(Vadim & Thomas)
 Add text concatenation operator and function (SQL92)(Thomas)
 Support WITH TIME ZONE syntax (SQL92)(Thomas)
 Support INTERVAL unit TO unit syntax (SQL92)(Thomas)
 Define types DOUBLE PRECISION, INTERVAL, CHARACTER,
         and CHARACTER VARYING (SQL92)(Thomas)
 Define type FLOAT(p) and rudimentary DECIMAL(p,s), NUMERIC(p,s) (SQL92)(Thomas)
 Define EXTRACT(), POSITION(), SUBSTRING(), and TRIM() (SQL92)(Thomas)
 Define CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP (SQL92)(Thomas)
 Add syntax and warnings for UNION, HAVING, INNER and OUTER JOIN (SQL92)(Thomas)
 Add more reserved words, mostly for SQL92 compliance(Thomas)
 Allow hh:mm:ss time entry for timespan/reltime types(Thomas)
 Add center() routines for lseg, path, polygon(Thomas)
 Add distance() routines for circle-polygon, polygon-polygon(Thomas)
 Check explicitly for points and polygons contained within polygons
         using an axis-crossing algorithm(Thomas)
 Add routine to convert circle-box(Thomas)
 Merge conflicting operators for different geometric data types(Thomas)
 Replace distance operator "<===>" with "<->"(Thomas)
 Replace "above" operator "!^" with ">^" and "below" operator "!|" with "<^"(Thomas)
 Add routines for text trimming on both ends, substring, and string position(Thomas)
 Added conversion routines circle(box) and poly(circle)(Thomas)
 Allow internal sorts to be stored in memory rather than in files(Bruce & Vadim)
 Allow functions and operators on internally-identical types to succeed(Bruce)
 Speed up backend start-up after profiling analysis(Bruce)
 Inline frequently called functions for performance(Bruce)
 Reduce open() calls(Bruce)
 psql:  Add PAGER for \h and \?,\C fix
 Fix for psql pager when no tty(Bruce)
 New entab utility(Bruce)
 General trigger functions for referential integrity (Vadim)
 General trigger functions for time travel (Vadim)
 General trigger functions for AUTOINCREMENT/IDENTITY feature (Vadim)
 MOVE implementation (Vadim)

 Source Tree Changes
 -------------------
 HPUX 10 patches (Vladimir Turin)
 Added SCO support, (Daniel Harris)
 mkLinux patches (Tatsuo Ishii)
 Change geometric box terminology from "length" to "width"(Thomas)
 Deprecate temporary unstored slope fields in geometric code(Thomas)
 Remove restart instructions from INSTALL(Bruce)
 Look in /usr/ucb first for install(Bruce)
 Fix c++ copy example code(Thomas)
 Add -o to psql manual page(Bruce)
 Prevent relname unallocated string length from being copied into database(Bruce)
 Cleanup for NAMEDATALEN use(Bruce)
 Fix pg_proc names over 15 chars in output(Bruce)
 Add strNcpy() function(Bruce)
 remove some (void) casts that are unnecessary(Bruce)
 new interfaces directory(Marc)
 Replace fopen() calls with calls to fd.c functions(Bruce)
 Make functions static where possible(Bruce)
 enclose unused functions in #ifdef NOT_USED(Bruce)
 Remove call to difftime() in timestamp support to fix SunOS(Bruce & Thomas)
 Changes for Digital Unix
 Portability fix for pg_dumpall(Bruce)
 Rename pg_attribute.attnvals to attdispersion(Bruce)
 "intro/unix" manual page now "pgintro"(Bruce)
 "built-in" manual page now "pgbuiltin"(Bruce)
 "drop" manual page now "drop_table"(Bruce)
 Add "create_trigger", "drop_trigger" manual pages(Thomas)
 Add constraints regression test(Vadim & Thomas)
 Add comments syntax regression test(Thomas)
 Add PGINDENT and support program(Bruce)
 Massive commit to run PGINDENT on all *.c and *.h files(Bruce)
 Files moved to /src/tools directory(Bruce)
 SPI and Trigger programming guides (Vadim & D'Arcy)
d3127 1
a3127 3
     ----------------------------------------------------------------------

                                 Release 6.1.1
d3130 1
a3130 2

     ----------------------------------------------------------------------
d3135 3
a3137 4
   version 6.1, but is required from any release prior to 6.1. Refer to the
   release notes for 6.1 for more details.

     ----------------------------------------------------------------------
d3141 17
a3157 18
 fix for SET with options (Thomas)
 allow pg_dump/pg_dumpall to preserve ownership of all tables/objects(Bruce)
 new psql \connect option allows changing usernames without changing databases
 fix for initdb --debug option(Yoshihiko Ichikawa))
 lextest cleanup(Bruce)
 hash fixes(Vadim)
 fix date/time month boundary arithmetic(Thomas)
 fix timezone daylight handling for some ports(Thomas, Bruce, Tatsuo)
 timestamp overhauled to use standard functions(Thomas)
 other code cleanup in date/time routines(Thomas)
 psql's \d now case-insensitive(Bruce)
 psql's backslash commands can now have trailing semicolon(Bruce)
 fix memory leak in psql when using \g(Bruce)
 major fix for endian handling of communication to server(Thomas, Tatsuo)
 Fix for Solaris assembler and include files(Yoshihiko Ichikawa)
 allow underscores in usernames(Bruce)
 pg_dumpall now returns proper status, portability fix(Bruce)
     
d3159 1
a3159 1
     ----------------------------------------------------------------------
d3161 1
a3161 1
                                  Release 6.1
d3165 2
a3166 2
   The regression tests have been adapted and extensively modified for the
   6.1 release of PostgreSQL.
d3168 15
a3182 14
   Three new data types (datetime, timespan, and circle) have been added to
   the native set of PostgreSQL types. Points, boxes, paths, and polygons
   have had their output formats made consistent across the data types. The
   polygon output in misc.out has only been spot-checked for correctness
   relative to the original regression output.

   PostgreSQL 6.1 introduces a new, alternate optimizer which uses genetic
   algorithms. These algorithms introduce a random behavior in the ordering
   of query results when the query contains multiple qualifiers or multiple
   tables (giving the optimizer a choice on order of evaluation). Several
   regression tests have been modified to explicitly order the results, and
   hence are insensitive to optimizer choices. A few regression tests are for
   data types which are inherently unordered (e.g. points and time intervals)
   and tests involving those types are explicitly bracketed with "set geqo to
d3187 2
a3188 11
   tests were generated. The current "./expected/*.out" files reflect this
   new interpretation, which may not be correct!

   The float8 regression test fails on at least some platforms. This is due
   to differences in implementations of pow() and exp() and the signaling
   mechanisms used for overflow and underflow conditions.

   The "random" results in the random test should cause the "random" test to
   be "failed", since the regression tests are evaluated using a simple diff.
   However, "random" does not seem to produce random results on my test
   machine (Linux/gcc/i686).
d3190 9
a3198 1
     ----------------------------------------------------------------------
d3202 2
a3203 2
   This migration requires a complete dump of the 6.0 database and a restore
   of the database in 6.1.
d3207 1
a3207 2

     ----------------------------------------------------------------------
d3211 95
a3305 96
 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)
 select SUM(x) can return NULL on no rows(Thomas)
 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)
 fix buffer leak in hash indexes (Vadim)
 fix rtree for use in inner scan (Vadim)
 fix gist for use in inner scan, cleanups (Vadim, Andrea)
 avoid unnecessary local buffers allocation (Vadim, Massimo)
 fix local buffers leak in transaction aborts (Vadim)
 fix file manager memmory leaks, cleanups (Vadim, Massimo)
 fix storage manager memmory leaks (Vadim)
 fix btree duplicates handling (Vadim)
 fix deleted tuples re-incarnation caused by vacuum (Vadim)
 fix SELECT varchar()/char() INTO TABLE made zero-length fields(Bruce)
 many psql, pg_dump, and libpq memory leaks fixed using Purify (Igor)

 Enhancements
 ------------
 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)
 massive changes to libpg++(Leo)
 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)
 update transaction status on reads(Dan)
 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)
 new MONEY data type(D'Arcy,Thomas)
 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)
 new datestyle variable(Thomas,Vadim,Martin)
 more comparison operators for sorting types(Thomas)
 new conversion functions(Thomas)
 new more compact btree format(Vadim)
 allow pg_dumpall to preserve database ownership(Bruce)
 new SET GEQO=# and R_PLANS variable(Vadim)
 old (!GEQO) optimizer can use right-sided plans (Vadim)
 typechecking improvement in SQL parser(Bruce)
 new SET, SHOW, RESET commands(Thomas,Vadim)
 new \connect database USER option
 new destroydb -i option (Igor)
 new \dt and \di psql commands (Darren)
 SELECT "\n" now escapes newline (A. Duursma)
 new geometry conversion functions from old format (Thomas)

 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)
 DG-UX, Ultrix, Irix, AIX portability fixes

     ----------------------------------------------------------------------
d3307 1
a3307 1
                                  Release 6.0
d3311 3
a3313 4
   A dump/restore is required for those wishing to migrate data from previous
   releases of PostgreSQL.

     ----------------------------------------------------------------------
d3317 3
a3319 4
   This migration requires a complete dump of the 1.09 database and a restore
   of the database in 6.0.

     ----------------------------------------------------------------------
d3325 1
a3325 2

     ----------------------------------------------------------------------
d3329 106
a3434 105
 Bug Fixes
 ---------
 ALTER TABLE bug - running postgress process needs to re-read table definition
 Allow vacuum to be run on one table or entire database(Bruce)
 Array fixes
 Fix array over-runs of memory writes(Kurt)
 Fix elusive btree range/non-range bug(Dan)
 Fix for hash indexes on some types like time and date
 Fix for pg_log size explosion
 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
 NOTIFY fixes
 New asserts for run-checking
 Overhauled parser/analyze code to properly report errors and increase speed
 Pg_dump -d now handles NULL's properly(Bruce)
 Prevent SELECT NULL from crashing server (Bruce)
 Properly report errors when INSERT ... SELECT columns did not match
 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)
 Submitting 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)
 Allow "select oid,* from table"
 Allow BY,ORDER BY to specify columns by number, or by non-alias table.column(Bruce)
 Allow COPY from the frontend(Bryan)
 Allow GROUP BY to use alias column name(Bruce)
 Allow actual compression, not just reuse on the same page(Vadim)
 Allow installation-configuration option to auto-add all local users(Bryan)
 Allow libpq to distinguish between text value '' and null(Bruce)
 Allow non-postgres users with createdb privs to destroydb's
 Allow restriction on who can create C functions(Bryan)
 Allow restriction on who can do backend COPY(Bryan)
 Can shrink tables, pg_time and pg_log(Vadim & Erich)
 Change debug level 2 to print queries only, changed debug heading layout(Bruce)
 Change default decimal constant representation from float4 to float8(Bruce)
 European date format now set when postmaster is started
 Execute lowercase function names if not found with exact case
 Fixes for aggregate/GROUP processing, allow 'select sum(func(x),sum(x+y) from z'
 Gist now included in the distrubution(Marc)
 Idend authentication of local users(Bryan)
 Implement BETWEEN qualifier(Bruce)
 Implement IN qualifier(Bruce)
 Libpq has PQgetisnull()(Bruce)
 Libpq++ improvements
 New options to initdb(Bryan)
 Pg_dump allow dump of oid's(Bruce)
 Pg_dump create indexes after tables are loaded for speed(Bruce)
 Pg_dumpall dumps all databases, and the user table
 Pginterface additions for NULL values(Bruce)
 Prevent postmaster from being run as root
 Psql \h and \? is now readable(Bruce)
 Psql allow backslashed, semicolons anywhere on the line(Bruce)
 Psql changed command prompt for lines in query or in quotes(Bruce)
 Psql char(3) now displays as (bp)char in \d output(Bruce)
 Psql return code now more accurate(Bryan?)
 Psql updated help syntax(Bruce)
 Re-visit and fix vacuum(Vadim)
 Reduce size of regression diffs, remove timezone name difference(Bruce)
 Remove compile-time parameters to enable binary distributions(Bryan)
 Reverse meaning of HBA masks(Bryan)
 Secure Authentication of local users(Bryan)
 Speed up vacuum(Vadim)
 Vacuum now had VERBOSE option(Bruce)

 Source tree changes
 -------------------
 All functions now have prototypes that are compared against the calls
 Allow asserts to be disabled easly from Makefile.global(Bruce)
 Change oid constants used in code to #define names
 Decoupled sparc and solaris defines(Kurt)
 Gcc -Wall compiles cleanly with warnings only from unfixable constructs
 Major include file reorganization/reduction(Marc)
 Make now stops on compile failure(Bryan)
 Makefile restructuring(Bryan, Marc)
 Merge bsdi_2_1 to bsdi(Bruce)
 Monitor program removed
 Name change from Postgres95 to PostgreSQL
 New config.h file(Marc, Bryan)
 PG_VERSION now set to 6.0 and used by postmaster
 Portability additions, including Ultrix, DG/UX, AIX, and Solaris
 Reduced the number of #define's, centeralized #define's
 Remove duplicate OIDS in system tables(Dan)
 Remove duplicate system catalog info or report mismatches(Dan)
 Removed many os-specific #define's
 Restructured object file generation/location(Bryan, Marc)
 Restructured port-specific file locations(Bryan, Marc)
 Unused/uninialized variables corrected

     ----------------------------------------------------------------------
d3436 1
a3436 1
                                  Release 1.09
d3443 1
d3445 1
a3445 3
     ----------------------------------------------------------------------

                                  Release 1.02
d3448 1
a3448 2

     ----------------------------------------------------------------------
d3452 2
a3453 2
   Here is a new migration file for 1.02.1. It includes the 'copy' change and
   a script to convert old ASCII files.
d3456 2
a3457 1
     migrate databases from Postgres95 1.01 and 1.02 to Postgres95 1.02.1.
d3459 2
a3460 2
     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.
d3464 13
a3476 17

   

   
       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 the 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":

         % 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.

     ----------------------------------------------------------------------
d3483 18
a3500 17
   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.

         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);

     ----------------------------------------------------------------------
d3504 26
a3529 27
 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

     ----------------------------------------------------------------------
d3531 1
a3531 1
                                  Release 1.01
d3534 1
a3534 2

     ----------------------------------------------------------------------
d3541 2
a3542 19
   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:

   
       OIDNAMELEN to 20.

   

        
            data directory (typically the value of your $PGDATA).
            "src/libpq/pg_hba" shows an example syntax.

        
            the line

         HBA = 1
d3544 11
d3556 16
a3571 25

            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.

   

   
       your existing $PGDATA directory.

   
       path up so that 1.01 binaries are being used.

   

   

   
       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

d3573 1
d3575 86
a3660 80
 -- 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);

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

Changes

 Incompatibilities:
  * 1.01 is backwards compatible with 1.0 database provided the user
    follow the steps outlined in the MIGRATION_from_1.0_to_1.01 file.
    If those steps are not taken, 1.01 is not compatible with 1.0 database.

 Enhancements:
  * added PQdisplayTuples() to libpq and changed monitor and psql to use it
  * added NeXT port (requires SysVIPC implementation)
  * added CAST .. AS ... syntax
  * added ASC and DESC keywords
  * added 'internal' as a possible language for CREATE FUNCTION
    internal functions are C functions which have been statically linked
    into the postgres backend.
  * a new type "name" has been added for system identifiers (table names,
    attribute names, etc.)  This replaces the old char16 type.   The
    of name is set by the NAMEDATALEN #define in src/Makefile.global
  * a readable reference manual that describes the query language.
  * added host-based access control.  A configuration file ($PGDATA/pg_hba)
    is used to hold the configuration data.  If host-based access control
    is not desired, comment out HBA=1 in src/Makefile.global.
  * changed regex handling to be uniform use of Henry Spencer's regex code
    regardless of platform.  The regex code is included in the distribution
  * added functions and operators for case-insensitive regular expressions.
    The operators are ~* and !~*.
  * pg_dump uses COPY instead of SELECT loop for better performance

 Bug fixes:
  * fixed an optimizer bug that was causing core dumps when
    functions calls were used in comparisons in the WHERE clause
  * changed all uses of getuid to geteuid so that effective uids are used
  * psql now returns non-zero status on errors when using -c
  * applied public patches 1-14

     ----------------------------------------------------------------------
d3662 1
a3662 1
                                  Release 1.0
d3665 1
a3665 2

     ----------------------------------------------------------------------
d3669 40
a3708 41
 Copyright change:
  * The copyright of Postgres 1.0 has been loosened to be freely modifiable
    and modifiable for any purpose.  Please read the COPYRIGHT file.
    Thanks to Professor Michael Stonebraker for making this possible.

 Incompatibilities:
  *  date formats have to be MM-DD-YYYY (or DD-MM-YYYY if you're using
    EUROPEAN STYLE).  This follows SQL-92 specs.
  *  "delimiters" is now a keyword

 Enhancements:
  *  sql LIKE syntax has been added
  *  copy command now takes an optional USING DELIMITER specification.
    delimiters can be any single-character string.
  *  IRIX 5.3 port has been added.
    Thanks to Paul Walmsley and others.
  *  updated pg_dump to work with new libpq
  *  \d has been added psql
    Thanks to Keith Parks
  *  regexp performance for architectures that use POSIX regex has been
    improved due to caching of precompiled patterns.
    Thanks to Alistair Crooks
  *  a new version of libpq++
    Thanks to William Wanders

 Bug fixes:
  *  arbitrary userids can be specified in the createuser script
  *  \c to connect to other databases in psql now works.
  *  bad pg_proc entry for float4inc() is fixed
  *  users with usecreatedb field set can now create databases without
    having to be usesuper
  *  remove access control entries when the entry no longer has any
    permissions
  *  fixed non-portable datetimes implementation
  *  added kerberos flags to the src/backend/Makefile
  *  libpq now works with kerberos
  *  typographic errors in the user manual have been corrected.
  *  btrees with multiple index never worked, now we tell you they don't
    work when you try to use them

     ----------------------------------------------------------------------
d3710 1
a3710 1
                            Postgres95 Release 0.03
d3713 1
a3713 2

     ----------------------------------------------------------------------
d3717 106
a3822 105
 Incompatible changes:
  * BETA-0.3 IS INCOMPATIBLE WITH DATABASES CREATED WITH PREVIOUS VERSIONS
    (due to system catalog changes and indexing structure changes).
  * double-quote (") is deprecated as a quoting character for string literals;
    you need to convert them to single quotes (').
  * name of aggregates (eg. int4sum) are renamed in accordance with the
    SQL standard (eg. sum).
  * CHANGE ACL syntax is replaced by GRANT/REVOKE syntax.
  * float literals (eg. 3.14) are now of type float4 (instead of float8 in
    previous releases); you might have to do typecasting if you depend on it
    being of type float8.  If you neglect to do the typecasting and you assign
    a float literal to a field of type float8, you may get incorrect values
    stored!
  * LIBPQ has been totally revamped so that frontend applications
    can connect to multiple backends
  * the usesysid field in pg_user has been changed from int2 to int4 to
    allow wider range of Unix user ids.
  * the netbsd/freebsd/bsd o/s ports have been consolidated into a
    single BSD44_derived port.  (thanks to Alistair Crooks)

 SQL standard-compliance (the following details changes that makes postgres95
 more compliant to the SQL-92 standard):
  * the following SQL types are now built-in: smallint, int(eger), float, real,
    char(N), varchar(N), date and time.

    The following are aliases to existing postgres types:
                 smallint -> int2
                 integer, int -> int4
                 float, real  -> float4
    char(N) and varchar(N) are implemented as truncated text types. In
    addition, char(N) does blank-padding.
  * single-quote (') is used for quoting string literals; '' (in addition to
    \') is supported as means of inserting a single quote in a string
  * SQL standard aggregate names (MAX, MIN, AVG, SUM, COUNT) are used
    (Also, aggregates can now be overloaded, i.e. you can define your
    own MAX aggregate to take in a user-defined type.)
  * CHANGE ACL removed. GRANT/REVOKE syntax added. 
    - Privileges can be given to a group using the "GROUP" keyword.
         For example:
                 GRANT SELECT ON foobar TO GROUP my_group;
         The keyword 'PUBLIC' is also supported to mean all users.      

         Privileges can only be granted or revoked to one user or group
         at a time. 

         "WITH GRANT OPTION" is not supported.  Only class owners can change
         access control
    - The default access control is to to grant users readonly access.
      You must explicitly grant insert/update access to users.  To change
      this, modify the line in
                 src/backend/utils/acl.h
      that defines ACL_WORLD_DEFAULT

 Bug fixes:
  * the bug where aggregates of empty tables were not run has been fixed. Now,
    aggregates run on empty tables will return the initial conditions of the
    aggregates. Thus, COUNT of an empty  table will now properly return 0.
    MAX/MIN of an empty table will return a tuple of value NULL.
  * allow the use of \; inside the monitor
  * the LISTEN/NOTIFY asynchronous notification mechanism now work
  * NOTIFY in rule action bodies now work
  * hash indexes work, and access methods in general should perform better.
    creation of large btree indexes should be much faster.  (thanks to Paul
    Aoki)

 Other changes and enhancements:
  * addition of an EXPLAIN statement used for explaining the query execution
    plan (eg. "EXPLAIN SELECT * FROM EMP" prints out the execution plan for
    the query).
  * WARN and NOTICE messages no longer have timestamps on them. To turn on
    timestamps of error messages, uncomment the line in
    src/backend/utils/elog.h:
         /* define ELOG_TIMESTAMPS */
  * On an access control violation, the message
         "Either no such class or insufficient privilege"
    will be given.  This is the same message that is returned when
    a class is not found.  This dissuades non-privileged users from
    guessing the existence of privileged classes.
  * some additional system catalog changes have been made that are not
    visible to the user.

 libpgtcl changes:
  * The -oid option has been added to the "pg_result" tcl command.
    pg_result -oid returns oid of the last tuple inserted.   If the
    last command was not an INSERT, then pg_result -oid returns "".
  * the large object interface is available as pg_lo* tcl commands:
    pg_lo_open, pg_lo_close, pg_lo_creat, etc.

 Portability enhancements and New Ports:
  * flex/lex problems have been cleared up.  Now, you should be able to use
    flex instead of lex on any platforms.  We no longer make assumptions of
    what lexer you use based on the platform you use.
  * The Linux-ELF port is now supported.  Various configuration have been
    tested:  The following configuration is known to work:
         kernel 1.2.10, gcc 2.6.3, libc 4.7.2, flex 2.5.2, bison 1.24
    with everything in ELF format,

 New utilities:
  * ipcclean added to the distribution
    ipcclean usually does not need to be run, but if your backend crashes
    and leaves shared memory segments hanging around, ipcclean will
    clean them up for you.

 New documentation:
  * the user manual has been revised and libpq documentation added.
d3824 1
a3824 3
     ----------------------------------------------------------------------

                            Postgres95 Release 0.02
d3827 1
a3827 2

     ----------------------------------------------------------------------
d3831 34
a3864 35
 Incompatible changes:
  * The SQL statement for creating a database is 'CREATE DATABASE' instead
    of 'CREATEDB'. Similarly, dropping a database is 'DROP DATABASE' instead
    of 'DESTROYDB'. However, the names of the executables 'createdb' and
    'destroydb' remain the same.
 
 New tools:
  * pgperl - a Perl (4.036) interface to Postgres95
  * pg_dump - a utility for dumping out a postgres database into a
         script file containing query commands. The script files are in a ASCII
         format and can be used to reconstruct the database, even on other
         machines and other architectures. (Also good for converting
         a Postgres 4.2 database to Postgres95 database.)

 The following ports have been incorporated into postgres95-beta-0.02:
  * the NetBSD port by Alistair Crooks
  * the AIX port by Mike Tung
  * the Windows NT port by Jon Forrest (more stuff but not done yet)
  * the Linux ELF port by Brian Gallew

 The following bugs have been fixed in postgres95-beta-0.02:
  * new lines not escaped in COPY OUT and problem with COPY OUT when first
    attribute is a '.'
  * cannot type return to use the default user id in createuser
  * SELECT DISTINCT on big tables crashes
  * Linux installation problems
  * monitor doesn't allow use of 'localhost' as PGHOST
  * psql core dumps when doing \c or \l
  * the "pgtclsh" target missing from src/bin/pgtclsh/Makefile
  * libpgtcl has a hard-wired default port number
  * SELECT DISTINCT INTO TABLE hangs
  * CREATE TYPE doesn't accept 'variable' as the internallength
  * wrong result using more than 1 aggregate in a SELECT

     ----------------------------------------------------------------------
d3866 1
a3866 1
                            Postgres95 Release 0.01
@


1.182
log
@Stamp for 7.3 beta3.
@
text
@d5 1
a5 1
     Release date: 2002-??-??
d70 1
a70 1
   introduction of schemas in 7.3; for more information, see
d387 2
a388 2
Misc. Interfaces
================
@


1.182.2.1
log
@Update release docs for 7.3.
@
text
@d5 1
a5 1
     Release date: 2002-11-??
d70 1
a70 1
   introduction of schemas in 7.3; for more information, see:
d387 2
a388 2
Miscellaneous Interfaces
========================
@


1.182.2.2
log
@Improve formatting of release notes.  Update makefile rule to make
HISTORY file.
@
text
@d1 1
d3 1
a3 3
                               Release Notes

                                Release 7.3
a5 1
     _________________________________________________________________
d12 6
a17 5
          Schemas allow users to create objects in their own namespace so
          two people or applications can have tables with the same name.
          There is also a public schema for shared tables. Table/index
          creation can be restricted by removing permissions on the
          public schema.
d20 2
a21 2
          PostgreSQL now supports the ALTER TABLE ... DROP COLUMN
          functionality.
d24 5
a28 4
          Functions returning multiple rows and/or multiple columns are
          now much easier to use than before. You can call such a "table
          function" in the SELECT FROM clause, treating its output like a
          table. Also, PL/pgSQL functions can now return sets.
d31 2
a32 2
          PostgreSQL now supports prepared queries, for improved
          performance.
d35 3
a37 4
          PostgreSQL now records object dependencies, which allows
          improvements in many areas. "DROP" statements now take either
          CASCADE or RESTRICT to control whether dependent objects are
          also dropped.
a39 3
          Functions and procedural languages now have privileges, and
          functions can be defined to run with the privileges of their
          creator.
d41 6
a46 2
   Internationalization
          Both multibyte and locale support are now always enabled.
d49 2
a50 1
          A variety of logging options have been enhanced.
d53 4
a56 3
          A large number of interfaces have been moved to
          http://gborg.postgresql.org where they can be developed and
          released independently.
d59 5
a63 3
          By default, functions can now take up to 32 parameters, and
          identifiers can be up to 63 bytes long.
     _________________________________________________________________
d67 2
a68 2
   A dump/restore using pg_dump is required for those wishing to migrate
   data from any previous release. If your application examines the
d71 2
a72 1
   http://www.ca.postgresql.org/docs/momjian/upgrade_tips_7.3.
d77 21
a97 13
     * "pg_hba.conf" now has a column for the user name and additional
       features. Existing files need to be adjusted.
     * Several "postgresql.conf" logging parameters have been renamed and
       improved.
     * LIMIT #,# has been disabled; use LIMIT # OFFSET #.
     * "INSERT" statements with column lists must specify all values;
       e.g., INSERT INTO tab (col1, col2) VALUES ('val1') is now invalid.
     * An index is now not automatically created for serial columns.
     * A "SET" command inside an aborted transaction is now rolled back.
     * "COPY" no longer considers missing trailing columns to be null.
       All columns need to be specified.
     * The data type timestamp is now equivalent to timestamp without
       timezone, instead of timestamp with timezone.
d99 5
a103 4
       dependencies for serial columns, unique constraints, and foreign
       keys. See the directory "contrib/adddepend/" for a detailed
       description and a script that will add the such dependencies.
     _________________________________________________________________
d107 2
d110 7
a116 8

   Add pg_locks view to show locks (Neil)
   Security fixes for password negotiation memory allocation (Neil)
   Remove support for version 0 FE/BE protocol (PostgreSQL 6.2 and
     earlier) (Tom)
   Reserve the last few backend slots for superusers, add parameter
     superuser_reserved_connections to control this (Nigel J. Andrews)
     _________________________________________________________________
d119 19
a137 24

   Improve startup by calling localtime() only once (Tom)
   Cache system catalog information in flat files for faster startup
     (Tom)
   Improve caching of index information (Tom)
   Optimizer improvements (Tom, Fernando Nasser)
   Catalog caches now store failed lookups (Tom)
   Hash function improvements (Neil)
   Improve performance of query tokenization and network handling (Peter)
   Speed improvement for large object restore (Mario Weilguni)
   Mark expired index entries on first lookup, saving later heap fetches
     (Tom)
   Eliminate NULL bitmap padding when not required (Manfred)
   Add BSD-licensed qsort() for Solaris, for performance (Bruce)
   Reduce per-row overhead by four bytes (Manfred Koizar)
   Fix GEQO optimizer bug (Neil Conway)
   Make WITHOUT OID actually save four bytes per row (Manfred Koizar)
   Add default_statistics_target variable to specify ANALYZE buckets
     (Neil)
   Use local buffer cache for temporary tables so no WAL overhead (Tom)
   Improve free space map performance on large tables (Stephen Marshall,
     Tom)
   Improved WAL write concurrency (Tom)
     _________________________________________________________________
d140 7
d148 3
a150 9
   Add privileges on functions and procedural languages (Peter)
   Add OWNER to CREATE DATABASE so superusers can create databases
     on behalf of unprivileged users.  (Gavin Sherry, Tom)
   Add new object permission bits EXECUTE and USAGE (Tom)
   Add SET SESSION AUTHORIZATION DEFAULT and RESET SESSION AUTHORIZATION
     (Tom)
   Allow functions to be executed with the privilege of the function
     owner (Peter)
     _________________________________________________________________
d153 22
a174 27

   Server log messages now tagged with LOG, not DEBUG (Bruce)
   Add user column to pg_hba.conf (Bruce)
   Have log_connections output two lines in log file (Tom)
   Remove debug_level from postgresql.conf, now server_min_messages
     (Bruce)
   New ALTER DATABASE/USER ... SET command for per-user/database
      initialization (Peter)
   New parameters server_min_messages and client_min_messages to
     control which messages are sent to the server logs or client
     applications (Bruce)
   Allow pg_hba.conf to specify lists of users/databases separated by
     commas, group names prepended with +, and file names prepended
     with @@ (Bruce)
   Remove secondary password file capability and pg_password utility
     (Bruce)
   Add variable db_user_namespace for database-local user names (Bruce)
   SSL improvements (Bear Giles)
   Make encryption of stored passwords the default (Bruce)
   Allow pg_statistics to be reset by calling pg_stat_reset()
     (Christopher)
   Add log_duration parameter (Bruce)
   Rename debug_print_query to log_statement (Bruce)
   Rename show_query_stats to show_statement_stats (Bruce)
   Add param log_min_error_statement to print commands to logs on error
     (Gavin)
     _________________________________________________________________
d177 20
a196 23

   Make cursors insensitive, meaning their contents do not change (Tom)
   Disable LIMIT #,# syntax; now only LIMIT # OFFSET # supported (Bruce)
   Increase identifier length to 63 (Neil, Bruce)
   UNION fixes for merging >= 3 columns of different lengths (Tom)
   Add DEFAULT keyword to INSERT, e.g., INSERT ... (..., DEFAULT, )
     (Rod)
   Allow views to have default values using ALTER COLUMN ... SET DEFAULT
     (Neil)
   Fail on INSERTs with column lists that don't supply all column
     values, e.g., INSERT INTO tab (col1, col2) VALUES ('val1');  (Rod)
   Fix for join aliases (Tom)
   Fix for FULL OUTER JOINs (Tom)
   Improve reporting of invalid identifier and location (Tom, Gavin)
   Fix OPEN cursor(args) (Tom)
   Allow 'ctid' to be used in a view and currtid(viewname) (Hiroshi)
   Fix for CREATE TABLE AS with UNION (Tom)
   SQL99 syntax improvements (Thomas)
   Add statement_timeout variable to cancel queries (Bruce)
   Allow prepared queries with PREPARE/EXECUTE (Neil)
   Allow FOR UPDATE to appear after LIMIT/OFFSET (Bruce)
   Add variable autocommit (Tom, David Van Wie)
     _________________________________________________________________
d199 32
a230 37

   Make equals signs optional in CREATE DATABASE (Gavin Sherry)
   Make ALTER TABLE OWNER to change index ownership (Neil)
   New ALTER TABLE tabname ALTER COLUMN colname SET STORAGE controls
     TOAST storage, compression (John Gray)
   Add schema support, CREATE/DROP SCHEMA (Tom)
   Create schema for temporary tables (Tom)
   Add variable search_path for schema search (Tom)
   Add ALTER TABLE SET/DROP NOT NULL (Christopher)
   New CREATE FUNCTION volatility levels (Tom)
   Make rule names unique only per table (Tom)
   Add 'ON tablename' clause to DROP RULE and COMMENT ON RULE (Tom)
   Add ALTER TRIGGER RENAME (Joe)
   New current_schema() and current_schemas() inquiry functions (Tom)
   Allow functions to return multiple rows (table functions) (Joe)
   Make WITH optional in CREATE DATABASE, for consistency (Bruce)
   Add object dependency tracking (Rod, Tom)
   Add RESTRICT/CASCADE to DROP commands (Rod)
   Add ALTER TABLE DROP for non-CHECK CONSTRAINT (Rod)
   Autodestroy sequence on DROP of table with SERIAL (Rod)
   Prevent column dropping if column is used by foreign key (Rod)
   Automatically drop constraints/functions when object is dropped (Rod)
   Add CREATE/DROP OPERATOR CLASS (Bill Studenmund, Tom)
   Add ALTER TABLE DROP COLUMN (Christopher, Tom, Hiroshi)
   Prevent inherited columns from being removed or renamed (Alvaro
     Herrera)
   Fix foreign key constraints to not error on intermediate database
     states (Stephan)
   Propagate column or table renaming to foreign key constraints
   Add CREATE OR REPLACE VIEW (Gavin, Neil, Tom)
   Add CREATE OR REPLACE RULE (Gavin, Neil, Tom)
   Have rules execute alphabetically, returning more predictable values
     (Tom)
   Triggers are now fired in alphabetical order (Tom)
   Add /contrib/adddepend to handle pre-7.3 object dependencies (Rod)
   Allow better casting when inserting/updating values (Tom)
     _________________________________________________________________
d233 36
a268 43

   Have COPY TO output embedded carriage returns and newlines as \r and
     \n (Tom)
   Allow DELIMITER in COPY FROM to be 8-bit clean (Tatsuo)
   Make pg_dump use ALTER TABLE ADD PRIMARY KEY, for performance (Neil)
   Disable brackets in multistatement rules (Bruce)
   Disable VACUUM from being called inside a function (Bruce)
   Allow dropdb and other scripts to use identifiers with spaces (Bruce)
   Restrict database comment changes to the current database
   Allow comments on operators, independent of the underlying function
     (Rod)
   Rollback SET commands in aborted transactions (Tom)
   EXPLAIN now outputs as a query (Tom)
   Display sort keys in EXPLAIN (Tom)
   Add 'SET LOCAL var = value' to set configuration variables for a
     single transaction (Tom)
   Allow ANALYZE to run in a transaction (Bruce)
   Improve COPY syntax using new WITH clauses, keep backward
     compatibility (Bruce)
   Fix pg_dump to consistently output tags in non-ASCII dumps (Bruce)
   Make foreign key constraints clearer in dump file (Rod)
   Add COMMENT ON CONSTRAINT (Rod)
   Allow COPY TO/FROM to specify column names (Brent Verner)
   Dump UNIQUE and PRIMARY KEY contraints as ALTER TABLE (Rod)
   Have SHOW output a query result (Joe)
   Generate failure on short COPY lines rather than pad NULLs (Neil)
   Fix CLUSTER to preserve all table attributes (Alvaro Herrera)
   New pg_settings table to view/modify GUC settings (Joe)
   Add smart quoting, portability improvements to pg_dump output (Peter)
   Dump serial columns out as SERIAL (Tom)
   Enable large file support, >2G for pg_dump (Peter, Philip Warner,
     Bruce)
   Disallow TRUNCATE on tables that are involved in referential
     constraints (Rod)
   Have TRUNCATE also auto-truncate the toast table of the relation (Tom)
   Add clusterdb utility that will auto-cluster an entire database
     based on previous CLUSTER operations (Alvaro Herrera)
   Overhaul pg_dumpall (Peter)
   Allow REINDEX of TOAST tables (Tom)
   Implemented START TRANSACTION, per SQL99 (Neil)
   Fix rare index corruption when a page split affects bulk delete (Tom)
   Fix ALTER TABLE ... ADD COLUMN for inheritance (Alvaro Herrera)
     _________________________________________________________________
d271 49
a319 55

   Fix factorial(0) to return 1 (Bruce)
   Date/time/timezone improvements (Thomas)
   Fix for array slice extraction (Tom)
   Fix extract/date_part to report proper microseconds for timestamp
     (Tatsuo)
   Allow text_substr() and bytea_substr() to read TOAST values more
     efficiently (John Gray)
   Add domain support (Rod)
   Make WITHOUT TIME ZONE the default for TIMESTAMP and TIME data types
     (Thomas)
   Allow alternate storage scheme of 64-bit integers for date/time types
     using --enable-integer-datetimes in configure (Thomas)
   Make timezone(timestamptz) return timestamp rather than a string
     (Thomas)
   Allow fractional seconds in date/time types for dates prior to 1BC
     (Thomas)
   Limit timestamp data types to 6 decimal places of precision (Thomas)
   Change timezone conversion functions from timetz() to timezone()
     (Thomas)
   Add configuration variables datestyle and timezone (Tom)
   Add OVERLAY(), which allows substitution of a substring in a string
     (Thomas)
   Add SIMILAR TO (Thomas, Tom)
   Add regular expression SUBSTRING(string FROM pat FOR escape) (Thomas)
   Add LOCALTIME and LOCALTIMESTAMP functions (Thomas)
   Add named composite types using CREATE TYPE typename AS (column)
     (Joe)
   Allow composite type definition in the table alias clause (Joe)
   Add new API to simplify creation of C language table functions (Joe)
   Remove ODBC-compatible empty parentheses from calls to SQL99
     functions for which these parentheses do not match the standard
     (Thomas)
   Allow macaddr data type to accept 12 hex digits with no separators
     (Mike Wyer)
   Add CREATE/DROP CAST (Peter)
   Add IS DISTINCT FROM operator (Thomas)
   Add SQL99 TREAT() function, synonym for CAST() (Thomas)
   Add pg_backend_pid() to output backend pid (Bruce)
   Add IS OF / IS NOT OF type predicate (Thomas)
   Allow bit string constants without fully-specified length (Thomas)
   Allow conversion between 8-byte integers and bit strings (Thomas)
   Implement hex literal conversion to bit string literal (Thomas)
   Allow table functions to appear in the FROM clause (Joe)
   Increase maximum number of function parameters to 32 (Bruce)
   No longer automatically create index for SERIAL column (Tom)
   Add current_database() (Rod)
   Fix cash_words() to not overflow buffer (Tom)
   Add functions replace(), split_part(), to_hex() (Joe)
   Fix LIKE for bytea as a right-hand argument (Joe)
   Prevent crashes caused by SELECT cash_out(2) (Tom)
   Fix to_char(1,'FM999.99') to return a period (Karel)
   Fix trigger/type/language functions returning OPAQUE to return
     proper type (Tom)
     _________________________________________________________________
d322 13
a334 19

   Add additional encodings (Korean (JOHAB), Thai (WIN874), Vietnamese
     (TCVN), Arabic (WIN1256), Simplified Chinese (GBK), Korean (UHC)
     (Eiji Tokuya)
   Enable locale support by default (Peter)
   Add locale variables (Peter)
   Escape byes >= 0x7f for multibyte in PQescapeBytea/PQunescapeBytea
     (Tatsuo)
   Add locale awareness to regular expression character classes
   Enable multibyte support by default (Tatso)
   Add GB18030 multibyte support (Bill Huang)
   Add CREATE/DROP CONVERSION, allowing loadable encodings (Tatsuo,
     Kaori)
   Add pg_conversion table (Tatsuo)
   Add SQL99 CONVERT() function (Tatsuo)
   pg_dumpall, pg_controldata, and pg_resetxlog now national-language
     aware (Peter)
   New and updated translations
     _________________________________________________________________
d337 8
a344 11

   Allow recursive SQL function (Peter)
   Change PL/Tcl build to use configured compiler and Makefile.shlib
     (Peter)
   Overhaul the PL/pgSQL FOUND variable to be more Oracle-compatible
     (Tom, Neil)
   Allow PL/pgSQL to handle quoted identifiers (Tom)
   Allow set-returning PL/pgSQL functions (Neil)
   Make PL/pgSQL schema-aware (Joe)
   Remove some memory leaks (Nigel J. Andrews, Tom)
     _________________________________________________________________
d347 12
a358 14

   Don't lowercase psql \connect database name for 7.2.0 compatibility
     (Tom)
   Add psql \timing to time user queries (Greg Sabino Mullane)
   Have psql \d show index information (Greg Sabino Mullane)
   New psql \dD shows domains (Jonathan Eisler)
   Allow psql to show rules on views (Paul ?)
   Fix for psql variable substitution (Tom)
   Allow psql \d to show temporary table structure (Tom)
   Allow psql \d to show foreign keys (Rod)
   Fix \? to honor \pset pager (Bruce)
   Have psql reports its version number on startup (Tom)
   Allow \copy to specify column names (Tom)
     _________________________________________________________________
d361 8
a368 13

   Add $HOME/.pgpass to store host/user password combinations (Alvaro
     Herrera)
   Add PQunescapeBytea() function to libpq (Patrick Welche)
   Fix for sending large queries over non-blocking connections
     (Bernhard Herzog)
   Fix for libpq using timers on Win9X (David Ford)
   Allow libpq notify to handle servers with different-length
     identifiers (Tom)
   Add libpq PQescapeString() and PQescapeBytea() to Win32 (Bruce)
   Fix for SSL with non-blocking connections (Jack Bates)
   Add libpq connection timeout parameter (Denis A Ustimenko)
     _________________________________________________________________
d371 11
d383 3
a385 12
   Allow JDBC to compile with JDK 1.4 (Dave)
   Add JDBC 3 support (Barry)
   Allows JDBC to set loglevel by adding ?loglevel=X to the connection
     URL (Barry)
   Add Driver.info() message that prints out the version number (Barry)
   Add updateable result sets (Raghu Nidagal, Dave)
   Add support for callable statements (Paul Bethe)
   Add query cancel capability
   Add refresh row (Dave)
   Fix MD5 encryption handling for multibyte servers (Jun Kawai)
   Add support for prepared statements (Barry)
     _________________________________________________________________
d388 10
d399 22
a420 17
   Fixed ECPG bug concerning octal numbers in single quotes (Michael)
   Move src/interfaces/libpgeasy to http://gborg.postgresql.org (Marc,
     Bruce)
   Improve Python interface (Elliot Lee, Andrew Johnson, Greg Copeland)
   Add libpgtcl connection close event (Gerhard Hintermayer)
   Move src/interfaces/libpq++ to http://gborg.postgresql.org (Marc,
     Bruce)
   Move src/interfaces/odbc to http://gborg.postgresql.org (Marc)
   Move src/interfaces/libpgeasy to http://gborg.postgresql.org (Marc,
     Bruce)
   Move src/interfaces/perl5 to http://gborg.postgresql.org (Marc,
     Bruce)
   Remove src/bin/pgaccess from main tree, now at
     http://www.pgaccess.org (Bruce)
   Add pg_on_connection_loss command to libpgtcl (Gerhard Hintermayer,
     Tom)
     _________________________________________________________________
d423 30
a453 56
   Fix for parallel make (Peter)
   AIX fixes for linking Tcl (Andreas Zeugswetter)
   Allow PL/Perl to build under Cygwin (Jason Tishler)
   Improve MIPS compiles (Peter, Oliver Elphick)
   Require Autoconf version 2.53 (Peter)
   Require readline and zlib by default in configure (Peter)
   Allow Solaris to use Intimate Shared Memory (ISM), for performance
     (Scott Brunza, P.J. Josh Rovero)
   Always enable syslog in compile, remove --enable-syslog option
     (Tatsuo)
   Always enable multibyte in compile, remove --enable-multibyte option
     (Tatsuo)
   Always enable locale in compile, remove --enable-locale option
     (Peter)
   Fix for Win9x DLL creation (Magnus Naeslund)
   Fix for link() usage by WAL code on Win32, BeOS (Jason Tishler)
   Add sys/types.h to c.h, remove from main files (Peter, Bruce)
   Fix AIX hang on SMP machines (Tomoyuki Niijima)
   AIX SMP hang fix (Tomoyuki Niijima)
   Fix pre-1970 date handling on newer glibc libraries (Tom)
   Fix PowerPC SMP locking (Tom)
   Prevent gcc -ffast-math from being used (Peter, Tom)
   Bison >= 1.50 now required for developer builds
   Kerberos 5 support now builds with Heimdal (Peter)
   Add appendix in the User's Guide which lists SQL features (Thomas)
   Improve loadable module linking to use RTLD_NOW (Tom)
   New error levels WARNING, INFO, LOG, DEBUG[1-5] (Bruce)
   New src/port directory holds replaced libc functions (Peter, Bruce)
   New pg_namespace system catalog for schemas (Tom)
   Add pg_class.relnamespace for schemas (Tom)
   Add pg_type.typnamespace for schemas (Tom)
   Add pg_proc.pronamespace for schemas (Tom)
   Restructure aggregates to have pg_proc entries (Tom)
   System relations now have their own namespace, pg_* test not required
     (Fernando Nasser)
   Rename TOAST index names to be *_index rather than *_idx (Neil)
   Add namespaces for operators, opclasses (Tom)
   Add additional checks to server control file (Thomas)
   New Polish FAQ (Marcin Mazurek)
   Add Posix semaphore support (Tom)
   Document need for reindex (Bruce)
   Rename some internal identifiers to simplify Win32 compile (Jan,
     Katherine Ward)
   Add documentation on computing disk space (Bruce)
   Remove KSQO from GUC (Bruce)
   Fix memory leak in rtree (Kenneth Been)
   Modify a few error messages for consistency (Bruce)
   Remove unused system table columns (Peter)
   Make system columns NOT NULL where appropriate (Tom)
   Clean up use of sprintf in favor of snprintf() (Neil, Jukka Holappa)
   Remove OPAQUE and create specific subtypes (Tom)
   Cleanups in array internal handling (Joe, Tom)
   Disallow pg_atoi('') (Bruce)
   Remove parameter wal_files because WAL files are now recycled (Bruce)
   Add version numbers to heap pages (Tom)
     _________________________________________________________________
d456 23
d480 1
a480 24
   Allow inet arrays in /contrib/array (Neil)
   Gist fixes (Teodor Sigaev, Neil)
   Upgrade /contrib/mysql
   Add /contrib/dbsize which shows table sizes without vacuum (Peter)
   Add /contrib/intagg, integer aggregator routines (mlw)
   Improve /contrib/oid2name (Neil, Bruce)
   Improve /contrib/tsearch (Oleg, Teodor Sigaev)
   Cleanups of /contrib/rserver (Alexey V. Borzov)
   Update /contrib/oracle conversion utility (Gilles Darold)
   Update /contrib/dblink (Joe)
   Improve options supported by /contrib/vacuumlo (Mario Weilguni)
   Improvements to /contrib/intarray (Oleg, Teodor Sigaev, Andrey
     Oktyabrski)
   Add /contrib/reindexdb utility (Shaun Thomas)
   Add indexing to /contrib/isbn_issn (Dan Weston)
   Add /contrib/dbmirror (Steven Singer)
   Improve /contrib/pgbench (Neil)
   Add /contrib/tablefunc table function examples (Joe)
   Add /contrib/ltree data type for tree structures (Teodor Sigaev,
     Oleg Bartunov)
   Move /contrib/pg_controldata into main tree (Bruce)
   Fixes to /contrib/cube (Bruno Wolff)
   Improve /contrib/fulltextindex (Christopher)
     _________________________________________________________________
d482 1
a482 1
                               Release 7.2.3
d488 2
a489 1
     _________________________________________________________________
d494 2
a495 1
     _________________________________________________________________
d499 6
a504 7
   Prevent possible compressed transaction log loss (Tom)
   Prevent non-superuser from increasing most recent vacuum info (Tom)
   Handle pre-1970 date values in newer versions of glibc (Tom)
   Fix possible hang during server shutdown
   Prevent spinlock hangs on SMP PPC machines (Tomoyuki Niijima)
   Fix pg_dump to properly dump FULL JOIN USING (Tom)
     _________________________________________________________________
d506 4
a509 1
                               Release 7.2.2
d513 4
a516 2
   This has a variety of fixes from 7.2.1.
     _________________________________________________________________
d521 2
a522 1
     _________________________________________________________________
d526 18
a543 16
   Allow EXECUTE of "CREATE TABLE AS ... SELECT" in PL/pgSQL (Tom)
   Fix for compressed transaction log id wraparound (Tom)
   Fix PQescapeBytea/PQunescapeBytea so that they handle bytes > 0x7f (Ta
   tsuo)
   Fix for psql and pg_dump crashing when invoked with non-existand long
     options (Tatsuo)
   Fix crash when invoking geometric operators (Tom)
   Allow OPEN cursor(args) (Tom)
   Fix for rtree_gist index build (Teodor)
   Fix for dumping user-defined aggregates (Tom)
   Contrib/intarray fixes (Oleg)
   Fix for complex UNION/EXCEPT/INTERSECT queries using parens (Tom)
   Fix to pg_convert (Tatsuo)
   Fix for crash with long DATA strings (Thomes, Neil)
   Fix for repeat(), lpad(), rpad() and long strings (Neil)
     _________________________________________________________________
d545 4
a548 1
                               Release 7.2.1
d553 2
a554 1
     _________________________________________________________________
d559 2
a560 1
     _________________________________________________________________
d564 20
a583 19
   Ensure that sequence counters do not go backwards after a crash (Tom)
   Fix pgaccess kanji-coversion key binding (Tatsuo)
   Optimizer improvements (Tom)
   cash I/O improvements (Tom)
   New Russian FAQ
   Compile fix for missing AuthBlockSig (Heiko)
   Additional time zones and time zone fixes (Thomas)
   Allow psql \connect to handle mixed case database and user names (Tom)
   Return proper OID on command completion even with ON INSERT rules (Tom
   )
   Allow COPY FROM to use 8-bit DELIMITERS (Tatsuo)
   Fix bug in extract/date_part for milliseconds/microseconds (Tatsuo)
   Improve handling of multiple UNIONs with different lengths (Tom)
   contrib/btree_gist improvements (Teodor Sigaev)
   contrib/tsearch dictionary improvements, see README.tsearch for
     an additional installation step (Thomas T. Thai, Teodor Sigaev)
   Fix for array subscripts handling (Tom)
   Allow EXECUTE of "CREATE TABLE AS ... SELECT" in PL/pgSQL (Tom)
     _________________________________________________________________
d585 1
a585 1
                                Release 7.2
a587 1
     _________________________________________________________________
d596 5
a600 4
          Vacuuming no longer locks tables, thus allowing normal user
          access during the vacuum. A new "VACUUM FULL" command does
          old-style vacuum by locking the table and shrinking the on-disk
          copy of the table.
a602 2
          There is no longer a problem with installations that exceed
          four billion transactions.
d604 7
a610 3
   OIDs
          OIDs are now optional. Users can now create tables without OIDs
          for cases where OID usage is excessive.
d613 3
a615 2
          The system now computes histogram column statistics during
          "ANALYZE", allowing much better optimizer choices.
d618 4
a621 3
          A new MD5 encryption option allows more secure storage and
          transfer of passwords. A new Unix-domain socket authentication
          option is available on Linux and BSD systems.
d624 3
a626 2
          Administrators can use the new table access statistics module
          to get fine-grained information about table and index usage.
d629 5
a633 3
          Program and library messages can now be displayed in several
          languages.
     _________________________________________________________________
d637 2
a638 2
   A dump/restore using "pg_dump" is required for those wishing to
   migrate data from any previous release.
d642 8
a649 7
     * The semantics of the "VACUUM" command have changed in this
       release. You may wish to update your maintenance procedures
       accordingly.
     * In this release, comparisons using = NULL will always return false
       (or NULL, more precisely). Previous releases automatically
       transformed this syntax to IS NULL. The old behavior can be
       re-enabled using a "postgresql.conf" parameter.
d651 2
a652 2
       reloaded after receiving a SIGHUP signal, not with each
       connection.
d655 12
a666 9
     * The date/time value 'current' is no longer available. You will
       need to rewrite your applications.
     * The timestamp(), time(), and interval() functions are no longer
       available. Instead of timestamp(), use timestamp 'string' or CAST.

   The SELECT ... LIMIT #,# syntax will be removed in the next release.
   You should change your queries to use separate LIMIT and OFFSET
   clauses, e.g. LIMIT 10 OFFSET 20.
     _________________________________________________________________
d670 1
a670 1
Server Operation
d673 1
a673 1
   Delete orphaned temporary files on postmaster startup (Bruce)
d675 1
a675 2
   System table operator reorganization (Oleg Bartunov, Teodor Sigaev, To
   m)
d681 1
a681 1
   Removed OIDs from some system tables (Tom)
a691 1
     _________________________________________________________________
d693 3
a695 1
Performance
a706 1
     _________________________________________________________________
d708 3
a710 1
Privileges
d719 3
a721 3
   Disallow access to pg_statistic for non-superuser, add user-accessible
    views (Tom)
     _________________________________________________________________
d723 1
a723 1
Client Authentication
d726 1
a726 2
   Add ident authentication over Unix domain sockets on Linux, *BSD (Helg
   e Bahmann, Oliver Elphick, Teodor Sigaev, Bruce)
a730 1
     _________________________________________________________________
d732 3
a734 1
Server Configuration
d736 1
a736 2
   Interpretation of some time zone abbreviations as Australian rather th
   an North American now settable at run time (Bruce)
d738 1
a738 2
   New parameter to enable conversion of "expr = NULL" into "expr IS NULL
   ", off by default (Peter E)
a741 1
     _________________________________________________________________
d743 3
a745 1
Queries
d752 1
a752 2
   New EXPLAIN ANALYZE command that shows run times and row counts (Marti
   jn van Oosterhout)
d754 1
a754 1
   Fix for LIMIT, DISTINCT ON pushed into subqueries (Tom)
a755 1
     _________________________________________________________________
d757 3
a759 1
Schema Manipulation
d764 1
a764 2
   New SERIAL8 creates int8 columns with sequences, default still SERIAL4
    (Tom)
d767 2
a768 4
   Add ALTER TABLE / DROP CONSTRAINT for CHECK constraints (Christopher K
   ings-Lynne)
   New CREATE OR REPLACE FUNCTION to alter existing function (preserving
   the function OID) (Gavin Sherry)
d771 3
a773 6
   Make ALTER TABLE / RENAME COLUMN update column names of indexes (Brent
    Verner)
   Fix for ALTER TABLE / ADD CONSTRAINT ... CHECK with inherited tables (
   Stephan Szabo)
   ALTER TABLE RENAME update foreign-key trigger arguments correctly (Bre
   nt Verner)
d776 1
a776 2
   Allow GiST indexes to handle NULLs and multikey indexes (Oleg Bartunov
   , Teodor Sigaev, Tom)
a777 1
     _________________________________________________________________
d779 3
a781 1
Utility Commands
d787 1
a787 2
   New light-weight VACUUM does not lock table; old semantics are availab
   le as VACUUM FULL (Tom)
d790 1
a790 2
   VACUUM warning about index tuples fewer than heap now only appears whe
   n appropriate (Martijn van Oosterhout)
a792 1
     _________________________________________________________________
d794 3
a796 1
Data Types and Functions
d801 1
a801 2
   Make the "n" in CHAR(n)/VARCHAR(n) represents letters, not bytes (Tats
   uo)
d813 1
a813 2
   New encode() function mode, "escaped", converts minimally escaped byte
   a to/from text
d821 1
a821 2
   Modify type coercion logic to attempt binary-compatible functions firs
   t (Tom)
d825 1
a825 2
   New functions in contrib/pgcrypto: crypt(), hmac(), encrypt(), gen_sal
   t() (Marko Kreen)
d830 1
a830 2
   Fix path_inter, path_distance, path_length, dist_ppath to handle close
   d paths (Curtis Barrett, Tom)
a834 1
     _________________________________________________________________
d836 3
a838 1
Internationalization
d840 3
a842 7
   National language support in psql, pg_dump, libpq, and server (Peter E
   )
   Message translations in Chinese (simplified, traditional), Czech, Fren
   ch, German, Hungarian, Russian, Swedish (Peter E, Serguei A. Mokhov, K
   arel Zak, Weiping He, Zhenbang Wei, Kovacs Zoltan)
   Make trim, ltrim, rtrim, btrim, lpad, rpad, translate multibyte aware
   (Tatsuo)
a847 1
     _________________________________________________________________
d849 3
a851 1
PL/pgSQL
d858 1
a858 2
   Allow IS or FOR key words in cursor declaration, for compatibility (Br
   uce)
a863 1
     _________________________________________________________________
d865 3
a867 1
PL/Perl
d870 1
a870 3
   PL/Perl is now built on some platforms even if libperl is not shared (
   Peter E)
     _________________________________________________________________
d872 3
a874 1
PL/Tcl
a877 1
     _________________________________________________________________
d879 3
a881 1
PL/Python
a883 1
     _________________________________________________________________
d885 3
a887 1
Psql
d889 1
a889 2
   \d displays indexes in unique, primary groupings (Christopher Kings-Ly
   nne)
d892 1
a892 2
   Force new password prompt when changing user and database (Tatsuo, Tom
   )
a893 1
     _________________________________________________________________
d895 6
a900 1
Libpq
d902 1
a902 5
   New function PQescapeString() to escape quotes in command strings (Flo
   rian Weimer)
   New function PQescapeBytea() escapes binary strings for use as SQL str
   ing literals
     _________________________________________________________________
d904 1
a904 1
JDBC
d919 2
a920 4
   DatabaseMetaData.getColumns() now returns column defaults (Jason Davie
   s)
   DatabaseMetaData.getColumns() performance improvement (Jeroen van Vian
   en)
d924 1
a924 1
   Serialize addition
a937 1
     _________________________________________________________________
d939 3
a941 1
ODBC
a952 1
     _________________________________________________________________
d954 3
a956 1
ECPG
a967 1
     _________________________________________________________________
d969 3
a971 1
Misc. Interfaces
d974 1
a974 2
   Use UTF, Unicode in Tcl where appropriate (Vsevolod Lobko, Reinhard Ma
   x)
a977 1
     _________________________________________________________________
d979 3
a981 1
Build and Install
d985 1
a985 2
   Fixes in Cygwin and Win32 ports (Jason Tishler, Gerhard Haring, Dmitry
    Yurtaev, Darko Prenosil, Mikhail Terekhov)
d989 1
a989 2
   Remove configure --enable-unicode-conversion, now enabled by multibyte
    (Tatsuo)
d992 1
a992 2
   Install SQL language manual pages into OS-specific directories (Peter
   E)
a994 1
     _________________________________________________________________
d996 3
a998 1
Source Code
d1005 1
a1005 2
   Remove define of true/false when compiling under C++ (Leandro Fanzone,
    Tom)
a1010 1
     _________________________________________________________________
d1012 3
a1014 1
Contrib
d1022 2
a1023 4
   New contrib/fuzzystrmatch with levenshtein and metaphone, soundex merg
   ed (Joe Conway)
   Add contrib/intarray boolean queries, binary search, fixes (Oleg Bartu
   nov)
d1026 1
a1026 1
     _________________________________________________________________
d1028 1
a1028 1
                               Release 7.1.3
d1031 2
a1032 1
     _________________________________________________________________
d1037 2
a1038 1
     _________________________________________________________________
d1042 11
a1052 10
Remove unused WAL segements of large transactions (Tom)
Multiaction rule fix (Tom)
PL/pgSQL memory allocation fix (Jan)
VACUUM buffer fix (Tom)
Regression test fixes (Tom)
pg_dump fixes for GRANT/REVOKE/comments on views, user-defined types (Tom)
Fix subselects with DISTINCT ON or LIMIT (Tom)
BeOS fix
Disable COPY TO/FROM a view (Tom)
Cygwin build (Jason Tishler)
d1054 1
a1054 1
     _________________________________________________________________
d1056 1
a1056 1
                               Release 7.1.2
d1061 2
a1062 1
     _________________________________________________________________
d1067 2
a1068 1
     _________________________________________________________________
d1072 6
a1077 5
Fix PL/pgSQL SELECTs when returning no rows
Fix for psql backslash core dump
Referential integrity permission fix
Optimizer fixes
pg_dump cleanups
d1079 1
a1079 1
     _________________________________________________________________
d1081 1
a1081 1
                               Release 7.1.1
d1086 2
a1087 1
     _________________________________________________________________
d1092 2
a1093 1
     _________________________________________________________________
d1097 15
a1111 14
Fix for numeric MODULO operator (Tom)
pg_dump fixes (Philip)
pg_dump can dump 7.0 databases (Philip)
readline 4.2 fixes (Peter E)
JOIN fixes (Tom)
AIX, MSWIN, VAX, N32K fixes (Tom)
Multibytes fixes (Tom)
Unicode fixes (Tatsuo)
Optimizer improvements (Tom)
Fix for whole tuples in functions (Tom)
Fix for pg_ctl and option strings with spaces (Peter E)
ODBC fixes (Hiroshi)
EXTRACT can now take string argument (Thomas)
Python fixes (Darcy)
d1113 1
a1113 1
     _________________________________________________________________
d1115 1
a1115 1
                                Release 7.1
d1125 8
a1132 7
          To maintain database consistency in case of an operating system
          crash, previous releases of PostgreSQL have forced all data
          modifications to disk before each transaction commit. With WAL,
          only one log file must be flushed to disk, greatly improving
          performance. If you have been using -F in previous releases to
          disable disk flushes, you may want to consider discontinuing
          its use.
d1135 5
a1139 4
          TOAST - Previous releases had a compiled-in row length limit,
          typically 8k - 32k. This limit made storage of long text fields
          difficult. With TOAST, long rows of any length can be stored
          with good performance.
d1142 3
a1144 3
          We now support outer joins. The UNION/NOT IN workaround for
          outer joins is no longer required. We use the SQL92 outer join
          syntax.
d1147 6
a1152 5
          The previous C function manager did not handle null values
          properly, nor did it support 64-bit CPU's (Alpha). The new
          function manager does. You can continue using your old custom
          functions, but you may want to rewrite them in the future to
          use the new function manager call interface.
d1155 8
a1162 6
          A large number of complex queries that were unsupported in
          previous releases now work. Many combinations of views,
          aggregates, UNION, LIMIT, cursors, subqueries, and inherited
          tables now work properly. Inherited tables are now accessed by
          default. Subqueries in FROM are now supported.
     _________________________________________________________________
d1166 4
a1169 3
   A dump/restore using pg_dump is required for those wishing to migrate
   data from any previous release.
     _________________________________________________________________
d1173 186
a1358 185
Bug Fixes
---------
Many multibyte/Unicode/locale fixes (Tatsuo and others)
More reliable ALTER TABLE RENAME (Tom)
Kerberos V fixes (David Wragg)
Fix for INSERT INTO...SELECT where targetlist has subqueries (Tom)
Prompt username/password on standard error (Bruce)
Large objects inv_read/inv_write fixes (Tom)
Fixes for to_char(), to_date(), to_ascii(), and to_timestamp() (Karel,
    Daniel Baldoni)
Prevent query expressions from leaking memory (Tom)
Allow UPDATE of arrays elements (Tom)
Wake up lock waiters during cancel (Hiroshi)
Fix rare cursor crash when using hash join (Tom)
Fix for DROP TABLE/INDEX in rolled-back transaction (Hiroshi)
Fix psql crash from \l+ if MULTIBYTE enabled (Peter E)
Fix truncation of rule names during CREATE VIEW (Ross Reedstrom)
Fix PL/perl (Alex Kapranoff)
Disallow LOCK on views (Mark Hollomon)
Disallow INSERT/UPDATE/DELETE on views (Mark Hollomon)
Disallow DROP RULE, CREATE INDEX, TRUNCATE on views (Mark Hollomon)
Allow PL/pgSQL accept non-ASCII identifiers (Tatsuo)
Allow views to proper handle GROUP BY, aggregates, DISTINCT (Tom)
Fix rare failure with TRUNCATE command (Tom)
Allow UNION/INTERSECT/EXCEPT to be used with ALL, subqueries, views,
    DISTINCT, ORDER BY, SELECT...INTO (Tom)
Fix parser failures during aborted transactions (Tom)
Allow temporary relations to properly clean up indexes (Bruce)
Fix VACUUM problem with moving rows in same page (Tom)
Modify pg_dump to better handle user-defined items in template1 (Philip)
Allow LIMIT in VIEW (Tom)
Require cursor FETCH to honor LIMIT (Tom)
Allow PRIMARY/FOREIGN Key definitions on inherited columns (Stephan)
Allow ORDER BY, LIMIT in sub-selects (Tom)
Allow UNION in CREATE RULE (Tom)
Make ALTER/DROP TABLE rollback-able (Vadim, Tom)
Store initdb collation in pg_control so collation cannot be changed (Tom)
Fix INSERT...SELECT with rules (Tom)
Fix FOR UPDATE inside views and subselects (Tom)
Fix OVERLAPS operators conform to SQL92 spec regarding NULLs (Tom)
Fix lpad() and rpad() to handle length less than input string (Tom)
Fix use of NOTIFY in some rules (Tom)
Overhaul btree code (Tom)
Fix NOT NULL use in Pl/pgSQL variables (Tom)
Overhaul GIST code (Oleg)
Fix CLUSTER to preserve constraints and column default (Tom)
Improved deadlock detection handling (Tom)
Allow multiple SERIAL columns in a table (Tom)
Prevent occasional index corruption (Vadim)

Enhancements
------------
Add OUTER JOINs (Tom)
Function manager overhaul (Tom)
Allow ALTER TABLE RENAME on indexes (Tom)
Improve CLUSTER (Tom)
Improve ps status display for more platforms (Peter E, Marc)
Improve CREATE FUNCTION failure message (Ross)
JDBC improvements (Peter, Travis Bauer, Christopher Cain, William Webber,
    Gunnar)
Grand Unified Configuration scheme/GUC.  Many options can now be set in
    data/postgresql.conf, postmaster/postgres flags, or SET commands (Peter E)
Improved handling of file descriptor cache (Tom)
New warning code about auto-created table alias entries (Bruce)
Overhaul initdb process (Tom, Peter E)
Overhaul of inherited tables; inherited tables now accessed by default;
   new ONLY keyword prevents it (Chris Bitmead, Tom)
ODBC cleanups/improvements (Nick Gorham, Stephan Szabo, Zoltan Kovacs,
    Michael Fork)
Allow renaming of temp tables (Tom)
Overhaul memory manager contexts (Tom)
pg_dumpall uses CREATE USER or CREATE GROUP rather using COPY (Peter E)
Overhaul pg_dump (Philip Warner)
Allow pg_hba.conf secondary password file to specify only username (Peter E)
Allow TEMPORARY or TEMP keyword when creating temporary tables (Bruce)
New memory leak checker (Karel)
New SET SESSION CHARACTERISTICS (Thomas)
Allow nested block comments (Thomas)
Add WITHOUT TIME ZONE type qualifier (Thomas)
New ALTER TABLE ADD CONSTRAINT (Stephan)
Use NUMERIC accumulators for INTEGER aggregates (Tom)
Overhaul aggregate code (Tom)
New VARIANCE and STDDEV() aggregates
Improve dependency ordering of pg_dump (Philip)
New pg_restore command (Philip)
New pg_dump tar output option (Philip)
New pg_dump of large objects  (Philip)
New ESCAPE option to LIKE (Thomas)
New case-insensitive LIKE - ILIKE (Thomas)
Allow functional indexes to use binary-compatible type (Tom)
Allow SQL functions to be used in more contexts (Tom)
New pg_config utility (Peter E)
New PL/pgSQL EXECUTE command which allows dynamic SQL and utility statements
    (Jan)
New PL/pgSQL GET DIAGNOSTICS statement for SPI value access (Jan)
New quote_identifiers() and quote_literal() functions (Jan)
New ALTER TABLE table OWNER TO user command (Mark Hollomon)
Allow subselects in FROM, i.e. FROM (SELECT ...) [AS] alias (Tom)
Update PyGreSQL to version 3.1 (D'Arcy)
Store tables as files named by OID (Vadim)
New SQL function setval(seq,val,bool) for use in pg_dump (Philip)
Require DROP VIEW to remove views, no DROP TABLE (Mark)
Allow DROP VIEW view1, view2 (Mark)
Allow multiple objects in DROP INDEX, DROP RULE, and DROP TYPE (Tom)
Allow automatic conversion to/from Unicode (Tatsuo, Eiji)
New /contrib/pgcrypto hashing functions (Marko Kreen)
New pg_dumpall --globals-only option (Peter E)
New CHECKPOINT command for WAL which creates new WAL log file (Vadim)
New AT TIME ZONE syntax (Thomas)
Allow location of Unix domain socket to be configurable (David J. MacKenzie)
Allow postmaster to listen on a specific IP address (David J. MacKenzie)
Allow socket path name to be specified in hostname by using leading slash
    (David J. MacKenzie)
Allow CREATE DATABASE to specify template database (Tom)
New utility to convert MySQL schema dumps to SQL92 and PostgreSQL (Thomas)
New /contrib/rserv replication toolkit (Vadim)
New file format for COPY BINARY (Tom)
New /contrib/oid2name to map numeric files to table names (B Palmer)
New "idle in transaction" ps status message (Marc)
Update to pgaccess 0.98.7 (Constantin Teodorescu)
pg_ctl now defaults to -w (wait) on shutdown, new -l (log) option
Add rudimentary dependency checking to pg_dump (Philip)

Types
-----
Fix INET/CIDR type ordering and add new functions (Tom)
Make OID behave as an unsigned type (Tom)
Allow BIGINT as synonym for INT8 (Peter E)
New int2 and int8 comparison operators (Tom)
New BIT and BIT VARYING types (Adriaan Joubert, Tom, Peter E)
CHAR() no longer faster than VARCHAR() because of TOAST (Tom)
New GIST seg/cube examples (Gene Selkov)
Improved round(numeric) handling (Tom)
Fix CIDR output formatting (Tom)
New CIDR abbrev() function (Tom)

Performance
-----------
Write-Ahead Log (WAL) to provide crash recovery with less performance
    overhead (Vadim)
ANALYZE stage of VACUUM no longer exclusively locks table (Bruce)
Reduced file seeks (Denis Perchine)
Improve BTREE code for duplicate keys (Tom)
Store all large objects in a single table (Denis Perchine, Tom)
Improve memory allocation performance (Karel, Tom)

Source Code
-----------
New function manager call conventions (Tom)
SGI portability fixes (David Kaelbling)
New configure --enable-syslog option (Peter E)
New BSDI README (Bruce)
configure script moved to top level, not /src (Peter E)
Makefile/configuration/compilation overhaul (Peter E)
New configure --with-python option (Peter E)
Solaris cleanups (Peter E)
Overhaul /contrib Makefiles (Karel)
New OpenSSL configuration option (Magnus, Peter E)
AIX fixes (Andreas)
QNX fixes (Maurizio)
New heap_open(), heap_openr() API (Tom)
Remove colon and semi-colon operators (Thomas)
New pg_class.relkind value for views (Mark Hollomon)
Rename ichar() to chr() (Karel)
New documentation for btrim(), ascii(), chr(), repeat() (Karel)
Fixes for NT/Cygwin (Pete Forman)
AIX port fixes (Andreas)
New BeOS port (David Reid, Cyril Velter)
Add proofreader's changes to docs (Addison-Wesley, Bruce)
New Alpha spinlock code (Adriaan Joubert, Compaq)
UnixWare port overhaul (Peter E)
New Darwin/MacOS X port (Peter Bierman, Bruce Hartzler)
New FreeBSD Alpha port (Alfred)
Overhaul shared memory segments (Tom)
Add IBM S/390 support (Neale Ferguson)
Moved macmanuf to /contrib (Larry Rosenman)
Syslog improvements (Larry Rosenman)
New template0 database that contains no user additions (Tom)
New /contrib/cube and /contrib/seg GIST sample code (Gene Selkov)
Allow NetBSD's libedit instead of readline (Peter)
Improved assembly language source code format (Bruce)
New contrib/pg_logger
New --template option to createdb
New contrib/pg_control utility (Oliver)
New FreeBSD tools ipc_check, start-scripts/freebsd
d1360 1
a1360 1
     _________________________________________________________________
d1362 1
a1362 1
                               Release 7.0.3
d1367 2
a1368 1
     _________________________________________________________________
d1373 2
a1374 1
     _________________________________________________________________
d1378 40
a1417 39
Jdbc fixes (Peter)
Large object fix (Tom)
Fix lean in COPY WITH OIDS leak (Tom)
Fix backwards-index-scan (Tom)
Fix SELECT ... FOR UPDATE so it checks for duplicate keys (Hiroshi)
Add --enable-syslog to configure (Marc)
Fix abort transaction at backend exit in rare cases (Tom)
Fix for psql \l+ when multibyte enabled (Tatsuo)
Allow PL/pgSQL to accept non ascii identifiers (Tatsuo)
Make vacuum always flush buffers (Tom)
Fix to allow cancel while waiting for a lock (Hiroshi)
Fix for memory aloocation problem in user authentication code (Tom)
Remove bogus use of int4out() (Tom)
Fixes for multiple subqueries in COALESCE or BETWEEN (Tom)
Fix for failure of triggers on heap open in certain cases (Jeroen van
    Vianen)
Fix for erroneous selectivity of not-equals (Tom)
Fix for erroneous use of strcmp() (Tom)
Fix for bug where storage manager accesses items beyond end of file
    (Tom)
Fix to include kernel errno message in all smgr elog messages (Tom)
Fix for '.' not in PATH at build time (SL Baur)
Fix for out-of-file-descriptors error (Tom)
Fix to make pg_dump dump 'iscachable' flag for functions (Tom)
Fix for subselect in targetlist of Append node (Tom)
Fix for mergejoin plans (Tom)
Fix TRUNCATE failure on relations with indexes (Tom)
Avoid database-wide restart on write error (Hiroshi)
Fix nodeMaterial to honor chgParam by recomputing its output (Tom)
Fix VACUUM problem with moving chain of update tuples when source and
    destination of a tuple lie on the same page (Tom)
Fix user.c CommandCounterIncrement (Tom)
Fix for AM/PM boundary problem in to_char() (Karel Zak)
Fix TIME aggregate handling (Tom)
Fix to_char() to avoid coredump on NULL input (Tom)
Buffer fix (Tom)
Fix for inserting/copying longer multibyte strings into char() data
    types (Tatsuo)
Fix for crash of backend, on abort (Tom)
d1419 1
a1419 1
     _________________________________________________________________
d1421 1
a1421 1
                               Release 7.0.2
d1426 2
a1427 1
     _________________________________________________________________
d1432 2
a1433 1
     _________________________________________________________________
d1437 2
a1438 1
Added documentation to tarball.
d1440 1
a1440 1
     _________________________________________________________________
d1442 1
a1442 1
                               Release 7.0.1
d1447 2
a1448 1
     _________________________________________________________________
d1453 2
a1454 1
     _________________________________________________________________
d1458 25
a1482 24
Fix many CLUSTER failures (Tom)
Allow ALTER TABLE RENAME works on indexes (Tom)
Fix plpgsql to handle datetime->timestamp and timespan->interval (Bruce)
New configure --with-setproctitle switch to use setproctitle() (Marc, Bruce)
Fix the off by one errors in ResultSet from 6.5.3, and more.
jdbc ResultSet fixes (Joseph Shraibman)
optimizer tunings (Tom)
Fix create user for pgaccess
Fix for UNLISTEN failure
IRIX fixes (David Kaelbling)
QNX fixes (Andreas Kardos)
Reduce COPY IN lock level (Tom)
Change libpqeasy to use PQconnectdb() style parameters (Bruce)
Fix pg_dump to handle OID indexes (Tom)
Fix small memory leak (Tom)
Solaris fix for createdb/dropdb (Tatsuo)
Fix for non-blocking connections (Alfred Perlstein)
Fix improper recovery after RENAME TABLE failures (Tom)
Copy pg_ident.conf.sample into /lib directory in install (Bruce)
Add SJIS UDC (NEC selection IBM kanji) support (Eiji Tokuya)
Fix too long syslog message (Tatsuo)
Fix problem with quoted indexes that are too long (Tom)
JDBC ResultSet.getTimestamp() fix (Gregory Krasnow & Floyd Marinescu)
ecpg changes (Michael)
d1484 1
a1484 1
     _________________________________________________________________
d1486 1
a1486 1
                                Release 7.0
d1491 4
a1494 4
   continued growth of PostgreSQL. There are more improvements and fixes
   in 7.0 than in any previous release. The developers have confidence
   that this is the best release yet; we do our best to put out only
   solid releases, and this one is no exception.
d1499 4
a1502 3
          Foreign keys are now implemented, with the exception of PARTIAL
          MATCH foreign keys. Many users have been asking for this
          feature, and we are pleased to offer it.
d1505 4
a1508 3
          Continuing on work started a year ago, the optimizer has been
          improved, allowing better query plan selection and faster
          performance with less memory usage.
d1511 3
a1513 2
          psql, our interactive terminal monitor, has been updated with a
          variety of new features. See the psql manual page for details.
d1516 6
a1521 4
          SQL92 join syntax is now supported, though only as INNER JOIN
          for this release. JOIN, NATURAL JOIN, JOIN/USING, and JOIN/ON
          are available, as are column correlation names.
     _________________________________________________________________
d1525 4
a1528 5
   A dump/restore using pg_dump is required for those wishing to migrate
   data from any previous release of PostgreSQL. For those upgrading from
   6.5.*, you may instead use pg_upgrade to upgrade to this release;
   however, a full dump/reload installation is always the most robust
   method for upgrades.
d1533 7
a1539 6
     * The date/time types datetime and timespan have been superseded by
       the SQL92-defined types timestamp and interval. Although there has
       been some effort to ease the transition by allowing PostgreSQL to
       recognize the deprecated type names and translate them to the new
       type names, this mechanism may not be completely transparent to
       your existing application.
d1541 7
a1547 6
       cost estimation. In some cases, this will result in decreased
       query times as the optimizer makes a better choice for the
       preferred plan. However, in a small number of cases, usually
       involving pathological distributions of data, your query times may
       go up. If you are dealing with large amounts of data, you may want
       to check your queries to verify performance.
d1549 1
d1551 326
a1876 250
       versions translated this into a call to LENGTH, which could result
       in ambiguity with other types implementing LENGTH such as the
       geometric types.
     _________________________________________________________________

Changes

Bug Fixes
---------
Prevent function calls exceeding maximum number of arguments (Tom)
Improve CASE construct (Tom)
Fix SELECT coalesce(f1,0) FROM int4_tbl GROUP BY f1 (Tom)
Fix SELECT sentence.words[0] FROM sentence GROUP BY sentence.words[0] (Tom)
Fix GROUP BY scan bug (Tom)
Improvements in SQL grammar processing (Tom)
Fix for views involved in INSERT ... SELECT ... (Tom)
Fix for SELECT a/2, a/2 FROM test_missing_target GROUP BY a/2 (Tom)
Fix for subselects in INSERT ... SELECT (Tom)
Prevent INSERT ... SELECT ... ORDER BY (Tom)
Fixes for relations greater than 2GB, including vacuum
Improve propagating system table changes to other backends (Tom)
Improve propagating user table changes to other backends (Tom)
Fix handling of temp tables in complex situations (Bruce, Tom)
Allow table locking at table open, improving concurrent reliability (Tom)
Properly quote sequence names in pg_dump (Ross J. Reedstrom)
Prevent DROP DATABASE while others accessing
Prevent any rows from being returned by GROUP BY if no rows processed (Tom)
Fix SELECT COUNT(1) FROM table WHERE ...' if no rows matching WHERE (Tom)
Fix pg_upgrade so it works for MVCC (Tom)
Fix for SELECT ... WHERE x IN (SELECT ... HAVING SUM(x) > 1) (Tom)
Fix for "f1 datetime DEFAULT 'now'"  (Tom)
Fix problems with CURRENT_DATE used in DEFAULT (Tom)
Allow comment-only lines, and ;;; lines too. (Tom)
Improve recovery after failed disk writes, disk full (Hiroshi)
Fix cases where table is mentioned in FROM but not joined (Tom)
Allow HAVING clause without aggregate functions (Tom)
Fix for "--" comment and no trailing newline, as seen in perl interface
Improve pg_dump failure error reports (Bruce)
Allow sorts and hashes to exceed 2GB file sizes (Tom)
Fix for pg_dump dumping of inherited rules (Tom)
Fix for NULL handling comparisons (Tom)
Fix inconsistent state caused by failed CREATE/DROP commands (Hiroshi)
Fix for dbname with dash
Prevent DROP INDEX from interfering with other backends (Tom)
Fix file descriptor leak in verify_password()
Fix for "Unable to identify an operator =$" problem
Fix ODBC so no segfault if CommLog and Debug enabled (Dirk Niggemann)
Fix for recursive exit call (Massimo)
Fix for extra-long timezones (Jeroen van Vianen)
Make pg_dump preserve primary key information (Peter E)
Prevent databases with single quotes (Peter E)
Prevent DROP DATABASE inside  transaction (Peter E)
ecpg memory leak fixes (Stephen Birch)
Fix for SELECT null::text, SELECT int4fac(null) and SELECT 2 + (null) (Tom)
Y2K timestamp fix (Massimo)
Fix for VACUUM 'HEAP_MOVED_IN was not expected' errors (Tom)
Fix for views with tables/columns containing spaces  (Tom)
Prevent permissions on indexes (Peter E)
Fix for spinlock stuck problem when error is generated (Hiroshi)
Fix ipcclean on Linux
Fix handling of NULL constraint conditions (Tom)
Fix memory leak in odbc driver (Nick Gorham)
Fix for permission check on UNION tables (Tom)
Fix to allow SELECT 'a' LIKE 'a' (Tom)
Fix for SELECT 1 + NULL (Tom)
Fixes to CHAR
Fix log() on numeric type (Tom)
Deprecate ':' and ';' operators
Allow vacuum of temporary tables
Disallow inherited columns with the same name as new columns
Recover or force failure when disk space is exhausted (Hiroshi)
Fix INSERT INTO ... SELECT with AS columns matching result columns
Fix INSERT ... SELECT ... GROUP BY groups by target columns not source columns
(Tom)
Fix CREATE TABLE test (a char(5) DEFAULT text '', b int4) with INSERT (Tom)
Fix UNION with LIMIT
Fix CREATE TABLE x AS SELECT 1 UNION SELECT 2
Fix CREATE TABLE test(col char(2) DEFAULT user)
Fix mismatched types in CREATE TABLE ... DEFAULT
Fix SELECT * FROM pg_class where oid in (0,-1)
Fix SELECT COUNT('asdf') FROM pg_class WHERE oid=12
Prevent user who can create databases can modifying pg_database table (Peter E)
Fix btree to give a useful elog when key > 1/2 (page - overhead) (Tom)
Fix INSERT of 0.0 into DECIMAL(4,4) field (Tom)

Enhancements
------------
New CLI interface include file sqlcli.h, based on SQL3/SQL98
Remove all limits on query length, row length limit still exists (Tom)
Update jdbc protocol to 2.0 (Jens Glaser <jens@@jens.de>)
Add TRUNCATE command to quickly truncate relation (Mike Mascari)
Fix to give super user and createdb user proper update catalog rights (Peter E)
Allow ecpg bool variables to have NULL values (Christof)
Issue ecpg error if NULL value for variable with no NULL indicator (Christof)
Allow ^C to cancel COPY command (Massimo)
Add SET FSYNC and SHOW PG_OPTIONS commands(Massimo)
Function name overloading for dynamically-loaded C functions (Frankpitt)
Add CmdTuples() to libpq++(Vince)
New CREATE CONSTRAINT TRIGGER and SET CONSTRAINTS commands(Jan)
Allow CREATE FUNCTION/WITH clause to be used for all language types
configure --enable-debug adds -g (Peter E)
configure --disable-debug removes -g (Peter E)
Allow more complex default expressions (Tom)
First real FOREIGN KEY constraint trigger functionality (Jan)
Add FOREIGN KEY ... MATCH FULL ... ON DELETE CASCADE (Jan)
Add FOREIGN KEY ... MATCH <unspecified> referential actions (Don Baccus)
Allow WHERE restriction on ctid (physical heap location) (Hiroshi)
Move pginterface from contrib to interface directory, rename to pgeasy (Bruce)
Change pgeasy connectdb() parameter ordering (Bruce)
Require SELECT DISTINCT target list to have all ORDER BY columns (Tom)
Add Oracle's COMMENT ON command (Mike Mascari <mascarim@@yahoo.com>)
libpq's PQsetNoticeProcessor function now returns previous hook(Peter E)
Prevent PQsetNoticeProcessor from being set to NULL (Peter E)
Make USING in COPY optional (Bruce)
Allow subselects in the target list (Tom)
Allow subselects on the left side of comparison operators (Tom)
New parallel regression test (Jan)
Change backend-side COPY to write files with permissions 644 not 666 (Tom)
Force permissions on PGDATA directory to be secure, even if it exists (Tom)
Added psql LASTOID variable to return last inserted oid (Peter E)
Allow concurrent vacuum and remove pg_vlock vacuum lock file (Tom)
Add permissions check for vacuum (Peter E)
New libpq functions to allow asynchronous connections: PQconnectStart(),
   PQconnectPoll(), PQresetStart(), PQresetPoll(), PQsetenvStart(),
   PQsetenvPoll(), PQsetenvAbort (Ewan Mellor)
New libpq PQsetenv() function (Ewan Mellor)
create/alter user extension (Peter E)
New postmaster.pid and postmaster.opts under $PGDATA (Tatsuo)
New scripts for create/drop user/db (Peter E)
Major psql overhaul (Peter E)
Add const to libpq interface (Peter E)
New libpq function PQoidValue (Peter E)
Show specific non-aggregate causing problem with GROUP BY (Tom)
Make changes to pg_shadow recreate pg_pwd file (Peter E)
Add aggregate(DISTINCT ...) (Tom)
Allow flag to control COPY input/output of NULLs (Peter E)
Make postgres user have a password by default (Peter E)
Add CREATE/ALTER/DROP GROUP (Peter E)
All administration scripts now support --long options (Peter E, Karel)
Vacuumdb script now supports --all option (Peter E)
ecpg new portable FETCH syntax
Add ecpg EXEC SQL IFDEF, EXEC SQL IFNDEF, EXEC SQL ELSE, EXEC SQL ELIF
        and EXEC SQL ENDIF directives
Add pg_ctl script to control backend start-up (Tatsuo)
Add postmaster.opts.default file to store start-up flags (Tatsuo)
Allow --with-mb=SQL_ASCII
Increase maximum number of index keys to 16 (Bruce)
Increase maximum number of function arguments to 16 (Bruce)
Allow configuration of maximum number of index keys and arguments (Bruce)
Allow unprivileged users to change their passwords (Peter E)
Password authentication enabled; required for new users (Peter E)
Disallow dropping a user who owns a database (Peter E)
Change initdb option --with-mb to --enable-multibyte
Add option for initdb to prompts for superuser password (Peter E)
Allow complex type casts like col::numeric(9,2) and col::int2::float8 (Tom)
Updated user interfaces on initdb, initlocation, pg_dump, ipcclean (Peter E)
New pg_char_to_encoding() and pg_encoding_to_char() functions (Tatsuo)
Libpq non-blocking mode (Alfred Perlstein)
Improve conversion of types in casts that don't specify a length
New plperl internal programming language (Mark Hollomon)
Allow COPY IN to read file that do not end with a newline (Tom)
Indicate when long identifiers are truncated (Tom)
Allow aggregates to use type equivalency (Peter E)
Add Oracle's to_char(), to_date(), to_datetime(), to_timestamp(), to_number()
        conversion functions (Karel Zak <zakkr@@zf.jcu.cz>)
Add SELECT DISTINCT ON (expr [, expr ...]) targetlist ... (Tom)
Check to be sure ORDER BY is compatible with the DISTINCT operation (Tom)
Add NUMERIC and int8 types to ODBC
Improve EXPLAIN results for Append, Group, Agg, Unique (Tom)
Add ALTER TABLE ... ADD FOREIGN KEY (Stephan Szabo)
Allow SELECT .. FOR UPDATE in PL/pgSQL (Hiroshi)
Enable backward sequential scan even after reaching EOF (Hiroshi)
Add btree indexing of boolean values, >= and <= (Don Baccus)
Print current line number when COPY FROM fails (Massimo)
Recognize POSIX time zone e.g. "PST+8" and "GMT-8" (Thomas)
Add DEC as synonym for DECIMAL (Thomas)
Add SESSION_USER as SQL92 keyword, same as CURRENT_USER (Thomas)
Implement SQL92 column aliases (aka correlation names) (Thomas)
Implement SQL92 join syntax (Thomas)
Make INTERVAL reserved word allowed as a column identifier (Thomas)
Implement REINDEX command (Hiroshi)
Accept ALL in aggregate function SUM(ALL col) (Tom)
Prevent GROUP BY from using column aliases (Tom)
New psql \encoding option (Tatsuo)
Allow PQrequestCancel() to terminate when in waiting-for-lock state (Hiroshi)
Allow negation of a negative number in all cases
Add ecpg descriptors (Christof, Michael)
Allow CREATE VIEW v AS SELECT f1::char(8) FROM tbl
Allow casts with length, like foo::char(8)
New libpq functions PQsetClientEncoding(), PQclientEncoding() (Tatsuo)
Add support for SJIS user defined characters (Tatsuo)
Larger views/rules supported
Make libpq's PQconndefaults() thread-safe (Tom)
Disable // as comment to be ANSI conforming, should use -- (Tom)
Allow column aliases on views CREATE VIEW name (collist)
Fixes for views with subqueries (Tom)
Allow UPDATE table SET fld = (SELECT ...) (Tom)
SET command options no longer require quotes
Update pgaccess to 0.98.6
New SET SEED command
New pg_options.sample file
New SET FSYNC command (Massimo)
Allow pg_descriptions when creating tables
Allow pg_descriptions when creating types, columns, and functions
Allow psql \copy to allow delimiters (Peter E)
Allow psql to print nulls as distinct from "" [null] (Peter E)

Types
-----
Many array fixes (Tom)
Allow bare column names to be subscripted as arrays (Tom)
Improve type casting of int and float constants (Tom)
Cleanups for int8 inputs, range checking, and type conversion (Tom)
Fix for SELECT timespan('21:11:26'::time) (Tom)
netmask('x.x.x.x/0') is 255.255.255.255 instead of 0.0.0.0 (Oleg Sharoiko)
Add btree index on NUMERIC (Jan)
Perl fix for large objects containing NUL characters (Douglas Thomson)
ODBC fix for for large objects (free)
Fix indexing of cidr data type
Fix for Ethernet MAC addresses (macaddr type) comparisons
Fix for date/time types when overflows happened in computations (Tom)
Allow array on int8 (Peter E)
Fix for rounding/overflow of NUMERIC type, like NUMERIC(4,4) (Tom)
Allow NUMERIC arrays
Fix bugs in NUMERIC ceil() and floor() functions (Tom)
Make char_length()/octet_length including trailing blanks (Tom)
Made abstime/reltime use int4 instead of time_t (Peter E)
New lztext data type for compressed text fields
Revise code to handle coercion of int and float constants (Tom)
Start at new code to implement a BIT and BIT VARYING type (Adriaan Joubert)
NUMERIC now accepts scientific notation (Tom)
NUMERIC to int4 rounds (Tom)
Convert float4/8 to NUMERIC properly (Tom)
Allow type conversion with NUMERIC (Thomas)
Make ISO date style (2000-02-16 09:33) the default (Thomas)
Add NATIONAL CHAR [ VARYING ] (Thomas)
Allow NUMERIC round and trunc to accept negative scales (Tom)
New TIME WITH TIME ZONE type (Thomas)
Add MAX()/MIN() on time type (Thomas)
Add abs(), mod(), fac() for int8 (Thomas)
Rename functions to round(), sqrt(), cbrt(), pow() for float8 (Thomas)
Add transcendental math functions (e.g. sin(), acos()) for float8 (Thomas)
Add exp() and ln() for NUMERIC type
Rename NUMERIC power() to pow() (Thomas)
Improved TRANSLATE() function (Edwin Ramirez, Tom)
Allow X=-Y operators  (Tom)
Allow SELECT float8(COUNT(*))/(SELECT COUNT(*) FROM t) FROM t GROUP BY f1; (Tom
)
Allow LOCALE to use indexes in regular expression searches (Tom)
Allow creation of functional indexes to use default types
d1878 1
a1878 78
Performance
-----------
Prevent exponential space consumption with many AND's and OR's (Tom)
Collect attribute selectivity values for system columns (Tom)
Reduce memory usage of aggregates (Tom)
Fix for LIKE optimization to use indexes with multibyte encodings (Tom)
Fix r-tree index optimizer selectivity (Thomas)
Improve optimizer selectivity computations and functions (Tom)
Optimize btree searching for cases where many equal keys exist (Tom)
Enable fast LIKE index processing only if index present (Tom)
Re-use free space on index pages with duplicates (Tom)
Improve hash join processing (Tom)
Prevent descending sort if result is already sorted(Hiroshi)
Allow commuting of index scan query qualifications (Tom)
Prefer index scans in cases where ORDER BY/GROUP BY is required (Tom)
Allocate large memory requests in fix-sized chunks for performance (Tom)
Fix vacuum's performance by reducing memory allocation requests (Tom)
Implement constant-expression simplification (Bernard Frankpitt, Tom)
Use secondary columns to be used to determine start of index scan (Hiroshi)
Prevent quadruple use of disk space when doing internal sorting (Tom)
Faster sorting by calling fewer functions (Tom)
Create system indexes to match all system caches (Bruce, Hiroshi)
Make system caches use system indexes (Bruce)
Make all system indexes unique (Bruce)
Improve pg_statistics management for VACUUM speed improvement (Tom)
Flush backend cache less frequently (Tom, Hiroshi)
COPY now reuses previous memory allocation, improving performance (Tom)
Improve optimization cost estimation (Tom)
Improve optimizer estimate of range queries x > lowbound AND x < highbound (Tom
)
Use DNF instead of CNF where appropriate (Tom, Taral)
Further cleanup for OR-of-AND WHERE-clauses (Tom)
Make use of index in OR clauses (x = 1 AND y = 2) OR (x = 2 AND y = 4) (Tom)
Smarter optimizer computations for random index page access (Tom)
New SET variable to control optimizer costs (Tom)
Optimizer queries based on LIMIT, OFFSET, and EXISTS qualifications (Tom)
Reduce optimizer internal housekeeping of join paths for speedup (Tom)
Major subquery speedup (Tom)
Fewer fsync writes when fsync is not disabled (Tom)
Improved LIKE optimizer estimates (Tom)
Prevent fsync in SELECT-only queries (Vadim)
Make index creation use psort code, because it is now faster (Tom)
Allow creation of sort temp tables > 1 Gig

Source Tree Changes
-------------------
Fix for linux PPC compile
New generic expression-tree-walker subroutine (Tom)
Change form() to varargform() to prevent portability problems
Improved range checking for large integers on Alphas
Clean up #include in /include directory (Bruce)
Add scripts for checking includes (Bruce)
Remove un-needed #include's from *.c files (Bruce)
Change #include's to use <> and "" as appropriate (Bruce)
Enable WIN32 compilation of libpq
Alpha spinlock fix from Uncle George <gatgul@@voicenet.com>
Overhaul of optimizer data structures (Tom)
Fix to cygipc library (Yutaka Tanida)
Allow pgsql to work on newer Cygwin snapshots (Dan)
New catalog version number (Tom)
Add Linux ARM
Rename heap_replace to heap_update
Update for QNX (Dr. Andreas Kardos)
New platform-specific regression handling (Tom)
Rename oid8 -> oidvector and int28 -> int2vector (Bruce)
Included all yacc and lex files into the distribution (Peter E.)
Remove lextest, no longer needed (Peter E)
Fix for libpq and psql on Win32 (Magnus)
Internally change datetime and timespan into timestamp and interval (Thomas)
Fix for plpgsql on BSD/OS
Add SQL_ASCII test case to the regression test (Tatsuo)
configure --with-mb now deprecated (Tatsuo)
NT fixes
NetBSD fixes (Johnny C. Lam <lamj@@stat.cmu.edu>)
Fixes for Alpha compiles
New multibyte encodings

     _________________________________________________________________
d1880 1
a1880 1
                               Release 6.5.3
d1886 2
a1887 1
     _________________________________________________________________
d1892 2
a1893 1
     _________________________________________________________________
d1897 4
a1900 3
Updated version of pgaccess 0.98
NT-specific patch
Fix dumping rules on inherited tables
d1902 1
a1902 1
     _________________________________________________________________
d1904 1
a1904 1
                               Release 6.5.2
d1908 4
a1911 3
   This is basically a cleanup release for 6.5.1. We have fixed a variety
   of problems reported by 6.5.1 users.
     _________________________________________________________________
d1916 2
a1917 1
     _________________________________________________________________
d1921 25
a1945 26
subselect+CASE fixes(Tom)
Add SHLIB_LINK setting for solaris_i386 and solaris_sparc ports(Daren Sefcik)
Fixes for CASE in WHERE join clauses(Tom)
Fix BTScan abort(Tom)
Repair the check for redundant UNIQUE and PRIMARY KEY indexes(Thomas)
Improve it so that it checks for multicolumn constraints(Thomas)
Fix for Win32 making problem with MB enabled(Hiroki Kataoka)
Allow BSD yacc and bison to compile pl code(Bruce)
Fix SET NAMES working
int8 fixes(Thomas)
Fix vacuum's memory consumption(Hiroshi,Tatsuo)
Reduce the total memory consumption of vacuum(Tom)
Fix for timestamp(datetime)
Rule deparsing bugfixes(Tom)
Fix quoting problems in mkMakefile.tcldefs.sh.in and mkMakefile.tkdefs.sh.in(To
m)
This is to re-use space on index pages freed by vacuum(Vadim)
document -x for pg_dump(Bruce)
Fix for unary operators in rule deparser(Tom)
Comment out FileUnlink of excess segments during mdtruncate()(Tom)
IRIX linking fix from Yu Cao >yucao@@falcon.kla-tencor.com<
Repair logic error in LIKE: should not return LIKE_ABORT
   when reach end of pattern before end of text(Tom)
Repair incorrect cleanup of heap memory allocation during transaction abort(Tom
)
Updated version of pgaccess 0.98
d1947 1
a1947 1
     _________________________________________________________________
d1949 1
a1949 1
                               Release 6.5.1
d1953 4
a1956 3
   This is basically a cleanup release for 6.5. We have fixed a variety
   of problems reported by 6.5 users.
     _________________________________________________________________
d1961 2
a1962 1
     _________________________________________________________________
d1966 24
a1989 23
Add NT README file
Portability fixes for linux_ppc, IRIX, linux_alpha, OpenBSD, alpha
Remove QUERY_LIMIT, use SELECT...LIMIT
Fix for EXPLAIN on inheritance(Tom)
Patch to allow vacuum on multisegment tables(Hiroshi)
R-Tree optimizer selectivity fix(Tom)
ACL file descriptor leak fix(Atsushi Ogawa)
New expresssion subtree code(Tom)
Avoid disk writes for read-only transactions(Vadim)
Fix for removal of temp tables if last transaction was aborted(Bruce)
Fix to prevent too large tuple from being created(Bruce)
plpgsql fixes
Allow port numbers 32k - 64k(Bruce)
Add ^ precidence(Bruce)
Rename sort files called pg_temp to pg_sorttemp(Bruce)
Fix for microseconds in time values(Tom)
Tutorial source cleanup
New linux_m68k port
Fix for sorting of NULL's in some cases(Tom)
Shared library dependencies fixed (Tom)
Fixed glitches affecting GROUP BY in subselects(Tom)
Fix some compiler warnings (Tomoaki Nishiyama)
Add Win1250 (Czech) support (Pavel Behal)
d1991 1
a1991 1
     _________________________________________________________________
d1993 1
a1993 1
                                Release 6.5
d1997 4
a2000 4
   This release marks a major step in the development team's mastery of
   the source code we inherited from Berkeley. You will see we are now
   easily adding major features, thanks to the increasing size and
   experience of our world-wide development team.
d2004 13
a2016 13
   Multiversion concurrency control(MVCC)
          This removes our old table-level locking, and replaces it with
          a locking system that is superior to most commercial database
          systems. In a traditional system, each row that is modified is
          locked until committed, preventing reads by other users. MVCC
          uses the natural multiversion nature of PostgreSQL to allow
          readers to continue reading consistent data during writer
          activity. Writers continue to use the compact pg_log
          transaction system. This is all performed without having to
          allocate a lock for every row like traditional database
          systems. So, basically, we no longer are restricted by simple
          table-level locking; we have something better than row-level
          locking.
d2019 4
a2022 3
          pg_dump takes advantage of the new MVCC features to give a
          consistent database dump/backup while the database stays online
          and available for queries.
d2025 3
a2027 2
          We now have a true numeric data type, with user-specified
          precision.
d2030 3
a2032 2
          Temporary tables are guaranteed to have unique names within a
          database session, and are destroyed on session exit.
d2035 4
a2038 3
          We now have CASE, INTERSECT, and EXCEPT statement support. We
          have new LIMIT/OFFSET, SET TRANSACTION ISOLATION LEVEL, SELECT
          ... FOR UPDATE, and an improved LOCK TABLE command.
d2041 4
a2044 3
          We continue to speed up PostgreSQL, thanks to the variety of
          talents within our team. We have sped up memory allocation,
          optimization, table joins, and row transfer routines.
d2047 3
a2049 2
          We continue to expand our port list, this time including
          Windows NT/ix86 and NetBSD/arm32.
d2052 3
a2054 2
          Most interfaces have new versions, and existing functionality
          has been improved.
d2057 13
a2069 12
          New and updated material is present throughout the
          documentation. New FAQs have been contributed for SGI and AIX
          platforms. The Tutorial has introductory information on SQL
          from Stefan Simkovics. For the User's Guide, there are
          reference pages covering the postmaster and more utility
          programs, and a new appendix contains details on date/time
          behavior. The Administrator's Guide has a new chapter on
          troubleshooting from Tom Lane. And the Programmer's Guide has a
          description of query processing, also from Stefan, and details
          on obtaining the PostgreSQL source tree via anonymous CVS and
          CVSup.
     _________________________________________________________________
d2073 9
a2081 10
   A dump/restore using pg_dump is required for those wishing to migrate
   data from any previous release of PostgreSQL. pg_upgrade can *not* be
   used to upgrade to this release because the on-disk structure of the
   tables has changed compared to previous releases.

   The new Multiversion Concurrency Control (MVCC) features can give
   somewhat different behaviors in multiuser environments. *Read and
   understand the following section to ensure that your existing
   applications will give you the behavior you need.*
     _________________________________________________________________
d2083 3
a2085 1
Multiversion Concurrency Control
d2089 15
a2103 16
   another. In other words, if a row is returned by "SELECT" it doesn't
   mean that this row really exists at the time it is returned (i.e.
   sometime after the statement or transaction began) nor that the row is
   protected from being deleted or updated by concurrent transactions
   before the current transaction does a commit or rollback.

   To ensure the actual existence of a row and protect it against
   concurrent updates one must use "SELECT FOR UPDATE" or an appropriate
   "LOCK TABLE" statement. This should be taken into account when porting
   applications from previous releases of PostgreSQL and other
   environments.

   Keep the above in mind if you are using "contrib/refint.*" triggers
   for referential integrity. Additional techniques are required now. One
   way is to use "LOCK parent_table IN SHARE ROW EXCLUSIVE MODE" command
   if a transaction is going to update/delete a primary key and use "LOCK
d2107 3
a2109 3
     Note: Note that if you run a transaction in SERIALIZABLE mode then
     you must execute the "LOCK" commands above before execution of any
     DML statement ("SELECT/INSERT/DELETE/UPDATE/FETCH/COPY_TO") in the
d2112 2
a2113 2
   These inconveniences will disappear in the future when the ability to
   read dirty (uncommitted) data (regardless of isolation level) and true
d2115 2
a2116 1
     _________________________________________________________________
d2120 162
a2281 164
Bug Fixes
---------
Fix text<->float8 and text<->float4 conversion functions(Thomas)
Fix for creating tables with mixed-case constraints(Billy)
Change exp()/pow() behavior to generate error on underflow/overflow(Jan)
Fix bug in pg_dump -z
Memory overrun cleanups(Tatsuo)
Fix for lo_import crash(Tatsuo)
Adjust handling of data type names to suppress double quotes(Thomas)
Use type coercion for matching columns and DEFAULT(Thomas)
Fix deadlock so it only checks once after one second of sleep(Bruce)
Fixes for aggregates and PL/pgsql(Hiroshi)
Fix for subquery crash(Vadim)
Fix for libpq function PQfnumber and case-insensitive names(Bahman Rafatjoo)
Fix for large object write-in-middle, no extra block, memory consumption(Tatsuo
)
Fix for pg_dump -d or -D and  quote special characters in INSERT
Repair serious problems with dynahash(Tom)
Fix INET/CIDR portability problems
Fix problem with selectivity error in ALTER TABLE ADD COLUMN(Bruce)
Fix executor so mergejoin of different column types works(Tom)
Fix for Alpha OR selectivity bug
Fix OR index selectivity problem(Bruce)
Fix so \d shows proper length for char()/varchar()(Ryan)
Fix tutorial code(Clark)
Improve destroyuser checking(Oliver)
Fix for Kerberos(Rodney McDuff)
Fix for dropping database while dirty buffers(Bruce)
Fix so sequence nextval() can be case-sensitive(Bruce)
Fix !!= operator
Drop buffers before destroying database files(Bruce)
Fix case where executor evaluates functions twice(Tatsuo)
Allow sequence nextval actions to be case-sensitive(Bruce)
Fix optimizer indexing not working for negative numbers(Bruce)
Fix for memory leak in executor with fjIsNull
Fix for aggregate memory leaks(Erik Riedel)
Allow username containing a dash GRANT permissions
Cleanup of NULL in inet types
Clean up system table bugs(Tom)
Fix problems of PAGER and \? command(Masaaki Sakaida)
Reduce default multisegment file size limit to 1GB(Peter)
Fix for dumping of CREATE OPERATOR(Tom)
Fix for backward scanning of cursors(Hiroshi Inoue)
Fix for COPY FROM STDIN when using \i(Tom)
Fix for subselect is compared inside an expression(Jan)
Fix handling of error reporting while returning rows(Tom)
Fix problems with reference to array types(Tom,Jan)
Prevent UPDATE SET oid(Jan)
Fix pg_dump so -t option can handle case-sensitive tablenames
Fixes for GROUP BY in special cases(Tom, Jan)
Fix for memory leak in failed queries(Tom)
DEFAULT now supports mixed-case identifiers(Tom)
Fix for multisegment uses of DROP/RENAME table, indexes(Ole Gjerde)
Disable use of pg_dump with both -o and -d options(Bruce)
Allow pg_dump to properly dump GROUP permissions(Bruce)
Fix GROUP BY in INSERT INTO table SELECT * FROM table2(Jan)
Fix for computations in views(Jan)
Fix for aggregates on array indexes(Tom)
Fix for DEFAULT handles single quotes in value requiring too many quotes
Fix security problem with non-super users importing/exporting large objects(Tom
)
Rollback of transaction that creates table cleaned up properly(Tom)
Fix to allow long table and column names to generate proper serial names(Tom)

Enhancements
------------
Add "vacuumdb" utility
Speed up libpq by allocating memory better(Tom)
EXPLAIN all indexes used(Tom)
Implement CASE, COALESCE, NULLIF  expression(Thomas)
New pg_dump table output format(Constantin)
Add string min()/max() functions(Thomas)
Extend new type coercion techniques to aggregates(Thomas)
New moddatetime contrib(Terry)
Update to pgaccess 0.96(Constantin)
Add routines for single-byte "char" type(Thomas)
Improved substr() function(Thomas)
Improved multibyte handling(Tatsuo)
Multiversion concurrency control/MVCC(Vadim)
New Serialized mode(Vadim)
Fix for tables over 2gigs(Peter)
New SET TRANSACTION ISOLATION LEVEL(Vadim)
New LOCK TABLE IN ... MODE(Vadim)
Update ODBC driver(Byron)
New NUMERIC data type(Jan)
New SELECT FOR UPDATE(Vadim)
Handle "NaN" and "Infinity" for input values(Jan)
Improved date/year handling(Thomas)
Improved handling of backend connections(Magnus)
New options ELOG_TIMESTAMPS and USE_SYSLOG options for log files(Massimo)
New TCL_ARRAYS option(Massimo)
New INTERSECT and EXCEPT(Stefan)
New pg_index.indisprimary for primary key tracking(D'Arcy)
New pg_dump option to allow dropping of tables before creation(Brook)
Speedup of row output routines(Tom)
New READ COMMITTED isolation level(Vadim)
New TEMP tables/indexes(Bruce)
Prevent sorting if result is already sorted(Jan)
New memory allocation optimization(Jan)
Allow psql to do \p\g(Bruce)
Allow multiple rule actions(Jan)
Added LIMIT/OFFSET functionality(Jan)
Improve optimizer when joining a large number of tables(Bruce)
New intro to SQL from S. Simkovics' Master's Thesis (Stefan, Thomas)
New intro to backend processing from S. Simkovics' Master's Thesis (Stefan)
Improved int8 support(Ryan Bradetich, Thomas, Tom)
New routines to convert between int8 and text/varchar types(Thomas)
New bushy plans, where meta-tables are joined(Bruce)
Enable right-hand queries by default(Bruce)
Allow reliable maximum number of backends to be set at configure time
      (--with-maxbackends and postmaster switch (-N backends))(Tom)
GEQO default now 10 tables because of optimizer speedups(Tom)
Allow NULL=Var for MS-SQL portability(Michael, Bruce)
Modify contrib check_primary_key() so either "automatic" or "dependent"(Anand)
Allow psql \d on a view show query(Ryan)
Speedup for LIKE(Bruce)
Ecpg fixes/features, see src/interfaces/ecpg/ChangeLog file(Michael)
JDBC fixes/features, see src/interfaces/jdbc/CHANGELOG(Peter)
Make % operator have precedence like /(Bruce)
Add new postgres -O option to allow system table structure changes(Bruce)
Update contrib/pginterface/findoidjoins script(Tom)
Major speedup in vacuum of deleted rows with indexes(Vadim)
Allow non-SQL functions to run different versions based on arguments(Tom)
Add -E option that shows actual queries sent by \dt and friends(Masaaki Sakaida
)
Add version number in start-up banners for psql(Masaaki Sakaida)
New contrib/vacuumlo removes large objects not referenced(Peter)
New initialization for table sizes so non-vacuumed tables perform better(Tom)
Improve error messages when a connection is rejected(Tom)
Support for arrays of char() and varchar() fields(Massimo)
Overhaul of hash code to increase reliability and performance(Tom)
Update to PyGreSQL 2.4(D'Arcy)
Changed debug options so -d4 and -d5 produce different node displays(Jan)
New pg_options: pretty_plan, pretty_parse, pretty_rewritten(Jan)
Better optimization statistics for system table access(Tom)
Better handling of non-default block sizes(Massimo)
Improve GEQO optimizer memory consumption(Tom)
UNION now suppports ORDER BY of columns not in target list(Jan)
Major libpq++ improvements(Vince Vielhaber)
pg_dump now uses -z(ACL's) as default(Bruce)
backend cache, memory speedups(Tom)
have pg_dump do everything in one snapshot transaction(Vadim)
fix for large object memory leakage, fix for pg_dumping(Tom)
INET type now respects netmask for comparisons
Make VACUUM ANALYZE only use a readlock(Vadim)
Allow VIEWs on UNIONS(Jan)
pg_dump now can generate consistent snapshots on active databases(Vadim)

Source Tree Changes
-------------------
Improve port matching(Tom)
Portability fixes for SunOS
Add NT/Win32 backend port and enable dynamic loading(Magnus and Daniel Horak)
New port to Cobalt Qube(Mips) running Linux(Tatsuo)
Port to NetBSD/m68k(Mr. Mutsuki Nakajima)
Port to NetBSD/sun3(Mr. Mutsuki Nakajima)
Port to NetBSD/macppc(Toshimi Aoki)
Fix for tcl/tk configuration(Vince)
Removed CURRENT keyword for rule queries(Jan)
NT dynamic loading now works(Daniel Horak)
Add ARM32 support(Andrew McMurry)
Better support for HP-UX 11 and UnixWare
Improve file handling to be more uniform, prevent file descriptor leak(Tom)
New install commands for plpgsql(Jan)
d2283 1
a2283 1
     _________________________________________________________________
d2285 1
a2285 1
                               Release 6.4.2
d2289 4
a2292 3
   The 6.4.1 release was improperly packaged. This also has one
   additional bug fix.
     _________________________________________________________________
d2297 2
a2298 1
     _________________________________________________________________
d2302 1
a2302 2
Fix for datetime constant problem on some platforms(Thomas)
     _________________________________________________________________
d2304 3
a2306 1
                               Release 6.4.1
d2310 4
a2313 3
   This is basically a cleanup release for 6.4. We have fixed a variety
   of problems reported by 6.4 users.
     _________________________________________________________________
d2318 2
a2319 1
     _________________________________________________________________
d2323 32
a2354 31
Add pg_dump -N flag to force double quotes around identifiers.  This is
        the default(Thomas)
Fix for NOT in where clause causing crash(Bruce)
EXPLAIN VERBOSE coredump fix(Vadim)
Fix shared-library problems on Linux
Fix test for table existance to allow mixed-case and whitespace in
        the table name(Thomas)
Fix a couple of pg_dump bugs
Configure matches template/.similar entries better(Tom)
Change builtin function names from SPI_* to spi_*
OR WHERE clause fix(Vadim)
Fixes for mixed-case table names(Billy)
contrib/linux/postgres.init.csh/sh fix(Thomas)
libpq memory overrun fix
SunOS fixes(Tom)
Change exp() behavior to generate error on underflow(Thomas)
pg_dump fixes for memory leak, inheritance constraints, layout change
update pgaccess to 0.93
Fix prototype for 64-bit platforms
Multibyte fixes(Tatsuo)
New ecpg man page
Fix memory overruns(Tatsuo)
Fix for lo_import() crash(Bruce)
Better search for install program(Tom)
Timezone fixes(Tom)
HP-UX fixes(Tom)
Use implicit type coercion for matching DEFAULT values(Thomas)
Add routines to help with single-byte (internal) character type(Thomas)
Compilation of libpq for Win32 fixes(Magnus)
Upgrade to PyGreSQL 2.2(D'Arcy)
     _________________________________________________________________
d2356 1
a2356 1
                                Release 6.4
d2360 8
a2367 4
   There are *many* new features and improvements in this release. Thanks
   to our developers and maintainers, nearly every aspect of the system
   has received some attention since the previous release. Here is a
   brief, incomplete summary:
a2368 3
     * Views and rules are now functional thanks to extensive new code in
       the rewrite rules system from Jan Wieck. He also wrote a chapter
       on it for the Programmer's Guide.
d2372 13
a2384 11
     * We have optional multiple-byte character set support from Tatsuo
       Ishii to complement our existing locale support.
     * Client/server communications has been cleaned up, with better
       support for asynchronous messages and interrupts thanks to Tom
       Lane.
     * The parser will now perform automatic type coercion to match
       arguments to available operators and functions, and to match
       columns and expressions with target columns. This uses a generic
       mechanism which supports the type extensibility features of
       PostgreSQL. There is a new chapter in the User's Guide which
       covers this topic.
d2386 6
a2391 5
       support various forms of IP network, subnet, and machine
       addressing. There is now an 8-byte integer type available on some
       platforms. See the chapter on data types in the User's Guide for
       details. A fourth type, serial, is now supported by the parser as
       an amalgam of the int4 type, a sequence, and a unique index.
d2394 6
a2399 4
     * The automatic configuration and installation system has received
       some attention, and should be more robust for more platforms than
       it has ever been.
     _________________________________________________________________
d2403 2
a2404 202
   A dump/restore using pg_dump or pg_dumpall is required for those
   wishing to migrate data from any previous release of PostgreSQL.
     _________________________________________________________________

Changes

Bug Fixes
---------
Fix for a tiny memory leak in PQsetdb/PQfinish(Bryan)
Remove char2-16 data types, use char/varchar(Darren)
Pqfn not handles a NOTICE message(Anders)
Reduced busywaiting overhead for spinlocks with many backends (dg)
Stuck spinlock detection (dg)
Fix up "ISO-style" timespan decoding and encoding(Thomas)
Fix problem with table drop after rollback of transaction(Vadim)
Change error message and remove non-functional update message(Vadim)
Fix for COPY array checking
Fix for SELECT 1 UNION SELECT NULL
Fix for buffer leaks in large object calls(Pascal)
Change owner from oid to int4 type(Bruce)
Fix a bug in the oracle compatibility functions btrim() ltrim() and rtrim()
Fix for shared invalidation cache overflow(Massimo)
Prevent file descriptor leaks in failed COPY's(Bruce)
Fix memory leak in libpgtcl's pg_select(Constantin)
Fix problems with username/passwords over 8 characters(Tom)
Fix problems with handling of asynchronous NOTIFY in backend(Tom)
Fix of many bad system table entries(Tom)

Enhancements
------------
Upgrade ecpg and ecpglib,see src/interfaces/ecpc/ChangeLog(Michael)
Show the index used in an EXPLAIN(Zeugswetter)
EXPLAIN  invokes  rule system and shows plan(s) for rewritten queries(Jan)
Multibyte awareness of many data types and functions, via configure(Tatsuo)
New configure --with-mb option(Tatsuo)
New initdb --pgencoding option(Tatsuo)
New createdb -E multibyte option(Tatsuo)
Select version(); now returns PostgreSQL version(Jeroen)
Libpq now allows asynchronous clients(Tom)
Allow cancel from client of backend query(Tom)
Psql now cancels query with Control-C(Tom)
Libpq users need not issue dummy queries to get NOTIFY messages(Tom)
NOTIFY now sends sender's PID, so you can tell whether it was your own(Tom)
PGresult struct now includes associated error message, if any(Tom)
Define "tz_hour" and "tz_minute" arguments to date_part()(Thomas)
Add routines to convert between varchar and bpchar(Thomas)
Add routines to allow sizing of varchar and bpchar into target columns(Thomas)
Add bit flags to support timezonehour and minute in data retrieval(Thomas)
Allow more variations on valid floating point numbers (e.g. ".1", "1e6")(Thomas
)
Fixes for unary minus parsing with leading spaces(Thomas)
Implement TIMEZONE_HOUR, TIMEZONE_MINUTE per SQL92 specs(Thomas)
Check for and properly ignore FOREIGN KEY column constraints(Thomas)
Define USER as synonym for CURRENT_USER per SQL92 specs(Thomas)
Enable HAVING clause but no fixes elsewhere yet.
Make "char" type a synonym for "char(1)" (actually implemented as bpchar)(Thoma
s)
Save string type if specified for DEFAULT clause handling(Thomas)
Coerce operations involving different data types(Thomas)
Allow some index use for columns of different types(Thomas)
Add capabilities for automatic type conversion(Thomas)
Cleanups for large objects, so file is truncated on open(Peter)
Readline cleanups(Tom)
Allow psql  \f \ to make spaces as delimiter(Bruce)
Pass pg_attribute.atttypmod to the frontend for column field lengths(Tom,Bruce)
Msql compatibility library in /contrib(Aldrin)
Remove the requirement that ORDER/GROUP BY clause identifiers be
included in the target list(David)
Convert columns to match columns in UNION clauses(Thomas)
Remove fork()/exec() and only do fork()(Bruce)
Jdbc cleanups(Peter)
Show backend status on ps command line(only works on some platforms)(Bruce)
Pg_hba.conf now has a sameuser option in the database field
Make lo_unlink take oid param, not int4
New DISABLE_COMPLEX_MACRO for compilers that can't handle our macros(Bruce)
Libpgtcl now handles NOTIFY as a Tcl event, need not send dummy queries(Tom)
libpgtcl cleanups(Tom)
Add -error option to libpgtcl's pg_result command(Tom)
New locale patch, see docs/README/locale(Oleg)
Fix for pg_dump so CONSTRAINT and CHECK syntax is correct(ccb)
New contrib/lo code for large object orphan removal(Peter)
New psql command "SET CLIENT_ENCODING TO 'encoding'" for multibytes
feature, see /doc/README.mb(Tatsuo)
/contrib/noupdate code to revoke update permission on a column
Libpq can now be compiled on win32(Magnus)
Add PQsetdbLogin() in libpq
New 8-byte integer type, checked by configure for OS support(Thomas)
Better support for quoted table/column names(Thomas)
Surround table and column names with double-quotes in pg_dump(Thomas)
PQreset() now works with passwords(Tom)
Handle case of GROUP BY target list column number out of range(David)
Allow UNION in subselects
Add auto-size to screen to \d? commands(Bruce)
Use UNION to show all \d? results in one query(Bruce)
Add \d? field search feature(Bruce)
Pg_dump issues fewer \connect requests(Tom)
Make pg_dump -z flag work better, document it in manual page(Tom)
Add HAVING clause with full support for subselects and unions(Stephan)
Full text indexing routines in contrib/fulltextindex(Maarten)
Transaction ids now stored in shared memory(Vadim)
New PGCLIENTENCODING when issuing COPY command(Tatsuo)
Support for SQL92 syntax "SET NAMES"(Tatsuo)
Support for LATIN2-5(Tatsuo)
Add UNICODE regression test case(Tatsuo)
Lock manager cleanup, new locking modes for LLL(Vadim)
Allow index use with OR clauses(Bruce)
Allows "SELECT NULL ORDER BY 1;"
Explain VERBOSE prints the plan, and now pretty-prints the plan to
the postmaster log file(Bruce)
Add indexes display to \d command(Bruce)
Allow GROUP BY on functions(David)
New pg_class.relkind for large objects(Bruce)
New way to send libpq NOTICE messages to a different location(Tom)
New \w write command to psql(Bruce)
New /contrib/findoidjoins scans oid columns to find join relationships(Bruce)
Allow binary-compatible indexes to be considered when checking for valid
Indexes for restriction clauses containing a constant(Thomas)
New ISBN/ISSN code in /contrib/isbn_issn
Allow NOT LIKE, IN, NOT IN, BETWEEN, and NOT BETWEEN constraint(Thomas)
New rewrite system fixes many problems with rules and views(Jan)
        * Rules on relations work
        * Event qualifications on insert/update/delete work
        * New OLD variable to reference CURRENT, CURRENT will be remove in futu
re
        * Update rules can reference NEW and OLD in rule qualifications/actions
        * Insert/update/delete rules on views work
        * Multiple rule actions are now supported, surrounded by parentheses
        * Regular users can create views/rules on tables they have RULE permits
        * Rules and views inherit the permissions on the creator
        * No rules at the column level
        * No UPDATE NEW/OLD rules
        * New pg_tables, pg_indexes, pg_rules and pg_views system views
        * Only a single action on SELECT rules
        * Total rewrite overhaul, perhaps for 6.5
        * handle subselects
        * handle aggregates on views
        * handle insert into select from view works
System indexes are now multikey(Bruce)
Oidint2, oidint4, and oidname types are removed(Bruce)
Use system cache for more system table lookups(Bruce)
New backend programming language PL/pgSQL in backend/pl(Jan)
New SERIAL data type, auto-creates sequence/index(Thomas)
Enable assert checking without a recompile(Massimo)
User lock enhancements(Massimo)
New setval() command to set sequence value(Massimo)
Auto-remove unix socket file on start-up if no postmaster running(Massimo)
Conditional trace package(Massimo)
New UNLISTEN command(Massimo)
Psql and libpq now compile under win32 using win32.mak(Magnus)
Lo_read no longer stores trailing NULL(Bruce)
Identifiers are now truncated to 31 characters internally(Bruce)
Createuser options now availble on the command line
Code for 64-bit integer supported added, configure tested, int8 type(Thomas)
Prevent file descriptor leaf from failed COPY(Bruce)
New pg_upgrade command(Bruce)
Updated /contrib directories(Massimo)
New CREATE TABLE DEFAULT VALUES statement available(Thomas)
New INSERT INTO TABLE DEFAULT VALUES statement available(Thomas)
New DECLARE and FETCH feature(Thomas)
libpq's internal structures now not exported(Tom)
Allow up to 8 key indexes(Bruce)
Remove ARCHIVE keyword, that is no longer used(Thomas)
pg_dump -n flag to supress quotes around indentifiers
disable system columns for views(Jan)
new INET and CIDR types for network addresses(TomH, Paul)
no more double quotes in psql output
pg_dump now dumps views(Terry)
new SET QUERY_LIMIT(Tatsuo,Jan)

Source Tree Changes
-------------------
/contrib cleanup(Jun)
Inline some small functions called for every row(Bruce)
Alpha/linux fixes
HP-UX cleanups(Tom)
Multibyte regression tests(Soonmyung.)
Remove --disabled options from configure
Define PGDOC to use POSTGRESDIR by default
Make regression optional
Remove extra braces code to pgindent(Bruce)
Add bsdi shared library support(Bruce)
New --without-CXX support configure option(Brook)
New FAQ_CVS
Update backend flowchart in tools/backend(Bruce)
Change atttypmod from int16 to int32(Bruce, Tom)
Getrusage() fix for platforms that do not have it(Tom)
Add PQconnectdb, PGUSER, PGPASSWORD to libpq man page
NS32K platform fixes(Phil Nelson, John Buller)
SCO 7/UnixWare 2.x fixes(Billy,others)
Sparc/Solaris 2.5 fixes(Ryan)
Pgbuiltin.3 is obsolete, move to doc files(Thomas)
Even more documention(Thomas)
Nextstep support(Jacek)
Aix support(David)
pginterface manual page(Bruce)
shared libraries all have version numbers
merged all OS-specific shared library defines into one file
smarter TCL/TK configuration checking(Billy)
smarter perl configuration(Brook)
configure uses supplied install-sh if no install script found(Tom)
new Makefile.shlib for shared library configuration(Tom)
     _________________________________________________________________
d2406 200
a2605 1
                               Release 6.3.2
d2614 5
a2618 5
     * Repairs automatic configuration support for some platforms,
       including Linux, from breakage inadvertently introduced in version
       6.3.1.
     * Correctly handles function calls on the left side of BETWEEN and
       LIKE clauses.
d2621 3
a2623 3
   distclean, make, and make install is all that is required. This last
   step should be performed while the postmaster is not running. You
   should re-link any custom applications that use PostgreSQL libraries.
d2627 2
a2628 1
     _________________________________________________________________
d2632 19
a2650 18
Configure detection improvements for tcl/tk(Brook Milligan, Alvin)
Manual page improvements(Bruce)
BETWEEN and LIKE fix(Thomas)
fix for psql \connect used by pg_dump(Oliver Elphick)
New odbc driver
pgaccess, version 0.86
qsort removed, now uses libc version, cleanups(Jeroen)
fix for buffer over-runs detected(Maurice Gittens)
fix for buffer overrun in libpgtcl(Randy Kunkee)
fix for UNION with DISTINCT or ORDER BY(Bruce)
gettimeofday configure check(Doug Winterburn)
Fix "indexes not used" bug(Vadim)
docs additions(Thomas)
Fix for backend memory leak(Bruce)
libreadline cleanup(Erwan MAS)
Remove DISTDIR(Bruce)
Makefile dependency cleanup(Jeroen van Vianen)
ASSERT fixes(Bruce)
d2652 1
a2652 1
     _________________________________________________________________
d2654 1
a2654 1
                               Release 6.3.1
d2661 1
d2663 1
d2665 1
d2668 4
a2671 4
   A dump/restore is NOT required for those running 6.3. A make
   distclean, make, and make install is all that is required. This last
   step should be performed while the postmaster is not running. You
   should re-link any custom applications that use PostgreSQL libraries.
d2675 2
a2676 1
     _________________________________________________________________
d2680 28
a2707 27
ecpg cleanup/fixes, now version 1.1(Michael Meskes)
pg_user cleanup(Bruce)
large object fix for pg_dump and tclsh (alvin)
LIKE fix for multiple adjacent underscores
fix for redefining builtin functions(Thomas)
ultrix4 cleanup
upgrade to pg_access 0.83
updated CLUSTER manual page
multibyte character set support, see doc/README.mb(Tatsuo)
configure --with-pgport fix
pg_ident fix
big-endian fix for backend communications(Kataoka)
SUBSTR() and substring() fix(Jan)
several jdbc fixes(Peter)
libpgtcl improvements, see libptcl/README(Randy Kunkee)
Fix for "Datasize = 0" error(Vadim)
Prevent \do from wrapping(Bruce)
Remove duplicate Russian character set entries
Sunos4 cleanup
Allow optional TABLE keyword in LOCK and SELECT INTO(Thomas)
CREATE SEQUENCE options to allow a negative integer(Thomas)
Add "PASSWORD" as an allowed column identifier(Thomas)
Add checks for UNION target fields(Bruce)
Fix Alpha port(Dwayne Bailey)
Fix for text arrays containing quotes(Doug Gibson)
Solaris compile fix(Albert Chin-A-Young)
Better identify tcl and tk libs and includes(Bruce)
d2709 1
a2709 1
     _________________________________________________________________
d2711 1
a2711 1
                                Release 6.3
d2715 2
a2716 2
   There are *many* new features and improvements in this release. Here
   is a brief, incomplete summary:
d2720 11
a2730 8
     * Support for client-side environment variables to specify time zone
       and date style.
     * Socket interface for client/server connection. This is the default
       now so you may need to start postmaster with the "-i" flag.
     * Better password authorization mechanisms. Default table
       permissions have changed.
     * Old-style time travel has been removed. Performance has been
       improved.
d2735 3
a2737 3
   There are some general 6.3 issues that I want to mention. These are
   only the big items that can not be described in one sentence. A review
   of the detailed changes list is still needed.
d2741 6
a2746 6
   Subselects are a major feature, and you should review your code for
   places where subselects provide a better solution for your queries. I
   think you will find that there are more uses for subselects than you
   may think. Vadim has put us on the big SQL map with subselects, and
   fully functional ones too. The only thing you can't do with subselects
   is to use them in the target list.
d2749 18
a2766 19
   enable connections from other machines, you have to use the new
   postmaster -i option, and of course edit "pg_hba.conf". Also, for this
   reason, the format of "pg_hba.conf" has changed.

   Third, char() fields will now allow faster access than varchar() or
   text. Specifically, the text and varchar() have a penalty for access
   to any columns after the first column of this type. char() used to
   also have this access penalty, but it no longer does. This may suggest
   that you redesign some of your tables, especially if you have short
   character columns that you have defined as varchar() or text. This and
   other changes make 6.3 even faster than earlier releases.

   We now have passwords definable independent of any Unix file. There
   are new SQL USER commands. See the Administrator's Guide for more
   information. There is a new table, pg_shadow, which is used to store
   user information and user passwords, and it by default only
   SELECT-able by the postgres super-user. pg_user is now a view of
   pg_shadow, and is SELECT-able by PUBLIC. You should keep using pg_user
   in your application without changes.
d2769 25
a2793 24
   default. This was done because the ANSI standard requires it. You can
   of course GRANT any permissions you want after the table is created.
   System tables continue to be SELECT-able by PUBLIC.

   We also have real deadlock detection code. No more sixty-second
   timeouts. And the new locking code implements a FIFO better, so there
   should be less resource starvation during heavy use.

   Many complaints have been made about inadequate documentation in
   previous releases. Thomas has put much effort into many new manuals
   for this release. Check out the doc/ directory.

   For performance reasons, time travel is gone, but can be implemented
   using triggers (see "pgsql/contrib/spi/README"). Please check out the
   new \d command for types, operators, etc. Also, views have their own
   permissions now, not based on the underlying tables, so permissions on
   them have to be set separately. Check "/pgsql/interfaces" for some new
   ways to talk to PostgreSQL.

   This is the first release that really required an explanation for
   existing users. In many ways, this was necessary because the new
   release removes many limitations, and the work-arounds people were
   using are no longer needed.
     _________________________________________________________________
d2797 2
a2798 174
   A dump/restore using pg_dump or pg_dumpall is required for those
   wishing to migrate data from any previous release of PostgreSQL.
     _________________________________________________________________

Changes

Bug Fixes
---------
Fix binary cursors broken by MOVE implementation(Vadim)
Fix for tcl library crash(Jan)
Fix for array handling, from Gerhard Hintermayer
Fix acl error, and remove duplicate pqtrace(Bruce)
Fix psql \e for empty file(Bruce)
Fix for textcat on varchar() fields(Bruce)
Fix for DBT Sendproc (Zeugswetter Andres)
Fix vacuum analyze syntax problem(Bruce)
Fix for international identifiers(Tatsuo)
Fix aggregates on inherited tables(Bruce)
Fix substr() for out-of-bounds data
Fix for select 1=1 or 2=2, select 1=1 and 2=2, and select sum(2+2)(Bruce)
Fix notty output to show status result.  -q option still turns it off(Bruce)
Fix for count(*), aggs with views and multiple tables and sum(3)(Bruce)
Fix cluster(Bruce)
Fix for PQtrace start/stop several times(Bruce)
Fix a variety of locking problems like newer lock waiters getting
        lock before older waiters, and having readlock people not share
        locks if a writer is waiting for a lock, and waiting writers not
        getting priority over waiting readers(Bruce)
Fix crashes in psql when executing queries from external files(James)
Fix problem with multiple order by columns, with the first one having
        NULL values(Jeroen)
Use correct hash table support functions for float8 and int4(Thomas)
Re-enable JOIN= option in CREATE OPERATOR statement (Thomas)
Change precedence for boolean operators to match expected behavior(Thomas)
Generate elog(ERROR) on over-large integer(Bruce)
Allow multiple-argument functions in constraint clauses(Thomas)
Check boolean input literals for 'true','false','yes','no','1','0'
        and throw elog(ERROR) if unrecognized(Thomas)
Major large objects fix
Fix for GROUP BY showing duplicates(Vadim)
Fix for index scans in MergeJion(Vadim)

Enhancements
------------
Subselects with EXISTS, IN, ALL, ANY keywords (Vadim, Bruce, Thomas)
New User Manual(Thomas, others)
Speedup by inlining some frequently-called functions
Real deadlock detection, no more timeouts(Bruce)
Add SQL92 "constants" CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP,
        CURRENT_USER(Thomas)
Modify constraint syntax to be SQL92-compliant(Thomas)
Implement SQL92 PRIMARY KEY and UNIQUE clauses using indexes(Thomas)
Recognize SQL92 syntax for FOREIGN KEY. Throw elog notice(Thomas)
Allow NOT NULL UNIQUE constraint clause (each allowed separately before)(Thomas
)
Allow PostgreSQL-style casting ("::") of non-constants(Thomas)
Add support for SQL3 TRUE and FALSE boolean constants(Thomas)
Support SQL92 syntax for IS TRUE/IS FALSE/IS NOT TRUE/IS NOT FALSE(Thomas)
Allow shorter strings for boolean literals (e.g. "t", "tr", "tru")(Thomas)
Allow SQL92 delimited identifiers(Thomas)
Implement SQL92 binary and hexadecimal string decoding (b'10' and x'1F')(Thomas
)
Support SQL92 syntax for type coercion of literal strings
        (e.g. "DATETIME 'now'")(Thomas)
Add conversions for int2, int4, and OID types to and from text(Thomas)
Use shared lock when building indexes(Vadim)
Free memory allocated for an user query inside transaction block after
        this query is done, was turned off in <= 6.2.1(Vadim)
New SQL statement CREATE PROCEDURAL LANGUAGE(Jan)
New PostgreSQL Procedural Language (PL) backend interface(Jan)
Rename pg_dump -H option to -h(Bruce)
Add Java support for passwords, European dates(Peter)
Use indexes for LIKE and ~, !~ operations(Bruce)
Add hash functions for datetime and timespan(Thomas)
Time Travel removed(Vadim, Bruce)
Add paging for \d and \z, and fix \i(Bruce)
Add Unix domain socket support to backend and to frontend library(Goran)
Implement CREATE DATABASE/WITH LOCATION and initlocation utility(Thomas)
Allow more SQL92 and/or PostgreSQL reserved words as column identifiers(Thomas)
Augment support for SQL92 SET TIME ZONE...(Thomas)
SET/SHOW/RESET TIME ZONE uses TZ backend environment variable(Thomas)
Implement SET keyword = DEFAULT and SET TIME ZONE DEFAULT(Thomas)
Enable SET TIME ZONE using TZ environment variable(Thomas)
Add PGDATESTYLE environment variable to frontend and backend initialization(Tho
mas)
Add PGTZ, PGCOSTHEAP, PGCOSTINDEX, PGRPLANS, PGGEQO
        frontend library initialization environment variables(Thomas)
Regression tests time zone automatically set with "setenv PGTZ PST8PDT"(Thomas)
Add pg_description table for info on tables, columns, operators, types, and
        aggregates(Bruce)
Increase 16 char limit on system table/index names to 32 characters(Bruce)
Rename system indexes(Bruce)
Add 'GERMAN' option to SET DATESTYLE(Thomas)
Define an "ISO-style" timespan output format with "hh:mm:ss" fields(Thomas)
Allow fractional values for delta times (e.g. '2.5 days')(Thomas)
Validate numeric input more carefully for delta times(Thomas)
Implement day of year as possible input to date_part()(Thomas)
Define timespan_finite() and text_timespan() functions(Thomas)
Remove archive stuff(Bruce)
Allow for a pg_password authentication database that is separate from
        the system password file(Todd)
Dump ACLs, GRANT, REVOKE permissions(Matt)
Define text, varchar, and bpchar string length functions(Thomas)
Fix Query handling for inheritance, and cost computations(Bruce)
Implement CREATE TABLE/AS SELECT (alternative to SELECT/INTO)(Thomas)
Allow NOT, IS NULL, IS NOT NULL in constraints(Thomas)
Implement UNIONs for SELECT(Bruce)
Add UNION, GROUP, DISTINCT to INSERT(Bruce)
varchar() stores only necessary bytes on disk(Bruce)
Fix for BLOBs(Peter)
Mega-Patch for JDBC...see README_6.3 for list of changes(Peter)
Remove unused "option" from PQconnectdb()
New LOCK command and lock manual page describing deadlocks(Bruce)
Add new psql \da, \dd, \df, \do, \dS, and \dT commands(Bruce)
Enhance psql \z to show sequences(Bruce)
Show NOT NULL and DEFAULT in psql \d table(Bruce)
New psql .psqlrc file start-up(Andrew)
Modify sample start-up script in contrib/linux to show syslog(Thomas)
New types for IP and MAC addresses in contrib/ip_and_mac(TomH)
Unix system time conversions with date/time types in contrib/unixdate(Thomas)
Update of contrib stuff(Massimo)
Add Unix socket support to DBD::Pg(Goran)
New python interface (PyGreSQL 2.0)(D'Arcy)
New frontend/backend protocol has a version number, network byte order(Phil)
Security features in pg_hba.conf enhanced and documented, many cleanups(Phil)
CHAR() now faster access than VARCHAR() or TEXT
ecpg embedded SQL preprocessor
Reduce system column overhead(Vadmin)
Remove pg_time table(Vadim)
Add pg_type attribute to identify types that need length (bpchar, varchar)
Add report of offending line when COPY command fails
Allow VIEW permissions to be set separately from the underlying tables.
        For security, use GRANT/REVOKE on views as appropriate(Jan)
Tables now have no default GRANT SELECT TO PUBLIC.  You must
        explicitly grant such permissions.
Clean up tutorial examples(Darren)

Source Tree Changes
-------------------
Add new html development tools, and flow chart in /tools/backend
Fix for SCO compiles
Stratus computer port Robert Gillies
Added support for shlib for BSD44_derived & i386_solaris
Make configure more automated(Brook)
Add script to check regression test results
Break parser functions into smaller files, group together(Bruce)
Rename heap_create to heap_create_and_catalog, rename heap_creatr
        to heap_create()(Bruce)
Sparc/Linux patch for locking(TomS)
Remove PORTNAME and reorganize port-specific stuff(Marc)
Add optimizer README file(Bruce)
Remove some recursion in optimizer and clean up some code there(Bruce)
Fix for NetBSD locking(Henry)
Fix for libptcl make(Tatsuo)
AIX patch(Darren)
Change IS TRUE, IS FALSE, ... to expressions using "=" rather than
        function calls to istrue() or isfalse() to allow optimization(Thomas)
Various fixes NetBSD/Sparc related(TomH)
Alpha linux locking(Travis,Ryan)
Change elog(WARN) to elog(ERROR)(Bruce)
FAQ for FreeBSD(Marc)
Bring in the PostODBC source tree as part of our standard distribution(Marc)
A minor patch for HP/UX 10 vs 9(Stan)
New pg_attribute.atttypmod for type-specific info like varchar length(Bruce)
UnixWare patches(Billy)
New i386 'lock' for spin lock asm(Billy)
Support for multiplexed backends is removed
Start an OpenBSD port
Start an AUX port
Start a Cygnus port
Add string functions to regression suite(Thomas)
Expand a few function names formerly truncated to 16 characters(Thomas)
Remove un-needed malloc() calls and replace with palloc()(Bruce)
     _________________________________________________________________
d2800 172
a2971 1
                               Release 6.2.1
d2980 1
d2984 5
a2988 4
   This is a minor bug-fix release on 6.2. For upgrades from pre-6.2
   systems, a full dump/reload is required. Refer to the 6.2 release
   notes for instructions.
     _________________________________________________________________
d2995 13
a3007 12
   In upgrading from version 6.2, if you choose to dump/reload you will
   find that avg(money) is now calculated correctly. All other bug fixes
   take effect upon updating the executables.

   Another way to avoid dump/reload is to use the following SQL command
   from "psql" to update the existing system table:
  update pg_aggregate set aggfinalfn = 'cash_div_flt8'
   where aggname = 'avg' and aggbasetype = 790;

   This will need to be done to every existing database, including
   template1.
     _________________________________________________________________
d3011 12
a3022 11
Allow TIME and TYPE column names(Thomas)
Allow larger range of true/false as boolean values(Thomas)
Support output of "now" and "current"(Thomas)
Handle DEFAULT with INSERT of NULL properly(Vadim)
Fix for relation reference counts problem in buffer manager(Vadim)
Allow strings to span lines, like ANSI(Thomas)
Fix for backward cursor with ORDER BY(Vadim)
Fix avg(cash) computation(Thomas)
Fix for specifying a column twice in ORDER/GROUP BY(Vadim)
Documented new libpq function to return affected rows, PQcmdTuples(Bruce)
Trigger function for inserting user names for INSERT/UPDATE(Brook Milligan)
d3024 1
a3024 1
     _________________________________________________________________
d3026 1
a3026 1
                                Release 6.2
d3030 4
a3033 3
   A dump/restore is required for those wishing to migrate data from
   previous releases of PostgreSQL.
     _________________________________________________________________
d3037 2
a3038 2
   This migration requires a complete dump of the 6.1 database and a
   restore of the database in 6.2.
d3040 4
a3043 3
   Note that the "pg_dump" and "pg_dumpall" utility from 6.2 should be
   used to dump the 6.1 database.
     _________________________________________________________________
d3049 2
a3050 1
     _________________________________________________________________
d3054 108
a3161 113
Bug Fixes
---------
Fix problems with pg_dump for inheritance, sequences, archive tables(Bruce)
Fix compile errors on overflow due to shifts, unsigned, and bad prototypes
         from Solaris(Diab Jerius)
Fix bugs in geometric line arithmetic (bad intersection calculations)(Thomas)
Check for geometric intersections at endpoints to avoid rounding ugliness(Thoma
s)
Catch non-functional delete attempts(Vadim)
Change time function names to be more consistent(Michael Reifenberg)
Check for zero divides(Michael Reifenberg)
Fix very old bug which made tuples changed/inserted by a commnd
        visible to the command itself (so we had multiple update of
        updated tuples, etc)(Vadim)
Fix for SELECT null, 'fail' FROM pg_am (Patrick)
SELECT NULL as EMPTY_FIELD now allowed(Patrick)
Remove un-needed signal stuff from contrib/pginterface
Fix OR (where x != 1 or x isnull didn't return tuples with x NULL) (Vadim)
Fix time_cmp function (Vadim)
Fix handling of functions with non-attribute first argument in
        WHERE clauses (Vadim)
Fix GROUP BY when order of entries is different from order
        in target list (Vadim)
Fix pg_dump for aggregates without sfunc1 (Vadim)

Enhancements
------------
Default genetic optimizer GEQO parameter is now 8(Bruce)
Allow use parameters in target list having aggregates in functions(Vadim)
Added JDBC driver as an interface(Adrian & Peter)
pg_password utility
Return number of tuples inserted/affected by INSERT/UPDATE/DELETE etc.(Vadim)
Triggers implemented with CREATE TRIGGER (SQL3)(Vadim)
SPI (Server Programming Interface) allows execution of queries inside
        C-functions (Vadim)
NOT NULL implemented (SQL92)(Robson Paniago de Miranda)
Include reserved words for string handling, outer joins, and unions(Thomas)
Implement extended comments ("/* ... */") using exclusive states(Thomas)
Add "//" single-line comments(Bruce)
Remove some restrictions on characters in operator names(Thomas)
DEFAULT and CONSTRAINT for tables implemented (SQL92)(Vadim & Thomas)
Add text concatenation operator and function (SQL92)(Thomas)
Support WITH TIME ZONE syntax (SQL92)(Thomas)
Support INTERVAL unit TO unit syntax (SQL92)(Thomas)
Define types DOUBLE PRECISION, INTERVAL, CHARACTER,
        and CHARACTER VARYING (SQL92)(Thomas)
Define type FLOAT(p) and rudimentary DECIMAL(p,s), NUMERIC(p,s) (SQL92)(Thomas)
Define EXTRACT(), POSITION(), SUBSTRING(), and TRIM() (SQL92)(Thomas)
Define CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP (SQL92)(Thomas)
Add syntax and warnings for UNION, HAVING, INNER and OUTER JOIN (SQL92)(Thomas)
Add more reserved words, mostly for SQL92 compliance(Thomas)
Allow hh:mm:ss time entry for timespan/reltime types(Thomas)
Add center() routines for lseg, path, polygon(Thomas)
Add distance() routines for circle-polygon, polygon-polygon(Thomas)
Check explicitly for points and polygons contained within polygons
        using an axis-crossing algorithm(Thomas)
Add routine to convert circle-box(Thomas)
Merge conflicting operators for different geometric data types(Thomas)
Replace distance operator "<===>" with "<->"(Thomas)
Replace "above" operator "!^" with ">^" and "below" operator "!|" with "<^"(Tho
mas)
Add routines for text trimming on both ends, substring, and string position(Tho
mas)
Added conversion routines circle(box) and poly(circle)(Thomas)
Allow internal sorts to be stored in memory rather than in files(Bruce & Vadim)
Allow functions and operators on internally-identical types to succeed(Bruce)
Speed up backend start-up after profiling analysis(Bruce)
Inline frequently called functions for performance(Bruce)
Reduce open() calls(Bruce)
psql:  Add PAGER for \h and \?,\C fix
Fix for psql pager when no tty(Bruce)
New entab utility(Bruce)
General trigger functions for referential integrity (Vadim)
General trigger functions for time travel (Vadim)
General trigger functions for AUTOINCREMENT/IDENTITY feature (Vadim)
MOVE implementation (Vadim)

Source Tree Changes
-------------------
HP-UX 10 patches (Vladimir Turin)
Added SCO support, (Daniel Harris)
MkLinux patches (Tatsuo Ishii)
Change geometric box terminology from "length" to "width"(Thomas)
Deprecate temporary unstored slope fields in geometric code(Thomas)
Remove restart instructions from INSTALL(Bruce)
Look in /usr/ucb first for install(Bruce)
Fix c++ copy example code(Thomas)
Add -o to psql manual page(Bruce)
Prevent relname unallocated string length from being copied into database(Bruce
)
Cleanup for NAMEDATALEN use(Bruce)
Fix pg_proc names over 15 chars in output(Bruce)
Add strNcpy() function(Bruce)
remove some (void) casts that are unnecessary(Bruce)
new interfaces directory(Marc)
Replace fopen() calls with calls to fd.c functions(Bruce)
Make functions static where possible(Bruce)
enclose unused functions in #ifdef NOT_USED(Bruce)
Remove call to difftime() in timestamp support to fix SunOS(Bruce & Thomas)
Changes for Digital Unix
Portability fix for pg_dumpall(Bruce)
Rename pg_attribute.attnvals to attdispersion(Bruce)
"intro/unix" manual page now "pgintro"(Bruce)
"built-in" manual page now "pgbuiltin"(Bruce)
"drop" manual page now "drop_table"(Bruce)
Add "create_trigger", "drop_trigger" manual pages(Thomas)
Add constraints regression test(Vadim & Thomas)
Add comments syntax regression test(Thomas)
Add PGINDENT and support program(Bruce)
Massive commit to run PGINDENT on all *.c and *.h files(Bruce)
Files moved to /src/tools directory(Bruce)
SPI and Trigger programming guides (Vadim & D'Arcy)
     _________________________________________________________________
d3163 3
a3165 1
                               Release 6.1.1
d3168 2
a3169 1
     _________________________________________________________________
d3174 4
a3177 3
   version 6.1, but is required from any release prior to 6.1. Refer to
   the release notes for 6.1 for more details.
     _________________________________________________________________
d3181 18
a3198 17
fix for SET with options (Thomas)
allow pg_dump/pg_dumpall to preserve ownership of all tables/objects(Bruce)
new psql \connect option allows changing usernames without changing databases
fix for initdb --debug option(Yoshihiko Ichikawa))
lextest cleanup(Bruce)
hash fixes(Vadim)
fix date/time month boundary arithmetic(Thomas)
fix timezone daylight handling for some ports(Thomas, Bruce, Tatsuo)
timestamp overhauled to use standard functions(Thomas)
other code cleanup in date/time routines(Thomas)
psql's \d now case-insensitive(Bruce)
psql's backslash commands can now have trailing semicolon(Bruce)
fix memory leak in psql when using \g(Bruce)
major fix for endian handling of communication to server(Thomas, Tatsuo)
Fix for Solaris assembler and include files(Yoshihiko Ichikawa)
allow underscores in usernames(Bruce)
pg_dumpall now returns proper status, portability fix(Bruce)
d3200 1
a3200 1
     _________________________________________________________________
d3202 1
a3202 1
                                Release 6.1
d3206 2
a3207 2
   The regression tests have been adapted and extensively modified for
   the 6.1 release of PostgreSQL.
d3209 14
a3222 15
   Three new data types (datetime, timespan, and circle) have been added
   to the native set of PostgreSQL types. Points, boxes, paths, and
   polygons have had their output formats made consistent across the data
   types. The polygon output in misc.out has only been spot-checked for
   correctness relative to the original regression output.

   PostgreSQL 6.1 introduces a new, alternate optimizer which uses
   genetic algorithms. These algorithms introduce a random behavior in
   the ordering of query results when the query contains multiple
   qualifiers or multiple tables (giving the optimizer a choice on order
   of evaluation). Several regression tests have been modified to
   explicitly order the results, and hence are insensitive to optimizer
   choices. A few regression tests are for data types which are
   inherently unordered (e.g. points and time intervals) and tests
   involving those types are explicitly bracketed with "set geqo to
d3227 11
a3237 2
   tests were generated. The current "./expected/*.out" files reflect
   this new interpretation, which may not be correct!
d3239 1
a3239 9
   The float8 regression test fails on at least some platforms. This is
   due to differences in implementations of pow() and exp() and the
   signaling mechanisms used for overflow and underflow conditions.

   The "random" results in the random test should cause the "random" test
   to be "failed", since the regression tests are evaluated using a
   simple diff. However, "random" does not seem to produce random results
   on my test machine (Linux/gcc/i686).
     _________________________________________________________________
d3243 2
a3244 2
   This migration requires a complete dump of the 6.0 database and a
   restore of the database in 6.1.
d3248 2
a3249 1
     _________________________________________________________________
d3253 96
a3348 95
Bug Fixes
---------
packet length checking in library routines
lock manager priority patch
check for under/over flow of float8(Bruce)
multitable join fix(Vadim)
SIGPIPE crash fix(Darren)
large object fixes(Sven)
allow btree indexes to handle NULLs(Vadim)
timezone fixes(D'Arcy)
select SUM(x) can return NULL on no rows(Thomas)
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)
fix buffer leak in hash indexes (Vadim)
fix rtree for use in inner scan (Vadim)
fix gist for use in inner scan, cleanups (Vadim, Andrea)
avoid unnecessary local buffers allocation (Vadim, Massimo)
fix local buffers leak in transaction aborts (Vadim)
fix file manager memmory leaks, cleanups (Vadim, Massimo)
fix storage manager memmory leaks (Vadim)
fix btree duplicates handling (Vadim)
fix deleted tuples re-incarnation caused by vacuum (Vadim)
fix SELECT varchar()/char() INTO TABLE made zero-length fields(Bruce)
many psql, pg_dump, and libpq memory leaks fixed using Purify (Igor)

Enhancements
------------
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)
massive changes to libpg++(Leo)
new GEQO optimizer speeds table multitable 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)
multicolumn btree indexes(Vadim)
new SET var TO value command(Martin)
update transaction status on reads(Dan)
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)
new MONEY data type(D'Arcy,Thomas)
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)
new datestyle variable(Thomas,Vadim,Martin)
more comparison operators for sorting types(Thomas)
new conversion functions(Thomas)
new more compact btree format(Vadim)
allow pg_dumpall to preserve database ownership(Bruce)
new SET GEQO=# and R_PLANS variable(Vadim)
old (!GEQO) optimizer can use right-sided plans (Vadim)
typechecking improvement in SQL parser(Bruce)
new SET, SHOW, RESET commands(Thomas,Vadim)
new \connect database USER option
new destroydb -i option (Igor)
new \dt and \di psql commands (Darren)
SELECT "\n" now escapes newline (A. Duursma)
new geometry conversion functions from old format (Thomas)

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)
DG/UX, Ultrix, IRIX, AIX portability fixes
     _________________________________________________________________
d3350 1
a3350 1
                                Release 6.0
d3354 4
a3357 3
   A dump/restore is required for those wishing to migrate data from
   previous releases of PostgreSQL.
     _________________________________________________________________
d3361 4
a3364 3
   This migration requires a complete dump of the 1.09 database and a
   restore of the database in 6.0.
     _________________________________________________________________
d3370 2
a3371 1
     _________________________________________________________________
d3375 105
a3479 106
Bug Fixes
---------
ALTER TABLE bug - running postgress process needs to re-read table definition
Allow vacuum to be run on one table or entire database(Bruce)
Array fixes
Fix array over-runs of memory writes(Kurt)
Fix elusive btree range/non-range bug(Dan)
Fix for hash indexes on some types like time and date
Fix for pg_log size explosion
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
NOTIFY fixes
New asserts for run-checking
Overhauled parser/analyze code to properly report errors and increase speed
Pg_dump -d now handles NULL's properly(Bruce)
Prevent SELECT NULL from crashing server (Bruce)
Properly report errors when INSERT ... SELECT columns did not match
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 OIDs
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)
Submitting 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)
Allow "select oid,* from table"
Allow BY,ORDER BY to specify columns by number, or by non-alias table.column(Br
uce)
Allow COPY from the frontend(Bryan)
Allow GROUP BY to use alias column name(Bruce)
Allow actual compression, not just reuse on the same page(Vadim)
Allow installation-configuration option to auto-add all local users(Bryan)
Allow libpq to distinguish between text value '' and null(Bruce)
Allow non-postgres users with createdb privs to destroydb's
Allow restriction on who can create C functions(Bryan)
Allow restriction on who can do backend COPY(Bryan)
Can shrink tables, pg_time and pg_log(Vadim & Erich)
Change debug level 2 to print queries only, changed debug heading layout(Bruce)
Change default decimal constant representation from float4 to float8(Bruce)
European date format now set when postmaster is started
Execute lowercase function names if not found with exact case
Fixes for aggregate/GROUP processing, allow 'select sum(func(x),sum(x+y) from z
'
Gist now included in the distrubution(Marc)
Idend authentication of local users(Bryan)
Implement BETWEEN qualifier(Bruce)
Implement IN qualifier(Bruce)
Libpq has PQgetisnull()(Bruce)
Libpq++ improvements
New options to initdb(Bryan)
Pg_dump allow dump of OIDs(Bruce)
Pg_dump create indexes after tables are loaded for speed(Bruce)
Pg_dumpall dumps all databases, and the user table
Pginterface additions for NULL values(Bruce)
Prevent postmaster from being run as root
Psql \h and \? is now readable(Bruce)
Psql allow backslashed, semicolons anywhere on the line(Bruce)
Psql changed command prompt for lines in query or in quotes(Bruce)
Psql char(3) now displays as (bp)char in \d output(Bruce)
Psql return code now more accurate(Bryan?)
Psql updated help syntax(Bruce)
Re-visit and fix vacuum(Vadim)
Reduce size of regression diffs, remove timezone name difference(Bruce)
Remove compile-time parameters to enable binary distributions(Bryan)
Reverse meaning of HBA masks(Bryan)
Secure Authentication of local users(Bryan)
Speed up vacuum(Vadim)
Vacuum now had VERBOSE option(Bruce)

Source tree changes
-------------------
All functions now have prototypes that are compared against the calls
Allow asserts to be disabled easly from Makefile.global(Bruce)
Change oid constants used in code to #define names
Decoupled sparc and solaris defines(Kurt)
Gcc -Wall compiles cleanly with warnings only from unfixable constructs
Major include file reorganization/reduction(Marc)
Make now stops on compile failure(Bryan)
Makefile restructuring(Bryan, Marc)
Merge bsdi_2_1 to bsdi(Bruce)
Monitor program removed
Name change from Postgres95 to PostgreSQL
New config.h file(Marc, Bryan)
PG_VERSION now set to 6.0 and used by postmaster
Portability additions, including Ultrix, DG/UX, AIX, and Solaris
Reduced the number of #define's, centeralized #define's
Remove duplicate OIDS in system tables(Dan)
Remove duplicate system catalog info or report mismatches(Dan)
Removed many os-specific #define's
Restructured object file generation/location(Bryan, Marc)
Restructured port-specific file locations(Bryan, Marc)
Unused/uninialized variables corrected
     _________________________________________________________________
d3481 1
a3481 1
                                Release 1.09
a3487 1
     _________________________________________________________________
d3489 3
a3491 1
                                Release 1.02
d3494 2
a3495 1
     _________________________________________________________________
d3499 2
a3500 2
   Here is a new migration file for 1.02.1. It includes the 'copy' change
   and a script to convert old ASCII files.
d3503 1
a3503 2
     migrate databases from Postgres95 1.01 and 1.02 to Postgres95
     1.02.1.
d3505 2
a3506 2
     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.
d3510 17
a3526 13
    1. Start up a new 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 the 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":
        % 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.
     _________________________________________________________________
d3533 17
a3549 18
   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.
        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 = texticregexe
q);
create operator !~* (leftarg = bpchar, rightarg = text, procedure = texticregex
ne);
create operator ~* (leftarg = varchar, rightarg = text, procedure = texticregex
eq);
create operator !~* (leftarg = varchar, rightarg = text, procedure = texticrege
xne);
     _________________________________________________________________
d3553 27
a3579 26
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 BSD/OS 2.1 port
 * added DG/UX port
     _________________________________________________________________
d3581 1
a3581 1
                                Release 1.01
d3584 2
a3585 1
     _________________________________________________________________
d3592 19
a3610 2
   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.
a3611 11
   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
d3613 25
a3637 16
            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
    8. 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
a3638 1
-- add builtin functions that are new to 1.01
d3640 80
a3719 86
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 = char2icregexe
q);
create operator !~* (leftarg = char2, rightarg = text, procedure = char2icregex
ne);
create operator ~* (leftarg = char4, rightarg = text, procedure = char4icregexe
q);
create operator !~* (leftarg = char4, rightarg = text, procedure = char4icregex
ne);
create operator ~* (leftarg = char8, rightarg = text, procedure = char8icregexe
q);
create operator !~* (leftarg = char8, rightarg = text, procedure = char8icregex
ne);
create operator ~* (leftarg = char16, rightarg = text, procedure = char16icrege
xeq);
create operator !~* (leftarg = char16, rightarg = text, procedure = char16icreg
exne);
create operator ~* (leftarg = text, rightarg = text, procedure = texticregexeq)
;
create operator !~* (leftarg = text, rightarg = text, procedure = texticregexne
);
     _________________________________________________________________

Changes

Incompatibilities:
 * 1.01 is backwards compatible with 1.0 database provided the user
   follow the steps outlined in the MIGRATION_from_1.0_to_1.01 file.
   If those steps are not taken, 1.01 is not compatible with 1.0 database.

Enhancements:
 * added PQdisplayTuples() to libpq and changed monitor and psql to use it
 * added NeXT port (requires SysVIPC implementation)
 * added CAST .. AS ... syntax
 * added ASC and DESC keywords
 * added 'internal' as a possible language for CREATE FUNCTION
   internal functions are C functions which have been statically linked
   into the postgres backend.
 * a new type "name" has been added for system identifiers (table names,
   attribute names, etc.)  This replaces the old char16 type.   The
   of name is set by the NAMEDATALEN #define in src/Makefile.global
 * a readable reference manual that describes the query language.
 * added host-based access control.  A configuration file ($PGDATA/pg_hba)
   is used to hold the configuration data.  If host-based access control
   is not desired, comment out HBA=1 in src/Makefile.global.
 * changed regex handling to be uniform use of Henry Spencer's regex code
   regardless of platform.  The regex code is included in the distribution
 * added functions and operators for case-insensitive regular expressions.
   The operators are ~* and !~*.
 * pg_dump uses COPY instead of SELECT loop for better performance

Bug fixes:
 * fixed an optimizer bug that was causing core dumps when
   functions calls were used in comparisons in the WHERE clause
 * changed all uses of getuid to geteuid so that effective uids are used
 * psql now returns non-zero status on errors when using -c
 * applied public patches 1-14
     _________________________________________________________________
d3721 1
a3721 1
                                Release 1.0
d3724 2
a3725 1
     _________________________________________________________________
d3729 41
a3769 40
Copyright change:
 * The copyright of Postgres 1.0 has been loosened to be freely modifiable
   and modifiable for any purpose.  Please read the COPYRIGHT file.
   Thanks to Professor Michael Stonebraker for making this possible.

Incompatibilities:
 *  date formats have to be MM-DD-YYYY (or DD-MM-YYYY if you're using
   EUROPEAN STYLE).  This follows SQL-92 specs.
 *  "delimiters" is now a keyword

Enhancements:
 *  sql LIKE syntax has been added
 *  copy command now takes an optional USING DELIMITER specification.
   delimiters can be any single-character string.
 *  IRIX 5.3 port has been added.
   Thanks to Paul Walmsley and others.
 *  updated pg_dump to work with new libpq
 *  \d has been added psql
   Thanks to Keith Parks
 *  regexp performance for architectures that use POSIX regex has been
   improved due to caching of precompiled patterns.
   Thanks to Alistair Crooks
 *  a new version of libpq++
   Thanks to William Wanders

Bug fixes:
 *  arbitrary userids can be specified in the createuser script
 *  \c to connect to other databases in psql now works.
 *  bad pg_proc entry for float4inc() is fixed
 *  users with usecreatedb field set can now create databases without
   having to be usesuper
 *  remove access control entries when the entry no longer has any
   permissions
 *  fixed non-portable datetimes implementation
 *  added kerberos flags to the src/backend/Makefile
 *  libpq now works with kerberos
 *  typographic errors in the user manual have been corrected.
 *  btrees with multiple index never worked, now we tell you they don't
   work when you try to use them
     _________________________________________________________________
d3771 1
a3771 1
                          Postgres95 Release 0.03
d3774 2
a3775 1
     _________________________________________________________________
d3779 105
a3883 106
Incompatible changes:
 * BETA-0.3 IS INCOMPATIBLE WITH DATABASES CREATED WITH PREVIOUS VERSIONS
   (due to system catalog changes and indexing structure changes).
 * double-quote (") is deprecated as a quoting character for string literals;
   you need to convert them to single quotes (').
 * name of aggregates (eg. int4sum) are renamed in accordance with the
   SQL standard (eg. sum).
 * CHANGE ACL syntax is replaced by GRANT/REVOKE syntax.
 * float literals (eg. 3.14) are now of type float4 (instead of float8 in
   previous releases); you might have to do typecasting if you depend on it
   being of type float8.  If you neglect to do the typecasting and you assign
   a float literal to a field of type float8, you may get incorrect values
   stored!
 * LIBPQ has been totally revamped so that frontend applications
   can connect to multiple backends
 * the usesysid field in pg_user has been changed from int2 to int4 to
   allow wider range of Unix user ids.
 * the netbsd/freebsd/bsd o/s ports have been consolidated into a
   single BSD44_derived port.  (thanks to Alistair Crooks)

SQL standard-compliance (the following details changes that makes postgres95
more compliant to the SQL-92 standard):
 * the following SQL types are now built-in: smallint, int(eger), float, real,
   char(N), varchar(N), date and time.

   The following are aliases to existing postgres types:
                smallint -> int2
                integer, int -> int4
                float, real  -> float4
   char(N) and varchar(N) are implemented as truncated text types. In
   addition, char(N) does blank-padding.
 * single-quote (') is used for quoting string literals; '' (in addition to
   \') is supported as means of inserting a single quote in a string
 * SQL standard aggregate names (MAX, MIN, AVG, SUM, COUNT) are used
   (Also, aggregates can now be overloaded, i.e. you can define your
   own MAX aggregate to take in a user-defined type.)
 * CHANGE ACL removed. GRANT/REVOKE syntax added.
   - Privileges can be given to a group using the "GROUP" keyword.
        For example:
                GRANT SELECT ON foobar TO GROUP my_group;
        The keyword 'PUBLIC' is also supported to mean all users.

        Privileges can only be granted or revoked to one user or group
        at a time.

        "WITH GRANT OPTION" is not supported.  Only class owners can change
        access control
   - The default access control is to to grant users readonly access.
     You must explicitly grant insert/update access to users.  To change
     this, modify the line in
                src/backend/utils/acl.h
     that defines ACL_WORLD_DEFAULT

Bug fixes:
 * the bug where aggregates of empty tables were not run has been fixed. Now,
   aggregates run on empty tables will return the initial conditions of the
   aggregates. Thus, COUNT of an empty  table will now properly return 0.
   MAX/MIN of an empty table will return a tuple of value NULL.
 * allow the use of \; inside the monitor
 * the LISTEN/NOTIFY asynchronous notification mechanism now work
 * NOTIFY in rule action bodies now work
 * hash indexes work, and access methods in general should perform better.
   creation of large btree indexes should be much faster.  (thanks to Paul
   Aoki)

Other changes and enhancements:
 * addition of an EXPLAIN statement used for explaining the query execution
   plan (eg. "EXPLAIN SELECT * FROM EMP" prints out the execution plan for
   the query).
 * WARN and NOTICE messages no longer have timestamps on them. To turn on
   timestamps of error messages, uncomment the line in
   src/backend/utils/elog.h:
        /* define ELOG_TIMESTAMPS */
 * On an access control violation, the message
        "Either no such class or insufficient privilege"
   will be given.  This is the same message that is returned when
   a class is not found.  This dissuades non-privileged users from
   guessing the existence of privileged classes.
 * some additional system catalog changes have been made that are not
   visible to the user.

libpgtcl changes:
 * The -oid option has been added to the "pg_result" tcl command.
   pg_result -oid returns oid of the last tuple inserted.   If the
   last command was not an INSERT, then pg_result -oid returns "".
 * the large object interface is available as pg_lo* tcl commands:
   pg_lo_open, pg_lo_close, pg_lo_creat, etc.

Portability enhancements and New Ports:
 * flex/lex problems have been cleared up.  Now, you should be able to use
   flex instead of lex on any platforms.  We no longer make assumptions of
   what lexer you use based on the platform you use.
 * The Linux-ELF port is now supported.  Various configuration have been
   tested:  The following configuration is known to work:
        kernel 1.2.10, gcc 2.6.3, libc 4.7.2, flex 2.5.2, bison 1.24
   with everything in ELF format,

New utilities:
 * ipcclean added to the distribution
   ipcclean usually does not need to be run, but if your backend crashes
   and leaves shared memory segments hanging around, ipcclean will
   clean them up for you.

New documentation:
 * the user manual has been revised and libpq documentation added.
     _________________________________________________________________
d3885 3
a3887 1
                          Postgres95 Release 0.02
d3890 2
a3891 1
     _________________________________________________________________
d3895 35
a3929 34
Incompatible changes:
 * The SQL statement for creating a database is 'CREATE DATABASE' instead
   of 'CREATEDB'. Similarly, dropping a database is 'DROP DATABASE' instead
   of 'DESTROYDB'. However, the names of the executables 'createdb' and
   'destroydb' remain the same.

New tools:
 * pgperl - a Perl (4.036) interface to Postgres95
 * pg_dump - a utility for dumping out a postgres database into a
        script file containing query commands. The script files are in a ASCII
        format and can be used to reconstruct the database, even on other
        machines and other architectures. (Also good for converting
        a Postgres 4.2 database to Postgres95 database.)

The following ports have been incorporated into postgres95-beta-0.02:
 * the NetBSD port by Alistair Crooks
 * the AIX port by Mike Tung
 * the Windows NT port by Jon Forrest (more stuff but not done yet)
 * the Linux ELF port by Brian Gallew

The following bugs have been fixed in postgres95-beta-0.02:
 * new lines not escaped in COPY OUT and problem with COPY OUT when first
   attribute is a '.'
 * cannot type return to use the default user id in createuser
 * SELECT DISTINCT on big tables crashes
 * Linux installation problems
 * monitor doesn't allow use of 'localhost' as PGHOST
 * psql core dumps when doing \c or \l
 * the "pgtclsh" target missing from src/bin/pgtclsh/Makefile
 * libpgtcl has a hard-wired default port number
 * SELECT DISTINCT INTO TABLE hangs
 * CREATE TYPE doesn't accept 'variable' as the internallength
 * wrong result using more than 1 aggregate in a SELECT
     _________________________________________________________________
d3931 1
a3931 1
                          Postgres95 Release 0.01
@


1.182.2.3
log
@Fix typo in release notes.
@
text
@d88 1
a88 1
       description and a script that will add such dependencies.
@


1.182.2.4
log
@Recreate HISTORY file to match release.sgml changes.  Stamp 7.3 final in
configure/configure.in.
@
text
@d3 1
a3 1
                                      
d5 2
a6 2
                                      
     Release date: 2002-11-27
d8 3
a10 3
   
                                  Overview
                                      
d12 1
a12 1
   
d14 6
a19 6
          Schemas allow users to create objects in separate namespaces,
          so two people or applications can have tables with the same
          name. There is also a public schema for shared tables.
          Table/index creation can be restricted by removing permissions
          on the public schema.
          
d23 1
a23 1
          
d29 1
a29 1
          
d33 1
a33 1
          
d39 1
a39 1
          
d44 1
a44 1
          
d47 1
a47 1
          
d50 1
a50 1
          
d55 1
a55 1
          
d58 5
a62 8
          identifiers can be up to 63 bytes long. Also, OPAQUE is now
          deprecated: there are specific "pseudo-datatypes" to represent
          each of the former meanings of OPAQUE in function argument and
          result types.
     _________________________________________________________________
   
                          Migration to version 7.3
                                      
d68 1
a68 1
   
d70 1
a70 1
   
d74 2
a75 1
     * Several "postgresql.conf" logging parameters have been renamed.
d77 3
a79 6
     * "INSERT" statements with column lists must specify a value for
       each specified column. For example, INSERT INTO tab (col1, col2)
       VALUES ('val1') is now invalid. It's still allowed to supply fewer
       columns than expected if the "INSERT" does not have a column list.
     * serial columns are no longer automatically UNIQUE; thus, an index
       will not automatically be created.
d82 1
a82 2
       All columns need to be specified. (However, one may achieve a
       similar effect by specifying a column list in the "COPY" command.)
d84 1
a84 1
       time zone, instead of timestamp with time zone.
a88 2
     * An empty string ('') is no longer allowed as the input into an
       integer field. Formerly, it was silently interpreted as 0.
d90 3
a92 3
   
                                  Changes
                                      
d102 1
a102 1
   
d116 1
a116 1
   Avoid excessive NULL bitmap padding (Manfred Koizar)
d128 1
a128 1
   
d140 1
a140 1
   
d169 1
a169 1
   
d176 1
a176 1
   Add DEFAULT keyword to INSERT, e.g., INSERT ... (..., DEFAULT, ...)
d194 1
a194 1
   
d198 1
a198 1
   Make ALTER TABLE OWNER change index ownership too (Neil)
d233 1
a233 1
   
d248 1
a248 1
   Display condition expressions and sort keys in EXPLAIN (Tom)
d278 1
a278 1
   
d335 1
a335 1
   
d338 1
a338 1
   Add additional encodings: Korean (JOHAB), Thai (WIN874), Vietnamese
d356 1
a356 1
   
d363 1
a363 1
     (Neil, Tom)
d369 1
a369 1
   
d385 1
a385 1
   
d400 1
a400 1
   
d415 1
a415 1
   
d435 1
a435 1
   
d494 1
a494 1
   
d517 1
a517 1
   Move /contrib/pg_controldata, pg_resetxlog into main tree (Bruce)
d521 1
a521 1
   
d523 1
a523 1
                                      
d525 1
a525 1
     
d529 3
a531 3
   
                         Migration to version 7.2.3
                                      
d534 3
a536 3
   
                                  Changes
                                      
d544 1
a544 1
   
d546 1
a546 1
                                      
d548 1
a548 1
     
d551 3
a553 3
   
                         Migration to version 7.2.2
                                      
d556 3
a558 3
   
                                  Changes
                                      
d575 1
a575 1
   
d577 1
a577 1
                                      
d579 1
a579 1
     
d582 3
a584 3
   
                         Migration to version 7.2.1
                                      
d587 3
a589 3
   
                                  Changes
                                      
d609 1
a609 1
   
d611 1
a611 1
                                      
d614 3
a616 3
   
                                  Overview
                                      
d618 1
a618 1
   
d620 1
a620 1
   
d626 1
a626 1
          
d630 1
a630 1
          
d634 1
a634 1
          
d638 1
a638 1
          
d643 1
a643 1
          
d647 1
a647 1
          
d652 3
a654 3
   
                          Migration to version 7.2
                                      
d657 1
a657 1
   
d659 1
a659 1
   
d676 1
a676 1
       
d681 3
a683 3
   
                                  Changes
                                      
d708 1
a708 1
   
d722 1
a722 1
   
d735 1
a735 1
   
d746 1
a746 1
   
d758 1
a758 1
   
d772 1
a772 1
   
d800 1
a800 1
   
d816 1
a816 1
   
d862 1
a862 1
   
d878 1
a878 1
   
d894 1
a894 1
   
d901 1
a901 1
   
d907 1
a907 1
   
d912 1
a912 1
   
d923 1
a923 1
   
d931 1
a931 1
   
d969 1
a969 1
   
d983 1
a983 1
   
d997 1
a997 1
   
d1007 1
a1007 1
   
d1026 1
a1026 1
   
d1042 1
a1042 1
   
d1058 1
a1058 1
   
d1060 1
a1060 1
                                      
d1063 3
a1065 3
   
                         Migration to version 7.1.3
                                      
d1068 3
a1070 3
   
                                  Changes
                                      
d1083 1
a1083 1
   
d1085 1
a1085 1
                                      
d1087 1
a1087 1
     
d1090 3
a1092 3
   
                         Migration to version 7.1.2
                                      
d1095 3
a1097 3
   
                                  Changes
                                      
d1105 1
a1105 1
   
d1107 1
a1107 1
                                      
d1109 1
a1109 1
     
d1112 3
a1114 3
   
                         Migration to version 7.1.1
                                      
d1117 3
a1119 3
   
                                  Changes
                                      
d1136 1
a1136 1
   
d1138 1
a1138 1
                                      
d1140 1
a1140 1
     
d1143 1
a1143 1
   
d1145 1
a1145 1
   
d1154 1
a1154 1
          
d1160 1
a1160 1
          
d1165 1
a1165 1
          
d1172 1
a1172 1
          
d1180 3
a1182 3
   
                          Migration to version 7.1
                                      
d1186 3
a1188 3
   
                                  Changes
                                      
d1376 1
a1376 1
   
d1378 1
a1378 1
                                      
d1380 1
a1380 1
     
d1383 3
a1385 3
   
                         Migration to version 7.0.3
                                      
d1388 3
a1390 3
   
                                  Changes
                                      
d1432 1
a1432 1
   
d1434 1
a1434 1
                                      
d1436 1
a1436 1
     
d1439 3
a1441 3
   
                         Migration to version 7.0.2
                                      
d1444 3
a1446 3
   
                                  Changes
                                      
d1450 1
a1450 1
   
d1452 1
a1452 1
                                      
d1454 1
a1454 1
     
d1457 3
a1459 3
   
                         Migration to version 7.0.1
                                      
d1462 3
a1464 3
   
                                  Changes
                                      
d1491 1
a1491 1
   
d1493 1
a1493 1
                                      
d1495 1
a1495 1
     
d1501 1
a1501 1
   
d1503 1
a1503 1
   
d1508 1
a1508 1
          
d1513 1
a1513 1
          
d1517 1
a1517 1
          
d1523 3
a1525 3
   
                          Migration to version 7.0
                                      
d1531 1
a1531 1
   
d1534 1
a1534 1
   
d1554 3
a1556 3
   
                                  Changes
                                      
d1879 1
a1879 1
   
d1881 1
a1881 1
                                      
d1883 1
a1883 1
     
d1887 3
a1889 3
   
                         Migration to version 6.5.3
                                      
d1892 3
a1894 3
   
                                  Changes
                                      
d1900 1
a1900 1
   
d1902 1
a1902 1
                                      
d1904 1
a1904 1
     
d1908 3
a1910 3
   
                         Migration to version 6.5.2
                                      
d1913 3
a1915 3
   
                                  Changes
                                      
d1944 1
a1944 1
   
d1946 1
a1946 1
                                      
d1948 1
a1948 1
     
d1952 3
a1954 3
   
                         Migration to version 6.5.1
                                      
d1957 3
a1959 3
   
                                  Changes
                                      
d1985 1
a1985 1
   
d1987 1
a1987 1
                                      
d1989 1
a1989 1
     
d1994 1
a1994 1
   
d1996 1
a1996 1
   
d2010 1
a2010 1
          
d2015 1
a2015 1
          
d2019 1
a2019 1
          
d2023 1
a2023 1
          
d2028 1
a2028 1
          
d2033 1
a2033 1
          
d2037 1
a2037 1
          
d2041 1
a2041 1
          
d2055 3
a2057 3
   
                          Migration to version 6.5
                                      
d2062 1
a2062 1
   
d2068 1
a2068 1
   
d2078 1
a2078 1
   
d2084 1
a2084 1
   
d2091 1
a2091 1
   
d2096 1
a2096 1
     
d2101 3
a2103 3
   
                                  Changes
                                      
d2270 1
a2270 1
   
d2272 1
a2272 1
                                      
d2274 1
a2274 1
     
d2278 3
a2280 3
   
                         Migration to version 6.4.2
                                      
d2283 3
a2285 3
   
                                  Changes
                                      
d2288 1
a2288 1
   
d2290 1
a2290 1
                                      
d2292 1
a2292 1
     
d2296 3
a2298 3
   
                         Migration to version 6.4.1
                                      
d2301 3
a2303 3
   
                                  Changes
                                      
d2335 1
a2335 1
   
d2337 1
a2337 1
                                      
d2339 1
a2339 1
     
d2344 1
a2344 1
   
d2374 3
a2376 3
   
                          Migration to version 6.4
                                      
d2380 3
a2382 3
   
                                  Changes
                                      
d2579 1
a2579 1
   
d2581 1
a2581 1
                                      
d2583 1
a2583 1
     
d2586 1
a2586 1
   
d2588 1
a2588 1
   
d2594 1
a2594 1
       
d2599 1
a2599 1
   
d2603 3
a2605 3
   
                                  Changes
                                      
d2626 1
a2626 1
   
d2628 1
a2628 1
                                      
d2630 1
a2630 1
     
d2632 1
a2632 1
   
d2637 1
a2637 1
       
d2642 1
a2642 1
   
d2646 3
a2648 3
   
                                  Changes
                                      
d2678 1
a2678 1
   
d2680 1
a2680 1
                                      
d2682 1
a2682 1
     
d2685 1
a2685 1
   
d2696 1
a2696 1
       
d2699 1
a2699 1
     
d2703 1
a2703 1
   
d2712 1
a2712 1
   
d2717 1
a2717 1
   
d2725 1
a2725 1
   
d2733 1
a2733 1
   
d2738 1
a2738 1
   
d2742 1
a2742 1
   
d2746 1
a2746 1
   
d2753 1
a2753 1
   
d2759 3
a2761 3
   
                          Migration to version 6.3
                                      
d2765 3
a2767 3
   
                                  Changes
                                      
d2936 1
a2936 1
   
d2938 1
a2938 1
                                      
d2940 1
a2940 1
     
d2942 1
a2942 1
   
d2944 1
a2944 1
   
d2948 1
a2948 1
       
d2953 3
a2955 3
   
                Migration from version 6.2 to version 6.2.1
                                      
d2958 1
a2958 1
   
d2962 1
a2962 1
   
d2971 3
a2973 3
   
                                  Changes
                                      
d2987 1
a2987 1
   
d2989 1
a2989 1
                                      
d2991 1
a2991 1
     
d2995 3
a2997 3
   
                 Migration from version 6.1 to version 6.2
                                      
d3000 1
a3000 1
   
d3004 3
a3006 3
   
                 Migration from version 1.x to version 6.2
                                      
d3010 3
a3012 3
   
                                  Changes
                                      
d3126 1
a3126 1
   
d3128 1
a3128 1
                                      
d3131 3
a3133 3
   
                Migration from version 6.1 to version 6.1.1
                                      
d3138 3
a3140 3
   
                                  Changes
                                      
d3160 1
a3160 1
   
d3162 1
a3162 1
                                      
d3164 1
a3164 1
     
d3167 1
a3167 1
   
d3173 1
a3173 1
   
d3184 1
a3184 1
   
d3189 1
a3189 1
   
d3193 1
a3193 1
   
d3199 3
a3201 3
   
                          Migration to version 6.1
                                      
d3204 1
a3204 1
   
d3208 3
a3210 3
   
                                  Changes
                                      
d3306 1
a3306 1
   
d3308 1
a3308 1
                                      
d3310 1
a3310 1
     
d3314 3
a3316 3
   
                 Migration from version 1.09 to version 6.0
                                      
d3320 3
a3322 3
   
                   Migration from pre-1.09 to version 6.0
                                      
d3326 3
a3328 3
   
                                  Changes
                                      
d3435 1
a3435 1
   
d3437 1
a3437 1
                                      
d3439 1
a3439 1
     
d3444 1
a3444 1
   
d3446 1
a3446 1
                                      
d3449 3
a3451 3
   
               Migration from version 1.02 to version 1.02.1
                                      
d3454 1
a3454 1
   
d3458 1
a3458 1
     
d3461 1
a3461 1
     
d3477 3
a3479 3
   
                           Dump/Reload Procedure
                                      
d3501 3
a3503 3
   
                                  Changes
                                      
d3530 1
a3530 1
   
d3532 1
a3532 1
                                      
d3535 3
a3537 3
   
                 Migration from version 1.0 to version 1.01
                                      
d3540 1
a3540 1
   
d3543 1
a3543 1
   
d3625 3
a3627 3
   
                                  Changes
                                      
d3661 1
a3661 1
   
d3663 1
a3663 1
                                      
d3666 3
a3668 3
   
                                  Changes
                                      
d3709 1
a3709 1
   
d3711 1
a3711 1
                                      
d3714 3
a3716 3
   
                                  Changes
                                      
d3823 1
a3823 1
   
d3825 1
a3825 1
                                      
d3828 3
a3830 3
   
                                  Changes
                                      
d3865 1
a3865 1
   
d3867 1
a3867 1
                                      
d3869 1
a3869 1
     
@


1.182.2.5
log
@Stamp 7.3.1.
@
text
@a3 38
                               Release 7.3.1
                                      
     Release date: 2002-12-18
     
   This has a variety of fixes from 7.3.
     _________________________________________________________________
   
                         Migration to version 7.3.1
                                      
   A dump/restore is *not* required for those running 7.3. However, it
   should be noted that the main PostgreSQL interface library, libpq, has
   a new major version number for this release, which may require
   recompilation of client code in certain cases.
     _________________________________________________________________
   
                                  Changes
                                      
   Fix a core dump of COPY TO when client/server encodings don't match (T
   om)
   Allow pg_dump to work with pre-7.2 servers (Tom)
   /contrib/adddepend fixes (Tom)
   Fix problem with deletion of per-user/per-database config settings (To
   m)
   /contrib/vacuumlo fix (Tom)
   Allow 'password' encryption even when pg_shadow contains MD5 passwords
    (Bruce)
   /contrib/dbmirror fix (Steven Singer)
   Optimizer fixes (Tom)
   /contrib/tsearch fixes (Teodor Sigaev, Magnus)
   Allow locale names to be mixed case (Nicolai Tufar)
   Increment libpq library's major version number (Bruce)
   pg_hba.conf error reporting fixes (Bruce, Neil)
   Add SCO Openserver 5.0.4 as a supported platform (Bruce)
   Prevent EXPLAIN from crashing server (Tom)
   SSL fixes (Nathan Mueller)
   Prevent composite column creation via ALTER TABLE (Tom)
     _________________________________________________________________
   
d3522 1
a3522 1
   monitor to be deprecated in next release.
@


1.182.2.6
log
@Fix release notes and installation instructions for 7.3.1 release.
@
text
@d3 1
a3 1

d5 1
a5 1

d7 1
a7 1

d10 3
a12 3

Migration to version 7.3.1

d15 2
a16 2
   a new major version number for this release, which will require that
   client code using libpq be relinked.
d18 5
a22 5

Changes

   Fix a core dump of COPY TO when client/server encodings don't match
     (Tom)
d24 4
a27 4
   contrib/adddepend fixes (Tom)
   Fix problem with deletion of per-user/per-database config settings
     (Tom)
   contrib/vacuumlo fix (Tom)
d29 2
a30 2
     (Bruce)
   contrib/dbmirror fix (Steven Singer)
d32 2
a33 2
   contrib/tsearch fixes (Teodor Sigaev, Magnus)
   Fix encoding name resolution to work in Turkish locale (Nicolai Tufar)
d36 1
a36 1
   Add SCO OpenServer 5.0.4 as a supported platform (Bruce)
a39 2
   Fix conversion between LATIN9 and UNICODE (Peter)
   Translation updates
d41 1
a41 1

d43 1
a43 1

d46 3
a48 3

Overview

d50 1
a50 1

d57 1
a57 1

d61 1
a61 1

d67 1
a67 1

d71 1
a71 1

d77 1
a77 1

d82 1
a82 1

d85 1
a85 1

d88 1
a88 1

d93 1
a93 1

d101 3
a103 3

Migration to version 7.3

d109 1
a109 1

d111 1
a111 1

d136 3
a138 3

Changes

d148 1
a148 1

d174 1
a174 1

d186 1
a186 1

d215 1
a215 1

d240 1
a240 1

d279 1
a279 1

d324 1
a324 1

d381 1
a381 1

d402 1
a402 1

d415 1
a415 1

d431 1
a431 1

d446 1
a446 1

d461 1
a461 1

d481 1
a481 1

d540 1
a540 1

d567 1
a567 1

d569 1
a569 1

d571 1
a571 1

d575 3
a577 3

Migration to version 7.2.3

d580 3
a582 3

Changes

d590 1
a590 1

d592 1
a592 1

d594 1
a594 1

d597 3
a599 3

Migration to version 7.2.2

d602 3
a604 3

Changes

d621 1
a621 1

d623 1
a623 1

d625 1
a625 1

d628 3
a630 3

Migration to version 7.2.1

d633 3
a635 3

Changes

d655 1
a655 1

d657 1
a657 1

d660 3
a662 3

Overview

d664 1
a664 1

d666 1
a666 1

d672 1
a672 1

d676 1
a676 1

d680 1
a680 1

d684 1
a684 1

d689 1
a689 1

d693 1
a693 1

d698 3
a700 3

Migration to version 7.2

d703 1
a703 1

d705 1
a705 1

d722 1
a722 1

d727 3
a729 3

Changes

d754 1
a754 1

d768 1
a768 1

d781 1
a781 1

d792 1
a792 1

d804 1
a804 1

d818 1
a818 1

d846 1
a846 1

d862 1
a862 1

d908 1
a908 1

d924 1
a924 1

d940 1
a940 1

d947 1
a947 1

d953 1
a953 1

d958 1
a958 1

d969 1
a969 1

d977 1
a977 1

d1015 1
a1015 1

d1029 1
a1029 1

d1043 1
a1043 1

d1053 1
a1053 1

d1072 1
a1072 1

d1088 1
a1088 1

d1104 1
a1104 1

d1106 1
a1106 1

d1109 3
a1111 3

Migration to version 7.1.3

d1114 3
a1116 3

Changes

d1129 1
a1129 1

d1131 1
a1131 1

d1133 1
a1133 1

d1136 3
a1138 3

Migration to version 7.1.2

d1141 3
a1143 3

Changes

d1151 1
a1151 1

d1153 1
a1153 1

d1155 1
a1155 1

d1158 3
a1160 3

Migration to version 7.1.1

d1163 3
a1165 3

Changes

d1182 1
a1182 1

d1184 1
a1184 1

d1186 1
a1186 1

d1189 1
a1189 1

d1191 1
a1191 1

d1200 1
a1200 1

d1206 1
a1206 1

d1211 1
a1211 1

d1218 1
a1218 1

d1226 3
a1228 3

Migration to version 7.1

d1232 3
a1234 3

Changes

d1422 1
a1422 1

d1424 1
a1424 1

d1426 1
a1426 1

d1429 3
a1431 3

Migration to version 7.0.3

d1434 3
a1436 3

Changes

d1478 1
a1478 1

d1480 1
a1480 1

d1482 1
a1482 1

d1485 3
a1487 3

Migration to version 7.0.2

d1490 3
a1492 3

Changes

d1496 1
a1496 1

d1498 1
a1498 1

d1500 1
a1500 1

d1503 3
a1505 3

Migration to version 7.0.1

d1508 3
a1510 3

Changes

d1537 1
a1537 1

d1539 1
a1539 1

d1541 1
a1541 1

d1547 1
a1547 1

d1549 1
a1549 1

d1554 1
a1554 1

d1559 1
a1559 1

d1563 1
a1563 1

d1569 3
a1571 3

Migration to version 7.0

d1577 1
a1577 1

d1580 1
a1580 1

d1600 3
a1602 3

Changes

d1925 1
a1925 1

d1927 1
a1927 1

d1929 1
a1929 1

d1933 3
a1935 3

Migration to version 6.5.3

d1938 3
a1940 3

Changes

d1946 1
a1946 1

d1948 1
a1948 1

d1950 1
a1950 1

d1954 3
a1956 3

Migration to version 6.5.2

d1959 3
a1961 3

Changes

d1990 1
a1990 1

d1992 1
a1992 1

d1994 1
a1994 1

d1998 3
a2000 3

Migration to version 6.5.1

d2003 3
a2005 3

Changes

d2031 1
a2031 1

d2033 1
a2033 1

d2035 1
a2035 1

d2040 1
a2040 1

d2042 1
a2042 1

d2056 1
a2056 1

d2061 1
a2061 1

d2065 1
a2065 1

d2069 1
a2069 1

d2074 1
a2074 1

d2079 1
a2079 1

d2083 1
a2083 1

d2087 1
a2087 1

d2101 3
a2103 3

Migration to version 6.5

d2108 1
a2108 1

d2114 1
a2114 1

d2124 1
a2124 1

d2130 1
a2130 1

d2137 1
a2137 1

d2142 1
a2142 1

d2147 3
a2149 3

Changes

d2316 1
a2316 1

d2318 1
a2318 1

d2320 1
a2320 1

d2324 3
a2326 3

Migration to version 6.4.2

d2329 3
a2331 3

Changes

d2334 1
a2334 1

d2336 1
a2336 1

d2338 1
a2338 1

d2342 3
a2344 3

Migration to version 6.4.1

d2347 3
a2349 3

Changes

d2381 1
a2381 1

d2383 1
a2383 1

d2385 1
a2385 1

d2390 1
a2390 1

d2420 3
a2422 3

Migration to version 6.4

d2426 3
a2428 3

Changes

d2625 1
a2625 1

d2627 1
a2627 1

d2629 1
a2629 1

d2632 1
a2632 1

d2634 1
a2634 1

d2640 1
a2640 1

d2645 1
a2645 1

d2649 3
a2651 3

Changes

d2672 1
a2672 1

d2674 1
a2674 1

d2676 1
a2676 1

d2678 1
a2678 1

d2683 1
a2683 1

d2688 1
a2688 1

d2692 3
a2694 3

Changes

d2724 1
a2724 1

d2726 1
a2726 1

d2728 1
a2728 1

d2731 1
a2731 1

d2742 1
a2742 1

d2745 1
a2745 1

d2749 1
a2749 1

d2758 1
a2758 1

d2763 1
a2763 1

d2771 1
a2771 1

d2779 1
a2779 1

d2784 1
a2784 1

d2788 1
a2788 1

d2792 1
a2792 1

d2799 1
a2799 1

d2805 3
a2807 3

Migration to version 6.3

d2811 3
a2813 3

Changes

d2982 1
a2982 1

d2984 1
a2984 1

d2986 1
a2986 1

d2988 1
a2988 1

d2990 1
a2990 1

d2994 1
a2994 1

d2999 3
a3001 3

Migration from version 6.2 to version 6.2.1

d3004 1
a3004 1

d3008 1
a3008 1

d3017 3
a3019 3

Changes

d3033 1
a3033 1

d3035 1
a3035 1

d3037 1
a3037 1

d3041 3
a3043 3

Migration from version 6.1 to version 6.2

d3046 1
a3046 1

d3050 3
a3052 3

Migration from version 1.x to version 6.2

d3056 3
a3058 3

Changes

d3172 1
a3172 1

d3174 1
a3174 1

d3177 3
a3179 3

Migration from version 6.1 to version 6.1.1

d3184 3
a3186 3

Changes

d3206 1
a3206 1

d3208 1
a3208 1

d3210 1
a3210 1

d3213 1
a3213 1

d3219 1
a3219 1

d3230 1
a3230 1

d3235 1
a3235 1

d3239 1
a3239 1

d3245 3
a3247 3

Migration to version 6.1

d3250 1
a3250 1

d3254 3
a3256 3

Changes

d3352 1
a3352 1

d3354 1
a3354 1

d3356 1
a3356 1

d3360 3
a3362 3

Migration from version 1.09 to version 6.0

d3366 3
a3368 3

Migration from pre-1.09 to version 6.0

d3372 3
a3374 3

Changes

d3481 1
a3481 1

d3483 1
a3483 1

d3485 1
a3485 1

d3490 1
a3490 1

d3492 1
a3492 1

d3495 3
a3497 3

Migration from version 1.02 to version 1.02.1

d3500 1
a3500 1

d3504 1
a3504 1

d3507 1
a3507 1

d3523 3
a3525 3

Dump/Reload Procedure

d3547 3
a3549 3

Changes

d3576 1
a3576 1

d3578 1
a3578 1

d3581 3
a3583 3

Migration from version 1.0 to version 1.01

d3586 1
a3586 1

d3589 1
a3589 1

d3671 3
a3673 3

Changes

d3707 1
a3707 1

d3709 1
a3709 1

d3712 3
a3714 3

Changes

d3755 1
a3755 1

d3757 1
a3757 1

d3760 3
a3762 3

Changes

d3869 1
a3869 1

d3871 1
a3871 1

d3874 3
a3876 3

Changes

d3911 1
a3911 1

d3913 1
a3913 1

d3915 1
a3915 1

@


1.182.2.7
log
@Update 7.3.1 to give proper attribution to pg_dump item.
@
text
@d23 1
a23 1
   Allow pg_dump to work with pre-7.2 servers (Philip)
@


1.182.2.8
log
@Fix capitalization.
@
text
@d641 1
a641 1
   Cash I/O improvements (Tom)
@


1.182.2.9
log
@Update release history for 7.2.4.
@
text
@a569 30
                               Release 7.2.4

     Release date: 2003-01-30

   This  has  a  variety  of fixes from 7.2.3, including fixes to prevent
   possible data loss.
     _________________________________________________________________

                         Migration to version 7.2.4

   A dump/restore is *not* required for those running 7.2.X.
     _________________________________________________________________

                                  Changes

   Fix some additional cases of VACUUM "No one parent tuple was found"
	error
   Prevent VACUUM from being called inside a function  (Bruce)
   Ensure pg_clog updates are sync'd to disk before marking checkpoint
	complete
   Avoid integer overflow during large hash joins
   Make GROUP commands work when pg_group.grolist is large enough
	to be toasted
   Fix errors in datetime tables; some timezone names weren't being
	recognized
   Fix integer overflows in circle_poly(), path_encode(), path_add()
	(Neil)
   Repair long-standing logic errors in lseg_eq(), lseg_ne(), lseg_center()
     _________________________________________________________________

@


1.182.2.10
log
@Update release history for 7.3.2.
@
text
@a3 47
                               Release 7.3.2

     Release date: 2003-02-04

   This has a variety of fixes from 7.3.1.
     _________________________________________________________________

                         Migration to version 7.3.2

   A dump/restore is *not* required for those running 7.3.*.
     _________________________________________________________________

                                  Changes

   Restore creation of OID column in CREATE TABLE AS / SELECT INTO
   Fix pg_dump core dump when dumping views having comments
   Dump DEFERRABLE/INITIALLY DEFERRED constraints properly
   Fix UPDATE when child table's column numbering differs from parent
   Increase default value of max_fsm_relations
   Fix problem when fetching backwards in a cursor for a single-row query
   Make backward fetch work properly with cursor on SELECT DISTINCT query
   Fix problems with loading pg_dump files containing contrib/lo usage
   Fix problem with all-numeric user names
   Fix possible memory leak and core dump during disconnect in libpgtcl
   Make plpython's spi_execute command handle nulls properly (Andrew Bosma)
   Adjust plpython error reporting so that its regression test passes again
   Work with bison 1.875
   Handle mixed-case names properly in plpgsql's %type (Neil)
   Fix core dump in pltcl when executing a query rewritten by a rule
   Repair array subscript overruns (per report from Yichen Xie)
   Reduce MAX_TIME_PRECISION from 13 to 10 in floating-point case
   Correctly case-fold variable names in per-database and per-user settings
   Fix coredump in plpgsql's RETURN NEXT when SELECT into record returns
	no rows
   Fix outdated use of pg_type.typprtlen in python client interface
   Correctly handle fractional seconds in timestamps in JDBC driver
   Improve performance of getImportedKeys() in JDBC
   Make shared-library symlinks work standardly on HPUX (Giles)
   Repair inconsistent rounding behavior for timestamp, time, interval
   SSL negotiation fixes (Nathan Mueller)
   Make libpq's ~/.pgpass feature work when connecting with PQconnectDB
   Update my2pg, ora2pg
   Translation updates
   Add casts between types lo and oid in contrib/lo
   fastpath code now checks for privilege to call function
     _________________________________________________________________
   
@


1.182.2.11
log
@Update for 7.3.3.
@
text
@d1 1
a1 1
 
a3 100
                               Release 7.3.3

     Release date: 2003-05-22

   This has a variety of fixes from 7.3.2.
     _________________________________________________________________

                         Migration to version 7.3.3

   A dump/restore is *not* required for those running 7.3.*.
     _________________________________________________________________

                                  Changes

   Repair sometimes-incorrect computation of StartUpID after a crash
   Avoid slowness with lots of deferred triggers in one transaction (Stephan)
   Don't lock referenced row when UPDATE doesn't change foreign key's value
	(Jan)
   Use -fPIC not -fpic on Sparc (Tom Callaway)
   Repair lack of schema-awareness in contrib/reindexdb
   Fix contrib/intarray error for zero-element result array (Teodor)
   Ensure createuser script will exit on control-C (Oliver)
   Fix errors when the type of a dropped column has itself been dropped
   CHECKPOINT does not cause database panic on failure in noncritical steps
   Accept 60 in seconds fields of timestamp, time, interval input values
   Issue notice, not error, if TIMESTAMP, TIME, or INTERVAL precision too
	large
   Fix abstime-to-time cast function (fix is not applied unless you initdb)
   Fix pg_proc entry for timestamptz_izone (fix is not applied unless you
	initdb)
   Make EXTRACT(EPOCH FROM timestamp without time zone) treat input as
	local time
   'now'::timestamptz gave wrong answer if timezone changed earlier in
	transaction
   HAVE_INT64_TIMESTAMP code for time with timezone overwrote its input
   Accept GLOBAL TEMP/TEMPORARY as a synonym for TEMPORARY
   Avoid improper schema-permissions-check failure in foreign-key triggers
   Fix bugs in foreign-key triggers for SET DEFAULT action
   Fix incorrect time-qual check in row fetch for UPDATE and DELETE triggers
   Foreign-key clauses were parsed but ignored in ALTER TABLE ADD COLUMN
   Fix createlang script breakage for case where handler function already
	exists
   Fix misbehavior on zero-column tables in pg_dump, COPY, ANALYZE, other
	places
   Fix misbehavior of func_error() on type names containing '%'
   Fix misbehavior of replace() on strings containing '%'
   Regular-expression patterns containing certain multibyte characters failed
   Account correctly for NULLs in more cases in join size estimation
   Avoid conflict with system definition of isblank() function or macro
   Fix failure to convert large code point values in EUC_TW conversions
	(Tatsuo)
   Fix error recovery for SSL_read/SSL_write calls
   Don't do early constant-folding of type coercion expressions
   Validate page header fields immediately after reading in any page
   Repair incorrect check for ungrouped variables in unnamed joins
   Fix buffer overrun in to_ascii (Guido Notari)
   contrib/ltree fixes (Teodor)
   Fix core dump in deadlock detection on machines where char is unsigned
   Avoid running out of buffers in many-way indexscan (bug introduced in 7.3)
   Fix planner's selectivity estimation functions to handle domains properly
   Fix dbmirror memory-allocation bug (Steven Singer)
   Prevent infinite loop in ln(numeric) due to roundoff error.
   GROUP BY got confused if there were multiple equal GROUP BY items
   Fix bad plan when inherited UPDATE/DELETE references another inherited
	table
   Prevent clustering on incomplete (partial or non-NULL-storing) indexes
   Service shutdown request at proper time if it arrives while still
	starting up
   Fix left-links in temporary indexes (could make backwards scans miss
	entries)
   Fix incorrect handling of client_encoding setting in postgresql.conf
	(Tatsuo)
   Fix failure to respond to 'pg_ctl stop -m fast' after Async_NotifyHandler
	runs
   Fix SPI for case where rule contains multiple statements of the same type
   Fix problem with checking for wrong type of access permission in rule query
   Fix problem with EXCEPT in CREATE RULE
   Prevent problem with dropping temp tables having serial columns
   Fix replace_vars_with_subplan_refs failure in complex views
   Fix regexp slowness in multibyte encodings (Tatsuo)
   Allow qualified type names in CREATE CAST and DROP CAST
   Accept 'SETOF type[]', which formerly had to be written 'SETOF _type'
   Fix pg_dump core dump in some cases with procedural languages
   Force ISO datestyle in pg_dump output, for portability (Oliver)
   pg_dump failed to handle error return from lo_read (Oleg Drokin)
   pg_dumpall failed with groups having no members (Nick Eskelinen)
   pg_dumpall failed to recognize --globals-only switch
   pg_restore failed to restore blobs if -X disable-triggers is specified
   Repair intrafunction memory leak in plpgsql
   pltcl's elog command dumped core if given wrong parameters (Ian Harding)
   plpython used wrong value of atttypmod (Brad McLean)
   Fix improper quoting of boolean values in Python interface (D'Arcy)
   Added addDataType() method to PGConnection interface for JDBC
   Fixed various problems with updateable ResultSets for JDBC (Shawn Green)
   Fixed various problems with DatabaseMetaData for JDBC (Kris Jurka,
	Peter Royal)
   Fixed problem with parsing table ACLs in JDBC
   Better error message for character set conversion problems in JDBC
     _________________________________________________________________

d52 1
a52 1
                                      
d54 1
a54 1
     
d57 3
a59 3
   
                         Migration to version 7.3.1
                                      
d62 2
a63 2
   a new major version number for this release, which may require
   recompilation of client code in certain cases.
d65 5
a69 4
   
                                  Changes
                                      
   Fix a core dump of COPY TO when client/server encodings don't match (Tom)
d71 4
a74 3
   /contrib/adddepend fixes (Tom)
   Fix problem with deletion of per-user/per-database config settings (Tom)
   /contrib/vacuumlo fix (Tom)
d76 2
a77 2
    (Bruce)
   /contrib/dbmirror fix (Steven Singer)
d79 2
a80 2
   /contrib/tsearch fixes (Teodor Sigaev, Magnus)
   Allow locale names to be mixed case (Nicolai Tufar)
d83 1
a83 1
   Add SCO Openserver 5.0.4 as a supported platform (Bruce)
d87 2
d90 1
a90 1
   
d92 1
a92 1
                                      
d95 3
a97 3
   
                                  Overview
                                      
d99 1
a99 1
   
d106 1
a106 1
          
d110 1
a110 1
          
d116 1
a116 1
          
d120 1
a120 1
          
d126 1
a126 1
          
d131 1
a131 1
          
d134 1
a134 1
          
d137 1
a137 1
          
d142 1
a142 1
          
d150 3
a152 3
   
                          Migration to version 7.3
                                      
d158 1
a158 1
   
d160 1
a160 1
   
d185 3
a187 3
   
                                  Changes
                                      
d197 1
a197 1
   
d223 1
a223 1
   
d235 1
a235 1
   
d264 1
a264 1
   
d289 1
a289 1
   
d328 1
a328 1
   
d373 1
a373 1
   
d430 1
a430 1
   
d451 1
a451 1
   
d464 1
a464 1
   
d480 1
a480 1
   
d495 1
a495 1
   
d510 1
a510 1
   
d530 1
a530 1
   
d589 1
a589 1
   
d646 1
a646 1
   
d648 1
a648 1
                                      
d650 1
a650 1
     
d654 3
a656 3
   
                         Migration to version 7.2.3
                                      
d659 3
a661 3
   
                                  Changes
                                      
d669 1
a669 1
   
d671 1
a671 1
                                      
d673 1
a673 1
     
d676 3
a678 3
   
                         Migration to version 7.2.2
                                      
d681 3
a683 3
   
                                  Changes
                                      
d700 1
a700 1
   
d702 1
a702 1
                                      
d704 1
a704 1
     
d707 3
a709 3
   
                         Migration to version 7.2.1
                                      
d712 3
a714 3
   
                                  Changes
                                      
d734 1
a734 1
   
d736 1
a736 1
                                      
d739 3
a741 3
   
                                  Overview
                                      
d743 1
a743 1
   
d745 1
a745 1
   
d751 1
a751 1
          
d755 1
a755 1
          
d759 1
a759 1
          
d763 1
a763 1
          
d768 1
a768 1
          
d772 1
a772 1
          
d777 3
a779 3
   
                          Migration to version 7.2
                                      
d782 1
a782 1
   
d784 1
a784 1
   
d801 1
a801 1
       
d806 3
a808 3
   
                                  Changes
                                      
d833 1
a833 1
   
d847 1
a847 1
   
d860 1
a860 1
   
d871 1
a871 1
   
d883 1
a883 1
   
d897 1
a897 1
   
d925 1
a925 1
   
d941 1
a941 1
   
d987 1
a987 1
   
d1003 1
a1003 1
   
d1019 1
a1019 1
   
d1026 1
a1026 1
   
d1032 1
a1032 1
   
d1037 1
a1037 1
   
d1048 1
a1048 1
   
d1056 1
a1056 1
   
d1094 1
a1094 1
   
d1108 1
a1108 1
   
d1122 1
a1122 1
   
d1132 1
a1132 1
   
d1151 1
a1151 1
   
d1167 1
a1167 1
   
d1183 1
a1183 1
   
d1185 1
a1185 1
                                      
d1188 3
a1190 3
   
                         Migration to version 7.1.3
                                      
d1193 3
a1195 3
   
                                  Changes
                                      
d1208 1
a1208 1
   
d1210 1
a1210 1
                                      
d1212 1
a1212 1
     
d1215 3
a1217 3
   
                         Migration to version 7.1.2
                                      
d1220 3
a1222 3
   
                                  Changes
                                      
d1230 1
a1230 1
   
d1232 1
a1232 1
                                      
d1234 1
a1234 1
     
d1237 3
a1239 3
   
                         Migration to version 7.1.1
                                      
d1242 3
a1244 3
   
                                  Changes
                                      
d1261 1
a1261 1
   
d1263 1
a1263 1
                                      
d1265 1
a1265 1
     
d1268 1
a1268 1
   
d1270 1
a1270 1
   
d1279 1
a1279 1
          
d1285 1
a1285 1
          
d1290 1
a1290 1
          
d1297 1
a1297 1
          
d1305 3
a1307 3
   
                          Migration to version 7.1
                                      
d1311 3
a1313 3
   
                                  Changes
                                      
d1501 1
a1501 1
   
d1503 1
a1503 1
                                      
d1505 1
a1505 1
     
d1508 3
a1510 3
   
                         Migration to version 7.0.3
                                      
d1513 3
a1515 3
   
                                  Changes
                                      
d1557 1
a1557 1
   
d1559 1
a1559 1
                                      
d1561 1
a1561 1
     
d1564 3
a1566 3
   
                         Migration to version 7.0.2
                                      
d1569 3
a1571 3
   
                                  Changes
                                      
d1575 1
a1575 1
   
d1577 1
a1577 1
                                      
d1579 1
a1579 1
     
d1582 3
a1584 3
   
                         Migration to version 7.0.1
                                      
d1587 3
a1589 3
   
                                  Changes
                                      
d1616 1
a1616 1
   
d1618 1
a1618 1
                                      
d1620 1
a1620 1
     
d1626 1
a1626 1
   
d1628 1
a1628 1
   
d1633 1
a1633 1
          
d1638 1
a1638 1
          
d1642 1
a1642 1
          
d1648 3
a1650 3
   
                          Migration to version 7.0
                                      
d1656 1
a1656 1
   
d1659 1
a1659 1
   
d1679 3
a1681 3
   
                                  Changes
                                      
d2004 1
a2004 1
   
d2006 1
a2006 1
                                      
d2008 1
a2008 1
     
d2012 3
a2014 3
   
                         Migration to version 6.5.3
                                      
d2017 3
a2019 3
   
                                  Changes
                                      
d2025 1
a2025 1
   
d2027 1
a2027 1
                                      
d2029 1
a2029 1
     
d2033 3
a2035 3
   
                         Migration to version 6.5.2
                                      
d2038 3
a2040 3
   
                                  Changes
                                      
d2069 1
a2069 1
   
d2071 1
a2071 1
                                      
d2073 1
a2073 1
     
d2077 3
a2079 3
   
                         Migration to version 6.5.1
                                      
d2082 3
a2084 3
   
                                  Changes
                                      
d2110 1
a2110 1
   
d2112 1
a2112 1
                                      
d2114 1
a2114 1
     
d2119 1
a2119 1
   
d2121 1
a2121 1
   
d2135 1
a2135 1
          
d2140 1
a2140 1
          
d2144 1
a2144 1
          
d2148 1
a2148 1
          
d2153 1
a2153 1
          
d2158 1
a2158 1
          
d2162 1
a2162 1
          
d2166 1
a2166 1
          
d2179 4
a2182 4
     _________________________________________________________________
   
                          Migration to version 6.5
                                      
d2187 1
a2187 1
   
d2193 1
a2193 1
   
d2203 1
a2203 1
   
d2209 1
a2209 1
   
d2216 1
a2216 1
   
d2221 1
a2221 1
     
d2226 3
a2228 3
   
                                  Changes
                                      
d2395 1
a2395 1
   
d2397 1
a2397 1
                                      
d2399 1
a2399 1
     
d2403 3
a2405 3
   
                         Migration to version 6.4.2
                                      
d2408 3
a2410 3
   
                                  Changes
                                      
d2413 1
a2413 1
   
d2415 1
a2415 1
                                      
d2417 1
a2417 1
     
d2421 3
a2423 3
   
                         Migration to version 6.4.1
                                      
d2426 3
a2428 3
   
                                  Changes
                                      
d2460 1
a2460 1
   
d2462 1
a2462 1
                                      
d2464 1
a2464 1
     
d2469 1
a2469 1
   
d2499 3
a2501 3
   
                          Migration to version 6.4
                                      
d2505 3
a2507 3
   
                                  Changes
                                      
d2704 1
a2704 1
   
d2706 1
a2706 1
                                      
d2708 1
a2708 1
     
d2711 1
a2711 1
   
d2713 1
a2713 1
   
d2719 1
a2719 1
       
d2724 1
a2724 1
   
d2728 3
a2730 3
   
                                  Changes
                                      
d2751 1
a2751 1
   
d2753 1
a2753 1
                                      
d2755 1
a2755 1
     
d2757 1
a2757 1
   
d2762 1
a2762 1
       
d2767 1
a2767 1
   
d2771 3
a2773 3
   
                                  Changes
                                      
d2803 1
a2803 1
   
d2805 1
a2805 1
                                      
d2807 1
a2807 1
     
d2810 1
a2810 1
   
d2821 1
a2821 1
       
d2824 1
a2824 1
     
d2828 1
a2828 1
   
d2837 1
a2837 1
   
d2842 1
a2842 1
   
d2850 1
a2850 1
   
d2858 1
a2858 1
   
d2863 1
a2863 1
   
d2867 1
a2867 1
   
d2871 1
a2871 1
   
d2878 1
a2878 1
   
d2884 3
a2886 3
   
                          Migration to version 6.3
                                      
d2890 3
a2892 3
   
                                  Changes
                                      
d3061 1
a3061 1
   
d3063 1
a3063 1
                                      
d3065 1
a3065 1
     
d3067 1
a3067 1
   
d3069 1
a3069 1
   
d3073 1
a3073 1
       
d3078 3
a3080 3
   
                Migration from version 6.2 to version 6.2.1
                                      
d3083 1
a3083 1
   
d3087 1
a3087 1
   
d3096 3
a3098 3
   
                                  Changes
                                      
d3112 1
a3112 1
   
d3114 1
a3114 1
                                      
d3116 1
a3116 1
     
d3120 3
a3122 3
   
                 Migration from version 6.1 to version 6.2
                                      
d3125 1
a3125 1
   
d3129 3
a3131 3
   
                 Migration from version 1.x to version 6.2
                                      
d3135 3
a3137 3
   
                                  Changes
                                      
d3251 1
a3251 1
   
d3253 1
a3253 1
                                      
d3256 3
a3258 3
   
                Migration from version 6.1 to version 6.1.1
                                      
d3263 3
a3265 3
   
                                  Changes
                                      
d3285 1
a3285 1
   
d3287 1
a3287 1
                                      
d3289 1
a3289 1
     
d3292 1
a3292 1
   
d3298 1
a3298 1
   
d3309 1
a3309 1
   
d3314 1
a3314 1
   
d3318 1
a3318 1
   
d3324 3
a3326 3
   
                          Migration to version 6.1
                                      
d3329 1
a3329 1
   
d3333 3
a3335 3
   
                                  Changes
                                      
d3431 1
a3431 1
   
d3433 1
a3433 1
                                      
d3435 1
a3435 1
     
d3439 3
a3441 3
   
                 Migration from version 1.09 to version 6.0
                                      
d3445 3
a3447 3
   
                   Migration from pre-1.09 to version 6.0
                                      
d3451 3
a3453 3
   
                                  Changes
                                      
d3560 1
a3560 1
   
d3562 1
a3562 1
                                      
d3564 1
a3564 1
     
d3569 1
a3569 1
   
d3571 1
a3571 1
                                      
d3574 3
a3576 3
   
               Migration from version 1.02 to version 1.02.1
                                      
d3579 1
a3579 1
   
d3583 1
a3583 1
     
d3586 1
a3586 1
     
d3602 3
a3604 3
   
                           Dump/Reload Procedure
                                      
d3626 3
a3628 3
   
                                  Changes
                                      
d3655 1
a3655 1
   
d3657 1
a3657 1
                                      
d3660 3
a3662 3
   
                 Migration from version 1.0 to version 1.01
                                      
d3665 1
a3665 1
   
d3668 1
a3668 1
   
d3750 3
a3752 3
   
                                  Changes
                                      
d3786 1
a3786 1
   
d3788 1
a3788 1
                                      
d3791 3
a3793 3
   
                                  Changes
                                      
d3834 1
a3834 1
   
d3836 1
a3836 1
                                      
d3839 3
a3841 3
   
                                  Changes
                                      
d3948 1
a3948 1
   
d3950 1
a3950 1
                                      
d3953 3
a3955 3
   
                                  Changes
                                      
d3990 1
a3990 1
   
d3992 1
a3992 1
                                      
d3994 1
a3994 1
     
@


1.182.2.12
log
@Fix misstatement in release-notes item.
@
text
@d83 1
a83 1
   Fix regexp slowness in single-byte encodings (Tatsuo)
@


1.182.2.13
log
@Stamp 7.3.4 release.
@
text
@a3 24
                               Release 7.3.4

     Release date: 2003-07-24

   This has a variety of fixes from 7.3.3.
     _________________________________________________________________

                         Migration to version 7.3.4

   A dump/restore is *not* required for those running 7.3.*.
     _________________________________________________________________

                                  Changes

   Fix rare possibility of recovery failure after a system crash (Tom)
   Fix bugs in interval-to-time conversion (Tom)
   Add constraint names in a few places in pg_dump (Rod)
   Improve performance of functions with many parameters (Tom)
   Fix to_ascii() buffer overruns (Tom)
   Prevent restore of database comments from throwing an error (Tom)
   Work around buggy strxfrm() present in some Solaris releases (Tom)
   Properly escape jdbc setObject() strings to improve security (Barry)
     _________________________________________________________________

@


1.182.2.14
log
@New WAL fix release text is:

    Prevent rare possibility of server startup failure (Tom)
@
text
@d18 1
a18 1
   Prevent rare possibility of server startup failure (Tom)
@


1.182.2.15
log
@Add to 7.3.4 release notes:

* Repair breakage in timestamp-to-date conversion for dates before 2000
@
text
@a17 1
   Repair breakage in timestamp-to-date conversion for dates before 2000
@


1.182.2.16
log
@Update release notes for 7.3.5.
@
text
@a3 46
                               Release 7.3.5

     Release date: 2003-12-03

   This has a variety of fixes from 7.3.4.
     _________________________________________________________________

Migration to version 7.3.5

   A dump/restore is *not* required for those running 7.3.*.
     _________________________________________________________________

Changes

     * Force zero_damaged_pages to be on during recovery from WAL
     * Prevent  some  obscure  cases  of  "variable not in subplan target
       lists"
     * Force  stats  processes  to  detach  from  shared memory, ensuring
       cleaner shutdown
     * Make PQescapeBytea and byteaout consistent with each other (Joe)
     * Added missing SPI_finish() calls to get_tuple_of_interest() (Joe)
     * Fix  for  possible foreign key violation when rule rewrites INSERT
       (Jan)
     * Support qualified type names in PL/Tcl's spi_prepare command (Jan)
     * Make  pg_dump  handle  a  procedural  language  handler located in
       pg_catalog
     * Make  pg_dump  handle  cases  where a custom opclass is in another
       schema
     * Make pg_dump dump binary-compatible casts correctly (Jan)
     * Fix  insertion  of  expressions  containing  subqueries  into rule
       bodies
     * Fix  incorrect  argument  processing  in  clusterdb  script (Anand
       Ranganathan)
     * Fix problems with dropped columns in plpython triggers
     * Repair  problems  with  to_char()  reading  past  end of its input
       string (Karel)
     * Fix GB18030 mapping errors (Tatsuo)
     * Fix  several problems with SSL error handling and asynchronous SSL
       I/O
     * Remove  ability  to bind a list of values to a single parameter in
       JDBC (prevents possible SQL-injection attacks)
     * Fix some errors in HAVE_INT64_TIMESTAMP code paths
     * Fix  corner case for btree search in parallel with first root page
       split
     _________________________________________________________________

@


1.182.2.17
log
@Update release notes for 7.3.6.
@
text
@a3 43
                               Release 7.3.6

     Release date: 2004-03-02

   This release contains a variety of fixes from 7.3.5.
     _________________________________________________________________

                         Migration to version 7.3.6

   A dump/restore is *not* required for those running 7.3.*.
     _________________________________________________________________

                                  Changes

     * Revert erroneous changes in rule permissions checking
       A patch applied in 7.3.3 to fix a corner case in rule permissions
       checks turns out to have disabled rule-related permissions checks
       in many not-so-corner cases. This would for example allow users to
       insert into views they weren't supposed to have permission to
       insert into. We have therefore reverted the 7.3.3 patch. The
       original bug will be fixed in 7.5.
     * Repair incorrect order of operations in GetNewTransactionId()
       This bug could result in failure under out-of-disk-space
       conditions, including inability to restart even after disk space
       is freed.
     * Ensure configure selects -fno-strict-aliasing even when an
       external value for CFLAGS is supplied
       On some platforms, building with -fstrict-aliasing causes bugs.
     * Make pg_restore handle 64-bit off_t correctly
       This bug prevented proper restoration from archive files exceeding
       4Gb.
     * Make contrib/dblink not assume that local and remote type OIDs
       match (Joe)
     * Quote connectby()'s start_with argument properly (Joe)
     * Don't crash when a rowtype argument to a plpgsql function is NULL
     * Avoid generating invalid character encoding sequences in corner
       cases when planning LIKE operations
     * Ensure text_position() cannot scan past end of source string in
       multibyte cases (Korea PostgreSQL Users' Group)
     * Fix index optimization and selectivity estimates for LIKE
       operations on bytea columns (Joe)
     _________________________________________________________________

@


1.182.2.18
log
@Stamp 7.3.7.
@
text
@d1 1
a1 1

a3 25
                               Release 7.3.7

     Release date: 2004-08-16

   This release contains one critical fix over 7.3.6, and some minor
   items.
     _________________________________________________________________

                         Migration to version 7.3.7

   A dump/restore is not required for those running 7.3.X.
     _________________________________________________________________

                                  Changes

     * Prevent possible loss of committed transactions during crash
       Due to insufficient interlocking between transaction commit and
       checkpointing, it was possible for transactions committed just
       before the most recent checkpoint to be lost, in whole or in part,
       following a database crash and restart. This is a serious bug that
       has existed since PostgreSQL 7.1.
     * Remove asymmetrical word processing in tsearch (Teodor)
     * Properly schema-qualify function names when pg_dump'ing a CAST
     _________________________________________________________________

d24 1
a24 1
       original bug will be fixed in 8.0.
d54 1
a54 1
                         Migration to version 7.3.5
d59 1
a59 1
                                  Changes
d62 1
a62 1
     * Prevent some obscure cases of "variable not in subplan target
d64 1
a64 1
     * Force stats processes to detach from shared memory, ensuring
d68 1
a68 1
     * Fix for possible foreign key violation when rule rewrites INSERT
d71 1
a71 1
     * Make pg_dump handle a procedural language handler located in
d73 1
a73 1
     * Make pg_dump handle cases where a custom opclass is in another
d76 1
a76 1
     * Fix insertion of expressions containing subqueries into rule
d78 1
a78 1
     * Fix incorrect argument processing in clusterdb script (Anand
d81 1
a81 1
     * Repair problems with to_char() reading past end of its input
d84 1
a84 1
     * Fix several problems with SSL error handling and asynchronous SSL
d86 1
a86 1
     * Remove ability to bind a list of values to a single parameter in
d89 1
a89 1
     * Fix corner case for btree search in parallel with first root page
d133 3
a135 4
   Avoid slowness with lots of deferred triggers in one transaction (Step
   han)
   Don't lock referenced row when UPDATE doesn't change foreign key's val
   ue (Jan)
d141 1
a141 2
   CHECKPOINT does not cause database panic on failure in noncritical ste
   ps
d144 2
a145 3
    large
   Fix abstime-to-time cast function (fix is not applied unless you initd
   b)
d147 5
a151 5
    initdb)
   Make EXTRACT(EPOCH FROM timestamp without time zone) treat input as lo
   cal time
   'now'::timestamptz gave wrong answer if timezone changed earlier in tr
   ansaction
d154 1
a154 2
   Avoid improper schema-permissions-check failure in foreign-key trigger
   s
d156 1
a156 2
   Fix incorrect time-qual check in row fetch for UPDATE and DELETE trigg
   ers
d159 1
a159 1
    exists
d161 1
a161 1
    places
d164 1
a164 2
   Regular-expression patterns containing certain multibyte characters fa
   iled
d167 2
a168 2
   Fix failure to convert large code point values in EUC_TW conversions (
   Tatsuo)
d176 2
a177 4
   Avoid running out of buffers in many-way indexscan (bug introduced in
   7.3)
   Fix planner's selectivity estimation functions to handle domains prope
   rly
d182 1
a182 1
    table
d184 10
a193 12
   Service shutdown request at proper time if it arrives while still star
   ting up
   Fix left-links in temporary indexes (could make backwards scans miss e
   ntries)
   Fix incorrect handling of client_encoding setting in postgresql.conf (
   Tatsuo)
   Fix failure to respond to 'pg_ctl stop -m fast' after Async_NotifyHand
   ler runs
   Fix SPI for case where rule contains multiple statements of the same t
   ype
   Fix problem with checking for wrong type of access permission in rule
   query
d207 1
a207 2
   pltcl's elog command dumped core if given wrong parameters (Ian Hardin
   g)
d211 3
a213 4
   Fixed various problems with updateable ResultSets for JDBC (Shawn Gree
   n)
   Fixed various problems with DatabaseMetaData for JDBC (Kris Jurka, Pet
   er Royal)
d242 2
a243 4
   Make plpython's spi_execute command handle nulls properly (Andrew Bosm
   a)
   Adjust plpython error reporting so that its regression test passes aga
   in
d249 1
a249 2
   Correctly case-fold variable names in per-database and per-user settin
   gs
d251 1
a251 1
   no rows
d264 1
a264 1

d266 1
a266 1

d268 1
a268 1

d271 1
a271 1

d273 1
a273 1

d276 2
a277 2
   a new major version number for this release, which will require that
   client code using libpq be relinked.
d279 1
a279 1

d281 2
a282 3

   Fix a core dump of COPY TO when client/server encodings don't match
     (Tom)
d284 3
a286 4
   contrib/adddepend fixes (Tom)
   Fix problem with deletion of per-user/per-database config settings
     (Tom)
   contrib/vacuumlo fix (Tom)
d288 2
a289 2
     (Bruce)
   contrib/dbmirror fix (Steven Singer)
d291 2
a292 2
   contrib/tsearch fixes (Teodor Sigaev, Magnus)
   Fix encoding name resolution to work in Turkish locale (Nicolai Tufar)
d295 1
a295 1
   Add SCO OpenServer 5.0.4 as a supported platform (Bruce)
a298 2
   Fix conversion between LATIN9 and UNICODE (Peter)
   Translation updates
d300 1
a300 1

d302 1
a302 1

d305 1
a305 1

d307 1
a307 1

d309 1
a309 1

d316 1
a316 1

d320 1
a320 1

d326 1
a326 1

d330 1
a330 1

d336 1
a336 1

d341 1
a341 1

d344 1
a344 1

d347 1
a347 1

d352 1
a352 1

d360 1
a360 1

d362 1
a362 1

d368 1
a368 1

d370 1
a370 1

d395 1
a395 1

d397 1
a397 1

d407 1
a407 1

d433 1
a433 1

d445 1
a445 1

d474 1
a474 1

d499 1
a499 1

d538 1
a538 1

d583 1
a583 1

d640 1
a640 1

d661 1
a661 1

d674 1
a674 1

d690 1
a690 1

d705 1
a705 1

d720 1
a720 1

d740 1
a740 1

d799 1
a799 1

a826 32
                               Release 7.2.5

     Release date: 2004-08-16

   This release contains a variety of fixes from 7.2.4.
     _________________________________________________________________

                         Migration to version 7.2.5

   A dump/restore is not required for those running 7.2.X.
     _________________________________________________________________

                                  Changes

     * Prevent possible loss of committed transactions during crash
       Due to insufficient interlocking between transaction commit and
       checkpointing, it was possible for transactions committed just
       before the most recent checkpoint to be lost, in whole or in part,
       following a database crash and restart. This is a serious bug that
       has existed since PostgreSQL 7.1.
     * Fix corner case for btree search in parallel with first root page
       split
     * Fix buffer overrun in to_ascii (Guido Notari)
     * Fix core dump in deadlock detection on machines where char is
       unsigned
     * Fix failure to respond to "pg_ctl stop -m fast" after
       Async_NotifyHandler runs
     * Repair memory leaks in pg_dump
     * Avoid conflict with system definition of isblank() function or
       macro
     _________________________________________________________________

d831 1
a831 1
   This has a variety of fixes from 7.2.3, including fixes to prevent
d842 2
a843 2
   Fix some additional cases of VACUUM "No one parent tuple was found" er
   ror
d845 2
a846 2
   Ensure pg_clog updates are sync'd to disk before marking checkpoint co
   mplete
d848 7
a854 8
   Make GROUP commands work when pg_group.grolist is large enough to be t
   oasted
   Fix errors in datetime tables; some timezone names weren't being recog
   nized
   Fix integer overflows in circle_poly(), path_encode(), path_add()  (Ne
   il)
   Repair long-standing logic errors in lseg_eq(), lseg_ne(), lseg_center
   ()
d856 1
a856 1

d858 1
a858 1

d860 1
a860 1

d864 1
a864 1

d866 1
a866 1

d869 1
a869 1

d871 1
a871 1

d879 1
a879 1

d881 1
a881 1

d883 1
a883 1

d886 1
a886 1

d888 1
a888 1

d891 1
a891 1

d893 1
a893 1

d910 1
a910 1

d912 1
a912 1

d914 1
a914 1

d917 1
a917 1

d919 1
a919 1

d922 1
a922 1

d924 1
a924 1

d944 1
a944 1

d946 1
a946 1

d949 1
a949 1

d951 1
a951 1

d953 1
a953 1

d955 1
a955 1

d961 1
a961 1

d965 1
a965 1

d969 1
a969 1

d973 1
a973 1

d978 1
a978 1

d982 1
a982 1

d987 1
a987 1

d989 1
a989 1

d992 1
a992 1

d994 1
a994 1

d1011 1
a1011 1

d1016 1
a1016 1

d1018 1
a1018 1

d1043 1
a1043 1

d1057 1
a1057 1

d1070 1
a1070 1

d1081 1
a1081 1

d1093 1
a1093 1

d1107 1
a1107 1

d1135 1
a1135 1

d1151 1
a1151 1

d1197 1
a1197 1

d1213 1
a1213 1

d1229 1
a1229 1

d1236 1
a1236 1

d1242 1
a1242 1

d1247 1
a1247 1

d1258 1
a1258 1

d1266 1
a1266 1

d1304 1
a1304 1

d1318 1
a1318 1

d1332 1
a1332 1

d1342 1
a1342 1

d1361 1
a1361 1

d1377 1
a1377 1

d1393 1
a1393 1

d1395 1
a1395 1

d1398 1
a1398 1

d1400 1
a1400 1

d1403 1
a1403 1

d1405 1
a1405 1

d1418 1
a1418 1

d1420 1
a1420 1

d1422 1
a1422 1

d1425 1
a1425 1

d1427 1
a1427 1

d1430 1
a1430 1

d1432 1
a1432 1

d1440 1
a1440 1

d1442 1
a1442 1

d1444 1
a1444 1

d1447 1
a1447 1

d1449 1
a1449 1

d1452 1
a1452 1

d1454 1
a1454 1

d1471 1
a1471 1

d1473 1
a1473 1

d1475 1
a1475 1

d1478 1
a1478 1

d1480 1
a1480 1

d1489 1
a1489 1

d1495 1
a1495 1

d1500 1
a1500 1

d1507 1
a1507 1

d1515 1
a1515 1

d1517 1
a1517 1

d1521 1
a1521 1

d1523 1
a1523 1

d1711 1
a1711 1

d1713 1
a1713 1

d1715 1
a1715 1

d1718 1
a1718 1

d1720 1
a1720 1

d1723 1
a1723 1

d1725 1
a1725 1

d1767 1
a1767 1

d1769 1
a1769 1

d1771 1
a1771 1

d1774 1
a1774 1

d1776 1
a1776 1

d1779 1
a1779 1

d1781 1
a1781 1

d1785 1
a1785 1

d1787 1
a1787 1

d1789 1
a1789 1

d1792 1
a1792 1

d1794 1
a1794 1

d1797 1
a1797 1

d1799 1
a1799 1

d1826 1
a1826 1

d1828 1
a1828 1

d1830 1
a1830 1

d1836 1
a1836 1

d1838 1
a1838 1

d1843 1
a1843 1

d1848 1
a1848 1

d1852 1
a1852 1

d1858 1
a1858 1

d1860 1
a1860 1

d1866 1
a1866 1

d1869 1
a1869 1

d1889 1
a1889 1

d1891 1
a1891 1

d2214 1
a2214 1

d2216 1
a2216 1

d2218 1
a2218 1

d2222 1
a2222 1

d2224 1
a2224 1

d2227 1
a2227 1

d2229 1
a2229 1

d2235 1
a2235 1

d2237 1
a2237 1

d2239 1
a2239 1

d2243 1
a2243 1

d2245 1
a2245 1

d2248 1
a2248 1

d2250 1
a2250 1

d2279 1
a2279 1

d2281 1
a2281 1

d2283 1
a2283 1

d2287 1
a2287 1

d2289 1
a2289 1

d2292 1
a2292 1

d2294 1
a2294 1

d2320 1
a2320 1

d2322 1
a2322 1

d2324 1
a2324 1

d2329 1
a2329 1

d2331 1
a2331 1

d2345 1
a2345 1

d2350 1
a2350 1

d2354 1
a2354 1

d2358 1
a2358 1

d2363 1
a2363 1

d2368 1
a2368 1

d2372 1
a2372 1

d2376 1
a2376 1

d2390 1
a2390 1

d2392 1
a2392 1

d2397 1
a2397 1

d2403 1
a2403 1

d2413 1
a2413 1

d2419 1
a2419 1

d2426 1
a2426 1

d2431 1
a2431 1

d2436 1
a2436 1

d2438 1
a2438 1

d2605 1
a2605 1

d2607 1
a2607 1

d2609 1
a2609 1

d2613 1
a2613 1

d2615 1
a2615 1

d2618 1
a2618 1

d2620 1
a2620 1

d2623 1
a2623 1

d2625 1
a2625 1

d2627 1
a2627 1

d2631 1
a2631 1

d2633 1
a2633 1

d2636 1
a2636 1

d2638 1
a2638 1

d2670 1
a2670 1

d2672 1
a2672 1

d2674 1
a2674 1

d2679 1
a2679 1

d2709 1
a2709 1

d2711 1
a2711 1

d2715 1
a2715 1

d2717 1
a2717 1

d2914 1
a2914 1

d2916 1
a2916 1

d2918 1
a2918 1

d2921 1
a2921 1

d2923 1
a2923 1

d2929 1
a2929 1

d2934 1
a2934 1

d2938 1
a2938 1

d2940 1
a2940 1

d2961 1
a2961 1

d2963 1
a2963 1

d2965 1
a2965 1

d2967 1
a2967 1

d2972 1
a2972 1

d2977 1
a2977 1

d2981 1
a2981 1

d2983 1
a2983 1

d3013 1
a3013 1

d3015 1
a3015 1

d3017 1
a3017 1

d3020 1
a3020 1

d3031 1
a3031 1

d3034 1
a3034 1

d3038 1
a3038 1

d3047 1
a3047 1

d3052 1
a3052 1

d3060 1
a3060 1

d3068 1
a3068 1

d3073 1
a3073 1

d3077 1
a3077 1

d3081 1
a3081 1

d3088 1
a3088 1

d3094 1
a3094 1

d3096 1
a3096 1

d3100 1
a3100 1

d3102 1
a3102 1

d3271 1
a3271 1

d3273 1
a3273 1

d3275 1
a3275 1

d3277 1
a3277 1

d3279 1
a3279 1

d3283 1
a3283 1

d3288 1
a3288 1

d3290 1
a3290 1

d3293 1
a3293 1

d3297 1
a3297 1

d3306 1
a3306 1

d3308 1
a3308 1

d3322 1
a3322 1

d3324 1
a3324 1

d3326 1
a3326 1

d3330 1
a3330 1

d3332 1
a3332 1

d3335 1
a3335 1

d3339 1
a3339 1

d3341 1
a3341 1

d3345 1
a3345 1

d3347 1
a3347 1

d3461 1
a3461 1

d3463 1
a3463 1

d3466 1
a3466 1

d3468 1
a3468 1

d3473 1
a3473 1

d3475 1
a3475 1

d3495 1
a3495 1

d3497 1
a3497 1

d3499 1
a3499 1

d3502 1
a3502 1

d3508 1
a3508 1

d3519 1
a3519 1

d3524 1
a3524 1

d3528 1
a3528 1

d3534 1
a3534 1

d3536 1
a3536 1

d3539 1
a3539 1

d3543 1
a3543 1

d3545 1
a3545 1

d3641 1
a3641 1

d3643 1
a3643 1

d3645 1
a3645 1

d3649 1
a3649 1

d3651 1
a3651 1

d3655 1
a3655 1

d3657 1
a3657 1

d3661 1
a3661 1

d3663 1
a3663 1

d3770 1
a3770 1

d3772 1
a3772 1

d3774 1
a3774 1

d3779 1
a3779 1

d3781 1
a3781 1

d3784 1
a3784 1

d3786 1
a3786 1

d3789 1
a3789 1

d3793 1
a3793 1

d3796 1
a3796 1

d3812 1
a3812 1

d3814 1
a3814 1

d3836 1
a3836 1

d3838 1
a3838 1

d3865 1
a3865 1

d3867 1
a3867 1

d3870 1
a3870 1

d3872 1
a3872 1

d3875 1
a3875 1

d3878 1
a3878 1

d3960 1
a3960 1

d3962 1
a3962 1

d3996 1
a3996 1

d3998 1
a3998 1

d4001 1
a4001 1

d4003 1
a4003 1

d4044 1
a4044 1

d4046 1
a4046 1

d4049 1
a4049 1

d4051 1
a4051 1

d4158 1
a4158 1

d4160 1
a4160 1

d4163 1
a4163 1

d4165 1
a4165 1

d4200 1
a4200 1

d4202 1
a4202 1

d4204 1
a4204 1

@


1.182.2.19
log
@Wups, seem to have used an ungood version of lynx to generate this.
@
text
@d1 1
a1 1
 
d49 1
a49 1
       original bug will be fixed in 7.5.
d79 1
a79 1
Migration to version 7.3.5
d84 1
a84 1
Changes
d87 1
a87 1
     * Prevent  some  obscure  cases  of  "variable not in subplan target
d89 1
a89 1
     * Force  stats  processes  to  detach  from  shared memory, ensuring
d93 1
a93 1
     * Fix  for  possible foreign key violation when rule rewrites INSERT
d96 1
a96 1
     * Make  pg_dump  handle  a  procedural  language  handler located in
d98 1
a98 1
     * Make  pg_dump  handle  cases  where a custom opclass is in another
d101 1
a101 1
     * Fix  insertion  of  expressions  containing  subqueries  into rule
d103 1
a103 1
     * Fix  incorrect  argument  processing  in  clusterdb  script (Anand
d106 1
a106 1
     * Repair  problems  with  to_char()  reading  past  end of its input
d109 1
a109 1
     * Fix  several problems with SSL error handling and asynchronous SSL
d111 1
a111 1
     * Remove  ability  to bind a list of values to a single parameter in
d114 1
a114 1
     * Fix  corner case for btree search in parallel with first root page
d158 4
a161 3
   Avoid slowness with lots of deferred triggers in one transaction (Stephan)
   Don't lock referenced row when UPDATE doesn't change foreign key's value
	(Jan)
d167 2
a168 1
   CHECKPOINT does not cause database panic on failure in noncritical steps
d171 3
a173 2
	large
   Fix abstime-to-time cast function (fix is not applied unless you initdb)
d175 5
a179 5
	initdb)
   Make EXTRACT(EPOCH FROM timestamp without time zone) treat input as
	local time
   'now'::timestamptz gave wrong answer if timezone changed earlier in
	transaction
d182 2
a183 1
   Avoid improper schema-permissions-check failure in foreign-key triggers
d185 2
a186 1
   Fix incorrect time-qual check in row fetch for UPDATE and DELETE triggers
d189 1
a189 1
	exists
d191 1
a191 1
	places
d194 2
a195 1
   Regular-expression patterns containing certain multibyte characters failed
d198 2
a199 2
   Fix failure to convert large code point values in EUC_TW conversions
	(Tatsuo)
d207 4
a210 2
   Avoid running out of buffers in many-way indexscan (bug introduced in 7.3)
   Fix planner's selectivity estimation functions to handle domains properly
d215 1
a215 1
	table
d217 12
a228 10
   Service shutdown request at proper time if it arrives while still
	starting up
   Fix left-links in temporary indexes (could make backwards scans miss
	entries)
   Fix incorrect handling of client_encoding setting in postgresql.conf
	(Tatsuo)
   Fix failure to respond to 'pg_ctl stop -m fast' after Async_NotifyHandler
	runs
   Fix SPI for case where rule contains multiple statements of the same type
   Fix problem with checking for wrong type of access permission in rule query
d242 2
a243 1
   pltcl's elog command dumped core if given wrong parameters (Ian Harding)
d247 4
a250 3
   Fixed various problems with updateable ResultSets for JDBC (Shawn Green)
   Fixed various problems with DatabaseMetaData for JDBC (Kris Jurka,
	Peter Royal)
d279 4
a282 2
   Make plpython's spi_execute command handle nulls properly (Andrew Bosma)
   Adjust plpython error reporting so that its regression test passes again
d288 2
a289 1
   Correctly case-fold variable names in per-database and per-user settings
d291 1
a291 1
	no rows
d304 1
a304 1
   
d306 1
a306 1
                                      
d308 1
a308 1
     
d311 1
a311 1
   
d313 1
a313 1
                                      
d316 2
a317 2
   a new major version number for this release, which may require
   recompilation of client code in certain cases.
d319 1
a319 1
   
d321 3
a323 2
                                      
   Fix a core dump of COPY TO when client/server encodings don't match (Tom)
d325 4
a328 3
   /contrib/adddepend fixes (Tom)
   Fix problem with deletion of per-user/per-database config settings (Tom)
   /contrib/vacuumlo fix (Tom)
d330 2
a331 2
    (Bruce)
   /contrib/dbmirror fix (Steven Singer)
d333 2
a334 2
   /contrib/tsearch fixes (Teodor Sigaev, Magnus)
   Allow locale names to be mixed case (Nicolai Tufar)
d337 1
a337 1
   Add SCO Openserver 5.0.4 as a supported platform (Bruce)
d341 2
d344 1
a344 1
   
d346 1
a346 1
                                      
d349 1
a349 1
   
d351 1
a351 1
                                      
d353 1
a353 1
   
d360 1
a360 1
          
d364 1
a364 1
          
d370 1
a370 1
          
d374 1
a374 1
          
d380 1
a380 1
          
d385 1
a385 1
          
d388 1
a388 1
          
d391 1
a391 1
          
d396 1
a396 1
          
d404 1
a404 1
   
d406 1
a406 1
                                      
d412 1
a412 1
   
d414 1
a414 1
   
d439 1
a439 1
   
d441 1
a441 1
                                      
d451 1
a451 1
   
d477 1
a477 1
   
d489 1
a489 1
   
d518 1
a518 1
   
d543 1
a543 1
   
d582 1
a582 1
   
d627 1
a627 1
   
d684 1
a684 1
   
d705 1
a705 1
   
d718 1
a718 1
   
d734 1
a734 1
   
d749 1
a749 1
   
d764 1
a764 1
   
d784 1
a784 1
   
d843 1
a843 1
   
d871 32
d907 1
a907 1
   This  has  a  variety  of fixes from 7.2.3, including fixes to prevent
d918 2
a919 2
   Fix some additional cases of VACUUM "No one parent tuple was found"
	error
d921 2
a922 2
   Ensure pg_clog updates are sync'd to disk before marking checkpoint
	complete
d924 8
a931 7
   Make GROUP commands work when pg_group.grolist is large enough
	to be toasted
   Fix errors in datetime tables; some timezone names weren't being
	recognized
   Fix integer overflows in circle_poly(), path_encode(), path_add()
	(Neil)
   Repair long-standing logic errors in lseg_eq(), lseg_ne(), lseg_center()
d933 1
a933 1
   
d935 1
a935 1
                                      
d937 1
a937 1
     
d941 1
a941 1
   
d943 1
a943 1
                                      
d946 1
a946 1
   
d948 1
a948 1
                                      
d956 1
a956 1
   
d958 1
a958 1
                                      
d960 1
a960 1
     
d963 1
a963 1
   
d965 1
a965 1
                                      
d968 1
a968 1
   
d970 1
a970 1
                                      
d987 1
a987 1
   
d989 1
a989 1
                                      
d991 1
a991 1
     
d994 1
a994 1
   
d996 1
a996 1
                                      
d999 1
a999 1
   
d1001 1
a1001 1
                                      
d1021 1
a1021 1
   
d1023 1
a1023 1
                                      
d1026 1
a1026 1
   
d1028 1
a1028 1
                                      
d1030 1
a1030 1
   
d1032 1
a1032 1
   
d1038 1
a1038 1
          
d1042 1
a1042 1
          
d1046 1
a1046 1
          
d1050 1
a1050 1
          
d1055 1
a1055 1
          
d1059 1
a1059 1
          
d1064 1
a1064 1
   
d1066 1
a1066 1
                                      
d1069 1
a1069 1
   
d1071 1
a1071 1
   
d1088 1
a1088 1
       
d1093 1
a1093 1
   
d1095 1
a1095 1
                                      
d1120 1
a1120 1
   
d1134 1
a1134 1
   
d1147 1
a1147 1
   
d1158 1
a1158 1
   
d1170 1
a1170 1
   
d1184 1
a1184 1
   
d1212 1
a1212 1
   
d1228 1
a1228 1
   
d1274 1
a1274 1
   
d1290 1
a1290 1
   
d1306 1
a1306 1
   
d1313 1
a1313 1
   
d1319 1
a1319 1
   
d1324 1
a1324 1
   
d1335 1
a1335 1
   
d1343 1
a1343 1
   
d1381 1
a1381 1
   
d1395 1
a1395 1
   
d1409 1
a1409 1
   
d1419 1
a1419 1
   
d1438 1
a1438 1
   
d1454 1
a1454 1
   
d1470 1
a1470 1
   
d1472 1
a1472 1
                                      
d1475 1
a1475 1
   
d1477 1
a1477 1
                                      
d1480 1
a1480 1
   
d1482 1
a1482 1
                                      
d1495 1
a1495 1
   
d1497 1
a1497 1
                                      
d1499 1
a1499 1
     
d1502 1
a1502 1
   
d1504 1
a1504 1
                                      
d1507 1
a1507 1
   
d1509 1
a1509 1
                                      
d1517 1
a1517 1
   
d1519 1
a1519 1
                                      
d1521 1
a1521 1
     
d1524 1
a1524 1
   
d1526 1
a1526 1
                                      
d1529 1
a1529 1
   
d1531 1
a1531 1
                                      
d1548 1
a1548 1
   
d1550 1
a1550 1
                                      
d1552 1
a1552 1
     
d1555 1
a1555 1
   
d1557 1
a1557 1
   
d1566 1
a1566 1
          
d1572 1
a1572 1
          
d1577 1
a1577 1
          
d1584 1
a1584 1
          
d1592 1
a1592 1
   
d1594 1
a1594 1
                                      
d1598 1
a1598 1
   
d1600 1
a1600 1
                                      
d1788 1
a1788 1
   
d1790 1
a1790 1
                                      
d1792 1
a1792 1
     
d1795 1
a1795 1
   
d1797 1
a1797 1
                                      
d1800 1
a1800 1
   
d1802 1
a1802 1
                                      
d1844 1
a1844 1
   
d1846 1
a1846 1
                                      
d1848 1
a1848 1
     
d1851 1
a1851 1
   
d1853 1
a1853 1
                                      
d1856 1
a1856 1
   
d1858 1
a1858 1
                                      
d1862 1
a1862 1
   
d1864 1
a1864 1
                                      
d1866 1
a1866 1
     
d1869 1
a1869 1
   
d1871 1
a1871 1
                                      
d1874 1
a1874 1
   
d1876 1
a1876 1
                                      
d1903 1
a1903 1
   
d1905 1
a1905 1
                                      
d1907 1
a1907 1
     
d1913 1
a1913 1
   
d1915 1
a1915 1
   
d1920 1
a1920 1
          
d1925 1
a1925 1
          
d1929 1
a1929 1
          
d1935 1
a1935 1
   
d1937 1
a1937 1
                                      
d1943 1
a1943 1
   
d1946 1
a1946 1
   
d1966 1
a1966 1
   
d1968 1
a1968 1
                                      
d2291 1
a2291 1
   
d2293 1
a2293 1
                                      
d2295 1
a2295 1
     
d2299 1
a2299 1
   
d2301 1
a2301 1
                                      
d2304 1
a2304 1
   
d2306 1
a2306 1
                                      
d2312 1
a2312 1
   
d2314 1
a2314 1
                                      
d2316 1
a2316 1
     
d2320 1
a2320 1
   
d2322 1
a2322 1
                                      
d2325 1
a2325 1
   
d2327 1
a2327 1
                                      
d2356 1
a2356 1
   
d2358 1
a2358 1
                                      
d2360 1
a2360 1
     
d2364 1
a2364 1
   
d2366 1
a2366 1
                                      
d2369 1
a2369 1
   
d2371 1
a2371 1
                                      
d2397 1
a2397 1
   
d2399 1
a2399 1
                                      
d2401 1
a2401 1
     
d2406 1
a2406 1
   
d2408 1
a2408 1
   
d2422 1
a2422 1
          
d2427 1
a2427 1
          
d2431 1
a2431 1
          
d2435 1
a2435 1
          
d2440 1
a2440 1
          
d2445 1
a2445 1
          
d2449 1
a2449 1
          
d2453 1
a2453 1
          
d2467 1
a2467 1
   
d2469 1
a2469 1
                                      
d2474 1
a2474 1
   
d2480 1
a2480 1
   
d2490 1
a2490 1
   
d2496 1
a2496 1
   
d2503 1
a2503 1
   
d2508 1
a2508 1
     
d2513 1
a2513 1
   
d2515 1
a2515 1
                                      
d2682 1
a2682 1
   
d2684 1
a2684 1
                                      
d2686 1
a2686 1
     
d2690 1
a2690 1
   
d2692 1
a2692 1
                                      
d2695 1
a2695 1
   
d2697 1
a2697 1
                                      
d2700 1
a2700 1
   
d2702 1
a2702 1
                                      
d2704 1
a2704 1
     
d2708 1
a2708 1
   
d2710 1
a2710 1
                                      
d2713 1
a2713 1
   
d2715 1
a2715 1
                                      
d2747 1
a2747 1
   
d2749 1
a2749 1
                                      
d2751 1
a2751 1
     
d2756 1
a2756 1
   
d2786 1
a2786 1
   
d2788 1
a2788 1
                                      
d2792 1
a2792 1
   
d2794 1
a2794 1
                                      
d2991 1
a2991 1
   
d2993 1
a2993 1
                                      
d2995 1
a2995 1
     
d2998 1
a2998 1
   
d3000 1
a3000 1
   
d3006 1
a3006 1
       
d3011 1
a3011 1
   
d3015 1
a3015 1
   
d3017 1
a3017 1
                                      
d3038 1
a3038 1
   
d3040 1
a3040 1
                                      
d3042 1
a3042 1
     
d3044 1
a3044 1
   
d3049 1
a3049 1
       
d3054 1
a3054 1
   
d3058 1
a3058 1
   
d3060 1
a3060 1
                                      
d3090 1
a3090 1
   
d3092 1
a3092 1
                                      
d3094 1
a3094 1
     
d3097 1
a3097 1
   
d3108 1
a3108 1
       
d3111 1
a3111 1
     
d3115 1
a3115 1
   
d3124 1
a3124 1
   
d3129 1
a3129 1
   
d3137 1
a3137 1
   
d3145 1
a3145 1
   
d3150 1
a3150 1
   
d3154 1
a3154 1
   
d3158 1
a3158 1
   
d3165 1
a3165 1
   
d3171 1
a3171 1
   
d3173 1
a3173 1
                                      
d3177 1
a3177 1
   
d3179 1
a3179 1
                                      
d3348 1
a3348 1
   
d3350 1
a3350 1
                                      
d3352 1
a3352 1
     
d3354 1
a3354 1
   
d3356 1
a3356 1
   
d3360 1
a3360 1
       
d3365 1
a3365 1
   
d3367 1
a3367 1
                                      
d3370 1
a3370 1
   
d3374 1
a3374 1
   
d3383 1
a3383 1
   
d3385 1
a3385 1
                                      
d3399 1
a3399 1
   
d3401 1
a3401 1
                                      
d3403 1
a3403 1
     
d3407 1
a3407 1
   
d3409 1
a3409 1
                                      
d3412 1
a3412 1
   
d3416 1
a3416 1
   
d3418 1
a3418 1
                                      
d3422 1
a3422 1
   
d3424 1
a3424 1
                                      
d3538 1
a3538 1
   
d3540 1
a3540 1
                                      
d3543 1
a3543 1
   
d3545 1
a3545 1
                                      
d3550 1
a3550 1
   
d3552 1
a3552 1
                                      
d3572 1
a3572 1
   
d3574 1
a3574 1
                                      
d3576 1
a3576 1
     
d3579 1
a3579 1
   
d3585 1
a3585 1
   
d3596 1
a3596 1
   
d3601 1
a3601 1
   
d3605 1
a3605 1
   
d3611 1
a3611 1
   
d3613 1
a3613 1
                                      
d3616 1
a3616 1
   
d3620 1
a3620 1
   
d3622 1
a3622 1
                                      
d3718 1
a3718 1
   
d3720 1
a3720 1
                                      
d3722 1
a3722 1
     
d3726 1
a3726 1
   
d3728 1
a3728 1
                                      
d3732 1
a3732 1
   
d3734 1
a3734 1
                                      
d3738 1
a3738 1
   
d3740 1
a3740 1
                                      
d3847 1
a3847 1
   
d3849 1
a3849 1
                                      
d3851 1
a3851 1
     
d3856 1
a3856 1
   
d3858 1
a3858 1
                                      
d3861 1
a3861 1
   
d3863 1
a3863 1
                                      
d3866 1
a3866 1
   
d3870 1
a3870 1
     
d3873 1
a3873 1
     
d3889 1
a3889 1
   
d3891 1
a3891 1
                                      
d3913 1
a3913 1
   
d3915 1
a3915 1
                                      
d3942 1
a3942 1
   
d3944 1
a3944 1
                                      
d3947 1
a3947 1
   
d3949 1
a3949 1
                                      
d3952 1
a3952 1
   
d3955 1
a3955 1
   
d4037 1
a4037 1
   
d4039 1
a4039 1
                                      
d4073 1
a4073 1
   
d4075 1
a4075 1
                                      
d4078 1
a4078 1
   
d4080 1
a4080 1
                                      
d4121 1
a4121 1
   
d4123 1
a4123 1
                                      
d4126 1
a4126 1
   
d4128 1
a4128 1
                                      
d4235 1
a4235 1
   
d4237 1
a4237 1
                                      
d4240 1
a4240 1
   
d4242 1
a4242 1
                                      
d4277 1
a4277 1
   
d4279 1
a4279 1
                                      
d4281 1
a4281 1
     
@


1.182.2.20
log
@Stamp release 7.3.8.
@
text
@a3 29
                               Release 7.3.8

     Release date: 2004-10-22

   This release contains a variety of fixes from 7.3.7.
     _________________________________________________________________

                         Migration to version 7.3.8

   A dump/restore is not required for those running 7.3.X.
     _________________________________________________________________

                                  Changes

     * Repair possible failure to update hint bits on disk
       Under rare circumstances this oversight could lead to "could not
       access transaction status" failures, which qualifies it as a
       potential-data-loss bug.
     * Ensure that hashed outer join does not miss tuples
       Very large left joins using a hash join plan could fail to output
       unmatched left-side rows given just the right data distribution.
     * Disallow running pg_ctl as root
       This is to guard against any possible security issues.
     * Avoid using temp files in /tmp in make_oidjoins_check
       This has been reported as a security issue, though it's hardly
       worthy of concern since there is no reason for non-developers to
       use this script anyway.
     _________________________________________________________________

a851 62
                               Release 7.2.6

     Release date: 2004-10-22

   This release contains a variety of fixes from 7.2.5.
     _________________________________________________________________

                         Migration to version 7.2.6

   A dump/restore is not required for those running 7.2.X.
     _________________________________________________________________

                                  Changes

     * Repair possible failure to update hint bits on disk
       Under rare circumstances this oversight could lead to "could not
       access transaction status" failures, which qualifies it as a
       potential-data-loss bug.
     * Ensure that hashed outer join does not miss tuples
       Very large left joins using a hash join plan could fail to output
       unmatched left-side rows given just the right data distribution.
     * Disallow running pg_ctl as root
       This is to guard against any possible security issues.
     * Avoid using temp files in /tmp in make_oidjoins_check
       This has been reported as a security issue, though it's hardly
       worthy of concern since there is no reason for non-developers to
       use this script anyway.
     * Update to newer versions of Bison
     _________________________________________________________________

                               Release 7.2.5

     Release date: 2004-08-16

   This release contains a variety of fixes from 7.2.4.
     _________________________________________________________________

                         Migration to version 7.2.5

   A dump/restore is not required for those running 7.2.X.
     _________________________________________________________________

                                  Changes

     * Prevent possible loss of committed transactions during crash
       Due to insufficient interlocking between transaction commit and
       checkpointing, it was possible for transactions committed just
       before the most recent checkpoint to be lost, in whole or in part,
       following a database crash and restart. This is a serious bug that
       has existed since PostgreSQL 7.1.
     * Fix corner case for btree search in parallel with first root page
       split
     * Fix buffer overrun in to_ascii (Guido Notari)
     * Fix core dump in deadlock detection on machines where char is
       unsigned
     * Fix failure to respond to "pg_ctl stop -m fast" after
       Async_NotifyHandler runs
     * Repair memory leaks in pg_dump
     * Avoid conflict with system definition of isblank() function or
       macro
     _________________________________________________________________

@


1.182.2.21
log
@Stamp release 7.3.9.
@
text
@d1 1
a1 1

a3 37
                               Release 7.3.9

     Release date: 2005-01-31

   This release contains a variety of fixes from 7.3.8, including several
   security-related issues.
     _________________________________________________________________

                         Migration to version 7.3.9

   A dump/restore is not required for those running 7.3.X.
     _________________________________________________________________

                                  Changes

     * Disallow "LOAD" to non-superusers
       On platforms that will automatically execute initialization
       functions of a shared library (this includes at least Windows and
       ELF-based Unixen), "LOAD" can be used to make the server execute
       arbitrary code. Thanks to NGS Software for reporting this.
     * Check that creator of an aggregate function has the right to
       execute the specified transition functions
       This oversight made it possible to bypass denial of EXECUTE
       permission on a function.
     * Fix security and 64-bit issues in contrib/intagg
     * Add needed STRICT marking to some contrib functions (Kris Jurka)
     * Avoid buffer overrun when plpgsql cursor declaration has too many
       parameters (Neil)
     * Fix planning error for FULL and RIGHT outer joins
       The result of the join was mistakenly supposed to be sorted the
       same as the left input. This could not only deliver mis-sorted
       output to the user, but in case of nested merge joins could give
       outright wrong answers.
     * Fix plperl for quote marks in tuple fields
     * Fix display of negative intervals in SQL and GERMAN datestyles
     _________________________________________________________________

d78 1
a78 1
       original bug will be fixed in 8.0.
d108 1
a108 1
                         Migration to version 7.3.5
d113 1
a113 1
                                  Changes
d116 1
a116 1
     * Prevent some obscure cases of "variable not in subplan target
d118 1
a118 1
     * Force stats processes to detach from shared memory, ensuring
d121 2
a122 3
     * Added missing SPI_finish() calls to dblink's
       get_tuple_of_interest() (Joe)
     * Fix for possible foreign key violation when rule rewrites INSERT
d125 1
a125 1
     * Make pg_dump handle a procedural language handler located in
d127 1
a127 1
     * Make pg_dump handle cases where a custom opclass is in another
d130 1
a130 1
     * Fix insertion of expressions containing subqueries into rule
d132 1
a132 1
     * Fix incorrect argument processing in clusterdb script (Anand
d135 1
a135 1
     * Repair problems with to_char() reading past end of its input
d138 1
a138 1
     * Fix several problems with SSL error handling and asynchronous SSL
d140 1
a140 1
     * Remove ability to bind a list of values to a single parameter in
d143 1
a143 1
     * Fix corner case for btree search in parallel with first root page
d161 9
a169 11
     * Repair breakage in timestamp-to-date conversion for dates before
       2000
     * Prevent rare possibility of server startup failure (Tom)
     * Fix bugs in interval-to-time conversion (Tom)
     * Add constraint names in a few places in pg_dump (Rod)
     * Improve performance of functions with many parameters (Tom)
     * Fix to_ascii() buffer overruns (Tom)
     * Prevent restore of database comments from throwing an error (Tom)
     * Work around buggy strxfrm() present in some Solaris releases (Tom)
     * Properly escape jdbc setObject() strings to improve security
       (Barry)
d176 1
a176 1
   This release contains a variety of fixes for version 7.3.2.
d181 1
a181 1
   A dump/restore is *not* required for those running version 7.3.*.
d186 84
a269 107
     * Repair sometimes-incorrect computation of StartUpID after a crash
     * Avoid slowness with lots of deferred triggers in one transaction
       (Stephan)
     * Don't lock referenced row when "UPDATE" doesn't change foreign
       key's value (Jan)
     * Use "-fPIC" not "-fpic" on Sparc (Tom Callaway)
     * Repair lack of schema-awareness in contrib/reindexdb
     * Fix contrib/intarray error for zero-element result array (Teodor)
     * Ensure createuser script will exit on control-C (Oliver)
     * Fix errors when the type of a dropped column has itself been
       dropped
     * "CHECKPOINT" does not cause database panic on failure in
       noncritical steps
     * Accept 60 in seconds fields of timestamp, time, interval input
       values
     * Issue notice, not error, if TIMESTAMP, TIME, or INTERVAL precision
       too large
     * Fix abstime-to-time cast function (fix is not applied unless you
       initdb)
     * Fix pg_proc entry for timestampt_izone (fix is not applied unless
       you initdb)
     * Make EXTRACT(EPOCH FROM timestamp without time zone) treat input
       as local time
     * "'now'::timestamptz" gave wrong answer if timezone changed earlier
       in transaction
     * HAVE_INT64_TIMESTAMP code for time with timezone overwrote its
       input
     * Accept "GLOBAL TEMP/TEMPORARY" as a synonym for "TEMPORARY"
     * Avoid improper schema-privilege-check failure in foreign-key
       triggers
     * Fix bugs in foreign-key triggers for "SET DEFAULT" action
     * Fix incorrect time-qual check in row fetch for "UPDATE" and
       "DELETE" triggers
     * Foreign-key clauses were parsed but ignored in "ALTER TABLE ADD
       COLUMN"
     * Fix createlang script breakage for case where handler function
       already exists
     * Fix misbehavior on zero-column tables in pg_dump, COPY, ANALYZE,
       other places
     * Fix misbehavior of func_error() on type names containing '%'
     * Fix misbehavior of replace() on strings containing '%'
     * Regular-expression patterns containing certain multibyte
       characters failed
     * Account correctly for "NULL"s in more cases in join size
       estimation
     * Avoid conflict with system definition of isblank() function or
       macro
     * Fix failure to convert large code point values in EUC_TW
       conversions (Tatsuo)
     * Fix error recovery for SSL_read/SSL_write calls
     * Don't do early constant-folding of type coercion expressions
     * Validate page header fields immediately after reading in any page
     * Repair incorrect check for ungrouped variables in unnamed joins
     * Fix buffer overrun in to_ascii (Guido Notari)
     * contrib/ltree fixes (Teodor)
     * Fix core dump in deadlock detection on machines where char is
       unsigned
     * Avoid running out of buffers in many-way indexscan (bug introduced
       in 7.3)
     * Fix planner's selectivity estimation functions to handle domains
       properly
     * Fix dbmirror memory-allocation bug (Steven Singer)
     * Prevent infinite loop in ln(numeric) due to roundoff error
     * "GROUP BY" got confused if there were multiple equal GROUP BY
       items
     * Fix bad plan when inherited "UPDATE"/"DELETE" references another
       inherited table
     * Prevent clustering on incomplete (partial or non-NULL-storing)
       indexes
     * Service shutdown request at proper time if it arrives while still
       starting up
     * Fix left-links in temporary indexes (could make backwards scans
       miss entries)
     * Fix incorrect handling of client_encoding setting in
       postgresql.conf (Tatsuo)
     * Fix failure to respond to "pg_ctl stop -m fast" after
       Async_NotifyHandler runs
     * Fix SPI for case where rule contains multiple statements of the
       same type
     * Fix problem with checking for wrong type of access privilege in
       rule query
     * Fix problem with "EXCEPT" in "CREATE RULE"
     * Prevent problem with dropping temp tables having serial columns
     * Fix replace_vars_with_subplan_refs failure in complex views
     * Fix regexp slowness in single-byte encodings (Tatsuo)
     * Allow qualified type names in "CREATE CAST" and " DROP CAST"
     * Accept SETOF type[], which formerly had to be written SETOF _type
     * Fix pg_dump core dump in some cases with procedural languages
     * Force ISO datestyle in pg_dump output, for portability (Oliver)
     * pg_dump failed to handle error return from lo_read (Oleg Drokin)
     * pg_dumpall failed with groups having no members (Nick Eskelinen)
     * pg_dumpall failed to recognize --globals-only switch
     * pg_restore failed to restore blobs if -X disable-triggers is
       specified
     * Repair intrafunction memory leak in plpgsql
     * pltcl's "elog" command dumped core if given wrong parameters (Ian
       Harding)
     * plpython used wrong value of atttypmod (Brad McLean)
     * Fix improper quoting of boolean values in Python interface
       (D'Arcy)
     * Added addDataType() method to PGConnection interface for JDBC
     * Fixed various problems with updateable ResultSets for JDBC (Shawn
       Green)
     * Fixed various problems with DatabaseMetaData for JDBC (Kris Jurka,
       Peter Royal)
     * Fixed problem with parsing table ACLs in JDBC
     * Better error message for character set conversion problems in JDBC
d276 1
a276 1
   This release contains a variety of fixes for version 7.3.1.
d281 1
a281 1
   A dump/restore is *not* required for those running version 7.3.*.
d286 31
a316 40
     * Restore creation of OID column in CREATE TABLE AS / SELECT INTO
     * Fix pg_dump core dump when dumping views having comments
     * Dump DEFERRABLE/INITIALLY DEFERRED constraints properly
     * Fix UPDATE when child table's column numbering differs from parent
     * Increase default value of max_fsm_relations
     * Fix problem when fetching backwards in a cursor for a single-row
       query
     * Make backward fetch work properly with cursor on SELECT DISTINCT
       query
     * Fix problems with loading pg_dump files containing contrib/lo
       usage
     * Fix problem with all-numeric user names
     * Fix possible memory leak and core dump during disconnect in
       libpgtcl
     * Make plpython's spi_execute command handle nulls properly (Andrew
       Bosma)
     * Adjust plpython error reporting so that its regression test passes
       again
     * Work with bison 1.875
     * Handle mixed-case names properly in plpgsql's %type (Neil)
     * Fix core dump in pltcl when executing a query rewritten by a rule
     * Repair array subscript overruns (per report from Yichen Xie)
     * Reduce MAX_TIME_PRECISION from 13 to 10 in floating-point case
     * Correctly case-fold variable names in per-database and per-user
       settings
     * Fix coredump in plpgsql's RETURN NEXT when SELECT into record
       returns no rows
     * Fix outdated use of pg_type.typprtlen in python client interface
     * Correctly handle fractional seconds in timestamps in JDBC driver
     * Improve performance of getImportedKeys() in JDBC
     * Make shared-library symlinks work standardly on HPUX (Giles)
     * Repair inconsistent rounding behavior for timestamp, time,
       interval
     * SSL negotiation fixes (Nathan Mueller)
     * Make libpq's ~/.pgpass feature work when connecting with
       PQconnectDB
     * Update my2pg, ora2pg
     * Translation updates
     * Add casts between types lo and oid in contrib/lo
     * fastpath code now checks for privilege to call function
d318 1
a318 1

d320 1
a320 1

d322 2
a323 2

   This release contains a variety of fixes for version 7.3.
d325 1
a325 1

d327 26
a352 5

   A dump/restore is *not* required for those running version 7.3.
   However, it should be noted that the main PostgreSQL interface
   library, libpq, has a new major version number for this release, which
   may require recompilation of client code in certain cases.
d354 1
a354 24

                                  Changes

     * Fix a core dump of COPY TO when client/server encodings don't
       match (Tom)
     * Allow pg_dump to work with pre-7.2 servers (Philip)
     * contrib/adddepend fixes (Tom)
     * Fix problem with deletion of per-user/per-database config settings
       (Tom)
     * contrib/vacuumlo fix (Tom)
     * Allow 'password' encryption even when pg_shadow contains MD5
       passwords (Bruce)
     * contrib/dbmirror fix (Steven Singer)
     * Optimizer fixes (Tom)
     * contrib/tsearch fixes (Teodor Sigaev, Magnus)
     * Allow locale names to be mixed case (Nicolai Tufar)
     * Increment libpq library's major version number (Bruce)
     * pg_hba.conf error reporting fixes (Bruce, Neil)
     * Add SCO Openserver 5.0.4 as a supported platform (Bruce)
     * Prevent EXPLAIN from crashing server (Tom)
     * SSL fixes (Nathan Mueller)
     * Prevent composite column creation via ALTER TABLE (Tom)
     _________________________________________________________________

d356 1
a356 1

d359 1
a359 1

d361 1
a361 1

d363 1
a363 1

d368 1
a368 1
          Table/index creation can be restricted by removing privileges
d370 1
a370 1

d374 1
a374 1

d380 1
a380 1

d384 1
a384 1

d390 1
a390 1

d395 1
a395 1

d398 1
a398 1

d401 1
a401 1

d406 1
a406 1

d414 1
a414 1

d416 1
a416 1

d421 2
a422 2
   http://developer.postgresql.org/~momjian/upgrade_tips_7.3.

d424 1
a424 1

d449 1
a449 1

d451 1
a451 1

d454 6
a459 6
     * Add pg_locks view to show locks (Neil)
     * Security fixes for password negotiation memory allocation (Neil)
     * Remove support for version 0 FE/BE protocol (PostgreSQL 6.2 and
       earlier) (Tom)
     * Reserve the last few backend slots for superusers, add parameter
       superuser_reserved_connections to control this (Nigel J. Andrews)
d461 1
a461 1

d464 22
a485 24
     * Improve startup by calling localtime() only once (Tom)
     * Cache system catalog information in flat files for faster startup
       (Tom)
     * Improve caching of index information (Tom)
     * Optimizer improvements (Tom, Fernando Nasser)
     * Catalog caches now store failed lookups (Tom)
     * Hash function improvements (Neil)
     * Improve performance of query tokenization and network handling
       (Peter)
     * Speed improvement for large object restore (Mario Weilguni)
     * Mark expired index entries on first lookup, saving later heap
       fetches (Tom)
     * Avoid excessive NULL bitmap padding (Manfred Koizar)
     * Add BSD-licensed qsort() for Solaris, for performance (Bruce)
     * Reduce per-row overhead by four bytes (Manfred Koizar)
     * Fix GEQO optimizer bug (Neil Conway)
     * Make WITHOUT OID actually save four bytes per row (Manfred Koizar)
     * Add default_statistics_target variable to specify ANALYZE buckets
       (Neil)
     * Use local buffer cache for temporary tables so no WAL overhead
       (Tom)
     * Improve free space map performance on large tables (Stephen
       Marshall, Tom)
     * Improved WAL write concurrency (Tom)
d487 1
a487 1

d490 8
a497 8
     * Add privileges on functions and procedural languages (Peter)
     * Add OWNER to CREATE DATABASE so superusers can create databases on
       behalf of unprivileged users (Gavin Sherry, Tom)
     * Add new object privilege bits EXECUTE and USAGE (Tom)
     * Add SET SESSION AUTHORIZATION DEFAULT and RESET SESSION
       AUTHORIZATION (Tom)
     * Allow functions to be executed with the privilege of the function
       owner (Peter)
d499 1
a499 1

d502 25
a526 26
     * Server log messages now tagged with LOG, not DEBUG (Bruce)
     * Add user column to pg_hba.conf (Bruce)
     * Have log_connections output two lines in log file (Tom)
     * Remove debug_level from postgresql.conf, now server_min_messages
       (Bruce)
     * New ALTER DATABASE/USER ... SET command for per-user/database
       initialization (Peter)
     * New parameters server_min_messages and client_min_messages to
       control which messages are sent to the server logs or client
       applications (Bruce)
     * Allow pg_hba.conf to specify lists of users/databases separated by
       commas, group names prepended with +, and file names prepended
       with @@ (Bruce)
     * Remove secondary password file capability and pg_password utility
       (Bruce)
     * Add variable db_user_namespace for database-local user names
       (Bruce)
     * SSL improvements (Bear Giles)
     * Make encryption of stored passwords the default (Bruce)
     * Allow pg_statistics to be reset by calling pg_stat_reset()
       (Christopher)
     * Add log_duration parameter (Bruce)
     * Rename debug_print_query to log_statement (Bruce)
     * Rename show_query_stats to show_statement_stats (Bruce)
     * Add param log_min_error_statement to print commands to logs on
       error (Gavin)
d528 1
a528 1

d531 21
a551 23
     * Make cursors insensitive, meaning their contents do not change
       (Tom)
     * Disable LIMIT #,# syntax; now only LIMIT # OFFSET # supported
       (Bruce)
     * Increase identifier length to 63 (Neil, Bruce)
     * UNION fixes for merging >= 3 columns of different lengths (Tom)
     * Add DEFAULT key word to INSERT, e.g., INSERT ... (..., DEFAULT,
       ...) (Rod)
     * Allow views to have default values using ALTER COLUMN ... SET
       DEFAULT (Neil)
     * Fail on INSERTs with column lists that don't supply all column
       values, e.g., INSERT INTO tab (col1, col2) VALUES ('val1'); (Rod)
     * Fix for join aliases (Tom)
     * Fix for FULL OUTER JOINs (Tom)
     * Improve reporting of invalid identifier and location (Tom, Gavin)
     * Fix OPEN cursor(args) (Tom)
     * Allow 'ctid' to be used in a view and currtid(viewname) (Hiroshi)
     * Fix for CREATE TABLE AS with UNION (Tom)
     * SQL99 syntax improvements (Thomas)
     * Add statement_timeout variable to cancel queries (Bruce)
     * Allow prepared queries with PREPARE/EXECUTE (Neil)
     * Allow FOR UPDATE to appear after LIMIT/OFFSET (Bruce)
     * Add variable autocommit (Tom, David Van Wie)
d553 1
a553 1

d556 35
a590 36
     * Make equals signs optional in CREATE DATABASE (Gavin Sherry)
     * Make ALTER TABLE OWNER change index ownership too (Neil)
     * New ALTER TABLE tabname ALTER COLUMN colname SET STORAGE controls
       TOAST storage, compression (John Gray)
     * Add schema support, CREATE/DROP SCHEMA (Tom)
     * Create schema for temporary tables (Tom)
     * Add variable search_path for schema search (Tom)
     * Add ALTER TABLE SET/DROP NOT NULL (Christopher)
     * New CREATE FUNCTION volatility levels (Tom)
     * Make rule names unique only per table (Tom)
     * Add 'ON tablename' clause to DROP RULE and COMMENT ON RULE (Tom)
     * Add ALTER TRIGGER RENAME (Joe)
     * New current_schema() and current_schemas() inquiry functions (Tom)
     * Allow functions to return multiple rows (table functions) (Joe)
     * Make WITH optional in CREATE DATABASE, for consistency (Bruce)
     * Add object dependency tracking (Rod, Tom)
     * Add RESTRICT/CASCADE to DROP commands (Rod)
     * Add ALTER TABLE DROP for non-CHECK CONSTRAINT (Rod)
     * Autodestroy sequence on DROP of table with SERIAL (Rod)
     * Prevent column dropping if column is used by foreign key (Rod)
     * Automatically drop constraints/functions when object is dropped
       (Rod)
     * Add CREATE/DROP OPERATOR CLASS (Bill Studenmund, Tom)
     * Add ALTER TABLE DROP COLUMN (Christopher, Tom, Hiroshi)
     * Prevent inherited columns from being removed or renamed (Alvaro
       Herrera)
     * Fix foreign key constraints to not error on intermediate database
       states (Stephan)
     * Propagate column or table renaming to foreign key constraints
     * Add CREATE OR REPLACE VIEW (Gavin, Neil, Tom)
     * Add CREATE OR REPLACE RULE (Gavin, Neil, Tom)
     * Have rules execute alphabetically, returning more predictable
       values (Tom)
     * Triggers are now fired in alphabetical order (Tom)
     * Add /contrib/adddepend to handle pre-7.3 object dependencies (Rod)
     * Allow better casting when inserting/updating values (Tom)
d592 1
a592 1

d595 41
a635 46
     * Have COPY TO output embedded carriage returns and newlines as \r
       and \n (Tom)
     * Allow DELIMITER in COPY FROM to be 8-bit clean (Tatsuo)
     * Make pg_dump use ALTER TABLE ADD PRIMARY KEY, for performance
       (Neil)
     * Disable brackets in multistatement rules (Bruce)
     * Disable VACUUM from being called inside a function (Bruce)
     * Allow dropdb and other scripts to use identifiers with spaces
       (Bruce)
     * Restrict database comment changes to the current database
     * Allow comments on operators, independent of the underlying
       function (Rod)
     * Rollback SET commands in aborted transactions (Tom)
     * EXPLAIN now outputs as a query (Tom)
     * Display condition expressions and sort keys in EXPLAIN (Tom)
     * Add 'SET LOCAL var = value' to set configuration variables for a
       single transaction (Tom)
     * Allow ANALYZE to run in a transaction (Bruce)
     * Improve COPY syntax using new WITH clauses, keep backward
       compatibility (Bruce)
     * Fix pg_dump to consistently output tags in non-ASCII dumps (Bruce)
     * Make foreign key constraints clearer in dump file (Rod)
     * Add COMMENT ON CONSTRAINT (Rod)
     * Allow COPY TO/FROM to specify column names (Brent Verner)
     * Dump UNIQUE and PRIMARY KEY constraints as ALTER TABLE (Rod)
     * Have SHOW output a query result (Joe)
     * Generate failure on short COPY lines rather than pad NULLs (Neil)
     * Fix CLUSTER to preserve all table attributes (Alvaro Herrera)
     * New pg_settings table to view/modify GUC settings (Joe)
     * Add smart quoting, portability improvements to pg_dump output
       (Peter)
     * Dump serial columns out as SERIAL (Tom)
     * Enable large file support, >2G for pg_dump (Peter, Philip Warner,
       Bruce)
     * Disallow TRUNCATE on tables that are involved in referential
       constraints (Rod)
     * Have TRUNCATE also auto-truncate the toast table of the relation
       (Tom)
     * Add clusterdb utility that will auto-cluster an entire database
       based on previous CLUSTER operations (Alvaro Herrera)
     * Overhaul pg_dumpall (Peter)
     * Allow REINDEX of TOAST tables (Tom)
     * Implemented START TRANSACTION, per SQL99 (Neil)
     * Fix rare index corruption when a page split affects bulk delete
       (Tom)
     * Fix ALTER TABLE ... ADD COLUMN for inheritance (Alvaro Herrera)
d637 1
a637 1

d640 53
a692 56
     * Fix factorial(0) to return 1 (Bruce)
     * Date/time/timezone improvements (Thomas)
     * Fix for array slice extraction (Tom)
     * Fix extract/date_part to report proper microseconds for timestamp
       (Tatsuo)
     * Allow text_substr() and bytea_substr() to read TOAST values more
       efficiently (John Gray)
     * Add domain support (Rod)
     * Make WITHOUT TIME ZONE the default for TIMESTAMP and TIME data
       types (Thomas)
     * Allow alternate storage scheme of 64-bit integers for date/time
       types using --enable-integer-datetimes in configure (Thomas)
     * Make timezone(timestamptz) return timestamp rather than a string
       (Thomas)
     * Allow fractional seconds in date/time types for dates prior to 1BC
       (Thomas)
     * Limit timestamp data types to 6 decimal places of precision
       (Thomas)
     * Change timezone conversion functions from timetz() to timezone()
       (Thomas)
     * Add configuration variables datestyle and timezone (Tom)
     * Add OVERLAY(), which allows substitution of a substring in a
       string (Thomas)
     * Add SIMILAR TO (Thomas, Tom)
     * Add regular expression SUBSTRING(string FROM pat FOR escape)
       (Thomas)
     * Add LOCALTIME and LOCALTIMESTAMP functions (Thomas)
     * Add named composite types using CREATE TYPE typename AS (column)
       (Joe)
     * Allow composite type definition in the table alias clause (Joe)
     * Add new API to simplify creation of C language table functions
       (Joe)
     * Remove ODBC-compatible empty parentheses from calls to SQL99
       functions for which these parentheses do not match the standard
       (Thomas)
     * Allow macaddr data type to accept 12 hex digits with no separators
       (Mike Wyer)
     * Add CREATE/DROP CAST (Peter)
     * Add IS DISTINCT FROM operator (Thomas)
     * Add SQL99 TREAT() function, synonym for CAST() (Thomas)
     * Add pg_backend_pid() to output backend pid (Bruce)
     * Add IS OF / IS NOT OF type predicate (Thomas)
     * Allow bit string constants without fully-specified length (Thomas)
     * Allow conversion between 8-byte integers and bit strings (Thomas)
     * Implement hex literal conversion to bit string literal (Thomas)
     * Allow table functions to appear in the FROM clause (Joe)
     * Increase maximum number of function parameters to 32 (Bruce)
     * No longer automatically create index for SERIAL column (Tom)
     * Add current_database() (Rod)
     * Fix cash_words() to not overflow buffer (Tom)
     * Add functions replace(), split_part(), to_hex() (Joe)
     * Fix LIKE for bytea as a right-hand argument (Joe)
     * Prevent crashes caused by SELECT cash_out(2) (Tom)
     * Fix to_char(1,'FM999.99') to return a period (Karel)
     * Fix trigger/type/language functions returning OPAQUE to return
       proper type (Tom)
d694 1
a694 1

d697 17
a713 17
     * Add additional encodings: Korean (JOHAB), Thai (WIN874),
       Vietnamese (TCVN), Arabic (WIN1256), Simplified Chinese (GBK),
       Korean (UHC) (Eiji Tokuya)
     * Enable locale support by default (Peter)
     * Add locale variables (Peter)
     * Escape byes >= 0x7f for multibyte in PQescapeBytea/PQunescapeBytea
       (Tatsuo)
     * Add locale awareness to regular expression character classes
     * Enable multibyte support by default (Tatsuo)
     * Add GB18030 multibyte support (Bill Huang)
     * Add CREATE/DROP CONVERSION, allowing loadable encodings (Tatsuo,
       Kaori)
     * Add pg_conversion table (Tatsuo)
     * Add SQL99 CONVERT() function (Tatsuo)
     * pg_dumpall, pg_controldata, and pg_resetxlog now national-language
       aware (Peter)
     * New and updated translations
d715 1
a715 1

d718 40
a757 40
     * Allow recursive SQL function (Peter)
     * Change PL/Tcl build to use configured compiler and Makefile.shlib
       (Peter)
     * Overhaul the PL/pgSQL FOUND variable to be more Oracle-compatible
       (Neil, Tom)
     * Allow PL/pgSQL to handle quoted identifiers (Tom)
     * Allow set-returning PL/pgSQL functions (Neil)
     * Make PL/pgSQL schema-aware (Joe)
     * Remove some memory leaks (Nigel J. Andrews, Tom)
     _________________________________________________________________

psql

     * Don't lowercase psql \connect database name for 7.2.0
       compatibility (Tom)
     * Add psql \timing to time user queries (Greg Sabino Mullane)
     * Have psql \d show index information (Greg Sabino Mullane)
     * New psql \dD shows domains (Jonathan Eisler)
     * Allow psql to show rules on views (Paul ?)
     * Fix for psql variable substitution (Tom)
     * Allow psql \d to show temporary table structure (Tom)
     * Allow psql \d to show foreign keys (Rod)
     * Fix \? to honor \pset pager (Bruce)
     * Have psql reports its version number on startup (Tom)
     * Allow \copy to specify column names (Tom)
     _________________________________________________________________

libpq

     * Add ~/.pgpass to store host/user password combinations (Alvaro
       Herrera)
     * Add PQunescapeBytea() function to libpq (Patrick Welche)
     * Fix for sending large queries over non-blocking connections
       (Bernhard Herzog)
     * Fix for libpq using timers on Win9X (David Ford)
     * Allow libpq notify to handle servers with different-length
       identifiers (Tom)
     * Add libpq PQescapeString() and PQescapeBytea() to Windows (Bruce)
     * Fix for SSL with non-blocking connections (Jack Bates)
     * Add libpq connection timeout parameter (Denis A Ustimenko)
d759 1
a759 1

d762 11
a772 12
     * Allow JDBC to compile with JDK 1.4 (Dave)
     * Add JDBC 3 support (Barry)
     * Allows JDBC to set loglevel by adding ?loglevel=X to the
       connection URL (Barry)
     * Add Driver.info() message that prints out the version number
       (Barry)
     * Add updateable result sets (Raghu Nidagal, Dave)
     * Add support for callable statements (Paul Bethe)
     * Add query cancel capability
     * Add refresh row (Dave)
     * Fix MD5 encryption handling for multibyte servers (Jun Kawai)
     * Add support for prepared statements (Barry)
d774 1
a774 1

d777 16
a792 17
     * Fixed ECPG bug concerning octal numbers in single quotes (Michael)
     * Move src/interfaces/libpgeasy to http://gborg.postgresql.org
       (Marc, Bruce)
     * Improve Python interface (Elliot Lee, Andrew Johnson, Greg
       Copeland)
     * Add libpgtcl connection close event (Gerhard Hintermayer)
     * Move src/interfaces/libpq++ to http://gborg.postgresql.org (Marc,
       Bruce)
     * Move src/interfaces/odbc to http://gborg.postgresql.org (Marc)
     * Move src/interfaces/libpgeasy to http://gborg.postgresql.org
       (Marc, Bruce)
     * Move src/interfaces/perl5 to http://gborg.postgresql.org (Marc,
       Bruce)
     * Remove src/bin/pgaccess from main tree, now at
       http://www.pgaccess.org (Bruce)
     * Add pg_on_connection_loss command to libpgtcl (Gerhard
       Hintermayer, Tom)
d794 1
a794 1

d797 55
a851 58
     * Fix for parallel make (Peter)
     * AIX fixes for linking Tcl (Andreas Zeugswetter)
     * Allow PL/Perl to build under Cygwin (Jason Tishler)
     * Improve MIPS compiles (Peter, Oliver Elphick)
     * Require Autoconf version 2.53 (Peter)
     * Require readline and zlib by default in configure (Peter)
     * Allow Solaris to use Intimate Shared Memory (ISM), for performance
       (Scott Brunza, P.J. Josh Rovero)
     * Always enable syslog in compile, remove --enable-syslog option
       (Tatsuo)
     * Always enable multibyte in compile, remove --enable-multibyte
       option (Tatsuo)
     * Always enable locale in compile, remove --enable-locale option
       (Peter)
     * Fix for Win9x DLL creation (Magnus Naeslund)
     * Fix for link() usage by WAL code on Windows, BeOS (Jason Tishler)
     * Add sys/types.h to c.h, remove from main files (Peter, Bruce)
     * Fix AIX hang on SMP machines (Tomoyuki Niijima)
     * AIX SMP hang fix (Tomoyuki Niijima)
     * Fix pre-1970 date handling on newer glibc libraries (Tom)
     * Fix PowerPC SMP locking (Tom)
     * Prevent gcc -ffast-math from being used (Peter, Tom)
     * Bison >= 1.50 now required for developer builds
     * Kerberos 5 support now builds with Heimdal (Peter)
     * Add appendix in the User's Guide which lists SQL features (Thomas)
     * Improve loadable module linking to use RTLD_NOW (Tom)
     * New error levels WARNING, INFO, LOG, DEBUG[1-5] (Bruce)
     * New src/port directory holds replaced libc functions (Peter,
       Bruce)
     * New pg_namespace system catalog for schemas (Tom)
     * Add pg_class.relnamespace for schemas (Tom)
     * Add pg_type.typnamespace for schemas (Tom)
     * Add pg_proc.pronamespace for schemas (Tom)
     * Restructure aggregates to have pg_proc entries (Tom)
     * System relations now have their own namespace, pg_* test not
       required (Fernando Nasser)
     * Rename TOAST index names to be *_index rather than *_idx (Neil)
     * Add namespaces for operators, opclasses (Tom)
     * Add additional checks to server control file (Thomas)
     * New Polish FAQ (Marcin Mazurek)
     * Add Posix semaphore support (Tom)
     * Document need for reindex (Bruce)
     * Rename some internal identifiers to simplify Windows compile (Jan,
       Katherine Ward)
     * Add documentation on computing disk space (Bruce)
     * Remove KSQO from GUC (Bruce)
     * Fix memory leak in rtree (Kenneth Been)
     * Modify a few error messages for consistency (Bruce)
     * Remove unused system table columns (Peter)
     * Make system columns NOT NULL where appropriate (Tom)
     * Clean up use of sprintf in favor of snprintf() (Neil, Jukka
       Holappa)
     * Remove OPAQUE and create specific subtypes (Tom)
     * Cleanups in array internal handling (Joe, Tom)
     * Disallow pg_atoi('') (Bruce)
     * Remove parameter wal_files because WAL files are now recycled
       (Bruce)
     * Add version numbers to heap pages (Tom)
d853 1
a853 1

d856 23
a878 54
     * Allow inet arrays in /contrib/array (Neil)
     * GiST fixes (Teodor Sigaev, Neil)
     * Upgrade /contrib/mysql
     * Add /contrib/dbsize which shows table sizes without vacuum (Peter)
     * Add /contrib/intagg, integer aggregator routines (mlw)
     * Improve /contrib/oid2name (Neil, Bruce)
     * Improve /contrib/tsearch (Oleg, Teodor Sigaev)
     * Cleanups of /contrib/rserver (Alexey V. Borzov)
     * Update /contrib/oracle conversion utility (Gilles Darold)
     * Update /contrib/dblink (Joe)
     * Improve options supported by /contrib/vacuumlo (Mario Weilguni)
     * Improvements to /contrib/intarray (Oleg, Teodor Sigaev, Andrey
       Oktyabrski)
     * Add /contrib/reindexdb utility (Shaun Thomas)
     * Add indexing to /contrib/isbn_issn (Dan Weston)
     * Add /contrib/dbmirror (Steven Singer)
     * Improve /contrib/pgbench (Neil)
     * Add /contrib/tablefunc table function examples (Joe)
     * Add /contrib/ltree data type for tree structures (Teodor Sigaev,
       Oleg Bartunov)
     * Move /contrib/pg_controldata, pg_resetxlog into main tree (Bruce)
     * Fixes to /contrib/cube (Bruno Wolff)
     * Improve /contrib/fulltextindex (Christopher)
     _________________________________________________________________

                               Release 7.2.7

     Release date: 2005-01-31

   This release contains a variety of fixes from 7.2.6, including several
   security-related issues.
     _________________________________________________________________

                         Migration to version 7.2.7

   A dump/restore is not required for those running 7.2.X.
     _________________________________________________________________

                                  Changes

     * Disallow "LOAD" to non-superusers
       On platforms that will automatically execute initialization
       functions of a shared library (this includes at least Windows and
       ELF-based Unixen), "LOAD" can be used to make the server execute
       arbitrary code. Thanks to NGS Software for reporting this.
     * Add needed STRICT marking to some contrib functions (Kris Jurka)
     * Avoid buffer overrun when plpgsql cursor declaration has too many
       parameters (Neil)
     * Fix planning error for FULL and RIGHT outer joins
       The result of the join was mistakenly supposed to be sorted the
       same as the left input. This could not only deliver mis-sorted
       output to the user, but in case of nested merge joins could give
       outright wrong answers.
     * Fix display of negative intervals in SQL and GERMAN datestyles
d947 2
a948 2
   This release contains a variety of fixes for version 7.2.3, including
   fixes to prevent possible data loss.
d953 1
a953 1
   A dump/restore is *not* required for those running version 7.2.*.
d958 13
a970 14
     * Fix some additional cases of VACUUM "No one parent tuple was
       found" error
     * Prevent VACUUM from being called inside a function (Bruce)
     * Ensure pg_clog updates are sync'd to disk before marking
       checkpoint complete
     * Avoid integer overflow during large hash joins
     * Make GROUP commands work when pg_group.grolist is large enough to
       be toasted
     * Fix errors in datetime tables; some timezone names weren't being
       recognized
     * Fix integer overflows in circle_poly(), path_encode(), path_add()
       (Neil)
     * Repair long-standing logic errors in lseg_eq(), lseg_ne(),
       lseg_center()
d972 1
a972 1

d974 1
a974 1

d976 3
a978 3

   This release contains a variety of fixes for version 7.2.2, including
   fixes to prevent possible data loss.
d980 1
a980 1

d982 2
a983 2

   A dump/restore is *not* required for those running version 7.2.*.
d985 1
a985 1

d987 7
a993 8

     * Prevent possible compressed transaction log loss (Tom)
     * Prevent non-superuser from increasing most recent vacuum info
       (Tom)
     * Handle pre-1970 date values in newer versions of glibc (Tom)
     * Fix possible hang during server shutdown
     * Prevent spinlock hangs on SMP PPC machines (Tomoyuki Niijima)
     * Fix pg_dump to properly dump FULL JOIN USING (Tom)
d995 1
a995 1

d997 1
a997 1

d999 2
a1000 2

   This release contains a variety of fixes for version 7.2.1.
d1002 1
a1002 1

d1004 2
a1005 2

   A dump/restore is *not* required for those running version 7.2.*.
d1007 1
a1007 1

d1009 16
a1024 16

     * Allow EXECUTE of "CREATE TABLE AS ... SELECT" in PL/pgSQL (Tom)
     * Fix for compressed transaction log id wraparound (Tom)
     * Fix PQescapeBytea/PQunescapeBytea so that they handle bytes > 0x7f
       (Tatsuo)
     * Fix for psql and pg_dump crashing when invoked with non-existent
       long options (Tatsuo)
     * Fix crash when invoking geometric operators (Tom)
     * Allow OPEN cursor(args) (Tom)
     * Fix for rtree_gist index build (Teodor)
     * Fix for dumping user-defined aggregates (Tom)
     * contrib/intarray fixes (Oleg)
     * Fix for complex UNION/EXCEPT/INTERSECT queries using parens (Tom)
     * Fix to pg_convert (Tatsuo)
     * Fix for crash with long DATA strings (Thomas, Neil)
     * Fix for repeat(), lpad(), rpad() and long strings (Neil)
d1026 1
a1026 1

d1028 1
a1028 1

d1030 2
a1031 2

   This release contains a variety of fixes for version 7.2.
d1033 1
a1033 1

d1035 2
a1036 2

   A dump/restore is *not* required for those running version 7.2.
d1038 1
a1038 1

d1040 19
a1058 22

     * Ensure that sequence counters do not go backwards after a crash
       (Tom)
     * Fix pgaccess kanji-conversion key binding (Tatsuo)
     * Optimizer improvements (Tom)
     * Cash I/O improvements (Tom)
     * New Russian FAQ
     * Compile fix for missing AuthBlockSig (Heiko)
     * Additional time zones and time zone fixes (Thomas)
     * Allow psql \connect to handle mixed case database and user names
       (Tom)
     * Return proper OID on command completion even with ON INSERT rules
       (Tom)
     * Allow COPY FROM to use 8-bit DELIMITERS (Tatsuo)
     * Fix bug in extract/date_part for milliseconds/microseconds
       (Tatsuo)
     * Improve handling of multiple UNIONs with different lengths (Tom)
     * contrib/btree_gist improvements (Teodor Sigaev)
     * contrib/tsearch dictionary improvements, see README.tsearch for an
       additional installation step (Thomas T. Thai, Teodor Sigaev)
     * Fix for array subscripts handling (Tom)
     * Allow EXECUTE of "CREATE TABLE AS ... SELECT" in PL/pgSQL (Tom)
d1060 1
a1060 1

d1062 1
a1062 1

d1065 1
a1065 1

d1067 1
a1067 1

d1069 1
a1069 1

d1071 1
a1071 1

d1077 1
a1077 1

d1081 1
a1081 1

d1085 1
a1085 1

d1089 1
a1089 1

d1094 1
a1094 1

d1098 1
a1098 1

d1103 1
a1103 1

d1105 1
a1105 1

d1108 1
a1108 1

d1110 1
a1110 1

d1127 1
a1127 1

d1132 1
a1132 1

d1134 1
a1134 1

d1137 21
a1157 21
     * Create temporary files in a separate directory (Bruce)
     * Delete orphaned temporary files on postmaster startup (Bruce)
     * Added unique indexes to some system tables (Tom)
     * System table operator reorganization (Oleg Bartunov, Teodor
       Sigaev, Tom)
     * Renamed pg_log to pg_clog (Tom)
     * Enable SIGTERM, SIGQUIT to kill backends (Jan)
     * Removed compile-time limit on number of backends (Tom)
     * Better cleanup for semaphore resource failure (Tatsuo, Tom)
     * Allow safe transaction ID wraparound (Tom)
     * Removed OIDs from some system tables (Tom)
     * Removed "triggered data change violation" error check (Tom)
     * SPI portal creation of prepared/saved plans (Jan)
     * Allow SPI column functions to work for system columns (Tom)
     * Long value compression improvement (Tom)
     * Statistics collector for table, index access (Jan)
     * Truncate extra-long sequence names to a reasonable value (Tom)
     * Measure transaction times in milliseconds (Thomas)
     * Fix TID sequential scans (Hiroshi)
     * Superuser ID now fixed at 1 (Peter E)
     * New pg_ctl "reload" option (Tom)
d1159 1
a1159 1

d1162 10
a1171 10
     * Optimizer improvements (Tom)
     * New histogram column statistics for optimizer (Tom)
     * Reuse write-ahead log files rather than discarding them (Tom)
     * Cache improvements (Tom)
     * IS NULL, IS NOT NULL optimizer improvement (Tom)
     * Improve lock manager to reduce lock contention (Tom)
     * Keep relcache entries for index access support functions (Tom)
     * Allow better selectivity with NaN and infinities in NUMERIC (Tom)
     * R-tree performance improvements (Kenneth Been)
     * B-tree splits more efficient (Tom)
d1173 1
a1173 1

d1176 9
a1184 9
     * Change UPDATE, DELETE privileges to be distinct (Peter E)
     * New REFERENCES, TRIGGER privileges (Peter E)
     * Allow GRANT/REVOKE to/from more than one user at a time (Peter E)
     * New has_table_privilege() function (Joe Conway)
     * Allow non-superuser to vacuum database (Tom)
     * New SET SESSION AUTHORIZATION command (Peter E)
     * Fix bug in privilege modifications on newly created tables (Tom)
     * Disallow access to pg_statistic for non-superuser, add
       user-accessible views (Tom)
d1186 1
a1186 1

d1189 7
a1195 10
     * Fork postmaster before doing authentication to prevent hangs
       (Peter E)
     * Add ident authentication over Unix domain sockets on Linux, *BSD
       (Helge Bahmann, Oliver Elphick, Teodor Sigaev, Bruce)
     * Add a password authentication method that uses MD5 encryption
       (Bruce)
     * Allow encryption of stored passwords using MD5 (Bruce)
     * PAM authentication (Dominic J. Eidson)
     * Load pg_hba.conf and pg_ident.conf only on startup and SIGHUP
       (Bruce)
d1197 1
a1197 1

d1200 8
a1207 8
     * Interpretation of some time zone abbreviations as Australian
       rather than North American now settable at run time (Bruce)
     * New parameter to set default transaction isolation level (Peter E)
     * New parameter to enable conversion of "expr = NULL" into "expr IS
       NULL", off by default (Peter E)
     * New parameter to control memory usage by VACUUM (Tom)
     * New parameter to set client authentication timeout (Tom)
     * New parameter to set maximum number of open files (Tom)
d1209 1
a1209 1

d1212 10
a1221 11
     * Statements added by INSERT rules now execute after the INSERT
       (Jan)
     * Prevent unadorned relation names in target list (Bruce)
     * NULLs now sort after all normal values in ORDER BY (Tom)
     * New IS UNKNOWN, IS NOT UNKNOWN Boolean tests (Tom)
     * New SHARE UPDATE EXCLUSIVE lock mode (Tom)
     * New EXPLAIN ANALYZE command that shows run times and row counts
       (Martijn van Oosterhout)
     * Fix problem with LIMIT and subqueries (Tom)
     * Fix for LIMIT, DISTINCT ON pushed into subqueries (Tom)
     * Fix nested EXCEPT/INTERSECT (Tom)
d1223 1
a1223 1

d1226 24
a1249 26
     * Fix SERIAL in temporary tables (Bruce)
     * Allow temporary sequences (Bruce)
     * Sequences now use int8 internally (Tom)
     * New SERIAL8 creates int8 columns with sequences, default still
       SERIAL4 (Tom)
     * Make OIDs optional using WITHOUT OIDS (Tom)
     * Add %TYPE syntax to CREATE TYPE (Ian Lance Taylor)
     * Add ALTER TABLE / DROP CONSTRAINT for CHECK constraints
       (Christopher Kings-Lynne)
     * New CREATE OR REPLACE FUNCTION to alter existing function
       (preserving the function OID) (Gavin Sherry)
     * Add ALTER TABLE / ADD [ UNIQUE | PRIMARY ] (Christopher
       Kings-Lynne)
     * Allow column renaming in views
     * Make ALTER TABLE / RENAME COLUMN update column names of indexes
       (Brent Verner)
     * Fix for ALTER TABLE / ADD CONSTRAINT ... CHECK with inherited
       tables (Stephan Szabo)
     * ALTER TABLE RENAME update foreign-key trigger arguments correctly
       (Brent Verner)
     * DROP AGGREGATE and COMMENT ON AGGREGATE now accept an aggtype
       (Tom)
     * Add automatic return type data casting for SQL functions (Tom)
     * Allow GiST indexes to handle NULLs and multikey indexes (Oleg
       Bartunov, Teodor Sigaev, Tom)
     * Enable partial indexes (Martijn van Oosterhout)
d1251 1
a1251 1

d1254 12
a1265 12
     * Add RESET ALL, SHOW ALL (Marko Kreen)
     * CREATE/ALTER USER/GROUP now allow options in any order (Vince)
     * Add LOCK A, B, C functionality (Neil Padgett)
     * New ENCRYPTED/UNENCRYPTED option to CREATE/ALTER USER (Bruce)
     * New light-weight VACUUM does not lock table; old semantics are
       available as VACUUM FULL (Tom)
     * Disable COPY TO/FROM on views (Bruce)
     * COPY DELIMITERS string must be exactly one character (Tom)
     * VACUUM warning about index tuples fewer than heap now only appears
       when appropriate (Martijn van Oosterhout)
     * Fix privilege checks for CREATE INDEX (Tom)
     * Disallow inappropriate use of CREATE/DROP INDEX/TRIGGER/VIEW (Tom)
d1267 1
a1267 1

d1270 42
a1311 49
     * SUM(), AVG(), COUNT() now uses int8 internally for speed (Tom)
     * Add convert(), convert2() (Tatsuo)
     * New function bit_length() (Peter E)
     * Make the "n" in CHAR(n)/VARCHAR(n) represents letters, not bytes
       (Tatsuo)
     * CHAR(), VARCHAR() now reject strings that are too long (Peter E)
     * BIT VARYING now rejects bit strings that are too long (Peter E)
     * BIT now rejects bit strings that do not match declared size (Peter
       E)
     * INET, CIDR text conversion functions (Alex Pilosov)
     * INET, CIDR operators << and <<= indexable (Alex Pilosov)
     * Bytea \### now requires valid three digit octal number
     * Bytea comparison improvements, now supports =, <>, >, >=, <, and
       <=
     * Bytea now supports B-tree indexes
     * Bytea now supports LIKE, LIKE...ESCAPE, NOT LIKE, NOT
       LIKE...ESCAPE
     * Bytea now supports concatenation
     * New bytea functions: position, substring, trim, btrim, and length
     * New encode() function mode, "escaped", converts minimally escaped
       bytea to/from text
     * Add pg_database_encoding_max_length() (Tatsuo)
     * Add pg_client_encoding() function (Tatsuo)
     * now() returns time with millisecond precision (Thomas)
     * New TIMESTAMP WITHOUT TIMEZONE data type (Thomas)
     * Add ISO date/time specification with "T", yyyy-mm-ddThh:mm:ss
       (Thomas)
     * New xid/int comparison functions (Hiroshi)
     * Add precision to TIME, TIMESTAMP, and INTERVAL data types (Thomas)
     * Modify type coercion logic to attempt binary-compatible functions
       first (Tom)
     * New encode() function installed by default (Marko Kreen)
     * Improved to_*() conversion functions (Karel Zak)
     * Optimize LIKE/ILIKE when using single-byte encodings (Tatsuo)
     * New functions in contrib/pgcrypto: crypt(), hmac(), encrypt(),
       gen_salt() (Marko Kreen)
     * Correct description of translate() function (Bruce)
     * Add INTERVAL argument for SET TIME ZONE (Thomas)
     * Add INTERVAL YEAR TO MONTH (etc.) syntax (Thomas)
     * Optimize length functions when using single-byte encodings
       (Tatsuo)
     * Fix path_inter, path_distance, path_length, dist_ppath to handle
       closed paths (Curtis Barrett, Tom)
     * octet_length(text) now returns non-compressed length (Tatsuo,
       Bruce)
     * Handle "July" full name in date/time literals (Greg Sabino
       Mullane)
     * Some datatype() function calls now evaluated differently
     * Add support for Julian and ISO time specifications (Thomas)
d1313 1
a1313 1

d1316 12
a1327 12
     * National language support in psql, pg_dump, libpq, and server
       (Peter E)
     * Message translations in Chinese (simplified, traditional), Czech,
       French, German, Hungarian, Russian, Swedish (Peter E, Serguei A.
       Mokhov, Karel Zak, Weiping He, Zhenbang Wei, Kovacs Zoltan)
     * Make trim, ltrim, rtrim, btrim, lpad, rpad, translate multibyte
       aware (Tatsuo)
     * Add LATIN5,6,7,8,9,10 support (Tatsuo)
     * Add ISO 8859-5,6,7,8 support (Tatsuo)
     * Correct LATIN5 to mean ISO-8859-9, not ISO-8859-5 (Tatsuo)
     * Make mic2ascii() non-ASCII aware (Tatsuo)
     * Reject invalid multibyte character sequences (Tatsuo)
d1329 1
a1329 1

d1332 12
a1343 13
     * Now uses portals for SELECT loops, allowing huge result sets (Jan)
     * CURSOR and REFCURSOR support (Jan)
     * Can now return open cursors (Jan)
     * Add ELSEIF (Klaus Reger)
     * Improve PL/pgSQL error reporting, including location of error
       (Tom)
     * Allow IS or FOR key words in cursor declaration, for compatibility
       (Bruce)
     * Fix for SELECT ... FOR UPDATE (Tom)
     * Fix for PERFORM returning multiple rows (Tom)
     * Make PL/pgSQL use the server's type coercion code (Tom)
     * Memory leak fix (Jan, Tom)
     * Make trailing semicolon optional (Tom)
d1345 1
a1345 1

d1348 3
a1350 3
     * New untrusted PL/Perl (Alex Pilosov)
     * PL/Perl is now built on some platforms even if libperl is not
       shared (Peter E)
d1352 1
a1352 1

d1355 2
a1356 2
     * Now reports errorInfo (Vsevolod Lobko)
     * Add spi_lastoid function (bob@@redivi.com)
d1358 1
a1358 1

d1361 1
a1361 1
     * ...is new (Andrew Bosma)
d1363 2
d1366 15
a1380 10
psql

     * \d displays indexes in unique, primary groupings (Christopher
       Kings-Lynne)
     * Allow trailing semicolons in backslash commands (Greg Sabino
       Mullane)
     * Read password from /dev/tty if possible
     * Force new password prompt when changing user and database (Tatsuo,
       Tom)
     * Format the correct number of columns for Unicode (Patrice)
d1382 1
a1382 9

libpq

     * New function PQescapeString() to escape quotes in command strings
       (Florian Weimer)
     * New function PQescapeBytea() escapes binary strings for use as SQL
       string literals
     _________________________________________________________________

d1385 34
a1418 34
     * Return OID of INSERT (Ken K)
     * Handle more data types (Ken K)
     * Handle single quotes and newlines in strings (Ken K)
     * Handle NULL variables (Ken K)
     * Fix for time zone handling (Barry Lind)
     * Improved Druid support
     * Allow eight-bit characters with non-multibyte server (Barry Lind)
     * Support BIT, BINARY types (Ned Wolpert)
     * Reduce memory usage (Michael Stephens, Dave Cramer)
     * Update DatabaseMetaData (Peter E)
     * Add DatabaseMetaData.getCatalogs() (Peter E)
     * Encoding fixes (Anders Bengtsson)
     * Get/setCatalog methods (Jason Davies)
     * DatabaseMetaData.getColumns() now returns column defaults (Jason
       Davies)
     * DatabaseMetaData.getColumns() performance improvement (Jeroen van
       Vianen)
     * Some JDBC1 and JDBC2 merging (Anders Bengtsson)
     * Transaction performance improvements (Barry Lind)
     * Array fixes (Greg Zoller)
     * Serialize addition
     * Fix batch processing (Rene Pijlman)
     * ExecSQL method reorganization (Anders Bengtsson)
     * GetColumn() fixes (Jeroen van Vianen)
     * Fix isWriteable() function (Rene Pijlman)
     * Improved passage of JDBC2 conformance tests (Rene Pijlman)
     * Add bytea type capability (Barry Lind)
     * Add isNullable() (Rene Pijlman)
     * JDBC date/time test suite fixes (Liam Stewart)
     * Fix for SELECT 'id' AS xxx FROM table (Dave Cramer)
     * Fix DatabaseMetaData to show precision properly (Mark Lillywhite)
     * New getImported/getExported keys (Jason Davies)
     * MD5 password encryption support (Jeremy Wohl)
     * Fix to actually use type cache (Ned Wolpert)
d1420 1
a1420 1

d1423 10
a1432 10
     * Remove query size limit (Hiroshi)
     * Remove text field size limit (Hiroshi)
     * Fix for SQLPrimaryKeys in multibyte mode (Hiroshi)
     * Allow ODBC procedure calls (Hiroshi)
     * Improve boolean handing (Aidan Mountford)
     * Most configuration options now settable via DSN (Hiroshi)
     * Multibyte, performance fixes (Hiroshi)
     * Allow driver to be used with iODBC or unixODBC (Peter E)
     * MD5 password encryption support (Bruce)
     * Add more compatibility functions to odbc.sql (Peter E)
d1434 1
a1434 1

d1437 10
a1446 11
     * EXECUTE ... INTO implemented (Christof Petig)
     * Multiple row descriptor support (e.g. CARDINALITY) (Christof
       Petig)
     * Fix for GRANT parameters (Lee Kindness)
     * Fix INITIALLY DEFERRED bug
     * Various bug fixes (Michael, Christof Petig)
     * Auto allocation for indicator variable arrays (int *ind_p=NULL)
     * Auto allocation for string arrays (char **foo_pp=NULL)
     * ECPGfree_auto_mem fixed
     * All function names with external linkage are now prefixed by ECPG
     * Fixes for arrays of structures (Michael)
d1448 1
a1448 1

d1451 6
a1456 6
     * Python fix fetchone() (Gerhard Haring)
     * Use UTF, Unicode in Tcl where appropriate (Vsevolod Lobko,
       Reinhard Max)
     * Add Tcl COPY TO/FROM (ljb)
     * Prevent output of default index op class in pg_dump (Tom)
     * Fix libpgeasy memory leak (Bruce)
d1458 1
a1458 1

d1461 15
a1475 16
     * Configure, dynamic loader, and shared library fixes (Peter E)
     * Fixes in QNX 4 port (Bernd Tegge)
     * Fixes in Cygwin and Windows ports (Jason Tishler, Gerhard Haring,
       Dmitry Yurtaev, Darko Prenosil, Mikhail Terekhov)
     * Fix for Windows socket communication failures (Magnus, Mikhail
       Terekhov)
     * Hurd compile fix (Oliver Elphick)
     * BeOS fixes (Cyril Velter)
     * Remove configure --enable-unicode-conversion, now enabled by
       multibyte (Tatsuo)
     * AIX fixes (Tatsuo, Andreas)
     * Fix parallel make (Peter E)
     * Install SQL language manual pages into OS-specific directories
       (Peter E)
     * Rename config.h to pg_config.h (Peter E)
     * Reorganize installation layout of header files (Peter E)
d1477 1
a1477 1

d1480 12
a1491 12
     * Remove SEP_CHAR (Bruce)
     * New GUC hooks (Tom)
     * Merge GUC and command line handling (Marko Kreen)
     * Remove EXTEND INDEX (Martijn van Oosterhout, Tom)
     * New pgjindent utility to indent java code (Bruce)
     * Remove define of true/false when compiling under C++ (Leandro
       Fanzone, Tom)
     * pgindent fixes (Bruce, Tom)
     * Replace strcasecmp() with strcmp() where appropriate (Peter E)
     * Dynahash portability improvements (Tom)
     * Add 'volatile' usage in spinlock structures
     * Improve signal handling logic (Tom)
d1493 1
a1493 1

d1496 12
a1507 12
     * New contrib/rtree_gist (Oleg Bartunov, Teodor Sigaev)
     * New contrib/tsearch full-text indexing (Oleg, Teodor Sigaev)
     * Add contrib/dblink for remote database access (Joe Conway)
     * contrib/ora2pg Oracle conversion utility (Gilles Darold)
     * contrib/xml XML conversion utility (John Gray)
     * contrib/fulltextindex fixes (Christopher Kings-Lynne)
     * New contrib/fuzzystrmatch with levenshtein and metaphone, soundex
       merged (Joe Conway)
     * Add contrib/intarray boolean queries, binary search, fixes (Oleg
       Bartunov)
     * New pg_upgrade utility (Bruce)
     * Add new pg_resetxlog options (Bruce, Tom)
d1509 1
a1509 1

d1511 1
a1511 1

d1514 1
a1514 1

d1516 1
a1516 1

d1519 1
a1519 1

d1521 1
a1521 1

d1534 1
a1534 1

d1536 1
a1536 1

d1538 1
a1538 1

d1541 1
a1541 1

d1543 1
a1543 1

d1546 1
a1546 1

d1548 1
a1548 1

d1551 1
a1551 1
Referential integrity privilege fix
d1556 1
a1556 1

d1558 1
a1558 1

d1560 1
a1560 1

d1563 1
a1563 1

d1565 1
a1565 1

d1568 1
a1568 1

d1570 1
a1570 1

d1580 1
a1580 1
Fix for whole rows in functions (Tom)
d1587 1
a1587 1

d1589 1
a1589 1

d1591 1
a1591 1

d1594 1
a1594 1

d1596 1
a1596 1

d1605 1
a1605 1

d1611 1
a1611 1

d1616 1
a1616 1

d1623 1
a1623 1

d1631 1
a1631 1

d1633 1
a1633 1

d1637 1
a1637 1

d1639 1
a1639 1

d1673 1
a1673 1
Allow ORDER BY, LIMIT in subqueries (Tom)
d1706 1
a1706 1
   new ONLY key word prevents it (Chris Bitmead, Tom)
d1714 1
a1714 1
Allow TEMPORARY or TEMP key word when creating temporary tables (Bruce)
d1827 1
a1827 1

d1829 1
a1829 1

d1831 1
a1831 1

d1834 1
a1834 1

d1836 1
a1836 1

d1839 1
a1839 1

d1841 1
a1841 1

d1871 2
a1872 2
Fix VACUUM problem with moving chain of update row versions when source
    and destination of a row version lie on the same page (Tom)
d1883 1
a1883 1

d1885 1
a1885 1

d1887 1
a1887 1

d1890 1
a1890 1

d1892 1
a1892 1

d1895 1
a1895 1

d1897 1
a1897 1

d1901 1
a1901 1

d1903 1
a1903 1

d1905 1
a1905 1

d1908 1
a1908 1

d1910 1
a1910 1

d1913 1
a1913 1

d1915 1
a1915 1

d1942 1
a1942 1

d1944 1
a1944 1

d1946 1
a1946 1

d1952 1
a1952 1

d1954 1
a1954 1

d1959 1
a1959 1

d1964 1
a1964 1

d1968 1
a1968 1

d1974 1
a1974 1

d1976 1
a1976 1

d1982 1
a1982 1

d1985 1
a1985 1

d2005 1
a2005 1

d2007 1
a2007 1

d2058 1
a2058 1
Prevent privileges on indexes (Peter E)
d2063 1
a2063 1
Fix for privilege check on UNION tables (Tom)
d2122 1
a2122 1
Add privilege check for vacuum (Peter E)
d2158 1
a2158 1
libpq non-blocking mode (Alfred Perlstein)
d2177 1
a2177 1
Add SESSION_USER as SQL92 key word, same as CURRENT_USER (Thomas)
d2306 1
a2306 1
Enable Windows compilation of libpq
d2319 1
a2319 1
Fix for libpq and psql on Windows (Magnus)
d2330 1
a2330 1

d2332 1
a2332 1

d2334 1
a2334 1

d2338 1
a2338 1

d2340 1
a2340 1

d2343 1
a2343 1

d2345 1
a2345 1

d2351 1
a2351 1

d2353 1
a2353 1

d2355 1
a2355 1

d2359 1
a2359 1

d2361 1
a2361 1

d2364 1
a2364 1

d2366 1
a2366 1

d2373 1
a2373 1
Fix for Windows making problem with MB enabled(Hiroki Kataoka)
d2395 1
a2395 1

d2397 1
a2397 1

d2399 1
a2399 1

d2403 1
a2403 1

d2405 1
a2405 1

d2408 1
a2408 1

d2410 1
a2410 1

d2421 1
a2421 1
Fix to prevent too large row from being created(Bruce)
d2436 1
a2436 1

d2438 1
a2438 1

d2440 1
a2440 1

d2445 1
a2445 1

d2447 1
a2447 1

d2461 1
a2461 1

d2466 1
a2466 1

d2470 1
a2470 1

d2474 1
a2474 1

d2479 1
a2479 1

d2484 1
a2484 1

d2488 1
a2488 1

d2492 1
a2492 1

d2506 1
a2506 1

d2508 1
a2508 1

d2513 1
a2513 1

d2519 1
a2519 1

d2529 1
a2529 1

d2535 1
a2535 1

d2542 1
a2542 1

d2547 1
a2547 1

d2552 1
a2552 1

d2554 1
a2554 1

d2591 1
a2591 1
Allow user name containing a dash to grant privileges
d2609 1
a2609 1
Allow pg_dump to properly dump group privileges(Bruce)
d2707 1
a2707 1
Add Windows NT backend port and enable dynamic loading(Magnus and Daniel Horak)
d2713 1
a2713 1
Removed CURRENT key word for rule queries(Jan)
d2721 1
a2721 1

d2723 1
a2723 1

d2725 1
a2725 1

d2729 1
a2729 1

d2731 1
a2731 1

d2734 1
a2734 1

d2736 1
a2736 1

d2739 1
a2739 1

d2741 1
a2741 1

d2743 1
a2743 1

d2747 1
a2747 1

d2749 1
a2749 1

d2752 1
a2752 1

d2754 1
a2754 1

d2760 1
a2760 1
Fix test for table existence to allow mixed-case and whitespace in
d2783 1
a2783 1
Compilation of libpq for Windows fixes(Magnus)
d2786 1
a2786 1

d2788 1
a2788 1

d2790 1
a2790 1

d2795 1
a2795 1

d2825 1
a2825 1

d2827 1
a2827 1

d2831 1
a2831 1

d2833 1
a2833 1

d2866 1
a2866 1
libpq now allows asynchronous clients(Tom)
d2868 2
a2869 2
psql now cancels query with Control-C(Tom)
libpq users need not issue dummy queries to get NOTIFY messages(Tom)
d2911 2
a2912 2
contrib/noupdate code to revoke update permission on a column
libpq can now be compiled on Windows(Magnus)
d2956 1
a2956 1
        * Rules and views inherit the privileges of the creator
d2976 1
a2976 1
psql and libpq now compile under Windows using win32.mak(Magnus)
d2989 1
a2989 1
Remove ARCHIVE key word, that is no longer used(Thomas)
d3030 1
a3030 1

d3032 1
a3032 1

d3034 1
a3034 1

d3037 1
a3037 1

d3039 1
a3039 1

d3045 1
a3045 1

d3050 1
a3050 1

d3054 1
a3054 1

d3056 1
a3056 1

d3077 1
a3077 1

d3079 1
a3079 1

d3081 1
a3081 1

d3083 1
a3083 1

d3088 1
a3088 1

d3093 1
a3093 1

d3097 1
a3097 1

d3099 1
a3099 1

d3119 1
a3119 1
Allow optional TABLE key word in LOCK and SELECT INTO(Thomas)
d3129 1
a3129 1

d3131 1
a3131 1

d3133 1
a3133 1

d3136 1
a3136 1

d3143 2
a3144 2
     * Better password authorization mechanisms. Default table privileges
       have changed.
d3147 1
a3147 1

d3150 1
a3150 1

d3154 1
a3154 1

d3163 1
a3163 1

d3168 1
a3168 1

d3176 1
a3176 1

d3184 2
a3185 2

   User-created tables now no longer have SELECT privilege to PUBLIC by
d3187 1
a3187 1
   of course GRANT any privileges you want after the table is created.
d3189 1
a3189 1

d3193 1
a3193 1

d3197 1
a3197 1

d3201 1
a3201 1
   privileges now, not based on the underlying tables, so privileges on
d3204 1
a3204 1

d3210 1
a3210 1

d3212 1
a3212 1

d3216 1
a3216 1

d3218 1
a3218 1

d3257 1
a3257 1
Subselects with EXISTS, IN, ALL, ANY key words (Vadim, Bruce, Thomas)
d3314 1
a3314 1
Dump ACLs, GRANT, REVOKE privileges(Matt)
d3344 1
a3344 1
Allow VIEW privileges to be set separately from the underlying tables.
d3347 1
a3347 1
        explicitly grant such privileges.
d3378 1
a3378 1
New i386 'lock' for spinlock asm(Billy)
d3387 1
a3387 1

d3389 1
a3389 1

d3391 1
a3391 1

d3393 1
a3393 1

d3395 1
a3395 1

d3399 1
a3399 1

d3404 1
a3404 1

d3406 1
a3406 1

d3409 1
a3409 1

d3413 1
a3413 1

d3422 1
a3422 1

d3424 1
a3424 1

d3438 1
a3438 1

d3440 1
a3440 1

d3442 1
a3442 1

d3446 1
a3446 1

d3448 1
a3448 1

d3451 1
a3451 1

d3455 1
a3455 1

d3457 1
a3457 1

d3461 1
a3461 1

d3463 1
a3463 1

d3475 1
a3475 1
Fix very old bug which made rows changed/inserted by a command
d3477 1
a3477 1
        updated rows, etc.)(Vadim)
d3481 1
a3481 1
Fix OR (where x != 1 or x isnull didn't return rows with x NULL) (Vadim)
d3495 1
a3495 1
Return number of rows inserted/affected by INSERT/UPDATE/DELETE etc.(Vadim)
d3577 1
a3577 1

d3579 1
a3579 1

d3582 1
a3582 1

d3584 1
a3584 1

d3589 1
a3589 1

d3591 1
a3591 1

d3611 1
a3611 1

d3613 1
a3613 1

d3615 1
a3615 1

d3618 1
a3618 1

d3624 1
a3624 1

d3635 1
a3635 1

d3640 1
a3640 1

d3644 1
a3644 1

d3650 1
a3650 1

d3652 1
a3652 1

d3655 1
a3655 1

d3659 1
a3659 1

d3661 1
a3661 1

d3688 1
a3688 1
fix deleted rows reincarnation caused by vacuum (Vadim)
d3748 1
a3748 1
removed Windows-specific code(Bruce)
d3757 1
a3757 1

d3759 1
a3759 1

d3761 1
a3761 1

d3765 1
a3765 1

d3767 1
a3767 1

d3771 1
a3771 1

d3773 1
a3773 1

d3777 1
a3777 1

d3779 1
a3779 1

d3794 1
a3794 1
Fixed output of group acl privileges
d3804 2
a3805 2
psql \g filename now works(Bruce)
psql fixed problem with multiple statements on one line with multiple outputs
d3840 2
a3841 2
libpq has PQgetisnull()(Bruce)
libpq++ improvements
d3848 6
a3853 6
psql \h and \? is now readable(Bruce)
psql allow backslashed, semicolons anywhere on the line(Bruce)
psql changed command prompt for lines in query or in quotes(Bruce)
psql char(3) now displays as (bp)char in \d output(Bruce)
psql return code now more accurate(Bryan?)
psql updated help syntax(Bruce)
d3886 1
a3886 1

d3888 1
a3888 1

d3890 1
a3890 1

d3895 1
a3895 1

d3897 1
a3897 1

d3900 1
a3900 1

d3902 1
a3902 1

d3905 1
a3905 1

d3909 1
a3909 1

d3912 1
a3912 1

d3928 1
a3928 1

d3930 1
a3930 1

d3952 1
a3952 1

d3954 1
a3954 1

d3981 1
a3981 1

d3983 1
a3983 1

d3986 1
a3986 1

d3988 1
a3988 1

d3991 1
a3991 1

d3994 1
a3994 1

d4076 1
a4076 1

d4078 1
a4078 1

d4088 1
a4088 1
 * added ASC and DESC key words
d4112 1
a4112 1

d4114 1
a4114 1

d4117 1
a4117 1

d4119 1
a4119 1

d4128 1
a4128 1
 *  "delimiters" is now a key word
d4152 1
a4152 1
   privileges
d4160 1
a4160 1

d4162 1
a4162 1

d4165 1
a4165 1

d4167 1
a4167 1

d4205 1
a4205 1
   - Privileges can be given to a group using the "GROUP" key word.
d4208 1
a4208 1
        The key word 'PUBLIC' is also supported to mean all users.
d4225 1
a4225 1
   MAX/MIN of an empty table will return a row of value NULL.
d4251 1
a4251 1
   pg_result -oid returns oid of the last row inserted.   If the
d4274 1
a4274 1

d4276 1
a4276 1

d4279 1
a4279 1

d4281 1
a4281 1

d4316 1
a4316 1

d4318 1
a4318 1

d4320 1
a4320 1

@


1.182.2.22
log
@Stamp release 7.3.10.
@
text
@a3 77
                               Release 7.3.10

     Release date: 2005-05-05

   This release contains a variety of fixes from 7.3.9, including several
   security-related issues.
     _________________________________________________________________

                        Migration to version 7.3.10

   A dump/restore is not required for those running 7.3.X. However, it is
   one possible way of handling a significant security problem that has
   been found in the initial contents of 7.3.X system catalogs. A
   dump/initdb/reload sequence using 7.3.10's initdb will automatically
   correct this problem.

   The security problem is that the built-in character set encoding
   conversion functions can be invoked from SQL commands by unprivileged
   users, but the functions were not designed for such use and are not
   secure against malicious choices of arguments. The fix involves
   changing the declared parameter list of these functions so that they
   can no longer be invoked from SQL commands. (This does not affect
   their normal use by the encoding conversion machinery.) It is strongly
   recommended that all installations repair this error, either by initdb
   or by following the manual repair procedure given below. The error at
   least allows unprivileged database users to crash their server
   process, and may allow unprivileged users to gain the privileges of a
   database superuser.

   If you wish not to do an initdb, perform the following procedure
   instead. As the database superuser, do:
BEGIN;
UPDATE pg_proc SET proargtypes[3] = 'internal'::regtype
WHERE pronamespace = 11 AND pronargs = 5
      AND proargtypes[2] = 'cstring'::regtype;
-- The command should report having updated 90 rows;
-- if not, rollback and investigate instead of committing!
COMMIT;

   The above procedure must be carried out in *each* database of an
   installation, including template1, and ideally including template0 as
   well. If you do not fix the template databases then any subsequently
   created databases will contain the same error. template1 can be fixed
   in the same way as any other database, but fixing template0 requires
   additional steps. First, from any database issue
UPDATE pg_database SET datallowconn = true WHERE datname = 'template0';

   Next connect to template0 and perform the above repair procedure.
   Finally, do
-- re-freeze template0:
VACUUM FREEZE;
-- and protect it against future alterations:
UPDATE pg_database SET datallowconn = false WHERE datname = 'template0';
     _________________________________________________________________

                                  Changes

     * Change encoding function signature to prevent misuse
     * Fix comparisons of TIME WITH TIME ZONE values
       The comparison code was wrong in the case where the
       --enable-integer-datetimes configuration switch had been used.
       NOTE: if you have an index on a TIME WITH TIME ZONE column, it
       will need to be "REINDEX"ed after installing this update, because
       the fix corrects the sort order of column values.
     * Fix EXTRACT(EPOCH) for TIME WITH TIME ZONE values
     * Fix mis-display of negative fractional seconds in INTERVAL values
       This error only occurred when the --enable-integer-datetimes
       configuration switch had been used.
     * Additional buffer overrun checks in plpgsql (Neil)
     * Fix pg_dump to dump trigger names containing % correctly (Neil)
     * Prevent to_char(interval) from dumping core for month-related
       formats
     * Fix "contrib/pgcrypto" for newer OpenSSL builds (Marko Kreen)
     * Still more 64-bit fixes for "contrib/intagg"
     * Prevent incorrect optimization of functions returning RECORD
     _________________________________________________________________

a973 24
                               Release 7.2.8

     Release date: 2005-05-05

   This release contains a variety of fixes from 7.2.7, including one
   security-related issue.
     _________________________________________________________________

                         Migration to version 7.2.8

   A dump/restore is not required for those running 7.2.X.
     _________________________________________________________________

                                  Changes

     * Fix EXTRACT(EPOCH) for TIME WITH TIME ZONE values
     * Additional buffer overrun checks in plpgsql (Neil)
     * Fix pg_dump to dump index names and trigger names containing %
       correctly (Neil)
     * Prevent to_char(interval) from dumping core for month-related
       formats
     * Fix "contrib/pgcrypto" for newer OpenSSL builds (Marko Kreen)
     _________________________________________________________________

@


1.182.2.23
log
@The release process is now generating HISTORY/INSTALL on the fly in
the 7.3 branch as well as later branches ... so no need to update
manually.
@
text
@@


1.181
log
@This patch fixes a few grammatical errors, removes some duplicate
entries, and attributes some JDBC changes to the right people.

Neil Conway
@
text
@d107 1
a107 1
2002-09-23
d137 1
d230 1
d259 1
a259 1
Enable large file support, >2G for pg_dump (Peter)
d267 2
d344 1
d358 1
d420 1
@


1.180
log
@Update HISTORY/release.sgml for 7.2.3.
@
text
@d68 5
a72 3
   data from any previous release.  A summary of changes needed in client
   applications is at 
   http://www.ca.postgresql.org/docs/momjian/upgrade_tips_7.3.
a83 2
     * LIMIT can now appear before FOR UPDATE, for portability.

d85 1
a85 1
       INSERT INTO tab (col1, col2) VALUES ('val1') is now invalid
d88 1
a88 1
       whether dependent objects are also dropped
d90 1
a90 1
     * An index is now not automatically created for SERIAL columns
d92 1
a92 1
     * A SET inside an aborted transaction is now rolled back
d94 1
a94 1
     * COPY no longer considers missing trailing columns to be NULL
d96 1
a96 1
     * TIMESTAMP and TIME data types now default to WITHOUT TIMEZONE
d179 1
a179 1
Increase identifier length to 64 (Neil, Bruce)
a224 1
Add CREATE OR REPLACE VIEW, CREATE OR REPLACE RULE (Gavin, Neil, Tom)
d338 2
a339 1
Allow PL/pgSQL functions can return sets (Neil)
d370 2
a371 2
Add jdbc updateable result sets
Add jdbc support for callable statements
a375 1
Add support for new prepared statements
@


1.179
log
@Make PL/pgSQL capitalization consistent.
@
text
@d472 29
@


1.178
log
@Update HISTORY for 7.3beta2.
@
text
@d337 2
a338 2
Overhaul the PL/PgSQL FOUND variable to be more Oracle-compatible (Tom, Neil)
Allow PL/PgSQL to handle quoted identifiers (Tom)
d491 1
a491 1
 Allow EXECUTE of "CREATE TABLE AS ... SELECT" in PL/PgSQL (Tom)
d545 1
a545 1
 Allow EXECUTE of "CREATE TABLE AS ... SELECT" in PL/PgSQL (Tom)
d1181 1
a1181 1
 Fix NOT NULL use in Pl/pgSQL variables (Tom)
d2096 1
a2096 1
 Fixes for aggregates and PL/pgsql(Hiroshi)
@


1.177
log
@Add mention of /contrib/adddepend to HISTORY.
@
text
@d99 1
a99 1
       dependencies for SERIAL, UNIQUE contraints, and foreign keys. See
d107 1
a107 1
2002-09-02
d136 1
d228 2
d285 1
a285 1
Add SIMILAR TO as a synonym for our existing operator "~" (Thomas)
d309 1
a309 1
Add functions replace(), split(), to_hex() (Joe)
d313 4
d376 1
d392 1
d411 4
d446 1
@


1.176
log
@Rename help file upgrade_7.3 to upgrade_tips_7.3.
@
text
@d98 5
@


1.175
log
@Add mention of Tom's client change summary email to the history file.
@
text
@d69 2
a70 1
   applications is at http://www.ca.postgresql.org/docs/momjian/upgrade_7.3.
@


1.174
log
@Fix pgaccess URL, from Justin.
@
text
@d68 2
a69 1
   data from any previous release.
@


1.173
log
@Add mention of removed -enable-multibyte/locale in HISTORY.
@
text
@d376 1
a376 1
Remove /bin/pgaccess from main tree, now at http::/www.pgaccess.org (Bruce)
@


1.172
log
@Update HISTORY for PGPASSWORDFILE change.
@
text
@d389 2
@


1.171
log
@Add change by Neil.
@
text
@d141 1
a141 2
Add file to hold passwords using PGPASSWORDFILE environment variable 
  (Alvaro Herrera)
@


1.170
log
@Update:

Improvements to /contrib/intarray (Oleg, Teodor Sigaev, Andrey
Oktyabrski)
@
text
@d132 1
a132 1
Add privileges on functions and procedural languages
d216 1
a216 1
Add ALTER TABLE DROP COLUMN (Christopher)
d256 1
d303 1
a303 1
Triggers are now fired in alphabetical order
d324 1
a324 1
Have PL/PgSQL FOUND return proper value for PERFORM and SELECT INTO (Tom, Neil)
d420 1
a420 1
Clean up use of sprintf in favor of snprintf()
d422 1
a422 1
Cleanups in array internal handling (Joe)
@


1.169
log
@Add Joe's table functions description.
@
text
@d439 1
a439 1
Fixes, improvements to /contrib/intarray (Oleg, Andrey Oktyabrski)
@


1.168
log
@Update wording for Tom.
@
text
@d25 4
a28 3
           PL/PgSQL and C functions can now return sets, with multiple
           rows and multiple columns. You specify these functions in the
           SELECT FROM clause, similar to a table or view.
@


1.167
log
@Update to reflect Tom's suggestions.
@
text
@d25 3
a27 3
           Functions can now return sets, with multiple rows
           and multiple columns.  You specify these functions in
           the SELECT FROM clause, similar to a table or view.
@


1.166
log
@Reorder items.
@
text
@d21 1
a21 1
           PostgreSQL now support ALTER TABLE ... DROP COLUMN functionality.
d45 1
a45 1
           Both multibyte and locale are now enabled by default.
d60 1
a60 1
           identifiers can be up to 64 bytes long.
d104 1
a104 1
Add pg_locks table to show locks (Neil)
a117 1
EXPLAIN now outputs as a query (Tom)
a121 1
Display sort keys in EXPLAIN (Tom)
d229 1
a229 1
Restrict comments to the current database
d232 2
d294 1
a294 1
Increase maximum number of function parameters to 32 (Bruce)                                                                      momjian
d415 1
a415 1
Modify a few error messages for consistency (Bruce)                                                                      momjian
d420 1
a420 1
Cleanups in array internal handling (Tom)
@


1.165
log
@More HISTORY improvements from Joe.
@
text
@d11 1
a11 1
   SCHEMA SUPPORT
d19 1
a19 1
   DROP COLUMN
a28 9
   Privileges

           Functions and procedural languages now have privileges, and
           people running them can take on the privileges of their creators.

   Logging

           A variety of logging options have been enhanced.

d38 5
d46 4
@


1.164
log
@Update HISTORY wording.
@
text
@d25 3
a27 3
           Functions can now return entire tables, with multiple rows
           and multiple columns.  You can specify these functions in
           the SELECT FROM clause.
d277 3
@


1.163
log
@Update based on TODO file contents.
@
text
@d14 4
a17 4
           so two people can have the same table with the same name. 
           There is also a public schema for shared tables.  Table/index
           creation can be restricted by removing permissions on the
           public schema.
d311 1
a311 1
Add CREATE/DROP CONVERSION, allowing loadable encodings (Tatsuo)
@


1.162
log
@Spellcheck of HISTORY.
@
text
@d15 3
a17 1
           There is also a public schema for shared tables.
d180 1
d220 2
d297 2
d348 2
a349 1
jdbc compiles with jdk 1.4 (Dave)
d352 3
a354 1
Added jdbc updateable result sets
a355 1
Add jdbc3 support (Barry)
@


1.161
log
@Update new HISTORY file for 7.3!
@
text
@d278 1
a278 1
Add SQL99 TREAT() functionas synonym for CAST() (Thomas)
d334 1
a334 1
Allow libpq notify to handle servers with different-length indentifiers (Tom)
d399 1
a399 1
Rename some internal identifers to simplify Win32 compile (Jan, Katherine Ward)
@


1.160
log
@Update docs for 7.2.2 release info.
@
text
@d3 435
@


1.159
log
@New wording:

 Allow EXECUTE of "CREATE TABLE AS ... SELECT" in PL/PgSQL (Tom)
@
text
@d3 39
@


1.158
log
@Add to HISTORY:

 Allow CREATE TABLE AS ... SELECT in PL/PgSQL (Tom)
@
text
@d35 2
a36 1
 Allow CREATE TABLE AS ... SELECT in PL/PgSQL (Tom)
@


1.157
log
@> > Users of contrib/tsearch needs after upgrading of module (compiling, installing)
> > to perform sql command:
> >  update pg_amop set amopreqcheck = true where amopclaid =
> >       (select oid from pg_opclass where opcname = 'gist_txtidx_ops');
>
> Oleg, sorry, I don't understand where this should appear.  In the README
> file, and if so, where?  Is this something only for people upgrading
> from 7.2?

Sorry Bruce, I was unclear. I have attached patch to Readme.tsearch
Also, It'd be worth to mention in Changes to point users of tsearch
about importang upgrade notices.

Oleg Bartunov
@
text
@d35 1
a35 1
     
@


1.156
log
@Improve wording of bug fix:

	Ensure that sequence counters do not go backwards after a crash
@
text
@a22 1
 contrib/btree_gist improvements (Teodor Sigaev)
d31 3
a33 1
 contrib/tsearch dictionary improvements (Thomas T. Thai, Teodor Sigaev)
@


1.155
log
@Update for 7.2.1.
@
text
@d19 1
a19 1
 Properly set sequence values after backend crash (Tom)
@


1.154
log
@Mention time() and interval() are also changed in 7.2.
@
text
@d3 35
d112 2
a113 2
     * The timestamp(), time(), and inverval() functions are no longer 
       available.  Instead of timestamp(), use timestamp 'string', or CAST.
@


1.153
log
@Consistend spelling for PL/pgSQL
@
text
@d77 2
a78 2
     * The timestamp() function is no longer available.  Use timestamp
       'string' instead, or CAST.
@


1.153.2.1
log
@Update for 7.2.1.
@
text
@a2 35
                                 Release 7.2.1

     Release date: 2002-03-21

   This has a variety of fixes from 7.2.

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

Migration to version 7.2.1

   A dump/restore is *not* required for those running 7.2.

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

Changes

 Properly set sequence values after backend crash (Tom)
 Fix pgaccess kanji-coversion key binding (Tatsuo)
 Optimizer improvements (Tom)
 cash I/O improvements (Tom)
 contrib/btree_gist improvements (Teodor Sigaev)
 New Russian FAQ
 Compile fix for missing AuthBlockSig (Heiko)
 Additional time zones and time zone fixes (Thomas)
 Allow psql \connect to handle mixed case database and user names (Tom)
 Return proper OID on command completion even with ON INSERT rules (Tom)
 Allow COPY FROM to use 8-bit DELIMITERS (Tatsuo)
 Fix bug in extract/date_part for milliseconds/microseconds (Tatsuo)
 Improve handling of multiple UNIONs with different lengths (Tom)
 contrib/tsearch dictionary improvements (Thomas T. Thai, Teodor Sigaev)
 Fix for array subscripts handling (Tom)
     

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

@


1.153.2.2
log
@Improve wording of bug fix:

	Ensure that sequence counters do not go backwards after a crash
@
text
@d19 1
a19 1
 Ensure that sequence counters do not go backwards after a crash (Tom)
@


1.153.2.3
log
@> > Users of contrib/tsearch needs after upgrading of module (compiling, installing)
> > to perform sql command:
> >  update pg_amop set amopreqcheck = true where amopclaid =
> >       (select oid from pg_opclass where opcname = 'gist_txtidx_ops');
>
> Oleg, sorry, I don't understand where this should appear.  In the README
> file, and if so, where?  Is this something only for people upgrading
> from 7.2?

Sorry Bruce, I was unclear. I have attached patch to Readme.tsearch
Also, It'd be worth to mention in Changes to point users of tsearch
about importang upgrade notices.

Oleg Bartunov
@
text
@d23 1
d32 1
a32 3
 contrib/btree_gist improvements (Teodor Sigaev)
 contrib/tsearch dictionary improvements, see README.tsearch for
   an additional installation step (Thomas T. Thai, Teodor Sigaev)
@


1.153.2.4
log
@Add to HISTORY:

 Allow CREATE TABLE AS ... SELECT in PL/PgSQL (Tom)
@
text
@a34 1
 Allow CREATE TABLE AS ... SELECT in PL/PgSQL (Tom)
@


1.153.2.5
log
@New wording:

 Allow EXECUTE of "CREATE TABLE AS ... SELECT" in PL/PgSQL (Tom)
@
text
@d35 1
a35 1
 Allow EXECUTE of "CREATE TABLE AS ... SELECT" in PL/PgSQL (Tom)
@


1.153.2.6
log
@Stamp the 7.2.2 release.
@
text
@a2 34
                                 Release 7.2.2

     Release date: 2002-08-23

   This has a variety of fixes from 7.2.1.

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

Migration to version 7.2.2

   A dump/restore is *not* required for those running 7.2.X.

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

Changes

 Allow EXECUTE of "CREATE TABLE AS ... SELECT" in PL/PgSQL (Tom)
 Fix for compressed transaction log id wraparound (Tom)
 Fix PQescapeBytea/PQunescapeBytea so that they handle bytes > 0x7f (Tatsuo)
 Fix for psql and pg_dump crashing when invoked with non-existand long 
   options (Tatsuo)
 Fix crash when invoking geometric operators (Tom)
 Allow OPEN cursor(args) (Tom)
 Fix for rtree_gist index build (Teodor)
 Fix for dumping user-defined aggregates (Tom)
 Contrib/intarray fixes (Oleg)
 Fix for complex UNION/EXCEPT/INTERSECT queries using parens (Tom)
 Fix to pg_convert (Tatsuo)
 Fix for crash with long DATA strings (Thomes, Neil)
 Fix for repeat(), lpad(), rpad() and long strings (Neil)


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

@


1.153.2.7
log
@Update HISTORY with Neil's changes.
@
text
@d7 1
a7 2
   This has a variety of fixes from 7.2.1, including the security
   problems reported on BUGTRAQ.
d22 1
a22 1
 Fix for psql and pg_dump crashing when invoked with non-existent long 
a26 2
 Fix for usage of partial indexes for relations other than first in
   joins (Tom)
d31 2
a32 4
 Fix for buffer overrun in handling long datetime input (Thomas, Neil)
 Fix for buffer overrun in repeat() (Neil)
 Fix for buffer overrun in lpad() and rpad() with multibyte (Neil)
 Fix for buffer overrun in SET TIME ZONE and TZ env var (Neil)
@


1.153.2.8
log
@Update HISTORY/release.sgml for 7.2.3.
@
text
@a2 28

                                 Release 7.2.3

     Release date: 2002-10-01

   This has a variety of fixes from 7.2.2, including fixes to prevent
   possible data loss.

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

Migration to version 7.2.3

   A dump/restore is *not* required for those running 7.2.X.

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

Changes

 Prevent possible compressed transaction log loss (Tom)
 Prevent non-superuser from increasing most recent vacuum info (Tom)
 Handle pre-1970 date values in newer versions of glibc (Tom)
 Fix possible hang during server shutdown
 Prevent spinlock hangs on SMP PPC machines (Tomoyuki Niijima)
 Fix pg_dump to properly dump FULL JOIN USING (Tom)


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

@


1.153.2.9
log
@Update release history for 7.2.4.
@
text
@a3 30
                               Release 7.2.4

     Release date: 2003-01-30

   This  has  a  variety  of fixes from 7.2.3, including fixes to prevent
   possible data loss.
     _________________________________________________________________

                         Migration to version 7.2.4

   A dump/restore is *not* required for those running 7.2.X.
     _________________________________________________________________

                                  Changes

   Fix some additional cases of VACUUM "No one parent tuple was found"
	error
   Prevent VACUUM from being called inside a function  (Bruce)
   Ensure pg_clog updates are sync'd to disk before marking checkpoint
	complete
   Avoid integer overflow during large hash joins
   Make GROUP commands work when pg_group.grolist is large enough
	to be toasted
   Fix errors in datetime tables; some timezone names weren't being
	recognized
   Fix integer overflows in circle_poly(), path_encode(), path_add()
	(Neil)
   Repair long-standing logic errors in lseg_eq(), lseg_ne(), lseg_center()
     _________________________________________________________________

@


1.153.2.10
log
@Stamp 7.2.5.
@
text
@a3 32
                               Release 7.2.5

     Release date: 2004-08-16

   This release contains a variety of fixes from 7.2.4.
     _________________________________________________________________

                         Migration to version 7.2.5

   A dump/restore is not required for those running 7.2.X.
     _________________________________________________________________

                                  Changes

     * Prevent possible loss of committed transactions during crash
       Due to insufficient interlocking between transaction commit and
       checkpointing, it was possible for transactions committed just
       before the most recent checkpoint to be lost, in whole or in part,
       following a database crash and restart. This is a serious bug that
       has existed since PostgreSQL 7.1.
     * Fix corner case for btree search in parallel with first root page
       split
     * Fix buffer overrun in to_ascii (Guido Notari)
     * Fix core dump in deadlock detection on machines where char is
       unsigned
     * Fix failure to respond to "pg_ctl stop -m fast" after
       Async_NotifyHandler runs
     * Repair memory leaks in pg_dump
     * Avoid conflict with system definition of isblank() function or
       macro
     _________________________________________________________________

@


1.153.2.11
log
@Stamp release 7.2.6.
@
text
@a3 30
                               Release 7.2.6

     Release date: 2004-10-22

   This release contains a variety of fixes from 7.2.5.
     _________________________________________________________________

                         Migration to version 7.2.6

   A dump/restore is not required for those running 7.2.X.
     _________________________________________________________________

                                  Changes

     * Repair possible failure to update hint bits on disk
       Under rare circumstances this oversight could lead to "could not
       access transaction status" failures, which qualifies it as a
       potential-data-loss bug.
     * Ensure that hashed outer join does not miss tuples
       Very large left joins using a hash join plan could fail to output
       unmatched left-side rows given just the right data distribution.
     * Disallow running pg_ctl as root
       This is to guard against any possible security issues.
     * Avoid using temp files in /tmp in make_oidjoins_check
       This has been reported as a security issue, though it's hardly
       worthy of concern since there is no reason for non-developers to
       use this script anyway.
     * Update to newer versions of Bison
     _________________________________________________________________

@


1.153.2.12
log
@Stamp release 7.2.7.
@
text
@d1 1
a2 32
                               Release Notes

                               Release 7.2.7

     Release date: 2005-01-31

   This release contains a variety of fixes from 7.2.6, including several
   security-related issues.
     _________________________________________________________________

                         Migration to version 7.2.7

   A dump/restore is not required for those running 7.2.X.
     _________________________________________________________________

                                  Changes

     * Disallow "LOAD" to non-superusers
       On platforms that will automatically execute initialization
       functions of a shared library (this includes at least Windows and
       ELF-based Unixen), "LOAD" can be used to make the server execute
       arbitrary code. Thanks to NGS Software for reporting this.
     * Add needed STRICT marking to some contrib functions (Kris Jurka)
     * Avoid buffer overrun when plpgsql cursor declaration has too many
       parameters (Neil)
     * Fix planning error for FULL and RIGHT outer joins
       The result of the join was mistakenly supposed to be sorted the
       same as the left input. This could not only deliver mis-sorted
       output to the user, but in case of nested merge joins could give
       outright wrong answers.
     * Fix display of negative intervals in SQL and GERMAN datestyles
     _________________________________________________________________
d70 2
a71 2
   This release contains a variety of fixes for version 7.2.3, including
   fixes to prevent possible data loss.
d76 1
a76 1
   A dump/restore is *not* required for those running version 7.2.*.
d81 13
a93 14
     * Fix some additional cases of VACUUM "No one parent tuple was
       found" error
     * Prevent VACUUM from being called inside a function (Bruce)
     * Ensure pg_clog updates are sync'd to disk before marking
       checkpoint complete
     * Avoid integer overflow during large hash joins
     * Make GROUP commands work when pg_group.grolist is large enough to
       be toasted
     * Fix errors in datetime tables; some timezone names weren't being
       recognized
     * Fix integer overflows in circle_poly(), path_encode(), path_add()
       (Neil)
     * Repair long-standing logic errors in lseg_eq(), lseg_ne(),
       lseg_center()
d96 1
a96 1
                               Release 7.2.3
d100 2
a101 3
   This release contains a variety of fixes for version 7.2.2, including
   fixes to prevent possible data loss.
     _________________________________________________________________
d103 1
a103 1
                         Migration to version 7.2.3
d105 1
a105 2
   A dump/restore is *not* required for those running version 7.2.*.
     _________________________________________________________________
d107 1
a107 1
                                  Changes
d109 1
a109 8
     * Prevent possible compressed transaction log loss (Tom)
     * Prevent non-superuser from increasing most recent vacuum info
       (Tom)
     * Handle pre-1970 date values in newer versions of glibc (Tom)
     * Fix possible hang during server shutdown
     * Prevent spinlock hangs on SMP PPC machines (Tomoyuki Niijima)
     * Fix pg_dump to properly dump FULL JOIN USING (Tom)
     _________________________________________________________________
d111 1
a111 1
                               Release 7.2.2
d113 6
a118 1
     Release date: 2002-08-23
a119 2
   This release contains a variety of fixes for version 7.2.1.
     _________________________________________________________________
d121 1
a121 1
                         Migration to version 7.2.2
d123 1
a123 2
   A dump/restore is *not* required for those running version 7.2.*.
     _________________________________________________________________
d125 1
a125 1
                                  Changes
d127 2
a128 16
     * Allow EXECUTE of "CREATE TABLE AS ... SELECT" in PL/pgSQL (Tom)
     * Fix for compressed transaction log id wraparound (Tom)
     * Fix PQescapeBytea/PQunescapeBytea so that they handle bytes > 0x7f
       (Tatsuo)
     * Fix for psql and pg_dump crashing when invoked with non-existent
       long options (Tatsuo)
     * Fix crash when invoking geometric operators (Tom)
     * Allow OPEN cursor(args) (Tom)
     * Fix for rtree_gist index build (Teodor)
     * Fix for dumping user-defined aggregates (Tom)
     * contrib/intarray fixes (Oleg)
     * Fix for complex UNION/EXCEPT/INTERSECT queries using parens (Tom)
     * Fix to pg_convert (Tatsuo)
     * Fix for crash with long DATA strings (Thomas, Neil)
     * Fix for repeat(), lpad(), rpad() and long strings (Neil)
     _________________________________________________________________
d130 1
a130 1
                               Release 7.2.1
d132 1
a132 1
     Release date: 2002-03-21
d134 1
a134 2
   This release contains a variety of fixes for version 7.2.
     _________________________________________________________________
d136 22
a157 1
                         Migration to version 7.2.1
a158 2
   A dump/restore is *not* required for those running version 7.2.
     _________________________________________________________________
d160 1
a160 1
                                  Changes
d162 1
a162 22
     * Ensure that sequence counters do not go backwards after a crash
       (Tom)
     * Fix pgaccess kanji-conversion key binding (Tatsuo)
     * Optimizer improvements (Tom)
     * Cash I/O improvements (Tom)
     * New Russian FAQ
     * Compile fix for missing AuthBlockSig (Heiko)
     * Additional time zones and time zone fixes (Thomas)
     * Allow psql \connect to handle mixed case database and user names
       (Tom)
     * Return proper OID on command completion even with ON INSERT rules
       (Tom)
     * Allow COPY FROM to use 8-bit DELIMITERS (Tatsuo)
     * Fix bug in extract/date_part for milliseconds/microseconds
       (Tatsuo)
     * Improve handling of multiple UNIONs with different lengths (Tom)
     * contrib/btree_gist improvements (Teodor Sigaev)
     * contrib/tsearch dictionary improvements, see README.tsearch for an
       additional installation step (Thomas T. Thai, Teodor Sigaev)
     * Fix for array subscripts handling (Tom)
     * Allow EXECUTE of "CREATE TABLE AS ... SELECT" in PL/pgSQL (Tom)
     _________________________________________________________________
d164 1
a164 1
                                Release 7.2
d166 1
a166 2
     Release date: 2002-02-04
     _________________________________________________________________
d168 1
a168 1
                                  Overview
d170 1
a170 1
   This release improves PostgreSQL for use in high-volume applications.
d172 1
a172 1
   Major changes in this release:
d174 22
a195 5
   VACUUM
          Vacuuming no longer locks tables, thus allowing normal user
          access during the vacuum. A new "VACUUM FULL" command does
          old-style vacuum by locking the table and shrinking the on-disk
          copy of the table.
d197 1
a197 3
   Transactions
          There is no longer a problem with installations that exceed
          four billion transactions.
d199 1
a199 3
   OIDs
          OIDs are now optional. Users can now create tables without OIDs
          for cases where OID usage is excessive.
d201 1
a201 3
   Optimizer
          The system now computes histogram column statistics during
          "ANALYZE", allowing much better optimizer choices.
d203 1
a203 4
   Security
          A new MD5 encryption option allows more secure storage and
          transfer of passwords. A new Unix-domain socket authentication
          option is available on Linux and BSD systems.
d205 1
a205 3
   Statistics
          Administrators can use the new table access statistics module
          to get fine-grained information about table and index usage.
d207 1
a207 4
   Internationalization
          Program and library messages can now be displayed in several
          languages.
     _________________________________________________________________
d209 1
a209 1
                          Migration to version 7.2
d211 4
a214 2
   A dump/restore using "pg_dump" is required for those wishing to
   migrate data from any previous release.
d216 1
a216 1
   Observe the following incompatibilities:
d218 2
a219 21
     * The semantics of the "VACUUM" command have changed in this
       release. You may wish to update your maintenance procedures
       accordingly.
     * In this release, comparisons using = NULL will always return false
       (or NULL, more precisely). Previous releases automatically
       transformed this syntax to IS NULL. The old behavior can be
       re-enabled using a "postgresql.conf" parameter.
     * The "pg_hba.conf" and "pg_ident.conf" configuration is now only
       reloaded after receiving a SIGHUP signal, not with each
       connection.
     * The function "octet_length()" now returns the uncompressed data
       length.
     * The date/time value 'current' is no longer available. You will
       need to rewrite your applications.
     * The timestamp(), time(), and interval() functions are no longer
       available. Instead of timestamp(), use timestamp 'string' or CAST.

   The SELECT ... LIMIT #,# syntax will be removed in the next release.
   You should change your queries to use separate LIMIT and OFFSET
   clauses, e.g. LIMIT 10 OFFSET 20.
     _________________________________________________________________
d221 1
a221 1
                                  Changes
d223 2
a224 1
Server Operation
d226 1
a226 22
     * Create temporary files in a separate directory (Bruce)
     * Delete orphaned temporary files on postmaster startup (Bruce)
     * Added unique indexes to some system tables (Tom)
     * System table operator reorganization (Oleg Bartunov, Teodor
       Sigaev, Tom)
     * Renamed pg_log to pg_clog (Tom)
     * Enable SIGTERM, SIGQUIT to kill backends (Jan)
     * Removed compile-time limit on number of backends (Tom)
     * Better cleanup for semaphore resource failure (Tatsuo, Tom)
     * Allow safe transaction ID wraparound (Tom)
     * Removed OIDs from some system tables (Tom)
     * Removed "triggered data change violation" error check (Tom)
     * SPI portal creation of prepared/saved plans (Jan)
     * Allow SPI column functions to work for system columns (Tom)
     * Long value compression improvement (Tom)
     * Statistics collector for table, index access (Jan)
     * Truncate extra-long sequence names to a reasonable value (Tom)
     * Measure transaction times in milliseconds (Thomas)
     * Fix TID sequential scans (Hiroshi)
     * Superuser ID now fixed at 1 (Peter E)
     * New pg_ctl "reload" option (Tom)
     _________________________________________________________________
d228 2
a229 1
Performance
d231 1
a231 11
     * Optimizer improvements (Tom)
     * New histogram column statistics for optimizer (Tom)
     * Reuse write-ahead log files rather than discarding them (Tom)
     * Cache improvements (Tom)
     * IS NULL, IS NOT NULL optimizer improvement (Tom)
     * Improve lock manager to reduce lock contention (Tom)
     * Keep relcache entries for index access support functions (Tom)
     * Allow better selectivity with NaN and infinities in NUMERIC (Tom)
     * R-tree performance improvements (Kenneth Been)
     * B-tree splits more efficient (Tom)
     _________________________________________________________________
d233 3
a235 1
Privileges
d237 1
a237 10
     * Change UPDATE, DELETE privileges to be distinct (Peter E)
     * New REFERENCES, TRIGGER privileges (Peter E)
     * Allow GRANT/REVOKE to/from more than one user at a time (Peter E)
     * New has_table_privilege() function (Joe Conway)
     * Allow non-superuser to vacuum database (Tom)
     * New SET SESSION AUTHORIZATION command (Peter E)
     * Fix bug in privilege modifications on newly created tables (Tom)
     * Disallow access to pg_statistic for non-superuser, add
       user-accessible views (Tom)
     _________________________________________________________________
d239 2
a240 1
Client Authentication
d242 1
a242 11
     * Fork postmaster before doing authentication to prevent hangs
       (Peter E)
     * Add ident authentication over Unix domain sockets on Linux, *BSD
       (Helge Bahmann, Oliver Elphick, Teodor Sigaev, Bruce)
     * Add a password authentication method that uses MD5 encryption
       (Bruce)
     * Allow encryption of stored passwords using MD5 (Bruce)
     * PAM authentication (Dominic J. Eidson)
     * Load pg_hba.conf and pg_ident.conf only on startup and SIGHUP
       (Bruce)
     _________________________________________________________________
d244 2
a245 1
Server Configuration
d247 1
a247 9
     * Interpretation of some time zone abbreviations as Australian
       rather than North American now settable at run time (Bruce)
     * New parameter to set default transaction isolation level (Peter E)
     * New parameter to enable conversion of "expr = NULL" into "expr IS
       NULL", off by default (Peter E)
     * New parameter to control memory usage by VACUUM (Tom)
     * New parameter to set client authentication timeout (Tom)
     * New parameter to set maximum number of open files (Tom)
     _________________________________________________________________
d249 1
a249 1
Queries
d251 2
a252 12
     * Statements added by INSERT rules now execute after the INSERT
       (Jan)
     * Prevent unadorned relation names in target list (Bruce)
     * NULLs now sort after all normal values in ORDER BY (Tom)
     * New IS UNKNOWN, IS NOT UNKNOWN Boolean tests (Tom)
     * New SHARE UPDATE EXCLUSIVE lock mode (Tom)
     * New EXPLAIN ANALYZE command that shows run times and row counts
       (Martijn van Oosterhout)
     * Fix problem with LIMIT and subqueries (Tom)
     * Fix for LIMIT, DISTINCT ON pushed into subqueries (Tom)
     * Fix nested EXCEPT/INTERSECT (Tom)
     _________________________________________________________________
d254 1
a254 1
Schema Manipulation
d256 2
a257 27
     * Fix SERIAL in temporary tables (Bruce)
     * Allow temporary sequences (Bruce)
     * Sequences now use int8 internally (Tom)
     * New SERIAL8 creates int8 columns with sequences, default still
       SERIAL4 (Tom)
     * Make OIDs optional using WITHOUT OIDS (Tom)
     * Add %TYPE syntax to CREATE TYPE (Ian Lance Taylor)
     * Add ALTER TABLE / DROP CONSTRAINT for CHECK constraints
       (Christopher Kings-Lynne)
     * New CREATE OR REPLACE FUNCTION to alter existing function
       (preserving the function OID) (Gavin Sherry)
     * Add ALTER TABLE / ADD [ UNIQUE | PRIMARY ] (Christopher
       Kings-Lynne)
     * Allow column renaming in views
     * Make ALTER TABLE / RENAME COLUMN update column names of indexes
       (Brent Verner)
     * Fix for ALTER TABLE / ADD CONSTRAINT ... CHECK with inherited
       tables (Stephan Szabo)
     * ALTER TABLE RENAME update foreign-key trigger arguments correctly
       (Brent Verner)
     * DROP AGGREGATE and COMMENT ON AGGREGATE now accept an aggtype
       (Tom)
     * Add automatic return type data casting for SQL functions (Tom)
     * Allow GiST indexes to handle NULLs and multikey indexes (Oleg
       Bartunov, Teodor Sigaev, Tom)
     * Enable partial indexes (Martijn van Oosterhout)
     _________________________________________________________________
d259 4
a262 1
Utility Commands
d264 2
a265 13
     * Add RESET ALL, SHOW ALL (Marko Kreen)
     * CREATE/ALTER USER/GROUP now allow options in any order (Vince)
     * Add LOCK A, B, C functionality (Neil Padgett)
     * New ENCRYPTED/UNENCRYPTED option to CREATE/ALTER USER (Bruce)
     * New light-weight VACUUM does not lock table; old semantics are
       available as VACUUM FULL (Tom)
     * Disable COPY TO/FROM on views (Bruce)
     * COPY DELIMITERS string must be exactly one character (Tom)
     * VACUUM warning about index tuples fewer than heap now only appears
       when appropriate (Martijn van Oosterhout)
     * Fix privilege checks for CREATE INDEX (Tom)
     * Disallow inappropriate use of CREATE/DROP INDEX/TRIGGER/VIEW (Tom)
     _________________________________________________________________
d267 2
a268 1
Data Types and Functions
d270 2
a271 50
     * SUM(), AVG(), COUNT() now uses int8 internally for speed (Tom)
     * Add convert(), convert2() (Tatsuo)
     * New function bit_length() (Peter E)
     * Make the "n" in CHAR(n)/VARCHAR(n) represents letters, not bytes
       (Tatsuo)
     * CHAR(), VARCHAR() now reject strings that are too long (Peter E)
     * BIT VARYING now rejects bit strings that are too long (Peter E)
     * BIT now rejects bit strings that do not match declared size (Peter
       E)
     * INET, CIDR text conversion functions (Alex Pilosov)
     * INET, CIDR operators << and <<= indexable (Alex Pilosov)
     * Bytea \### now requires valid three digit octal number
     * Bytea comparison improvements, now supports =, <>, >, >=, <, and
       <=
     * Bytea now supports B-tree indexes
     * Bytea now supports LIKE, LIKE...ESCAPE, NOT LIKE, NOT
       LIKE...ESCAPE
     * Bytea now supports concatenation
     * New bytea functions: position, substring, trim, btrim, and length
     * New encode() function mode, "escaped", converts minimally escaped
       bytea to/from text
     * Add pg_database_encoding_max_length() (Tatsuo)
     * Add pg_client_encoding() function (Tatsuo)
     * now() returns time with millisecond precision (Thomas)
     * New TIMESTAMP WITHOUT TIMEZONE data type (Thomas)
     * Add ISO date/time specification with "T", yyyy-mm-ddThh:mm:ss
       (Thomas)
     * New xid/int comparison functions (Hiroshi)
     * Add precision to TIME, TIMESTAMP, and INTERVAL data types (Thomas)
     * Modify type coercion logic to attempt binary-compatible functions
       first (Tom)
     * New encode() function installed by default (Marko Kreen)
     * Improved to_*() conversion functions (Karel Zak)
     * Optimize LIKE/ILIKE when using single-byte encodings (Tatsuo)
     * New functions in contrib/pgcrypto: crypt(), hmac(), encrypt(),
       gen_salt() (Marko Kreen)
     * Correct description of translate() function (Bruce)
     * Add INTERVAL argument for SET TIME ZONE (Thomas)
     * Add INTERVAL YEAR TO MONTH (etc.) syntax (Thomas)
     * Optimize length functions when using single-byte encodings
       (Tatsuo)
     * Fix path_inter, path_distance, path_length, dist_ppath to handle
       closed paths (Curtis Barrett, Tom)
     * octet_length(text) now returns non-compressed length (Tatsuo,
       Bruce)
     * Handle "July" full name in date/time literals (Greg Sabino
       Mullane)
     * Some datatype() function calls now evaluated differently
     * Add support for Julian and ISO time specifications (Thomas)
     _________________________________________________________________
d273 2
a274 1
Internationalization
d276 365
a640 13
     * National language support in psql, pg_dump, libpq, and server
       (Peter E)
     * Message translations in Chinese (simplified, traditional), Czech,
       French, German, Hungarian, Russian, Swedish (Peter E, Serguei A.
       Mokhov, Karel Zak, Weiping He, Zhenbang Wei, Kovacs Zoltan)
     * Make trim, ltrim, rtrim, btrim, lpad, rpad, translate multibyte
       aware (Tatsuo)
     * Add LATIN5,6,7,8,9,10 support (Tatsuo)
     * Add ISO 8859-5,6,7,8 support (Tatsuo)
     * Correct LATIN5 to mean ISO-8859-9, not ISO-8859-5 (Tatsuo)
     * Make mic2ascii() non-ASCII aware (Tatsuo)
     * Reject invalid multibyte character sequences (Tatsuo)
     _________________________________________________________________
d642 1
a642 1
PL/pgSQL
d644 1
a644 14
     * Now uses portals for SELECT loops, allowing huge result sets (Jan)
     * CURSOR and REFCURSOR support (Jan)
     * Can now return open cursors (Jan)
     * Add ELSEIF (Klaus Reger)
     * Improve PL/pgSQL error reporting, including location of error
       (Tom)
     * Allow IS or FOR key words in cursor declaration, for compatibility
       (Bruce)
     * Fix for SELECT ... FOR UPDATE (Tom)
     * Fix for PERFORM returning multiple rows (Tom)
     * Make PL/pgSQL use the server's type coercion code (Tom)
     * Memory leak fix (Jan, Tom)
     * Make trailing semicolon optional (Tom)
     _________________________________________________________________
d646 1
a646 1
PL/Perl
d648 1
a648 4
     * New untrusted PL/Perl (Alex Pilosov)
     * PL/Perl is now built on some platforms even if libperl is not
       shared (Peter E)
     _________________________________________________________________
d650 1
a650 1
PL/Tcl
d652 1
a652 3
     * Now reports errorInfo (Vsevolod Lobko)
     * Add spi_lastoid function (bob@@redivi.com)
     _________________________________________________________________
d654 1
a654 1
PL/Python
d656 11
a666 2
     * ...is new (Andrew Bosma)
     _________________________________________________________________
d668 1
a668 1
psql
d670 1
a670 9
     * \d displays indexes in unique, primary groupings (Christopher
       Kings-Lynne)
     * Allow trailing semicolons in backslash commands (Greg Sabino
       Mullane)
     * Read password from /dev/tty if possible
     * Force new password prompt when changing user and database (Tatsuo,
       Tom)
     * Format the correct number of columns for Unicode (Patrice)
     _________________________________________________________________
d672 1
a672 1
libpq
d674 1
a674 57
     * New function PQescapeString() to escape quotes in command strings
       (Florian Weimer)
     * New function PQescapeBytea() escapes binary strings for use as SQL
       string literals
     _________________________________________________________________

JDBC

     * Return OID of INSERT (Ken K)
     * Handle more data types (Ken K)
     * Handle single quotes and newlines in strings (Ken K)
     * Handle NULL variables (Ken K)
     * Fix for time zone handling (Barry Lind)
     * Improved Druid support
     * Allow eight-bit characters with non-multibyte server (Barry Lind)
     * Support BIT, BINARY types (Ned Wolpert)
     * Reduce memory usage (Michael Stephens, Dave Cramer)
     * Update DatabaseMetaData (Peter E)
     * Add DatabaseMetaData.getCatalogs() (Peter E)
     * Encoding fixes (Anders Bengtsson)
     * Get/setCatalog methods (Jason Davies)
     * DatabaseMetaData.getColumns() now returns column defaults (Jason
       Davies)
     * DatabaseMetaData.getColumns() performance improvement (Jeroen van
       Vianen)
     * Some JDBC1 and JDBC2 merging (Anders Bengtsson)
     * Transaction performance improvements (Barry Lind)
     * Array fixes (Greg Zoller)
     * Serialize addition
     * Fix batch processing (Rene Pijlman)
     * ExecSQL method reorganization (Anders Bengtsson)
     * GetColumn() fixes (Jeroen van Vianen)
     * Fix isWriteable() function (Rene Pijlman)
     * Improved passage of JDBC2 conformance tests (Rene Pijlman)
     * Add bytea type capability (Barry Lind)
     * Add isNullable() (Rene Pijlman)
     * JDBC date/time test suite fixes (Liam Stewart)
     * Fix for SELECT 'id' AS xxx FROM table (Dave Cramer)
     * Fix DatabaseMetaData to show precision properly (Mark Lillywhite)
     * New getImported/getExported keys (Jason Davies)
     * MD5 password encryption support (Jeremy Wohl)
     * Fix to actually use type cache (Ned Wolpert)
     _________________________________________________________________

ODBC

     * Remove query size limit (Hiroshi)
     * Remove text field size limit (Hiroshi)
     * Fix for SQLPrimaryKeys in multibyte mode (Hiroshi)
     * Allow ODBC procedure calls (Hiroshi)
     * Improve boolean handing (Aidan Mountford)
     * Most configuration options now settable via DSN (Hiroshi)
     * Multibyte, performance fixes (Hiroshi)
     * Allow driver to be used with iODBC or unixODBC (Peter E)
     * MD5 password encryption support (Bruce)
     * Add more compatibility functions to odbc.sql (Peter E)
     _________________________________________________________________
d676 1
a676 1
ECPG
d678 1
a678 81
     * EXECUTE ... INTO implemented (Christof Petig)
     * Multiple row descriptor support (e.g. CARDINALITY) (Christof
       Petig)
     * Fix for GRANT parameters (Lee Kindness)
     * Fix INITIALLY DEFERRED bug
     * Various bug fixes (Michael, Christof Petig)
     * Auto allocation for indicator variable arrays (int *ind_p=NULL)
     * Auto allocation for string arrays (char **foo_pp=NULL)
     * ECPGfree_auto_mem fixed
     * All function names with external linkage are now prefixed by ECPG
     * Fixes for arrays of structures (Michael)
     _________________________________________________________________

Misc. Interfaces

     * Python fix fetchone() (Gerhard Haring)
     * Use UTF, Unicode in Tcl where appropriate (Vsevolod Lobko,
       Reinhard Max)
     * Add Tcl COPY TO/FROM (ljb)
     * Prevent output of default index op class in pg_dump (Tom)
     * Fix libpgeasy memory leak (Bruce)
     _________________________________________________________________

Build and Install

     * Configure, dynamic loader, and shared library fixes (Peter E)
     * Fixes in QNX 4 port (Bernd Tegge)
     * Fixes in Cygwin and Windows ports (Jason Tishler, Gerhard Haring,
       Dmitry Yurtaev, Darko Prenosil, Mikhail Terekhov)
     * Fix for Windows socket communication failures (Magnus, Mikhail
       Terekhov)
     * Hurd compile fix (Oliver Elphick)
     * BeOS fixes (Cyril Velter)
     * Remove configure --enable-unicode-conversion, now enabled by
       multibyte (Tatsuo)
     * AIX fixes (Tatsuo, Andreas)
     * Fix parallel make (Peter E)
     * Install SQL language manual pages into OS-specific directories
       (Peter E)
     * Rename config.h to pg_config.h (Peter E)
     * Reorganize installation layout of header files (Peter E)
     _________________________________________________________________

Source Code

     * Remove SEP_CHAR (Bruce)
     * New GUC hooks (Tom)
     * Merge GUC and command line handling (Marko Kreen)
     * Remove EXTEND INDEX (Martijn van Oosterhout, Tom)
     * New pgjindent utility to indent java code (Bruce)
     * Remove define of true/false when compiling under C++ (Leandro
       Fanzone, Tom)
     * pgindent fixes (Bruce, Tom)
     * Replace strcasecmp() with strcmp() where appropriate (Peter E)
     * Dynahash portability improvements (Tom)
     * Add 'volatile' usage in spinlock structures
     * Improve signal handling logic (Tom)
     _________________________________________________________________

Contrib

     * New contrib/rtree_gist (Oleg Bartunov, Teodor Sigaev)
     * New contrib/tsearch full-text indexing (Oleg, Teodor Sigaev)
     * Add contrib/dblink for remote database access (Joe Conway)
     * contrib/ora2pg Oracle conversion utility (Gilles Darold)
     * contrib/xml XML conversion utility (John Gray)
     * contrib/fulltextindex fixes (Christopher Kings-Lynne)
     * New contrib/fuzzystrmatch with levenshtein and metaphone, soundex
       merged (Joe Conway)
     * Add contrib/intarray boolean queries, binary search, fixes (Oleg
       Bartunov)
     * New pg_upgrade utility (Bruce)
     * Add new pg_resetxlog options (Bruce, Tom)
     _________________________________________________________________

                               Release 7.1.3

     Release date: 2001-08-15
     _________________________________________________________________

                         Migration to version 7.1.3
a680 1
     _________________________________________________________________
d682 1
a682 1
                                  Changes
d684 1
a684 10
Remove unused WAL segements of large transactions (Tom)
Multiaction rule fix (Tom)
PL/pgSQL memory allocation fix (Jan)
VACUUM buffer fix (Tom)
Regression test fixes (Tom)
pg_dump fixes for GRANT/REVOKE/comments on views, user-defined types (Tom)
Fix subselects with DISTINCT ON or LIMIT (Tom)
BeOS fix
Disable COPY TO/FROM a view (Tom)
Cygwin build (Jason Tishler)
d686 6
a691 1
     _________________________________________________________________
d693 1
a693 1
                               Release 7.1.2
d695 1
a695 21
     Release date: 2001-05-11

   This has one fix from 7.1.1.
     _________________________________________________________________

                         Migration to version 7.1.2

   A dump/restore is *not* required for those running 7.1.X.
     _________________________________________________________________

                                  Changes

Fix PL/pgSQL SELECTs when returning no rows
Fix for psql backslash core dump
Referential integrity privilege fix
Optimizer fixes
pg_dump cleanups

     _________________________________________________________________

                               Release 7.1.1
a699 1
     _________________________________________________________________
d701 3
a703 1
                         Migration to version 7.1.1
a705 1
     _________________________________________________________________
d707 3
a709 1
                                  Changes
d711 15
a725 14
Fix for numeric MODULO operator (Tom)
pg_dump fixes (Philip)
pg_dump can dump 7.0 databases (Philip)
readline 4.2 fixes (Peter E)
JOIN fixes (Tom)
AIX, MSWIN, VAX, N32K fixes (Tom)
Multibytes fixes (Tom)
Unicode fixes (Tatsuo)
Optimizer improvements (Tom)
Fix for whole rows in functions (Tom)
Fix for pg_ctl and option strings with spaces (Peter E)
ODBC fixes (Hiroshi)
EXTRACT can now take string argument (Thomas)
Python fixes (Darcy)
d727 1
a727 1
     _________________________________________________________________
d729 1
a729 1
                                Release 7.1
d739 8
a746 7
          To maintain database consistency in case of an operating system
          crash, previous releases of PostgreSQL have forced all data
          modifications to disk before each transaction commit. With WAL,
          only one log file must be flushed to disk, greatly improving
          performance. If you have been using -F in previous releases to
          disable disk flushes, you may want to consider discontinuing
          its use.
d749 5
a753 4
          TOAST - Previous releases had a compiled-in row length limit,
          typically 8k - 32k. This limit made storage of long text fields
          difficult. With TOAST, long rows of any length can be stored
          with good performance.
d756 3
a758 3
          We now support outer joins. The UNION/NOT IN workaround for
          outer joins is no longer required. We use the SQL92 outer join
          syntax.
d761 6
a766 5
          The previous C function manager did not handle null values
          properly, nor did it support 64-bit CPU's (Alpha). The new
          function manager does. You can continue using your old custom
          functions, but you may want to rewrite them in the future to
          use the new function manager call interface.
a768 6
          A large number of complex queries that were unsupported in
          previous releases now work. Many combinations of views,
          aggregates, UNION, LIMIT, cursors, subqueries, and inherited
          tables now work properly. Inherited tables are now accessed by
          default. Subqueries in FROM are now supported.
     _________________________________________________________________
d770 203
a972 1
                          Migration to version 7.1
d974 1
a974 3
   A dump/restore using pg_dump is required for those wishing to migrate
   data from any previous release.
     _________________________________________________________________
d976 1
a976 191
                                  Changes

Bug Fixes
---------
Many multibyte/Unicode/locale fixes (Tatsuo and others)
More reliable ALTER TABLE RENAME (Tom)
Kerberos V fixes (David Wragg)
Fix for INSERT INTO...SELECT where targetlist has subqueries (Tom)
Prompt username/password on standard error (Bruce)
Large objects inv_read/inv_write fixes (Tom)
Fixes for to_char(), to_date(), to_ascii(), and to_timestamp() (Karel,
    Daniel Baldoni)
Prevent query expressions from leaking memory (Tom)
Allow UPDATE of arrays elements (Tom)
Wake up lock waiters during cancel (Hiroshi)
Fix rare cursor crash when using hash join (Tom)
Fix for DROP TABLE/INDEX in rolled-back transaction (Hiroshi)
Fix psql crash from \l+ if MULTIBYTE enabled (Peter E)
Fix truncation of rule names during CREATE VIEW (Ross Reedstrom)
Fix PL/perl (Alex Kapranoff)
Disallow LOCK on views (Mark Hollomon)
Disallow INSERT/UPDATE/DELETE on views (Mark Hollomon)
Disallow DROP RULE, CREATE INDEX, TRUNCATE on views (Mark Hollomon)
Allow PL/pgSQL accept non-ASCII identifiers (Tatsuo)
Allow views to proper handle GROUP BY, aggregates, DISTINCT (Tom)
Fix rare failure with TRUNCATE command (Tom)
Allow UNION/INTERSECT/EXCEPT to be used with ALL, subqueries, views,
    DISTINCT, ORDER BY, SELECT...INTO (Tom)
Fix parser failures during aborted transactions (Tom)
Allow temporary relations to properly clean up indexes (Bruce)
Fix VACUUM problem with moving rows in same page (Tom)
Modify pg_dump to better handle user-defined items in template1 (Philip)
Allow LIMIT in VIEW (Tom)
Require cursor FETCH to honor LIMIT (Tom)
Allow PRIMARY/FOREIGN Key definitions on inherited columns (Stephan)
Allow ORDER BY, LIMIT in subqueries (Tom)
Allow UNION in CREATE RULE (Tom)
Make ALTER/DROP TABLE rollback-able (Vadim, Tom)
Store initdb collation in pg_control so collation cannot be changed (Tom)
Fix INSERT...SELECT with rules (Tom)
Fix FOR UPDATE inside views and subselects (Tom)
Fix OVERLAPS operators conform to SQL92 spec regarding NULLs (Tom)
Fix lpad() and rpad() to handle length less than input string (Tom)
Fix use of NOTIFY in some rules (Tom)
Overhaul btree code (Tom)
Fix NOT NULL use in Pl/pgSQL variables (Tom)
Overhaul GIST code (Oleg)
Fix CLUSTER to preserve constraints and column default (Tom)
Improved deadlock detection handling (Tom)
Allow multiple SERIAL columns in a table (Tom)
Prevent occasional index corruption (Vadim)

Enhancements
------------
Add OUTER JOINs (Tom)
Function manager overhaul (Tom)
Allow ALTER TABLE RENAME on indexes (Tom)
Improve CLUSTER (Tom)
Improve ps status display for more platforms (Peter E, Marc)
Improve CREATE FUNCTION failure message (Ross)
JDBC improvements (Peter, Travis Bauer, Christopher Cain, William Webber,
    Gunnar)
Grand Unified Configuration scheme/GUC.  Many options can now be set in
    data/postgresql.conf, postmaster/postgres flags, or SET commands (Peter E)
Improved handling of file descriptor cache (Tom)
New warning code about auto-created table alias entries (Bruce)
Overhaul initdb process (Tom, Peter E)
Overhaul of inherited tables; inherited tables now accessed by default;
   new ONLY key word prevents it (Chris Bitmead, Tom)
ODBC cleanups/improvements (Nick Gorham, Stephan Szabo, Zoltan Kovacs,
    Michael Fork)
Allow renaming of temp tables (Tom)
Overhaul memory manager contexts (Tom)
pg_dumpall uses CREATE USER or CREATE GROUP rather using COPY (Peter E)
Overhaul pg_dump (Philip Warner)
Allow pg_hba.conf secondary password file to specify only username (Peter E)
Allow TEMPORARY or TEMP key word when creating temporary tables (Bruce)
New memory leak checker (Karel)
New SET SESSION CHARACTERISTICS (Thomas)
Allow nested block comments (Thomas)
Add WITHOUT TIME ZONE type qualifier (Thomas)
New ALTER TABLE ADD CONSTRAINT (Stephan)
Use NUMERIC accumulators for INTEGER aggregates (Tom)
Overhaul aggregate code (Tom)
New VARIANCE and STDDEV() aggregates
Improve dependency ordering of pg_dump (Philip)
New pg_restore command (Philip)
New pg_dump tar output option (Philip)
New pg_dump of large objects  (Philip)
New ESCAPE option to LIKE (Thomas)
New case-insensitive LIKE - ILIKE (Thomas)
Allow functional indexes to use binary-compatible type (Tom)
Allow SQL functions to be used in more contexts (Tom)
New pg_config utility (Peter E)
New PL/pgSQL EXECUTE command which allows dynamic SQL and utility statements
    (Jan)
New PL/pgSQL GET DIAGNOSTICS statement for SPI value access (Jan)
New quote_identifiers() and quote_literal() functions (Jan)
New ALTER TABLE table OWNER TO user command (Mark Hollomon)
Allow subselects in FROM, i.e. FROM (SELECT ...) [AS] alias (Tom)
Update PyGreSQL to version 3.1 (D'Arcy)
Store tables as files named by OID (Vadim)
New SQL function setval(seq,val,bool) for use in pg_dump (Philip)
Require DROP VIEW to remove views, no DROP TABLE (Mark)
Allow DROP VIEW view1, view2 (Mark)
Allow multiple objects in DROP INDEX, DROP RULE, and DROP TYPE (Tom)
Allow automatic conversion to/from Unicode (Tatsuo, Eiji)
New /contrib/pgcrypto hashing functions (Marko Kreen)
New pg_dumpall --globals-only option (Peter E)
New CHECKPOINT command for WAL which creates new WAL log file (Vadim)
New AT TIME ZONE syntax (Thomas)
Allow location of Unix domain socket to be configurable (David J. MacKenzie)
Allow postmaster to listen on a specific IP address (David J. MacKenzie)
Allow socket path name to be specified in hostname by using leading slash
    (David J. MacKenzie)
Allow CREATE DATABASE to specify template database (Tom)
New utility to convert MySQL schema dumps to SQL92 and PostgreSQL (Thomas)
New /contrib/rserv replication toolkit (Vadim)
New file format for COPY BINARY (Tom)
New /contrib/oid2name to map numeric files to table names (B Palmer)
New "idle in transaction" ps status message (Marc)
Update to pgaccess 0.98.7 (Constantin Teodorescu)
pg_ctl now defaults to -w (wait) on shutdown, new -l (log) option
Add rudimentary dependency checking to pg_dump (Philip)

Types
-----
Fix INET/CIDR type ordering and add new functions (Tom)
Make OID behave as an unsigned type (Tom)
Allow BIGINT as synonym for INT8 (Peter E)
New int2 and int8 comparison operators (Tom)
New BIT and BIT VARYING types (Adriaan Joubert, Tom, Peter E)
CHAR() no longer faster than VARCHAR() because of TOAST (Tom)
New GIST seg/cube examples (Gene Selkov)
Improved round(numeric) handling (Tom)
Fix CIDR output formatting (Tom)
New CIDR abbrev() function (Tom)

Performance
-----------
Write-Ahead Log (WAL) to provide crash recovery with less performance
    overhead (Vadim)
ANALYZE stage of VACUUM no longer exclusively locks table (Bruce)
Reduced file seeks (Denis Perchine)
Improve BTREE code for duplicate keys (Tom)
Store all large objects in a single table (Denis Perchine, Tom)
Improve memory allocation performance (Karel, Tom)

Source Code
-----------
New function manager call conventions (Tom)
SGI portability fixes (David Kaelbling)
New configure --enable-syslog option (Peter E)
New BSDI README (Bruce)
configure script moved to top level, not /src (Peter E)
Makefile/configuration/compilation overhaul (Peter E)
New configure --with-python option (Peter E)
Solaris cleanups (Peter E)
Overhaul /contrib Makefiles (Karel)
New OpenSSL configuration option (Magnus, Peter E)
AIX fixes (Andreas)
QNX fixes (Maurizio)
New heap_open(), heap_openr() API (Tom)
Remove colon and semi-colon operators (Thomas)
New pg_class.relkind value for views (Mark Hollomon)
Rename ichar() to chr() (Karel)
New documentation for btrim(), ascii(), chr(), repeat() (Karel)
Fixes for NT/Cygwin (Pete Forman)
AIX port fixes (Andreas)
New BeOS port (David Reid, Cyril Velter)
Add proofreader's changes to docs (Addison-Wesley, Bruce)
New Alpha spinlock code (Adriaan Joubert, Compaq)
UnixWare port overhaul (Peter E)
New Darwin/MacOS X port (Peter Bierman, Bruce Hartzler)
New FreeBSD Alpha port (Alfred)
Overhaul shared memory segments (Tom)
Add IBM S/390 support (Neale Ferguson)
Moved macmanuf to /contrib (Larry Rosenman)
Syslog improvements (Larry Rosenman)
New template0 database that contains no user additions (Tom)
New /contrib/cube and /contrib/seg GIST sample code (Gene Selkov)
Allow NetBSD's libedit instead of readline (Peter)
Improved assembly language source code format (Bruce)
New contrib/pg_logger
New --template option to createdb
New contrib/pg_control utility (Oliver)
New FreeBSD tools ipc_check, start-scripts/freebsd

     _________________________________________________________________

                               Release 7.0.3
a980 1
     _________________________________________________________________
d982 3
a984 1
                         Migration to version 7.0.3
a986 1
     _________________________________________________________________
d988 3
a990 1
                                  Changes
d992 40
a1031 39
Jdbc fixes (Peter)
Large object fix (Tom)
Fix lean in COPY WITH OIDS leak (Tom)
Fix backwards-index-scan (Tom)
Fix SELECT ... FOR UPDATE so it checks for duplicate keys (Hiroshi)
Add --enable-syslog to configure (Marc)
Fix abort transaction at backend exit in rare cases (Tom)
Fix for psql \l+ when multibyte enabled (Tatsuo)
Allow PL/pgSQL to accept non ascii identifiers (Tatsuo)
Make vacuum always flush buffers (Tom)
Fix to allow cancel while waiting for a lock (Hiroshi)
Fix for memory aloocation problem in user authentication code (Tom)
Remove bogus use of int4out() (Tom)
Fixes for multiple subqueries in COALESCE or BETWEEN (Tom)
Fix for failure of triggers on heap open in certain cases (Jeroen van
    Vianen)
Fix for erroneous selectivity of not-equals (Tom)
Fix for erroneous use of strcmp() (Tom)
Fix for bug where storage manager accesses items beyond end of file
    (Tom)
Fix to include kernel errno message in all smgr elog messages (Tom)
Fix for '.' not in PATH at build time (SL Baur)
Fix for out-of-file-descriptors error (Tom)
Fix to make pg_dump dump 'iscachable' flag for functions (Tom)
Fix for subselect in targetlist of Append node (Tom)
Fix for mergejoin plans (Tom)
Fix TRUNCATE failure on relations with indexes (Tom)
Avoid database-wide restart on write error (Hiroshi)
Fix nodeMaterial to honor chgParam by recomputing its output (Tom)
Fix VACUUM problem with moving chain of update row versions when source
    and destination of a row version lie on the same page (Tom)
Fix user.c CommandCounterIncrement (Tom)
Fix for AM/PM boundary problem in to_char() (Karel Zak)
Fix TIME aggregate handling (Tom)
Fix to_char() to avoid coredump on NULL input (Tom)
Buffer fix (Tom)
Fix for inserting/copying longer multibyte strings into char() data
    types (Tatsuo)
Fix for crash of backend, on abort (Tom)
d1033 1
a1033 1
     _________________________________________________________________
d1035 1
a1035 1
                               Release 7.0.2
a1039 1
     _________________________________________________________________
d1041 3
a1043 1
                         Migration to version 7.0.2
a1045 1
     _________________________________________________________________
d1047 3
a1049 1
                                  Changes
d1051 2
a1052 1
Added documentation to tarball.
d1054 1
a1054 1
     _________________________________________________________________
d1056 1
a1056 1
                               Release 7.0.1
a1060 1
     _________________________________________________________________
d1062 3
a1064 1
                         Migration to version 7.0.1
a1066 1
     _________________________________________________________________
d1068 3
a1070 1
                                  Changes
d1072 25
a1096 24
Fix many CLUSTER failures (Tom)
Allow ALTER TABLE RENAME works on indexes (Tom)
Fix plpgsql to handle datetime->timestamp and timespan->interval (Bruce)
New configure --with-setproctitle switch to use setproctitle() (Marc, Bruce)
Fix the off by one errors in ResultSet from 6.5.3, and more.
jdbc ResultSet fixes (Joseph Shraibman)
optimizer tunings (Tom)
Fix create user for pgaccess
Fix for UNLISTEN failure
IRIX fixes (David Kaelbling)
QNX fixes (Andreas Kardos)
Reduce COPY IN lock level (Tom)
Change libpqeasy to use PQconnectdb() style parameters (Bruce)
Fix pg_dump to handle OID indexes (Tom)
Fix small memory leak (Tom)
Solaris fix for createdb/dropdb (Tatsuo)
Fix for non-blocking connections (Alfred Perlstein)
Fix improper recovery after RENAME TABLE failures (Tom)
Copy pg_ident.conf.sample into /lib directory in install (Bruce)
Add SJIS UDC (NEC selection IBM kanji) support (Eiji Tokuya)
Fix too long syslog message (Tatsuo)
Fix problem with quoted indexes that are too long (Tom)
JDBC ResultSet.getTimestamp() fix (Gregory Krasnow & Floyd Marinescu)
ecpg changes (Michael)
d1098 1
a1098 1
     _________________________________________________________________
d1100 1
a1100 1
                                Release 7.0
d1105 4
a1108 4
   continued growth of PostgreSQL. There are more improvements and fixes
   in 7.0 than in any previous release. The developers have confidence
   that this is the best release yet; we do our best to put out only
   solid releases, and this one is no exception.
d1113 4
a1116 3
          Foreign keys are now implemented, with the exception of PARTIAL
          MATCH foreign keys. Many users have been asking for this
          feature, and we are pleased to offer it.
d1119 4
a1122 3
          Continuing on work started a year ago, the optimizer has been
          improved, allowing better query plan selection and faster
          performance with less memory usage.
d1125 3
a1127 2
          psql, our interactive terminal monitor, has been updated with a
          variety of new features. See the psql manual page for details.
a1129 4
          SQL92 join syntax is now supported, though only as INNER JOIN
          for this release. JOIN, NATURAL JOIN, JOIN/USING, and JOIN/ON
          are available, as are column correlation names.
     _________________________________________________________________
d1131 12
a1142 7
                          Migration to version 7.0

   A dump/restore using pg_dump is required for those wishing to migrate
   data from any previous release of PostgreSQL. For those upgrading from
   6.5.*, you may instead use pg_upgrade to upgrade to this release;
   however, a full dump/reload installation is always the most robust
   method for upgrades.
d1147 7
a1153 6
     * The date/time types datetime and timespan have been superseded by
       the SQL92-defined types timestamp and interval. Although there has
       been some effort to ease the transition by allowing PostgreSQL to
       recognize the deprecated type names and translate them to the new
       type names, this mechanism may not be completely transparent to
       your existing application.
d1155 7
a1161 6
       cost estimation. In some cases, this will result in decreased
       query times as the optimizer makes a better choice for the
       preferred plan. However, in a small number of cases, usually
       involving pathological distributions of data, your query times may
       go up. If you are dealing with large amounts of data, you may want
       to check your queries to verify performance.
d1163 1
d1165 326
a1490 4
       versions translated this into a call to LENGTH, which could result
       in ambiguity with other types implementing LENGTH such as the
       geometric types.
     _________________________________________________________________
d1492 1
a1492 322
                                  Changes

Bug Fixes
---------
Prevent function calls exceeding maximum number of arguments (Tom)
Improve CASE construct (Tom)
Fix SELECT coalesce(f1,0) FROM int4_tbl GROUP BY f1 (Tom)
Fix SELECT sentence.words[0] FROM sentence GROUP BY sentence.words[0] (Tom)
Fix GROUP BY scan bug (Tom)
Improvements in SQL grammar processing (Tom)
Fix for views involved in INSERT ... SELECT ... (Tom)
Fix for SELECT a/2, a/2 FROM test_missing_target GROUP BY a/2 (Tom)
Fix for subselects in INSERT ... SELECT (Tom)
Prevent INSERT ... SELECT ... ORDER BY (Tom)
Fixes for relations greater than 2GB, including vacuum
Improve propagating system table changes to other backends (Tom)
Improve propagating user table changes to other backends (Tom)
Fix handling of temp tables in complex situations (Bruce, Tom)
Allow table locking at table open, improving concurrent reliability (Tom)
Properly quote sequence names in pg_dump (Ross J. Reedstrom)
Prevent DROP DATABASE while others accessing
Prevent any rows from being returned by GROUP BY if no rows processed (Tom)
Fix SELECT COUNT(1) FROM table WHERE ...' if no rows matching WHERE (Tom)
Fix pg_upgrade so it works for MVCC (Tom)
Fix for SELECT ... WHERE x IN (SELECT ... HAVING SUM(x) > 1) (Tom)
Fix for "f1 datetime DEFAULT 'now'"  (Tom)
Fix problems with CURRENT_DATE used in DEFAULT (Tom)
Allow comment-only lines, and ;;; lines too. (Tom)
Improve recovery after failed disk writes, disk full (Hiroshi)
Fix cases where table is mentioned in FROM but not joined (Tom)
Allow HAVING clause without aggregate functions (Tom)
Fix for "--" comment and no trailing newline, as seen in perl interface
Improve pg_dump failure error reports (Bruce)
Allow sorts and hashes to exceed 2GB file sizes (Tom)
Fix for pg_dump dumping of inherited rules (Tom)
Fix for NULL handling comparisons (Tom)
Fix inconsistent state caused by failed CREATE/DROP commands (Hiroshi)
Fix for dbname with dash
Prevent DROP INDEX from interfering with other backends (Tom)
Fix file descriptor leak in verify_password()
Fix for "Unable to identify an operator =$" problem
Fix ODBC so no segfault if CommLog and Debug enabled (Dirk Niggemann)
Fix for recursive exit call (Massimo)
Fix for extra-long timezones (Jeroen van Vianen)
Make pg_dump preserve primary key information (Peter E)
Prevent databases with single quotes (Peter E)
Prevent DROP DATABASE inside  transaction (Peter E)
ecpg memory leak fixes (Stephen Birch)
Fix for SELECT null::text, SELECT int4fac(null) and SELECT 2 + (null) (Tom)
Y2K timestamp fix (Massimo)
Fix for VACUUM 'HEAP_MOVED_IN was not expected' errors (Tom)
Fix for views with tables/columns containing spaces  (Tom)
Prevent privileges on indexes (Peter E)
Fix for spinlock stuck problem when error is generated (Hiroshi)
Fix ipcclean on Linux
Fix handling of NULL constraint conditions (Tom)
Fix memory leak in odbc driver (Nick Gorham)
Fix for privilege check on UNION tables (Tom)
Fix to allow SELECT 'a' LIKE 'a' (Tom)
Fix for SELECT 1 + NULL (Tom)
Fixes to CHAR
Fix log() on numeric type (Tom)
Deprecate ':' and ';' operators
Allow vacuum of temporary tables
Disallow inherited columns with the same name as new columns
Recover or force failure when disk space is exhausted (Hiroshi)
Fix INSERT INTO ... SELECT with AS columns matching result columns
Fix INSERT ... SELECT ... GROUP BY groups by target columns not source columns
(Tom)
Fix CREATE TABLE test (a char(5) DEFAULT text '', b int4) with INSERT (Tom)
Fix UNION with LIMIT
Fix CREATE TABLE x AS SELECT 1 UNION SELECT 2
Fix CREATE TABLE test(col char(2) DEFAULT user)
Fix mismatched types in CREATE TABLE ... DEFAULT
Fix SELECT * FROM pg_class where oid in (0,-1)
Fix SELECT COUNT('asdf') FROM pg_class WHERE oid=12
Prevent user who can create databases can modifying pg_database table (Peter E)
Fix btree to give a useful elog when key > 1/2 (page - overhead) (Tom)
Fix INSERT of 0.0 into DECIMAL(4,4) field (Tom)

Enhancements
------------
New CLI interface include file sqlcli.h, based on SQL3/SQL98
Remove all limits on query length, row length limit still exists (Tom)
Update jdbc protocol to 2.0 (Jens Glaser <jens@@jens.de>)
Add TRUNCATE command to quickly truncate relation (Mike Mascari)
Fix to give super user and createdb user proper update catalog rights (Peter E)
Allow ecpg bool variables to have NULL values (Christof)
Issue ecpg error if NULL value for variable with no NULL indicator (Christof)
Allow ^C to cancel COPY command (Massimo)
Add SET FSYNC and SHOW PG_OPTIONS commands(Massimo)
Function name overloading for dynamically-loaded C functions (Frankpitt)
Add CmdTuples() to libpq++(Vince)
New CREATE CONSTRAINT TRIGGER and SET CONSTRAINTS commands(Jan)
Allow CREATE FUNCTION/WITH clause to be used for all language types
configure --enable-debug adds -g (Peter E)
configure --disable-debug removes -g (Peter E)
Allow more complex default expressions (Tom)
First real FOREIGN KEY constraint trigger functionality (Jan)
Add FOREIGN KEY ... MATCH FULL ... ON DELETE CASCADE (Jan)
Add FOREIGN KEY ... MATCH <unspecified> referential actions (Don Baccus)
Allow WHERE restriction on ctid (physical heap location) (Hiroshi)
Move pginterface from contrib to interface directory, rename to pgeasy (Bruce)
Change pgeasy connectdb() parameter ordering (Bruce)
Require SELECT DISTINCT target list to have all ORDER BY columns (Tom)
Add Oracle's COMMENT ON command (Mike Mascari <mascarim@@yahoo.com>)
libpq's PQsetNoticeProcessor function now returns previous hook(Peter E)
Prevent PQsetNoticeProcessor from being set to NULL (Peter E)
Make USING in COPY optional (Bruce)
Allow subselects in the target list (Tom)
Allow subselects on the left side of comparison operators (Tom)
New parallel regression test (Jan)
Change backend-side COPY to write files with permissions 644 not 666 (Tom)
Force permissions on PGDATA directory to be secure, even if it exists (Tom)
Added psql LASTOID variable to return last inserted oid (Peter E)
Allow concurrent vacuum and remove pg_vlock vacuum lock file (Tom)
Add privilege check for vacuum (Peter E)
New libpq functions to allow asynchronous connections: PQconnectStart(),
   PQconnectPoll(), PQresetStart(), PQresetPoll(), PQsetenvStart(),
   PQsetenvPoll(), PQsetenvAbort (Ewan Mellor)
New libpq PQsetenv() function (Ewan Mellor)
create/alter user extension (Peter E)
New postmaster.pid and postmaster.opts under $PGDATA (Tatsuo)
New scripts for create/drop user/db (Peter E)
Major psql overhaul (Peter E)
Add const to libpq interface (Peter E)
New libpq function PQoidValue (Peter E)
Show specific non-aggregate causing problem with GROUP BY (Tom)
Make changes to pg_shadow recreate pg_pwd file (Peter E)
Add aggregate(DISTINCT ...) (Tom)
Allow flag to control COPY input/output of NULLs (Peter E)
Make postgres user have a password by default (Peter E)
Add CREATE/ALTER/DROP GROUP (Peter E)
All administration scripts now support --long options (Peter E, Karel)
Vacuumdb script now supports --all option (Peter E)
ecpg new portable FETCH syntax
Add ecpg EXEC SQL IFDEF, EXEC SQL IFNDEF, EXEC SQL ELSE, EXEC SQL ELIF
        and EXEC SQL ENDIF directives
Add pg_ctl script to control backend start-up (Tatsuo)
Add postmaster.opts.default file to store start-up flags (Tatsuo)
Allow --with-mb=SQL_ASCII
Increase maximum number of index keys to 16 (Bruce)
Increase maximum number of function arguments to 16 (Bruce)
Allow configuration of maximum number of index keys and arguments (Bruce)
Allow unprivileged users to change their passwords (Peter E)
Password authentication enabled; required for new users (Peter E)
Disallow dropping a user who owns a database (Peter E)
Change initdb option --with-mb to --enable-multibyte
Add option for initdb to prompts for superuser password (Peter E)
Allow complex type casts like col::numeric(9,2) and col::int2::float8 (Tom)
Updated user interfaces on initdb, initlocation, pg_dump, ipcclean (Peter E)
New pg_char_to_encoding() and pg_encoding_to_char() functions (Tatsuo)
libpq non-blocking mode (Alfred Perlstein)
Improve conversion of types in casts that don't specify a length
New plperl internal programming language (Mark Hollomon)
Allow COPY IN to read file that do not end with a newline (Tom)
Indicate when long identifiers are truncated (Tom)
Allow aggregates to use type equivalency (Peter E)
Add Oracle's to_char(), to_date(), to_datetime(), to_timestamp(), to_number()
        conversion functions (Karel Zak <zakkr@@zf.jcu.cz>)
Add SELECT DISTINCT ON (expr [, expr ...]) targetlist ... (Tom)
Check to be sure ORDER BY is compatible with the DISTINCT operation (Tom)
Add NUMERIC and int8 types to ODBC
Improve EXPLAIN results for Append, Group, Agg, Unique (Tom)
Add ALTER TABLE ... ADD FOREIGN KEY (Stephan Szabo)
Allow SELECT .. FOR UPDATE in PL/pgSQL (Hiroshi)
Enable backward sequential scan even after reaching EOF (Hiroshi)
Add btree indexing of boolean values, >= and <= (Don Baccus)
Print current line number when COPY FROM fails (Massimo)
Recognize POSIX time zone e.g. "PST+8" and "GMT-8" (Thomas)
Add DEC as synonym for DECIMAL (Thomas)
Add SESSION_USER as SQL92 key word, same as CURRENT_USER (Thomas)
Implement SQL92 column aliases (aka correlation names) (Thomas)
Implement SQL92 join syntax (Thomas)
Make INTERVAL reserved word allowed as a column identifier (Thomas)
Implement REINDEX command (Hiroshi)
Accept ALL in aggregate function SUM(ALL col) (Tom)
Prevent GROUP BY from using column aliases (Tom)
New psql \encoding option (Tatsuo)
Allow PQrequestCancel() to terminate when in waiting-for-lock state (Hiroshi)
Allow negation of a negative number in all cases
Add ecpg descriptors (Christof, Michael)
Allow CREATE VIEW v AS SELECT f1::char(8) FROM tbl
Allow casts with length, like foo::char(8)
New libpq functions PQsetClientEncoding(), PQclientEncoding() (Tatsuo)
Add support for SJIS user defined characters (Tatsuo)
Larger views/rules supported
Make libpq's PQconndefaults() thread-safe (Tom)
Disable // as comment to be ANSI conforming, should use -- (Tom)
Allow column aliases on views CREATE VIEW name (collist)
Fixes for views with subqueries (Tom)
Allow UPDATE table SET fld = (SELECT ...) (Tom)
SET command options no longer require quotes
Update pgaccess to 0.98.6
New SET SEED command
New pg_options.sample file
New SET FSYNC command (Massimo)
Allow pg_descriptions when creating tables
Allow pg_descriptions when creating types, columns, and functions
Allow psql \copy to allow delimiters (Peter E)
Allow psql to print nulls as distinct from "" [null] (Peter E)

Types
-----
Many array fixes (Tom)
Allow bare column names to be subscripted as arrays (Tom)
Improve type casting of int and float constants (Tom)
Cleanups for int8 inputs, range checking, and type conversion (Tom)
Fix for SELECT timespan('21:11:26'::time) (Tom)
netmask('x.x.x.x/0') is 255.255.255.255 instead of 0.0.0.0 (Oleg Sharoiko)
Add btree index on NUMERIC (Jan)
Perl fix for large objects containing NUL characters (Douglas Thomson)
ODBC fix for for large objects (free)
Fix indexing of cidr data type
Fix for Ethernet MAC addresses (macaddr type) comparisons
Fix for date/time types when overflows happened in computations (Tom)
Allow array on int8 (Peter E)
Fix for rounding/overflow of NUMERIC type, like NUMERIC(4,4) (Tom)
Allow NUMERIC arrays
Fix bugs in NUMERIC ceil() and floor() functions (Tom)
Make char_length()/octet_length including trailing blanks (Tom)
Made abstime/reltime use int4 instead of time_t (Peter E)
New lztext data type for compressed text fields
Revise code to handle coercion of int and float constants (Tom)
Start at new code to implement a BIT and BIT VARYING type (Adriaan Joubert)
NUMERIC now accepts scientific notation (Tom)
NUMERIC to int4 rounds (Tom)
Convert float4/8 to NUMERIC properly (Tom)
Allow type conversion with NUMERIC (Thomas)
Make ISO date style (2000-02-16 09:33) the default (Thomas)
Add NATIONAL CHAR [ VARYING ] (Thomas)
Allow NUMERIC round and trunc to accept negative scales (Tom)
New TIME WITH TIME ZONE type (Thomas)
Add MAX()/MIN() on time type (Thomas)
Add abs(), mod(), fac() for int8 (Thomas)
Rename functions to round(), sqrt(), cbrt(), pow() for float8 (Thomas)
Add transcendental math functions (e.g. sin(), acos()) for float8 (Thomas)
Add exp() and ln() for NUMERIC type
Rename NUMERIC power() to pow() (Thomas)
Improved TRANSLATE() function (Edwin Ramirez, Tom)
Allow X=-Y operators  (Tom)
Allow SELECT float8(COUNT(*))/(SELECT COUNT(*) FROM t) FROM t GROUP BY f1; (Tom
)
Allow LOCALE to use indexes in regular expression searches (Tom)
Allow creation of functional indexes to use default types

Performance
-----------
Prevent exponential space consumption with many AND's and OR's (Tom)
Collect attribute selectivity values for system columns (Tom)
Reduce memory usage of aggregates (Tom)
Fix for LIKE optimization to use indexes with multibyte encodings (Tom)
Fix r-tree index optimizer selectivity (Thomas)
Improve optimizer selectivity computations and functions (Tom)
Optimize btree searching for cases where many equal keys exist (Tom)
Enable fast LIKE index processing only if index present (Tom)
Re-use free space on index pages with duplicates (Tom)
Improve hash join processing (Tom)
Prevent descending sort if result is already sorted(Hiroshi)
Allow commuting of index scan query qualifications (Tom)
Prefer index scans in cases where ORDER BY/GROUP BY is required (Tom)
Allocate large memory requests in fix-sized chunks for performance (Tom)
Fix vacuum's performance by reducing memory allocation requests (Tom)
Implement constant-expression simplification (Bernard Frankpitt, Tom)
Use secondary columns to be used to determine start of index scan (Hiroshi)
Prevent quadruple use of disk space when doing internal sorting (Tom)
Faster sorting by calling fewer functions (Tom)
Create system indexes to match all system caches (Bruce, Hiroshi)
Make system caches use system indexes (Bruce)
Make all system indexes unique (Bruce)
Improve pg_statistics management for VACUUM speed improvement (Tom)
Flush backend cache less frequently (Tom, Hiroshi)
COPY now reuses previous memory allocation, improving performance (Tom)
Improve optimization cost estimation (Tom)
Improve optimizer estimate of range queries x > lowbound AND x < highbound (Tom
)
Use DNF instead of CNF where appropriate (Tom, Taral)
Further cleanup for OR-of-AND WHERE-clauses (Tom)
Make use of index in OR clauses (x = 1 AND y = 2) OR (x = 2 AND y = 4) (Tom)
Smarter optimizer computations for random index page access (Tom)
New SET variable to control optimizer costs (Tom)
Optimizer queries based on LIMIT, OFFSET, and EXISTS qualifications (Tom)
Reduce optimizer internal housekeeping of join paths for speedup (Tom)
Major subquery speedup (Tom)
Fewer fsync writes when fsync is not disabled (Tom)
Improved LIKE optimizer estimates (Tom)
Prevent fsync in SELECT-only queries (Vadim)
Make index creation use psort code, because it is now faster (Tom)
Allow creation of sort temp tables > 1 Gig

Source Tree Changes
-------------------
Fix for linux PPC compile
New generic expression-tree-walker subroutine (Tom)
Change form() to varargform() to prevent portability problems
Improved range checking for large integers on Alphas
Clean up #include in /include directory (Bruce)
Add scripts for checking includes (Bruce)
Remove un-needed #include's from *.c files (Bruce)
Change #include's to use <> and "" as appropriate (Bruce)
Enable Windows compilation of libpq
Alpha spinlock fix from Uncle George <gatgul@@voicenet.com>
Overhaul of optimizer data structures (Tom)
Fix to cygipc library (Yutaka Tanida)
Allow pgsql to work on newer Cygwin snapshots (Dan)
New catalog version number (Tom)
Add Linux ARM
Rename heap_replace to heap_update
Update for QNX (Dr. Andreas Kardos)
New platform-specific regression handling (Tom)
Rename oid8 -> oidvector and int28 -> int2vector (Bruce)
Included all yacc and lex files into the distribution (Peter E.)
Remove lextest, no longer needed (Peter E)
Fix for libpq and psql on Windows (Magnus)
Internally change datetime and timespan into timestamp and interval (Thomas)
Fix for plpgsql on BSD/OS
Add SQL_ASCII test case to the regression test (Tatsuo)
configure --with-mb now deprecated (Tatsuo)
NT fixes
NetBSD fixes (Johnny C. Lam <lamj@@stat.cmu.edu>)
Fixes for Alpha compiles
New multibyte encodings
d1494 1
a1494 3
     _________________________________________________________________

                               Release 6.5.3
a1499 1
     _________________________________________________________________
d1501 3
a1503 1
                         Migration to version 6.5.3
a1505 1
     _________________________________________________________________
d1507 3
a1509 1
                                  Changes
d1511 4
a1514 3
Updated version of pgaccess 0.98
NT-specific patch
Fix dumping rules on inherited tables
d1516 1
a1516 1
     _________________________________________________________________
d1518 1
a1518 1
                               Release 6.5.2
d1522 4
a1525 3
   This is basically a cleanup release for 6.5.1. We have fixed a variety
   of problems reported by 6.5.1 users.
     _________________________________________________________________
d1527 1
a1527 1
                         Migration to version 6.5.2
a1529 1
     _________________________________________________________________
d1531 3
a1533 1
                                  Changes
d1535 25
a1559 26
subselect+CASE fixes(Tom)
Add SHLIB_LINK setting for solaris_i386 and solaris_sparc ports(Daren Sefcik)
Fixes for CASE in WHERE join clauses(Tom)
Fix BTScan abort(Tom)
Repair the check for redundant UNIQUE and PRIMARY KEY indexes(Thomas)
Improve it so that it checks for multicolumn constraints(Thomas)
Fix for Windows making problem with MB enabled(Hiroki Kataoka)
Allow BSD yacc and bison to compile pl code(Bruce)
Fix SET NAMES working
int8 fixes(Thomas)
Fix vacuum's memory consumption(Hiroshi,Tatsuo)
Reduce the total memory consumption of vacuum(Tom)
Fix for timestamp(datetime)
Rule deparsing bugfixes(Tom)
Fix quoting problems in mkMakefile.tcldefs.sh.in and mkMakefile.tkdefs.sh.in(To
m)
This is to re-use space on index pages freed by vacuum(Vadim)
document -x for pg_dump(Bruce)
Fix for unary operators in rule deparser(Tom)
Comment out FileUnlink of excess segments during mdtruncate()(Tom)
IRIX linking fix from Yu Cao >yucao@@falcon.kla-tencor.com<
Repair logic error in LIKE: should not return LIKE_ABORT
   when reach end of pattern before end of text(Tom)
Repair incorrect cleanup of heap memory allocation during transaction abort(Tom
)
Updated version of pgaccess 0.98
d1561 1
a1561 1
     _________________________________________________________________
d1563 1
a1563 1
                               Release 6.5.1
d1567 4
a1570 3
   This is basically a cleanup release for 6.5. We have fixed a variety
   of problems reported by 6.5 users.
     _________________________________________________________________
d1572 1
a1572 1
                         Migration to version 6.5.1
a1574 1
     _________________________________________________________________
d1576 3
a1578 1
                                  Changes
d1580 24
a1603 23
Add NT README file
Portability fixes for linux_ppc, IRIX, linux_alpha, OpenBSD, alpha
Remove QUERY_LIMIT, use SELECT...LIMIT
Fix for EXPLAIN on inheritance(Tom)
Patch to allow vacuum on multisegment tables(Hiroshi)
R-Tree optimizer selectivity fix(Tom)
ACL file descriptor leak fix(Atsushi Ogawa)
New expresssion subtree code(Tom)
Avoid disk writes for read-only transactions(Vadim)
Fix for removal of temp tables if last transaction was aborted(Bruce)
Fix to prevent too large row from being created(Bruce)
plpgsql fixes
Allow port numbers 32k - 64k(Bruce)
Add ^ precidence(Bruce)
Rename sort files called pg_temp to pg_sorttemp(Bruce)
Fix for microseconds in time values(Tom)
Tutorial source cleanup
New linux_m68k port
Fix for sorting of NULL's in some cases(Tom)
Shared library dependencies fixed (Tom)
Fixed glitches affecting GROUP BY in subselects(Tom)
Fix some compiler warnings (Tomoaki Nishiyama)
Add Win1250 (Czech) support (Pavel Behal)
d1605 1
a1605 1
     _________________________________________________________________
d1607 1
a1607 1
                                Release 6.5
d1611 4
a1614 4
   This release marks a major step in the development team's mastery of
   the source code we inherited from Berkeley. You will see we are now
   easily adding major features, thanks to the increasing size and
   experience of our world-wide development team.
d1618 13
a1630 13
   Multiversion concurrency control(MVCC)
          This removes our old table-level locking, and replaces it with
          a locking system that is superior to most commercial database
          systems. In a traditional system, each row that is modified is
          locked until committed, preventing reads by other users. MVCC
          uses the natural multiversion nature of PostgreSQL to allow
          readers to continue reading consistent data during writer
          activity. Writers continue to use the compact pg_log
          transaction system. This is all performed without having to
          allocate a lock for every row like traditional database
          systems. So, basically, we no longer are restricted by simple
          table-level locking; we have something better than row-level
          locking.
d1633 4
a1636 3
          pg_dump takes advantage of the new MVCC features to give a
          consistent database dump/backup while the database stays online
          and available for queries.
d1639 3
a1641 2
          We now have a true numeric data type, with user-specified
          precision.
d1644 3
a1646 2
          Temporary tables are guaranteed to have unique names within a
          database session, and are destroyed on session exit.
d1649 4
a1652 3
          We now have CASE, INTERSECT, and EXCEPT statement support. We
          have new LIMIT/OFFSET, SET TRANSACTION ISOLATION LEVEL, SELECT
          ... FOR UPDATE, and an improved LOCK TABLE command.
d1655 4
a1658 3
          We continue to speed up PostgreSQL, thanks to the variety of
          talents within our team. We have sped up memory allocation,
          optimization, table joins, and row transfer routines.
d1661 3
a1663 2
          We continue to expand our port list, this time including
          Windows NT/ix86 and NetBSD/arm32.
d1666 3
a1668 2
          Most interfaces have new versions, and existing functionality
          has been improved.
a1670 12
          New and updated material is present throughout the
          documentation. New FAQs have been contributed for SGI and AIX
          platforms. The Tutorial has introductory information on SQL
          from Stefan Simkovics. For the User's Guide, there are
          reference pages covering the postmaster and more utility
          programs, and a new appendix contains details on date/time
          behavior. The Administrator's Guide has a new chapter on
          troubleshooting from Tom Lane. And the Programmer's Guide has a
          description of query processing, also from Stefan, and details
          on obtaining the PostgreSQL source tree via anonymous CVS and
          CVSup.
     _________________________________________________________________
d1672 24
a1695 1
                          Migration to version 6.5
d1697 1
a1697 10
   A dump/restore using pg_dump is required for those wishing to migrate
   data from any previous release of PostgreSQL. pg_upgrade can *not* be
   used to upgrade to this release because the on-disk structure of the
   tables has changed compared to previous releases.

   The new Multiversion Concurrency Control (MVCC) features can give
   somewhat different behaviors in multiuser environments. *Read and
   understand the following section to ensure that your existing
   applications will give you the behavior you need.*
     _________________________________________________________________
d1699 1
a1699 1
Multiversion Concurrency Control
d1703 15
a1717 16
   another. In other words, if a row is returned by "SELECT" it doesn't
   mean that this row really exists at the time it is returned (i.e.
   sometime after the statement or transaction began) nor that the row is
   protected from being deleted or updated by concurrent transactions
   before the current transaction does a commit or rollback.

   To ensure the actual existence of a row and protect it against
   concurrent updates one must use "SELECT FOR UPDATE" or an appropriate
   "LOCK TABLE" statement. This should be taken into account when porting
   applications from previous releases of PostgreSQL and other
   environments.

   Keep the above in mind if you are using "contrib/refint.*" triggers
   for referential integrity. Additional techniques are required now. One
   way is to use "LOCK parent_table IN SHARE ROW EXCLUSIVE MODE" command
   if a transaction is going to update/delete a primary key and use "LOCK
d1721 3
a1723 3
     Note: Note that if you run a transaction in SERIALIZABLE mode then
     you must execute the "LOCK" commands above before execution of any
     DML statement ("SELECT/INSERT/DELETE/UPDATE/FETCH/COPY_TO") in the
d1726 2
a1727 2
   These inconveniences will disappear in the future when the ability to
   read dirty (uncommitted) data (regardless of isolation level) and true
a1728 1
     _________________________________________________________________
d1730 3
a1732 1
                                  Changes
d1734 162
a1895 164
Bug Fixes
---------
Fix text<->float8 and text<->float4 conversion functions(Thomas)
Fix for creating tables with mixed-case constraints(Billy)
Change exp()/pow() behavior to generate error on underflow/overflow(Jan)
Fix bug in pg_dump -z
Memory overrun cleanups(Tatsuo)
Fix for lo_import crash(Tatsuo)
Adjust handling of data type names to suppress double quotes(Thomas)
Use type coercion for matching columns and DEFAULT(Thomas)
Fix deadlock so it only checks once after one second of sleep(Bruce)
Fixes for aggregates and PL/pgsql(Hiroshi)
Fix for subquery crash(Vadim)
Fix for libpq function PQfnumber and case-insensitive names(Bahman Rafatjoo)
Fix for large object write-in-middle, no extra block, memory consumption(Tatsuo
)
Fix for pg_dump -d or -D and  quote special characters in INSERT
Repair serious problems with dynahash(Tom)
Fix INET/CIDR portability problems
Fix problem with selectivity error in ALTER TABLE ADD COLUMN(Bruce)
Fix executor so mergejoin of different column types works(Tom)
Fix for Alpha OR selectivity bug
Fix OR index selectivity problem(Bruce)
Fix so \d shows proper length for char()/varchar()(Ryan)
Fix tutorial code(Clark)
Improve destroyuser checking(Oliver)
Fix for Kerberos(Rodney McDuff)
Fix for dropping database while dirty buffers(Bruce)
Fix so sequence nextval() can be case-sensitive(Bruce)
Fix !!= operator
Drop buffers before destroying database files(Bruce)
Fix case where executor evaluates functions twice(Tatsuo)
Allow sequence nextval actions to be case-sensitive(Bruce)
Fix optimizer indexing not working for negative numbers(Bruce)
Fix for memory leak in executor with fjIsNull
Fix for aggregate memory leaks(Erik Riedel)
Allow user name containing a dash to grant privileges
Cleanup of NULL in inet types
Clean up system table bugs(Tom)
Fix problems of PAGER and \? command(Masaaki Sakaida)
Reduce default multisegment file size limit to 1GB(Peter)
Fix for dumping of CREATE OPERATOR(Tom)
Fix for backward scanning of cursors(Hiroshi Inoue)
Fix for COPY FROM STDIN when using \i(Tom)
Fix for subselect is compared inside an expression(Jan)
Fix handling of error reporting while returning rows(Tom)
Fix problems with reference to array types(Tom,Jan)
Prevent UPDATE SET oid(Jan)
Fix pg_dump so -t option can handle case-sensitive tablenames
Fixes for GROUP BY in special cases(Tom, Jan)
Fix for memory leak in failed queries(Tom)
DEFAULT now supports mixed-case identifiers(Tom)
Fix for multisegment uses of DROP/RENAME table, indexes(Ole Gjerde)
Disable use of pg_dump with both -o and -d options(Bruce)
Allow pg_dump to properly dump group privileges(Bruce)
Fix GROUP BY in INSERT INTO table SELECT * FROM table2(Jan)
Fix for computations in views(Jan)
Fix for aggregates on array indexes(Tom)
Fix for DEFAULT handles single quotes in value requiring too many quotes
Fix security problem with non-super users importing/exporting large objects(Tom
)
Rollback of transaction that creates table cleaned up properly(Tom)
Fix to allow long table and column names to generate proper serial names(Tom)

Enhancements
------------
Add "vacuumdb" utility
Speed up libpq by allocating memory better(Tom)
EXPLAIN all indexes used(Tom)
Implement CASE, COALESCE, NULLIF  expression(Thomas)
New pg_dump table output format(Constantin)
Add string min()/max() functions(Thomas)
Extend new type coercion techniques to aggregates(Thomas)
New moddatetime contrib(Terry)
Update to pgaccess 0.96(Constantin)
Add routines for single-byte "char" type(Thomas)
Improved substr() function(Thomas)
Improved multibyte handling(Tatsuo)
Multiversion concurrency control/MVCC(Vadim)
New Serialized mode(Vadim)
Fix for tables over 2gigs(Peter)
New SET TRANSACTION ISOLATION LEVEL(Vadim)
New LOCK TABLE IN ... MODE(Vadim)
Update ODBC driver(Byron)
New NUMERIC data type(Jan)
New SELECT FOR UPDATE(Vadim)
Handle "NaN" and "Infinity" for input values(Jan)
Improved date/year handling(Thomas)
Improved handling of backend connections(Magnus)
New options ELOG_TIMESTAMPS and USE_SYSLOG options for log files(Massimo)
New TCL_ARRAYS option(Massimo)
New INTERSECT and EXCEPT(Stefan)
New pg_index.indisprimary for primary key tracking(D'Arcy)
New pg_dump option to allow dropping of tables before creation(Brook)
Speedup of row output routines(Tom)
New READ COMMITTED isolation level(Vadim)
New TEMP tables/indexes(Bruce)
Prevent sorting if result is already sorted(Jan)
New memory allocation optimization(Jan)
Allow psql to do \p\g(Bruce)
Allow multiple rule actions(Jan)
Added LIMIT/OFFSET functionality(Jan)
Improve optimizer when joining a large number of tables(Bruce)
New intro to SQL from S. Simkovics' Master's Thesis (Stefan, Thomas)
New intro to backend processing from S. Simkovics' Master's Thesis (Stefan)
Improved int8 support(Ryan Bradetich, Thomas, Tom)
New routines to convert between int8 and text/varchar types(Thomas)
New bushy plans, where meta-tables are joined(Bruce)
Enable right-hand queries by default(Bruce)
Allow reliable maximum number of backends to be set at configure time
      (--with-maxbackends and postmaster switch (-N backends))(Tom)
GEQO default now 10 tables because of optimizer speedups(Tom)
Allow NULL=Var for MS-SQL portability(Michael, Bruce)
Modify contrib check_primary_key() so either "automatic" or "dependent"(Anand)
Allow psql \d on a view show query(Ryan)
Speedup for LIKE(Bruce)
Ecpg fixes/features, see src/interfaces/ecpg/ChangeLog file(Michael)
JDBC fixes/features, see src/interfaces/jdbc/CHANGELOG(Peter)
Make % operator have precedence like /(Bruce)
Add new postgres -O option to allow system table structure changes(Bruce)
Update contrib/pginterface/findoidjoins script(Tom)
Major speedup in vacuum of deleted rows with indexes(Vadim)
Allow non-SQL functions to run different versions based on arguments(Tom)
Add -E option that shows actual queries sent by \dt and friends(Masaaki Sakaida
)
Add version number in start-up banners for psql(Masaaki Sakaida)
New contrib/vacuumlo removes large objects not referenced(Peter)
New initialization for table sizes so non-vacuumed tables perform better(Tom)
Improve error messages when a connection is rejected(Tom)
Support for arrays of char() and varchar() fields(Massimo)
Overhaul of hash code to increase reliability and performance(Tom)
Update to PyGreSQL 2.4(D'Arcy)
Changed debug options so -d4 and -d5 produce different node displays(Jan)
New pg_options: pretty_plan, pretty_parse, pretty_rewritten(Jan)
Better optimization statistics for system table access(Tom)
Better handling of non-default block sizes(Massimo)
Improve GEQO optimizer memory consumption(Tom)
UNION now suppports ORDER BY of columns not in target list(Jan)
Major libpq++ improvements(Vince Vielhaber)
pg_dump now uses -z(ACL's) as default(Bruce)
backend cache, memory speedups(Tom)
have pg_dump do everything in one snapshot transaction(Vadim)
fix for large object memory leakage, fix for pg_dumping(Tom)
INET type now respects netmask for comparisons
Make VACUUM ANALYZE only use a readlock(Vadim)
Allow VIEWs on UNIONS(Jan)
pg_dump now can generate consistent snapshots on active databases(Vadim)

Source Tree Changes
-------------------
Improve port matching(Tom)
Portability fixes for SunOS
Add Windows NT backend port and enable dynamic loading(Magnus and Daniel Horak)
New port to Cobalt Qube(Mips) running Linux(Tatsuo)
Port to NetBSD/m68k(Mr. Mutsuki Nakajima)
Port to NetBSD/sun3(Mr. Mutsuki Nakajima)
Port to NetBSD/macppc(Toshimi Aoki)
Fix for tcl/tk configuration(Vince)
Removed CURRENT key word for rule queries(Jan)
NT dynamic loading now works(Daniel Horak)
Add ARM32 support(Andrew McMurry)
Better support for HP-UX 11 and UnixWare
Improve file handling to be more uniform, prevent file descriptor leak(Tom)
New install commands for plpgsql(Jan)
d1897 1
a1897 1
     _________________________________________________________________
d1899 1
a1899 1
                               Release 6.4.2
d1903 4
a1906 3
   The 6.4.1 release was improperly packaged. This also has one
   additional bug fix.
     _________________________________________________________________
d1908 1
a1908 1
                         Migration to version 6.4.2
a1910 1
     _________________________________________________________________
d1912 5
a1916 1
                                  Changes
d1918 1
a1918 2
Fix for datetime constant problem on some platforms(Thomas)
     _________________________________________________________________
d1920 1
a1920 1
                               Release 6.4.1
d1924 4
a1927 3
   This is basically a cleanup release for 6.4. We have fixed a variety
   of problems reported by 6.4 users.
     _________________________________________________________________
d1929 1
a1929 1
                         Migration to version 6.4.1
a1931 1
     _________________________________________________________________
d1933 34
a1966 1
                                  Changes
d1968 1
a1968 31
Add pg_dump -N flag to force double quotes around identifiers.  This is
        the default(Thomas)
Fix for NOT in where clause causing crash(Bruce)
EXPLAIN VERBOSE coredump fix(Vadim)
Fix shared-library problems on Linux
Fix test for table existence to allow mixed-case and whitespace in
        the table name(Thomas)
Fix a couple of pg_dump bugs
Configure matches template/.similar entries better(Tom)
Change builtin function names from SPI_* to spi_*
OR WHERE clause fix(Vadim)
Fixes for mixed-case table names(Billy)
contrib/linux/postgres.init.csh/sh fix(Thomas)
libpq memory overrun fix
SunOS fixes(Tom)
Change exp() behavior to generate error on underflow(Thomas)
pg_dump fixes for memory leak, inheritance constraints, layout change
update pgaccess to 0.93
Fix prototype for 64-bit platforms
Multibyte fixes(Tatsuo)
New ecpg man page
Fix memory overruns(Tatsuo)
Fix for lo_import() crash(Bruce)
Better search for install program(Tom)
Timezone fixes(Tom)
HP-UX fixes(Tom)
Use implicit type coercion for matching DEFAULT values(Thomas)
Add routines to help with single-byte (internal) character type(Thomas)
Compilation of libpq for Windows fixes(Magnus)
Upgrade to PyGreSQL 2.2(D'Arcy)
     _________________________________________________________________
d1970 1
a1970 1
                                Release 6.4
d1974 8
a1981 4
   There are *many* new features and improvements in this release. Thanks
   to our developers and maintainers, nearly every aspect of the system
   has received some attention since the previous release. Here is a
   brief, incomplete summary:
a1982 3
     * Views and rules are now functional thanks to extensive new code in
       the rewrite rules system from Jan Wieck. He also wrote a chapter
       on it for the Programmer's Guide.
d1986 13
a1998 11
     * We have optional multiple-byte character set support from Tatsuo
       Ishii to complement our existing locale support.
     * Client/server communications has been cleaned up, with better
       support for asynchronous messages and interrupts thanks to Tom
       Lane.
     * The parser will now perform automatic type coercion to match
       arguments to available operators and functions, and to match
       columns and expressions with target columns. This uses a generic
       mechanism which supports the type extensibility features of
       PostgreSQL. There is a new chapter in the User's Guide which
       covers this topic.
d2000 6
a2005 5
       support various forms of IP network, subnet, and machine
       addressing. There is now an 8-byte integer type available on some
       platforms. See the chapter on data types in the User's Guide for
       details. A fourth type, serial, is now supported by the parser as
       an amalgam of the int4 type, a sequence, and a unique index.
a2007 4
     * The automatic configuration and installation system has received
       some attention, and should be more robust for more platforms than
       it has ever been.
     _________________________________________________________________
d2009 207
a2215 1
                          Migration to version 6.4
d2217 1
a2217 3
   A dump/restore using pg_dump or pg_dumpall is required for those
   wishing to migrate data from any previous release of PostgreSQL.
     _________________________________________________________________
d2219 1
a2219 200
                                  Changes

Bug Fixes
---------
Fix for a tiny memory leak in PQsetdb/PQfinish(Bryan)
Remove char2-16 data types, use char/varchar(Darren)
Pqfn not handles a NOTICE message(Anders)
Reduced busywaiting overhead for spinlocks with many backends (dg)
Stuck spinlock detection (dg)
Fix up "ISO-style" timespan decoding and encoding(Thomas)
Fix problem with table drop after rollback of transaction(Vadim)
Change error message and remove non-functional update message(Vadim)
Fix for COPY array checking
Fix for SELECT 1 UNION SELECT NULL
Fix for buffer leaks in large object calls(Pascal)
Change owner from oid to int4 type(Bruce)
Fix a bug in the oracle compatibility functions btrim() ltrim() and rtrim()
Fix for shared invalidation cache overflow(Massimo)
Prevent file descriptor leaks in failed COPY's(Bruce)
Fix memory leak in libpgtcl's pg_select(Constantin)
Fix problems with username/passwords over 8 characters(Tom)
Fix problems with handling of asynchronous NOTIFY in backend(Tom)
Fix of many bad system table entries(Tom)

Enhancements
------------
Upgrade ecpg and ecpglib,see src/interfaces/ecpc/ChangeLog(Michael)
Show the index used in an EXPLAIN(Zeugswetter)
EXPLAIN  invokes  rule system and shows plan(s) for rewritten queries(Jan)
Multibyte awareness of many data types and functions, via configure(Tatsuo)
New configure --with-mb option(Tatsuo)
New initdb --pgencoding option(Tatsuo)
New createdb -E multibyte option(Tatsuo)
Select version(); now returns PostgreSQL version(Jeroen)
libpq now allows asynchronous clients(Tom)
Allow cancel from client of backend query(Tom)
psql now cancels query with Control-C(Tom)
libpq users need not issue dummy queries to get NOTIFY messages(Tom)
NOTIFY now sends sender's PID, so you can tell whether it was your own(Tom)
PGresult struct now includes associated error message, if any(Tom)
Define "tz_hour" and "tz_minute" arguments to date_part()(Thomas)
Add routines to convert between varchar and bpchar(Thomas)
Add routines to allow sizing of varchar and bpchar into target columns(Thomas)
Add bit flags to support timezonehour and minute in data retrieval(Thomas)
Allow more variations on valid floating point numbers (e.g. ".1", "1e6")(Thomas
)
Fixes for unary minus parsing with leading spaces(Thomas)
Implement TIMEZONE_HOUR, TIMEZONE_MINUTE per SQL92 specs(Thomas)
Check for and properly ignore FOREIGN KEY column constraints(Thomas)
Define USER as synonym for CURRENT_USER per SQL92 specs(Thomas)
Enable HAVING clause but no fixes elsewhere yet.
Make "char" type a synonym for "char(1)" (actually implemented as bpchar)(Thoma
s)
Save string type if specified for DEFAULT clause handling(Thomas)
Coerce operations involving different data types(Thomas)
Allow some index use for columns of different types(Thomas)
Add capabilities for automatic type conversion(Thomas)
Cleanups for large objects, so file is truncated on open(Peter)
Readline cleanups(Tom)
Allow psql  \f \ to make spaces as delimiter(Bruce)
Pass pg_attribute.atttypmod to the frontend for column field lengths(Tom,Bruce)
Msql compatibility library in /contrib(Aldrin)
Remove the requirement that ORDER/GROUP BY clause identifiers be
included in the target list(David)
Convert columns to match columns in UNION clauses(Thomas)
Remove fork()/exec() and only do fork()(Bruce)
Jdbc cleanups(Peter)
Show backend status on ps command line(only works on some platforms)(Bruce)
Pg_hba.conf now has a sameuser option in the database field
Make lo_unlink take oid param, not int4
New DISABLE_COMPLEX_MACRO for compilers that can't handle our macros(Bruce)
Libpgtcl now handles NOTIFY as a Tcl event, need not send dummy queries(Tom)
libpgtcl cleanups(Tom)
Add -error option to libpgtcl's pg_result command(Tom)
New locale patch, see docs/README/locale(Oleg)
Fix for pg_dump so CONSTRAINT and CHECK syntax is correct(ccb)
New contrib/lo code for large object orphan removal(Peter)
New psql command "SET CLIENT_ENCODING TO 'encoding'" for multibytes
feature, see /doc/README.mb(Tatsuo)
contrib/noupdate code to revoke update permission on a column
libpq can now be compiled on Windows(Magnus)
Add PQsetdbLogin() in libpq
New 8-byte integer type, checked by configure for OS support(Thomas)
Better support for quoted table/column names(Thomas)
Surround table and column names with double-quotes in pg_dump(Thomas)
PQreset() now works with passwords(Tom)
Handle case of GROUP BY target list column number out of range(David)
Allow UNION in subselects
Add auto-size to screen to \d? commands(Bruce)
Use UNION to show all \d? results in one query(Bruce)
Add \d? field search feature(Bruce)
Pg_dump issues fewer \connect requests(Tom)
Make pg_dump -z flag work better, document it in manual page(Tom)
Add HAVING clause with full support for subselects and unions(Stephan)
Full text indexing routines in contrib/fulltextindex(Maarten)
Transaction ids now stored in shared memory(Vadim)
New PGCLIENTENCODING when issuing COPY command(Tatsuo)
Support for SQL92 syntax "SET NAMES"(Tatsuo)
Support for LATIN2-5(Tatsuo)
Add UNICODE regression test case(Tatsuo)
Lock manager cleanup, new locking modes for LLL(Vadim)
Allow index use with OR clauses(Bruce)
Allows "SELECT NULL ORDER BY 1;"
Explain VERBOSE prints the plan, and now pretty-prints the plan to
the postmaster log file(Bruce)
Add indexes display to \d command(Bruce)
Allow GROUP BY on functions(David)
New pg_class.relkind for large objects(Bruce)
New way to send libpq NOTICE messages to a different location(Tom)
New \w write command to psql(Bruce)
New /contrib/findoidjoins scans oid columns to find join relationships(Bruce)
Allow binary-compatible indexes to be considered when checking for valid
Indexes for restriction clauses containing a constant(Thomas)
New ISBN/ISSN code in /contrib/isbn_issn
Allow NOT LIKE, IN, NOT IN, BETWEEN, and NOT BETWEEN constraint(Thomas)
New rewrite system fixes many problems with rules and views(Jan)
        * Rules on relations work
        * Event qualifications on insert/update/delete work
        * New OLD variable to reference CURRENT, CURRENT will be remove in futu
re
        * Update rules can reference NEW and OLD in rule qualifications/actions
        * Insert/update/delete rules on views work
        * Multiple rule actions are now supported, surrounded by parentheses
        * Regular users can create views/rules on tables they have RULE permits
        * Rules and views inherit the privileges of the creator
        * No rules at the column level
        * No UPDATE NEW/OLD rules
        * New pg_tables, pg_indexes, pg_rules and pg_views system views
        * Only a single action on SELECT rules
        * Total rewrite overhaul, perhaps for 6.5
        * handle subselects
        * handle aggregates on views
        * handle insert into select from view works
System indexes are now multikey(Bruce)
Oidint2, oidint4, and oidname types are removed(Bruce)
Use system cache for more system table lookups(Bruce)
New backend programming language PL/pgSQL in backend/pl(Jan)
New SERIAL data type, auto-creates sequence/index(Thomas)
Enable assert checking without a recompile(Massimo)
User lock enhancements(Massimo)
New setval() command to set sequence value(Massimo)
Auto-remove unix socket file on start-up if no postmaster running(Massimo)
Conditional trace package(Massimo)
New UNLISTEN command(Massimo)
psql and libpq now compile under Windows using win32.mak(Magnus)
Lo_read no longer stores trailing NULL(Bruce)
Identifiers are now truncated to 31 characters internally(Bruce)
Createuser options now availble on the command line
Code for 64-bit integer supported added, configure tested, int8 type(Thomas)
Prevent file descriptor leaf from failed COPY(Bruce)
New pg_upgrade command(Bruce)
Updated /contrib directories(Massimo)
New CREATE TABLE DEFAULT VALUES statement available(Thomas)
New INSERT INTO TABLE DEFAULT VALUES statement available(Thomas)
New DECLARE and FETCH feature(Thomas)
libpq's internal structures now not exported(Tom)
Allow up to 8 key indexes(Bruce)
Remove ARCHIVE key word, that is no longer used(Thomas)
pg_dump -n flag to supress quotes around indentifiers
disable system columns for views(Jan)
new INET and CIDR types for network addresses(TomH, Paul)
no more double quotes in psql output
pg_dump now dumps views(Terry)
new SET QUERY_LIMIT(Tatsuo,Jan)

Source Tree Changes
-------------------
/contrib cleanup(Jun)
Inline some small functions called for every row(Bruce)
Alpha/linux fixes
HP-UX cleanups(Tom)
Multibyte regression tests(Soonmyung.)
Remove --disabled options from configure
Define PGDOC to use POSTGRESDIR by default
Make regression optional
Remove extra braces code to pgindent(Bruce)
Add bsdi shared library support(Bruce)
New --without-CXX support configure option(Brook)
New FAQ_CVS
Update backend flowchart in tools/backend(Bruce)
Change atttypmod from int16 to int32(Bruce, Tom)
Getrusage() fix for platforms that do not have it(Tom)
Add PQconnectdb, PGUSER, PGPASSWORD to libpq man page
NS32K platform fixes(Phil Nelson, John Buller)
SCO 7/UnixWare 2.x fixes(Billy,others)
Sparc/Solaris 2.5 fixes(Ryan)
Pgbuiltin.3 is obsolete, move to doc files(Thomas)
Even more documention(Thomas)
Nextstep support(Jacek)
Aix support(David)
pginterface manual page(Bruce)
shared libraries all have version numbers
merged all OS-specific shared library defines into one file
smarter TCL/TK configuration checking(Billy)
smarter perl configuration(Brook)
configure uses supplied install-sh if no install script found(Tom)
new Makefile.shlib for shared library configuration(Tom)
     _________________________________________________________________

                               Release 6.3.2
d2228 5
a2232 5
     * Repairs automatic configuration support for some platforms,
       including Linux, from breakage inadvertently introduced in version
       6.3.1.
     * Correctly handles function calls on the left side of BETWEEN and
       LIKE clauses.
d2235 3
a2237 3
   distclean, make, and make install is all that is required. This last
   step should be performed while the postmaster is not running. You
   should re-link any custom applications that use PostgreSQL libraries.
a2240 1
     _________________________________________________________________
d2242 3
a2244 1
                                  Changes
d2246 19
a2264 18
Configure detection improvements for tcl/tk(Brook Milligan, Alvin)
Manual page improvements(Bruce)
BETWEEN and LIKE fix(Thomas)
fix for psql \connect used by pg_dump(Oliver Elphick)
New odbc driver
pgaccess, version 0.86
qsort removed, now uses libc version, cleanups(Jeroen)
fix for buffer over-runs detected(Maurice Gittens)
fix for buffer overrun in libpgtcl(Randy Kunkee)
fix for UNION with DISTINCT or ORDER BY(Bruce)
gettimeofday configure check(Doug Winterburn)
Fix "indexes not used" bug(Vadim)
docs additions(Thomas)
Fix for backend memory leak(Bruce)
libreadline cleanup(Erwan MAS)
Remove DISTDIR(Bruce)
Makefile dependency cleanup(Jeroen van Vianen)
ASSERT fixes(Bruce)
d2266 1
a2266 1
     _________________________________________________________________
d2268 1
a2268 1
                               Release 6.3.1
d2275 1
d2277 1
d2279 1
d2282 4
a2285 4
   A dump/restore is NOT required for those running 6.3. A make
   distclean, make, and make install is all that is required. This last
   step should be performed while the postmaster is not running. You
   should re-link any custom applications that use PostgreSQL libraries.
a2288 1
     _________________________________________________________________
d2290 3
a2292 1
                                  Changes
d2294 28
a2321 27
ecpg cleanup/fixes, now version 1.1(Michael Meskes)
pg_user cleanup(Bruce)
large object fix for pg_dump and tclsh (alvin)
LIKE fix for multiple adjacent underscores
fix for redefining builtin functions(Thomas)
ultrix4 cleanup
upgrade to pg_access 0.83
updated CLUSTER manual page
multibyte character set support, see doc/README.mb(Tatsuo)
configure --with-pgport fix
pg_ident fix
big-endian fix for backend communications(Kataoka)
SUBSTR() and substring() fix(Jan)
several jdbc fixes(Peter)
libpgtcl improvements, see libptcl/README(Randy Kunkee)
Fix for "Datasize = 0" error(Vadim)
Prevent \do from wrapping(Bruce)
Remove duplicate Russian character set entries
Sunos4 cleanup
Allow optional TABLE key word in LOCK and SELECT INTO(Thomas)
CREATE SEQUENCE options to allow a negative integer(Thomas)
Add "PASSWORD" as an allowed column identifier(Thomas)
Add checks for UNION target fields(Bruce)
Fix Alpha port(Dwayne Bailey)
Fix for text arrays containing quotes(Doug Gibson)
Solaris compile fix(Albert Chin-A-Young)
Better identify tcl and tk libs and includes(Bruce)
d2323 1
a2323 1
     _________________________________________________________________
d2325 1
a2325 1
                                Release 6.3
d2329 2
a2330 2
   There are *many* new features and improvements in this release. Here
   is a brief, incomplete summary:
d2334 8
a2341 5
     * Support for client-side environment variables to specify time zone
       and date style.
     * Socket interface for client/server connection. This is the default
       now so you may need to start postmaster with the "-i" flag.
     * Better password authorization mechanisms. Default table privileges
d2343 2
a2344 2
     * Old-style time travel has been removed. Performance has been
       improved.
d2349 3
a2351 3
   There are some general 6.3 issues that I want to mention. These are
   only the big items that can not be described in one sentence. A review
   of the detailed changes list is still needed.
d2355 6
a2360 6
   Subselects are a major feature, and you should review your code for
   places where subselects provide a better solution for your queries. I
   think you will find that there are more uses for subselects than you
   may think. Vadim has put us on the big SQL map with subselects, and
   fully functional ones too. The only thing you can't do with subselects
   is to use them in the target list.
d2363 219
a2581 45
   enable connections from other machines, you have to use the new
   postmaster -i option, and of course edit "pg_hba.conf". Also, for this
   reason, the format of "pg_hba.conf" has changed.

   Third, char() fields will now allow faster access than varchar() or
   text. Specifically, the text and varchar() have a penalty for access
   to any columns after the first column of this type. char() used to
   also have this access penalty, but it no longer does. This may suggest
   that you redesign some of your tables, especially if you have short
   character columns that you have defined as varchar() or text. This and
   other changes make 6.3 even faster than earlier releases.

   We now have passwords definable independent of any Unix file. There
   are new SQL USER commands. See the Administrator's Guide for more
   information. There is a new table, pg_shadow, which is used to store
   user information and user passwords, and it by default only
   SELECT-able by the postgres super-user. pg_user is now a view of
   pg_shadow, and is SELECT-able by PUBLIC. You should keep using pg_user
   in your application without changes.

   User-created tables now no longer have SELECT privilege to PUBLIC by
   default. This was done because the ANSI standard requires it. You can
   of course GRANT any privileges you want after the table is created.
   System tables continue to be SELECT-able by PUBLIC.

   We also have real deadlock detection code. No more sixty-second
   timeouts. And the new locking code implements a FIFO better, so there
   should be less resource starvation during heavy use.

   Many complaints have been made about inadequate documentation in
   previous releases. Thomas has put much effort into many new manuals
   for this release. Check out the doc/ directory.

   For performance reasons, time travel is gone, but can be implemented
   using triggers (see "pgsql/contrib/spi/README"). Please check out the
   new \d command for types, operators, etc. Also, views have their own
   privileges now, not based on the underlying tables, so privileges on
   them have to be set separately. Check "/pgsql/interfaces" for some new
   ways to talk to PostgreSQL.

   This is the first release that really required an explanation for
   existing users. In many ways, this was necessary because the new
   release removes many limitations, and the work-arounds people were
   using are no longer needed.
     _________________________________________________________________
d2583 1
a2583 1
                          Migration to version 6.3
d2585 1
a2585 176
   A dump/restore using pg_dump or pg_dumpall is required for those
   wishing to migrate data from any previous release of PostgreSQL.
     _________________________________________________________________

                                  Changes

Bug Fixes
---------
Fix binary cursors broken by MOVE implementation(Vadim)
Fix for tcl library crash(Jan)
Fix for array handling, from Gerhard Hintermayer
Fix acl error, and remove duplicate pqtrace(Bruce)
Fix psql \e for empty file(Bruce)
Fix for textcat on varchar() fields(Bruce)
Fix for DBT Sendproc (Zeugswetter Andres)
Fix vacuum analyze syntax problem(Bruce)
Fix for international identifiers(Tatsuo)
Fix aggregates on inherited tables(Bruce)
Fix substr() for out-of-bounds data
Fix for select 1=1 or 2=2, select 1=1 and 2=2, and select sum(2+2)(Bruce)
Fix notty output to show status result.  -q option still turns it off(Bruce)
Fix for count(*), aggs with views and multiple tables and sum(3)(Bruce)
Fix cluster(Bruce)
Fix for PQtrace start/stop several times(Bruce)
Fix a variety of locking problems like newer lock waiters getting
        lock before older waiters, and having readlock people not share
        locks if a writer is waiting for a lock, and waiting writers not
        getting priority over waiting readers(Bruce)
Fix crashes in psql when executing queries from external files(James)
Fix problem with multiple order by columns, with the first one having
        NULL values(Jeroen)
Use correct hash table support functions for float8 and int4(Thomas)
Re-enable JOIN= option in CREATE OPERATOR statement (Thomas)
Change precedence for boolean operators to match expected behavior(Thomas)
Generate elog(ERROR) on over-large integer(Bruce)
Allow multiple-argument functions in constraint clauses(Thomas)
Check boolean input literals for 'true','false','yes','no','1','0'
        and throw elog(ERROR) if unrecognized(Thomas)
Major large objects fix
Fix for GROUP BY showing duplicates(Vadim)
Fix for index scans in MergeJion(Vadim)

Enhancements
------------
Subselects with EXISTS, IN, ALL, ANY key words (Vadim, Bruce, Thomas)
New User Manual(Thomas, others)
Speedup by inlining some frequently-called functions
Real deadlock detection, no more timeouts(Bruce)
Add SQL92 "constants" CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP,
        CURRENT_USER(Thomas)
Modify constraint syntax to be SQL92-compliant(Thomas)
Implement SQL92 PRIMARY KEY and UNIQUE clauses using indexes(Thomas)
Recognize SQL92 syntax for FOREIGN KEY. Throw elog notice(Thomas)
Allow NOT NULL UNIQUE constraint clause (each allowed separately before)(Thomas
)
Allow PostgreSQL-style casting ("::") of non-constants(Thomas)
Add support for SQL3 TRUE and FALSE boolean constants(Thomas)
Support SQL92 syntax for IS TRUE/IS FALSE/IS NOT TRUE/IS NOT FALSE(Thomas)
Allow shorter strings for boolean literals (e.g. "t", "tr", "tru")(Thomas)
Allow SQL92 delimited identifiers(Thomas)
Implement SQL92 binary and hexadecimal string decoding (b'10' and x'1F')(Thomas
)
Support SQL92 syntax for type coercion of literal strings
        (e.g. "DATETIME 'now'")(Thomas)
Add conversions for int2, int4, and OID types to and from text(Thomas)
Use shared lock when building indexes(Vadim)
Free memory allocated for an user query inside transaction block after
        this query is done, was turned off in <= 6.2.1(Vadim)
New SQL statement CREATE PROCEDURAL LANGUAGE(Jan)
New PostgreSQL Procedural Language (PL) backend interface(Jan)
Rename pg_dump -H option to -h(Bruce)
Add Java support for passwords, European dates(Peter)
Use indexes for LIKE and ~, !~ operations(Bruce)
Add hash functions for datetime and timespan(Thomas)
Time Travel removed(Vadim, Bruce)
Add paging for \d and \z, and fix \i(Bruce)
Add Unix domain socket support to backend and to frontend library(Goran)
Implement CREATE DATABASE/WITH LOCATION and initlocation utility(Thomas)
Allow more SQL92 and/or PostgreSQL reserved words as column identifiers(Thomas)
Augment support for SQL92 SET TIME ZONE...(Thomas)
SET/SHOW/RESET TIME ZONE uses TZ backend environment variable(Thomas)
Implement SET keyword = DEFAULT and SET TIME ZONE DEFAULT(Thomas)
Enable SET TIME ZONE using TZ environment variable(Thomas)
Add PGDATESTYLE environment variable to frontend and backend initialization(Tho
mas)
Add PGTZ, PGCOSTHEAP, PGCOSTINDEX, PGRPLANS, PGGEQO
        frontend library initialization environment variables(Thomas)
Regression tests time zone automatically set with "setenv PGTZ PST8PDT"(Thomas)
Add pg_description table for info on tables, columns, operators, types, and
        aggregates(Bruce)
Increase 16 char limit on system table/index names to 32 characters(Bruce)
Rename system indexes(Bruce)
Add 'GERMAN' option to SET DATESTYLE(Thomas)
Define an "ISO-style" timespan output format with "hh:mm:ss" fields(Thomas)
Allow fractional values for delta times (e.g. '2.5 days')(Thomas)
Validate numeric input more carefully for delta times(Thomas)
Implement day of year as possible input to date_part()(Thomas)
Define timespan_finite() and text_timespan() functions(Thomas)
Remove archive stuff(Bruce)
Allow for a pg_password authentication database that is separate from
        the system password file(Todd)
Dump ACLs, GRANT, REVOKE privileges(Matt)
Define text, varchar, and bpchar string length functions(Thomas)
Fix Query handling for inheritance, and cost computations(Bruce)
Implement CREATE TABLE/AS SELECT (alternative to SELECT/INTO)(Thomas)
Allow NOT, IS NULL, IS NOT NULL in constraints(Thomas)
Implement UNIONs for SELECT(Bruce)
Add UNION, GROUP, DISTINCT to INSERT(Bruce)
varchar() stores only necessary bytes on disk(Bruce)
Fix for BLOBs(Peter)
Mega-Patch for JDBC...see README_6.3 for list of changes(Peter)
Remove unused "option" from PQconnectdb()
New LOCK command and lock manual page describing deadlocks(Bruce)
Add new psql \da, \dd, \df, \do, \dS, and \dT commands(Bruce)
Enhance psql \z to show sequences(Bruce)
Show NOT NULL and DEFAULT in psql \d table(Bruce)
New psql .psqlrc file start-up(Andrew)
Modify sample start-up script in contrib/linux to show syslog(Thomas)
New types for IP and MAC addresses in contrib/ip_and_mac(TomH)
Unix system time conversions with date/time types in contrib/unixdate(Thomas)
Update of contrib stuff(Massimo)
Add Unix socket support to DBD::Pg(Goran)
New python interface (PyGreSQL 2.0)(D'Arcy)
New frontend/backend protocol has a version number, network byte order(Phil)
Security features in pg_hba.conf enhanced and documented, many cleanups(Phil)
CHAR() now faster access than VARCHAR() or TEXT
ecpg embedded SQL preprocessor
Reduce system column overhead(Vadmin)
Remove pg_time table(Vadim)
Add pg_type attribute to identify types that need length (bpchar, varchar)
Add report of offending line when COPY command fails
Allow VIEW privileges to be set separately from the underlying tables.
        For security, use GRANT/REVOKE on views as appropriate(Jan)
Tables now have no default GRANT SELECT TO PUBLIC.  You must
        explicitly grant such privileges.
Clean up tutorial examples(Darren)

Source Tree Changes
-------------------
Add new html development tools, and flow chart in /tools/backend
Fix for SCO compiles
Stratus computer port Robert Gillies
Added support for shlib for BSD44_derived & i386_solaris
Make configure more automated(Brook)
Add script to check regression test results
Break parser functions into smaller files, group together(Bruce)
Rename heap_create to heap_create_and_catalog, rename heap_creatr
        to heap_create()(Bruce)
Sparc/Linux patch for locking(TomS)
Remove PORTNAME and reorganize port-specific stuff(Marc)
Add optimizer README file(Bruce)
Remove some recursion in optimizer and clean up some code there(Bruce)
Fix for NetBSD locking(Henry)
Fix for libptcl make(Tatsuo)
AIX patch(Darren)
Change IS TRUE, IS FALSE, ... to expressions using "=" rather than
        function calls to istrue() or isfalse() to allow optimization(Thomas)
Various fixes NetBSD/Sparc related(TomH)
Alpha linux locking(Travis,Ryan)
Change elog(WARN) to elog(ERROR)(Bruce)
FAQ for FreeBSD(Marc)
Bring in the PostODBC source tree as part of our standard distribution(Marc)
A minor patch for HP/UX 10 vs 9(Stan)
New pg_attribute.atttypmod for type-specific info like varchar length(Bruce)
UnixWare patches(Billy)
New i386 'lock' for spinlock asm(Billy)
Support for multiplexed backends is removed
Start an OpenBSD port
Start an AUX port
Start a Cygnus port
Add string functions to regression suite(Thomas)
Expand a few function names formerly truncated to 16 characters(Thomas)
Remove un-needed malloc() calls and replace with palloc()(Bruce)
     _________________________________________________________________

                               Release 6.2.1
d2594 1
d2598 5
a2602 4
   This is a minor bug-fix release on 6.2. For upgrades from pre-6.2
   systems, a full dump/reload is required. Refer to the 6.2 release
   notes for instructions.
     _________________________________________________________________
d2604 1
a2604 1
                Migration from version 6.2 to version 6.2.1
d2609 28
a2636 8
   In upgrading from version 6.2, if you choose to dump/reload you will
   find that avg(money) is now calculated correctly. All other bug fixes
   take effect upon updating the executables.

   Another way to avoid dump/reload is to use the following SQL command
   from "psql" to update the existing system table:
  update pg_aggregate set aggfinalfn = 'cash_div_flt8'
   where aggname = 'avg' and aggbasetype = 790;
d2638 1
a2638 3
   This will need to be done to every existing database, including
   template1.
     _________________________________________________________________
d2640 1
a2640 1
                                  Changes
d2642 1
a2642 11
Allow TIME and TYPE column names(Thomas)
Allow larger range of true/false as boolean values(Thomas)
Support output of "now" and "current"(Thomas)
Handle DEFAULT with INSERT of NULL properly(Vadim)
Fix for relation reference counts problem in buffer manager(Vadim)
Allow strings to span lines, like ANSI(Thomas)
Fix for backward cursor with ORDER BY(Vadim)
Fix avg(cash) computation(Thomas)
Fix for specifying a column twice in ORDER/GROUP BY(Vadim)
Documented new libpq function to return affected rows, PQcmdTuples(Bruce)
Trigger function for inserting user names for INSERT/UPDATE(Brook Milligan)
d2644 2
a2645 1
     _________________________________________________________________
d2647 1
a2647 1
                                Release 6.2
d2649 1
a2649 1
     Release date: 1997-10-02
d2651 2
a2652 3
   A dump/restore is required for those wishing to migrate data from
   previous releases of PostgreSQL.
     _________________________________________________________________
d2654 2
a2655 1
                 Migration from version 6.1 to version 6.2
d2657 1
a2657 2
   This migration requires a complete dump of the 6.1 database and a
   restore of the database in 6.2.
d2659 1
a2659 5
   Note that the "pg_dump" and "pg_dumpall" utility from 6.2 should be
   used to dump the 6.1 database.
     _________________________________________________________________

                 Migration from version 1.x to version 6.2
a2662 1
     _________________________________________________________________
d2664 112
a2775 1
                                  Changes
d2777 1
a2777 113
Bug Fixes
---------
Fix problems with pg_dump for inheritance, sequences, archive tables(Bruce)
Fix compile errors on overflow due to shifts, unsigned, and bad prototypes
         from Solaris(Diab Jerius)
Fix bugs in geometric line arithmetic (bad intersection calculations)(Thomas)
Check for geometric intersections at endpoints to avoid rounding ugliness(Thoma
s)
Catch non-functional delete attempts(Vadim)
Change time function names to be more consistent(Michael Reifenberg)
Check for zero divides(Michael Reifenberg)
Fix very old bug which made rows changed/inserted by a command
        visible to the command itself (so we had multiple update of
        updated rows, etc.)(Vadim)
Fix for SELECT null, 'fail' FROM pg_am (Patrick)
SELECT NULL as EMPTY_FIELD now allowed(Patrick)
Remove un-needed signal stuff from contrib/pginterface
Fix OR (where x != 1 or x isnull didn't return rows with x NULL) (Vadim)
Fix time_cmp function (Vadim)
Fix handling of functions with non-attribute first argument in
        WHERE clauses (Vadim)
Fix GROUP BY when order of entries is different from order
        in target list (Vadim)
Fix pg_dump for aggregates without sfunc1 (Vadim)

Enhancements
------------
Default genetic optimizer GEQO parameter is now 8(Bruce)
Allow use parameters in target list having aggregates in functions(Vadim)
Added JDBC driver as an interface(Adrian & Peter)
pg_password utility
Return number of rows inserted/affected by INSERT/UPDATE/DELETE etc.(Vadim)
Triggers implemented with CREATE TRIGGER (SQL3)(Vadim)
SPI (Server Programming Interface) allows execution of queries inside
        C-functions (Vadim)
NOT NULL implemented (SQL92)(Robson Paniago de Miranda)
Include reserved words for string handling, outer joins, and unions(Thomas)
Implement extended comments ("/* ... */") using exclusive states(Thomas)
Add "//" single-line comments(Bruce)
Remove some restrictions on characters in operator names(Thomas)
DEFAULT and CONSTRAINT for tables implemented (SQL92)(Vadim & Thomas)
Add text concatenation operator and function (SQL92)(Thomas)
Support WITH TIME ZONE syntax (SQL92)(Thomas)
Support INTERVAL unit TO unit syntax (SQL92)(Thomas)
Define types DOUBLE PRECISION, INTERVAL, CHARACTER,
        and CHARACTER VARYING (SQL92)(Thomas)
Define type FLOAT(p) and rudimentary DECIMAL(p,s), NUMERIC(p,s) (SQL92)(Thomas)
Define EXTRACT(), POSITION(), SUBSTRING(), and TRIM() (SQL92)(Thomas)
Define CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP (SQL92)(Thomas)
Add syntax and warnings for UNION, HAVING, INNER and OUTER JOIN (SQL92)(Thomas)
Add more reserved words, mostly for SQL92 compliance(Thomas)
Allow hh:mm:ss time entry for timespan/reltime types(Thomas)
Add center() routines for lseg, path, polygon(Thomas)
Add distance() routines for circle-polygon, polygon-polygon(Thomas)
Check explicitly for points and polygons contained within polygons
        using an axis-crossing algorithm(Thomas)
Add routine to convert circle-box(Thomas)
Merge conflicting operators for different geometric data types(Thomas)
Replace distance operator "<===>" with "<->"(Thomas)
Replace "above" operator "!^" with ">^" and "below" operator "!|" with "<^"(Tho
mas)
Add routines for text trimming on both ends, substring, and string position(Tho
mas)
Added conversion routines circle(box) and poly(circle)(Thomas)
Allow internal sorts to be stored in memory rather than in files(Bruce & Vadim)
Allow functions and operators on internally-identical types to succeed(Bruce)
Speed up backend start-up after profiling analysis(Bruce)
Inline frequently called functions for performance(Bruce)
Reduce open() calls(Bruce)
psql:  Add PAGER for \h and \?,\C fix
Fix for psql pager when no tty(Bruce)
New entab utility(Bruce)
General trigger functions for referential integrity (Vadim)
General trigger functions for time travel (Vadim)
General trigger functions for AUTOINCREMENT/IDENTITY feature (Vadim)
MOVE implementation (Vadim)

Source Tree Changes
-------------------
HP-UX 10 patches (Vladimir Turin)
Added SCO support, (Daniel Harris)
MkLinux patches (Tatsuo Ishii)
Change geometric box terminology from "length" to "width"(Thomas)
Deprecate temporary unstored slope fields in geometric code(Thomas)
Remove restart instructions from INSTALL(Bruce)
Look in /usr/ucb first for install(Bruce)
Fix c++ copy example code(Thomas)
Add -o to psql manual page(Bruce)
Prevent relname unallocated string length from being copied into database(Bruce
)
Cleanup for NAMEDATALEN use(Bruce)
Fix pg_proc names over 15 chars in output(Bruce)
Add strNcpy() function(Bruce)
remove some (void) casts that are unnecessary(Bruce)
new interfaces directory(Marc)
Replace fopen() calls with calls to fd.c functions(Bruce)
Make functions static where possible(Bruce)
enclose unused functions in #ifdef NOT_USED(Bruce)
Remove call to difftime() in timestamp support to fix SunOS(Bruce & Thomas)
Changes for Digital Unix
Portability fix for pg_dumpall(Bruce)
Rename pg_attribute.attnvals to attdispersion(Bruce)
"intro/unix" manual page now "pgintro"(Bruce)
"built-in" manual page now "pgbuiltin"(Bruce)
"drop" manual page now "drop_table"(Bruce)
Add "create_trigger", "drop_trigger" manual pages(Thomas)
Add constraints regression test(Vadim & Thomas)
Add comments syntax regression test(Thomas)
Add PGINDENT and support program(Bruce)
Massive commit to run PGINDENT on all *.c and *.h files(Bruce)
Files moved to /src/tools directory(Bruce)
SPI and Trigger programming guides (Vadim & D'Arcy)
     _________________________________________________________________
d2779 1
a2779 1
                               Release 6.1.1
a2781 1
     _________________________________________________________________
d2783 3
a2785 1
                Migration from version 6.1 to version 6.1.1
d2788 4
a2791 3
   version 6.1, but is required from any release prior to 6.1. Refer to
   the release notes for 6.1 for more details.
     _________________________________________________________________
d2793 1
a2793 1
                                  Changes
d2795 18
a2812 17
fix for SET with options (Thomas)
allow pg_dump/pg_dumpall to preserve ownership of all tables/objects(Bruce)
new psql \connect option allows changing usernames without changing databases
fix for initdb --debug option(Yoshihiko Ichikawa))
lextest cleanup(Bruce)
hash fixes(Vadim)
fix date/time month boundary arithmetic(Thomas)
fix timezone daylight handling for some ports(Thomas, Bruce, Tatsuo)
timestamp overhauled to use standard functions(Thomas)
other code cleanup in date/time routines(Thomas)
psql's \d now case-insensitive(Bruce)
psql's backslash commands can now have trailing semicolon(Bruce)
fix memory leak in psql when using \g(Bruce)
major fix for endian handling of communication to server(Thomas, Tatsuo)
Fix for Solaris assembler and include files(Yoshihiko Ichikawa)
allow underscores in usernames(Bruce)
pg_dumpall now returns proper status, portability fix(Bruce)
d2814 1
a2814 1
     _________________________________________________________________
d2816 1
a2816 1
                                Release 6.1
d2820 2
a2821 2
   The regression tests have been adapted and extensively modified for
   the 6.1 release of PostgreSQL.
d2823 14
a2836 15
   Three new data types (datetime, timespan, and circle) have been added
   to the native set of PostgreSQL types. Points, boxes, paths, and
   polygons have had their output formats made consistent across the data
   types. The polygon output in misc.out has only been spot-checked for
   correctness relative to the original regression output.

   PostgreSQL 6.1 introduces a new, alternate optimizer which uses
   genetic algorithms. These algorithms introduce a random behavior in
   the ordering of query results when the query contains multiple
   qualifiers or multiple tables (giving the optimizer a choice on order
   of evaluation). Several regression tests have been modified to
   explicitly order the results, and hence are insensitive to optimizer
   choices. A few regression tests are for data types which are
   inherently unordered (e.g. points and time intervals) and tests
   involving those types are explicitly bracketed with "set geqo to
d2841 6
a2846 2
   tests were generated. The current "./expected/*.out" files reflect
   this new interpretation, which may not be correct!
d2848 6
a2853 9
   The float8 regression test fails on at least some platforms. This is
   due to differences in implementations of pow() and exp() and the
   signaling mechanisms used for overflow and underflow conditions.

   The "random" results in the random test should cause the "random" test
   to be "failed", since the regression tests are evaluated using a
   simple diff. However, "random" does not seem to produce random results
   on my test machine (Linux/gcc/i686).
     _________________________________________________________________
d2855 1
a2855 1
                          Migration to version 6.1
d2857 2
a2858 2
   This migration requires a complete dump of the 6.0 database and a
   restore of the database in 6.1.
a2861 1
     _________________________________________________________________
d2863 98
a2960 1
                                  Changes
d2962 1
a2962 95
Bug Fixes
---------
packet length checking in library routines
lock manager priority patch
check for under/over flow of float8(Bruce)
multitable join fix(Vadim)
SIGPIPE crash fix(Darren)
large object fixes(Sven)
allow btree indexes to handle NULLs(Vadim)
timezone fixes(D'Arcy)
select SUM(x) can return NULL on no rows(Thomas)
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)
fix buffer leak in hash indexes (Vadim)
fix rtree for use in inner scan (Vadim)
fix gist for use in inner scan, cleanups (Vadim, Andrea)
avoid unnecessary local buffers allocation (Vadim, Massimo)
fix local buffers leak in transaction aborts (Vadim)
fix file manager memmory leaks, cleanups (Vadim, Massimo)
fix storage manager memmory leaks (Vadim)
fix btree duplicates handling (Vadim)
fix deleted rows reincarnation caused by vacuum (Vadim)
fix SELECT varchar()/char() INTO TABLE made zero-length fields(Bruce)
many psql, pg_dump, and libpq memory leaks fixed using Purify (Igor)

Enhancements
------------
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)
massive changes to libpg++(Leo)
new GEQO optimizer speeds table multitable 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)
multicolumn btree indexes(Vadim)
new SET var TO value command(Martin)
update transaction status on reads(Dan)
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)
new MONEY data type(D'Arcy,Thomas)
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)
new datestyle variable(Thomas,Vadim,Martin)
more comparison operators for sorting types(Thomas)
new conversion functions(Thomas)
new more compact btree format(Vadim)
allow pg_dumpall to preserve database ownership(Bruce)
new SET GEQO=# and R_PLANS variable(Vadim)
old (!GEQO) optimizer can use right-sided plans (Vadim)
typechecking improvement in SQL parser(Bruce)
new SET, SHOW, RESET commands(Thomas,Vadim)
new \connect database USER option
new destroydb -i option (Igor)
new \dt and \di psql commands (Darren)
SELECT "\n" now escapes newline (A. Duursma)
new geometry conversion functions from old format (Thomas)

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 Windows-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)
DG/UX, Ultrix, IRIX, AIX portability fixes
     _________________________________________________________________
d2964 1
a2964 1
                                Release 6.0
d2968 6
a2973 3
   A dump/restore is required for those wishing to migrate data from
   previous releases of PostgreSQL.
     _________________________________________________________________
d2975 2
a2976 1
                 Migration from version 1.09 to version 6.0
d2978 1
a2978 3
   This migration requires a complete dump of the 1.09 database and a
   restore of the database in 6.0.
     _________________________________________________________________
d2980 1
a2980 1
                   Migration from pre-1.09 to version 6.0
a2983 1
     _________________________________________________________________
d2985 107
a3091 1
                                  Changes
d3093 1
a3093 106
Bug Fixes
---------
ALTER TABLE bug - running postgress process needs to re-read table definition
Allow vacuum to be run on one table or entire database(Bruce)
Array fixes
Fix array over-runs of memory writes(Kurt)
Fix elusive btree range/non-range bug(Dan)
Fix for hash indexes on some types like time and date
Fix for pg_log size explosion
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 privileges
Memory leaks (hunt and destroy with tools like Purify(Kurt)
Minor improvements to rules system
NOTIFY fixes
New asserts for run-checking
Overhauled parser/analyze code to properly report errors and increase speed
Pg_dump -d now handles NULL's properly(Bruce)
Prevent SELECT NULL from crashing server (Bruce)
Properly report errors when INSERT ... SELECT columns did not match
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 OIDs
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)
Submitting 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)
Allow "select oid,* from table"
Allow BY,ORDER BY to specify columns by number, or by non-alias table.column(Br
uce)
Allow COPY from the frontend(Bryan)
Allow GROUP BY to use alias column name(Bruce)
Allow actual compression, not just reuse on the same page(Vadim)
Allow installation-configuration option to auto-add all local users(Bryan)
Allow libpq to distinguish between text value '' and null(Bruce)
Allow non-postgres users with createdb privs to destroydb's
Allow restriction on who can create C functions(Bryan)
Allow restriction on who can do backend COPY(Bryan)
Can shrink tables, pg_time and pg_log(Vadim & Erich)
Change debug level 2 to print queries only, changed debug heading layout(Bruce)
Change default decimal constant representation from float4 to float8(Bruce)
European date format now set when postmaster is started
Execute lowercase function names if not found with exact case
Fixes for aggregate/GROUP processing, allow 'select sum(func(x),sum(x+y) from z
'
Gist now included in the distrubution(Marc)
Idend authentication of local users(Bryan)
Implement BETWEEN qualifier(Bruce)
Implement IN qualifier(Bruce)
libpq has PQgetisnull()(Bruce)
libpq++ improvements
New options to initdb(Bryan)
Pg_dump allow dump of OIDs(Bruce)
Pg_dump create indexes after tables are loaded for speed(Bruce)
Pg_dumpall dumps all databases, and the user table
Pginterface additions for NULL values(Bruce)
Prevent postmaster from being run as root
psql \h and \? is now readable(Bruce)
psql allow backslashed, semicolons anywhere on the line(Bruce)
psql changed command prompt for lines in query or in quotes(Bruce)
psql char(3) now displays as (bp)char in \d output(Bruce)
psql return code now more accurate(Bryan?)
psql updated help syntax(Bruce)
Re-visit and fix vacuum(Vadim)
Reduce size of regression diffs, remove timezone name difference(Bruce)
Remove compile-time parameters to enable binary distributions(Bryan)
Reverse meaning of HBA masks(Bryan)
Secure Authentication of local users(Bryan)
Speed up vacuum(Vadim)
Vacuum now had VERBOSE option(Bruce)

Source tree changes
-------------------
All functions now have prototypes that are compared against the calls
Allow asserts to be disabled easly from Makefile.global(Bruce)
Change oid constants used in code to #define names
Decoupled sparc and solaris defines(Kurt)
Gcc -Wall compiles cleanly with warnings only from unfixable constructs
Major include file reorganization/reduction(Marc)
Make now stops on compile failure(Bryan)
Makefile restructuring(Bryan, Marc)
Merge bsdi_2_1 to bsdi(Bruce)
Monitor program removed
Name change from Postgres95 to PostgreSQL
New config.h file(Marc, Bryan)
PG_VERSION now set to 6.0 and used by postmaster
Portability additions, including Ultrix, DG/UX, AIX, and Solaris
Reduced the number of #define's, centeralized #define's
Remove duplicate OIDS in system tables(Dan)
Remove duplicate system catalog info or report mismatches(Dan)
Removed many os-specific #define's
Restructured object file generation/location(Bryan, Marc)
Restructured port-specific file locations(Bryan, Marc)
Unused/uninialized variables corrected
     _________________________________________________________________
d3095 1
a3095 1
                                Release 1.09
a3101 1
     _________________________________________________________________
d3103 3
a3105 1
                                Release 1.02
a3107 1
     _________________________________________________________________
d3109 3
a3111 1
               Migration from version 1.02 to version 1.02.1
d3113 2
a3114 2
   Here is a new migration file for 1.02.1. It includes the 'copy' change
   and a script to convert old ASCII files.
d3117 1
a3117 2
     migrate databases from Postgres95 1.01 and 1.02 to Postgres95
     1.02.1.
d3119 2
a3120 2
     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.
a3123 13
    1. Start up a new 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 the 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":
        % 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.
     _________________________________________________________________
d3125 18
a3142 1
                           Dump/Reload Procedure
d3147 45
a3191 18
   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.
        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 = texticregexe
q);
create operator !~* (leftarg = bpchar, rightarg = text, procedure = texticregex
ne);
create operator ~* (leftarg = varchar, rightarg = text, procedure = texticregex
eq);
create operator !~* (leftarg = varchar, rightarg = text, procedure = texticrege
xne);
     _________________________________________________________________
d3193 1
a3193 1
                                  Changes
d3195 1
a3195 26
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 deprecated 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 BSD/OS 2.1 port
 * added DG/UX port
     _________________________________________________________________
d3197 1
a3197 1
                                Release 1.01
d3199 1
a3199 2
     Release date: 1996-02-23
     _________________________________________________________________
d3201 1
a3201 1
                 Migration from version 1.0 to version 1.01
d3206 19
a3224 2
   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.
a3225 11
   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
d3227 25
a3251 16
            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
    8. 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
a3252 1
-- add builtin functions that are new to 1.01
d3254 1
a3254 50
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 = char2icregexe
q);
create operator !~* (leftarg = char2, rightarg = text, procedure = char2icregex
ne);
create operator ~* (leftarg = char4, rightarg = text, procedure = char4icregexe
q);
create operator !~* (leftarg = char4, rightarg = text, procedure = char4icregex
ne);
create operator ~* (leftarg = char8, rightarg = text, procedure = char8icregexe
q);
create operator !~* (leftarg = char8, rightarg = text, procedure = char8icregex
ne);
create operator ~* (leftarg = char16, rightarg = text, procedure = char16icrege
xeq);
create operator !~* (leftarg = char16, rightarg = text, procedure = char16icreg
exne);
create operator ~* (leftarg = text, rightarg = text, procedure = texticregexeq)
;
create operator !~* (leftarg = text, rightarg = text, procedure = texticregexne
);
     _________________________________________________________________
d3256 76
a3331 1
                                  Changes
d3333 1
a3333 33
Incompatibilities:
 * 1.01 is backwards compatible with 1.0 database provided the user
   follow the steps outlined in the MIGRATION_from_1.0_to_1.01 file.
   If those steps are not taken, 1.01 is not compatible with 1.0 database.

Enhancements:
 * added PQdisplayTuples() to libpq and changed monitor and psql to use it
 * added NeXT port (requires SysVIPC implementation)
 * added CAST .. AS ... syntax
 * added ASC and DESC key words
 * added 'internal' as a possible language for CREATE FUNCTION
   internal functions are C functions which have been statically linked
   into the postgres backend.
 * a new type "name" has been added for system identifiers (table names,
   attribute names, etc.)  This replaces the old char16 type.   The
   of name is set by the NAMEDATALEN #define in src/Makefile.global
 * a readable reference manual that describes the query language.
 * added host-based access control.  A configuration file ($PGDATA/pg_hba)
   is used to hold the configuration data.  If host-based access control
   is not desired, comment out HBA=1 in src/Makefile.global.
 * changed regex handling to be uniform use of Henry Spencer's regex code
   regardless of platform.  The regex code is included in the distribution
 * added functions and operators for case-insensitive regular expressions.
   The operators are ~* and !~*.
 * pg_dump uses COPY instead of SELECT loop for better performance

Bug fixes:
 * fixed an optimizer bug that was causing core dumps when
   functions calls were used in comparisons in the WHERE clause
 * changed all uses of getuid to geteuid so that effective uids are used
 * psql now returns non-zero status on errors when using -c
 * applied public patches 1-14
     _________________________________________________________________
d3335 1
a3335 1
                                Release 1.0
a3337 1
     _________________________________________________________________
d3339 43
a3381 1
                                  Changes
d3383 1
a3383 40
Copyright change:
 * The copyright of Postgres 1.0 has been loosened to be freely modifiable
   and modifiable for any purpose.  Please read the COPYRIGHT file.
   Thanks to Professor Michael Stonebraker for making this possible.

Incompatibilities:
 *  date formats have to be MM-DD-YYYY (or DD-MM-YYYY if you're using
   EUROPEAN STYLE).  This follows SQL-92 specs.
 *  "delimiters" is now a key word

Enhancements:
 *  sql LIKE syntax has been added
 *  copy command now takes an optional USING DELIMITER specification.
   delimiters can be any single-character string.
 *  IRIX 5.3 port has been added.
   Thanks to Paul Walmsley and others.
 *  updated pg_dump to work with new libpq
 *  \d has been added psql
   Thanks to Keith Parks
 *  regexp performance for architectures that use POSIX regex has been
   improved due to caching of precompiled patterns.
   Thanks to Alistair Crooks
 *  a new version of libpq++
   Thanks to William Wanders

Bug fixes:
 *  arbitrary userids can be specified in the createuser script
 *  \c to connect to other databases in psql now works.
 *  bad pg_proc entry for float4inc() is fixed
 *  users with usecreatedb field set can now create databases without
   having to be usesuper
 *  remove access control entries when the entry no longer has any
   privileges
 *  fixed non-portable datetimes implementation
 *  added kerberos flags to the src/backend/Makefile
 *  libpq now works with kerberos
 *  typographic errors in the user manual have been corrected.
 *  btrees with multiple index never worked, now we tell you they don't
   work when you try to use them
     _________________________________________________________________
d3385 1
a3385 1
                          Postgres95 Release 0.03
a3387 1
     _________________________________________________________________
d3389 106
a3494 1
                                  Changes
d3496 2
a3497 102
Incompatible changes:
 * BETA-0.3 IS INCOMPATIBLE WITH DATABASES CREATED WITH PREVIOUS VERSIONS
   (due to system catalog changes and indexing structure changes).
 * double-quote (") is deprecated as a quoting character for string literals;
   you need to convert them to single quotes (').
 * name of aggregates (eg. int4sum) are renamed in accordance with the
   SQL standard (eg. sum).
 * CHANGE ACL syntax is replaced by GRANT/REVOKE syntax.
 * float literals (eg. 3.14) are now of type float4 (instead of float8 in
   previous releases); you might have to do typecasting if you depend on it
   being of type float8.  If you neglect to do the typecasting and you assign
   a float literal to a field of type float8, you may get incorrect values
   stored!
 * LIBPQ has been totally revamped so that frontend applications
   can connect to multiple backends
 * the usesysid field in pg_user has been changed from int2 to int4 to
   allow wider range of Unix user ids.
 * the netbsd/freebsd/bsd o/s ports have been consolidated into a
   single BSD44_derived port.  (thanks to Alistair Crooks)

SQL standard-compliance (the following details changes that makes postgres95
more compliant to the SQL-92 standard):
 * the following SQL types are now built-in: smallint, int(eger), float, real,
   char(N), varchar(N), date and time.

   The following are aliases to existing postgres types:
                smallint -> int2
                integer, int -> int4
                float, real  -> float4
   char(N) and varchar(N) are implemented as truncated text types. In
   addition, char(N) does blank-padding.
 * single-quote (') is used for quoting string literals; '' (in addition to
   \') is supported as means of inserting a single quote in a string
 * SQL standard aggregate names (MAX, MIN, AVG, SUM, COUNT) are used
   (Also, aggregates can now be overloaded, i.e. you can define your
   own MAX aggregate to take in a user-defined type.)
 * CHANGE ACL removed. GRANT/REVOKE syntax added.
   - Privileges can be given to a group using the "GROUP" key word.
        For example:
                GRANT SELECT ON foobar TO GROUP my_group;
        The key word 'PUBLIC' is also supported to mean all users.

        Privileges can only be granted or revoked to one user or group
        at a time.

        "WITH GRANT OPTION" is not supported.  Only class owners can change
        access control
   - The default access control is to to grant users readonly access.
     You must explicitly grant insert/update access to users.  To change
     this, modify the line in
                src/backend/utils/acl.h
     that defines ACL_WORLD_DEFAULT

Bug fixes:
 * the bug where aggregates of empty tables were not run has been fixed. Now,
   aggregates run on empty tables will return the initial conditions of the
   aggregates. Thus, COUNT of an empty  table will now properly return 0.
   MAX/MIN of an empty table will return a row of value NULL.
 * allow the use of \; inside the monitor
 * the LISTEN/NOTIFY asynchronous notification mechanism now work
 * NOTIFY in rule action bodies now work
 * hash indexes work, and access methods in general should perform better.
   creation of large btree indexes should be much faster.  (thanks to Paul
   Aoki)

Other changes and enhancements:
 * addition of an EXPLAIN statement used for explaining the query execution
   plan (eg. "EXPLAIN SELECT * FROM EMP" prints out the execution plan for
   the query).
 * WARN and NOTICE messages no longer have timestamps on them. To turn on
   timestamps of error messages, uncomment the line in
   src/backend/utils/elog.h:
        /* define ELOG_TIMESTAMPS */
 * On an access control violation, the message
        "Either no such class or insufficient privilege"
   will be given.  This is the same message that is returned when
   a class is not found.  This dissuades non-privileged users from
   guessing the existence of privileged classes.
 * some additional system catalog changes have been made that are not
   visible to the user.

libpgtcl changes:
 * The -oid option has been added to the "pg_result" tcl command.
   pg_result -oid returns oid of the last row inserted.   If the
   last command was not an INSERT, then pg_result -oid returns "".
 * the large object interface is available as pg_lo* tcl commands:
   pg_lo_open, pg_lo_close, pg_lo_creat, etc.

Portability enhancements and New Ports:
 * flex/lex problems have been cleared up.  Now, you should be able to use
   flex instead of lex on any platforms.  We no longer make assumptions of
   what lexer you use based on the platform you use.
 * The Linux-ELF port is now supported.  Various configuration have been
   tested:  The following configuration is known to work:
        kernel 1.2.10, gcc 2.6.3, libc 4.7.2, flex 2.5.2, bison 1.24
   with everything in ELF format,

New utilities:
 * ipcclean added to the distribution
   ipcclean usually does not need to be run, but if your backend crashes
   and leaves shared memory segments hanging around, ipcclean will
   clean them up for you.
d3499 1
a3499 3
New documentation:
 * the user manual has been revised and libpq documentation added.
     _________________________________________________________________
d3501 1
a3501 1
                          Postgres95 Release 0.02
a3503 1
     _________________________________________________________________
d3505 37
a3541 1
                                  Changes
d3543 1
a3543 34
Incompatible changes:
 * The SQL statement for creating a database is 'CREATE DATABASE' instead
   of 'CREATEDB'. Similarly, dropping a database is 'DROP DATABASE' instead
   of 'DESTROYDB'. However, the names of the executables 'createdb' and
   'destroydb' remain the same.

New tools:
 * pgperl - a Perl (4.036) interface to Postgres95
 * pg_dump - a utility for dumping out a postgres database into a
        script file containing query commands. The script files are in a ASCII
        format and can be used to reconstruct the database, even on other
        machines and other architectures. (Also good for converting
        a Postgres 4.2 database to Postgres95 database.)

The following ports have been incorporated into postgres95-beta-0.02:
 * the NetBSD port by Alistair Crooks
 * the AIX port by Mike Tung
 * the Windows NT port by Jon Forrest (more stuff but not done yet)
 * the Linux ELF port by Brian Gallew

The following bugs have been fixed in postgres95-beta-0.02:
 * new lines not escaped in COPY OUT and problem with COPY OUT when first
   attribute is a '.'
 * cannot type return to use the default user id in createuser
 * SELECT DISTINCT on big tables crashes
 * Linux installation problems
 * monitor doesn't allow use of 'localhost' as PGHOST
 * psql core dumps when doing \c or \l
 * the "pgtclsh" target missing from src/bin/pgtclsh/Makefile
 * libpgtcl has a hard-wired default port number
 * SELECT DISTINCT INTO TABLE hangs
 * CREATE TYPE doesn't accept 'variable' as the internallength
 * wrong result using more than 1 aggregate in a SELECT
     _________________________________________________________________
d3545 1
a3545 1
                          Postgres95 Release 0.01
@


1.153.2.13
log
@Stamp release 7.2.8.
@
text
@a3 24
                               Release 7.2.8

     Release date: 2005-05-05

   This release contains a variety of fixes from 7.2.7, including one
   security-related issue.
     _________________________________________________________________

                         Migration to version 7.2.8

   A dump/restore is not required for those running 7.2.X.
     _________________________________________________________________

                                  Changes

     * Fix EXTRACT(EPOCH) for TIME WITH TIME ZONE values
     * Additional buffer overrun checks in plpgsql (Neil)
     * Fix pg_dump to dump index names and trigger names containing %
       correctly (Neil)
     * Prevent to_char(interval) from dumping core for month-related
       formats
     * Fix "contrib/pgcrypto" for newer OpenSSL builds (Marko Kreen)
     _________________________________________________________________

@


1.153.2.14
log
@Update release notes for upcoming re-releases.
@
text
@d6 1
a6 1
     Release date: 2005-05-09
a18 10
     * Repair ancient race condition that allowed a transaction to be
       seen as committed for some purposes (eg SELECT FOR UPDATE)
       slightly sooner than for other purposes
       This is an extremely serious bug since it could lead to apparent
       data inconsistencies being briefly visible to applications.
     * Repair race condition between relation extension and VACUUM
       This could theoretically have caused loss of a page's worth of
       freshly-inserted data, although the scenario seems of very low
       probability. There are no known cases of it having caused more
       than an Assert failure.
@


1.152
log
@Update HISTORY/release.sgml for Monday release.
@
text
@d279 1
a279 1
   Make PL/PgSQL use the server's type coercion code (Tom)
d462 1
a462 1
 Pl/pgSQL memory allocation fix (Jan)
d490 1
a490 1
 Fix PL/PgSQL SELECTs when returning no rows
d634 1
a634 1
 Fix NOT NULL use in Pl/PgSQL variables (Tom)
@


1.151
log
@Add mention of PRIMARY in ALTER TABLE ... [ UNIQUE | PRIMARY ]
@
text
@d5 2
d209 2
d252 1
d385 1
d427 2
d442 2
a443 1

@


1.150
log
@Add more Christof Petig ecpg items.
@
text
@d185 1
a185 1
   Add ALTER TABLE / ADD UNIQUE (Christopher Kings-Lynne)
@


1.149
log
@Add mention of Christof Petig for ecpg items.
@
text
@d376 4
@


1.148
log
@Small fixes
@
text
@d371 2
a372 2
   EXECUTE ... INTO implemented
   Multiple row descriptor support (e.g. CARDINALITY)
@


1.147
log
@Mention datatype() casting change.
@
text
@d72 1
a72 1
     * The date/time value "current" is no longer available. You will need to
d76 1
a76 1
       "string" instead, or CAST.
d253 1
a253 1
   Native language support in psql, pg_dump, libpq, and server (Peter E)
d372 1
a372 1
   multiple row descriptor support (e.g. CARDINALITY)
d2916 1
a2916 1
    1. Start up a new 1.02.1 postmaster
d2918 1
a2918 1
    2. Add the new built-in functions and operators of 1.02.1 to 1.01 or 1.02
d3003 1
a3003 1
    1. Set the definition of NAMEDATALEN in "src/Makefile.global" to 16 and
d3006 1
a3006 1
    2. Decide whether you want to use Host based authentication.
d3008 1
a3008 1
         a. If you do, you must create a file name pg_hba in your top-level
d3012 1
a3012 1
         b. If you do not want host-based authentication, you can comment out
d3023 1
a3023 1
    3. Compile and install 1.01, but DO NOT do the "initdb" step.
d3025 1
a3025 1
    4. Before doing anything else, terminate your 1.0 postmaster, and backup
d3028 1
a3028 1
    5. Set your PGDATA environment variable to your 1.0 databases, but set up
d3031 1
a3031 1
    6. Modify the file "$PGDATA/PG_VERSION" from 5.0 to 5.1
d3033 1
a3033 1
    7. Start up a new 1.01 postmaster
d3035 1
a3035 1
    8. Add the new built-in functions and operators of 1.01 to 1.0 databases.
@


1.146
log
@Update for new timestamp behavior.
@
text
@d247 1
a247 1
   datatype(const,...) function calls now evaluated earlier
@


1.145
log
@Lots of content and formatting improvements in release notes.  HISTORY
now generated from DocBook sources.
@
text
@d72 1
a72 1
     * The date/time value current is no longer available. You will need to
d75 3
d247 1
@


1.144
log
@Update possible release date 2001-12-??
@
text
@d1 1
a1 444
   ------------------------------------------------------------------------
                                Release 7.2
  ------------------------------------------------------------------------


Release 7.2  (2001-12-??)


This release improved PostgreSQL for use in high volume applications.

Major changes in this release:

        VACUUM -  VACUUM no longer locks tables, allowing normal user
access during the VACUUM.  A new VACUUM FULL command does old-style
vacuum by locking the table and shrinking the on-disk copy of the table.

	Transactions - There is no longer a problem with installations
that exceed four billion transactions.

	OID's - OID's are now optional.  Users can now create tables
without OID's for cases where OID usage is excessive.

	Optimizer - The system now computes histogram column statistics
during ANALYZE, allowing much better optimizer choices.

        Security -  A new MD5 encryption option allows much more secure
storage and transfer of passwords.  A new unix-domain socket
authentication option is available on Linux and *BSD systems.

        Statistics -  Administrators can use the new table access
statistics module to get fine-grained information about table and index
usage.

	Internationalization - Error messages can now be displayed in
several languages.

Migration to 7.2

   A dump/restore using pg_dump is required for those wishing to migrate
   data from any previous release. In this release, comparisons using "=
   NULL" will always return false. Previous releases automatically
   transformed this syntax to "IS NULL", which is the standards-
   compliant way to do NULL comparisons. The old behavior can be
   re-enabled using a postgresql.conf parameter. The SELECT ... LIMIT
   #,# syntax will be removed in 7.3. You should change your queries to
   use separate LIMIT and OFFSET clauses, e.g. LIMIT 10 OFFSET 20. Also,
   pg_hba.conf now only loads on SIGHUP.  Octet_length() now returns
   uncompressed data length.  'current' no longer used; use
   CURRENT_TIMESTAMP instead.



AS OF 2001-12-04

Bug Fixes
---------
Prevent unadorned relations names in target list (Bruce)
Change UPDATE, DELETE permissions to be distinct (Peter E)
PLpgSQL fix for SELECT... FOR UPDATE (Tom)
Fix for PL/pgSQL PERFORM returning multiple rows (Tom)
Fix for ALTER TABLE ADD CONSTRAINT ... CHECK for inherited children (Stephan
  Szabo)
Fix bug in permission modifications in newly created table (Tom)
Disallow access to pg_statistic for non-super user (Tom)
Fix SERIAL in temporary tables (Bruce)
Fire INSERT rules after statement (Jan)
Fix INITIALLY DEFERRED bug in ecpg 
Remove VACUUM warning about index tuples fewer than heap (Martijn van Oosterhout)
Disable COPY TO/FROM on views (Bruce)
Fix problem with LIMIT and subqueries (Tom)
Fix for LIMIT, DISTINCT ON pushed into subqueryies (Tom)
PL/pgSQL memory leak fix (Jan, Tom)
Fix nested EXCEPT/INTERSECT (Tom)
Python fix fetchone() (Gerhard Haring)
ECPG fixes (Michael, Christof Petig)
PL/PgSQL trailing semicolon optional (Tom)
Fix path_inter, path_distance, path_length, dist_ppath to handle closed
  paths (Curtis Barrett, Tom)
ALTER TABLE RENAME update foreign-key trigger arguments correctly (Brent Verner)
Long value compression improvement (Tom)
octet_length(text_col) now returns non-compressed length (Tatsuo, Bruce)

Enhancements
------------
VACUUM now does not lock table (Tom)
New VACUUM FULL to force reclaimation of disk space (Tom)
Statistical collector for table, index access (Jan)
SPI portal creation of prepared/saved plans (Jan)
PL/pgSQL uses portals for SELECT loops allowing huge result sets (Jan)
PL/pgSQL CURSOR and REFCURSOR support (Jan)
PL/pgSQL can now return open cursors (Jan)
Add ELSEIF to PL/pgSQL (Klaus Reger)
New REFERENCES, TRIGGER privileges (Peter E)
Have psql \d display indexes in unique, primary groupings (Christopher Kings-Lynne)
Improve PL/pgSQL error reporting (Tom)
Add DROP CONSTRAINT for CHECK constraints (Christopher Kings-Lynne)
PL/PgSQL Allow IS and FOR keywords in cursors, for compatibility (Bruce)
Native language support for error messages in psql, pg_dump, libpq, and
  postgres components; configure --enable-nls
  (Peter E [German, some French, some Swedish], Serguei A. Mokhov [Russian],
  Karel Zak [Czech], Weiping He [Simplified Chinese], Zhenbang Wei 
  [Traditional Chinese], Zoltan [Hungarian])
Make NULL appear at beginning/end based on ORDER BY (Tom)
Add %TYPE capability to CREATE TYPE (Ian Lance Taylor)
Truncate extra-long sequence names to a reasonable value (Tom)
Add RESET ALL, SHOW ALL (Marko Kreen)
Allow GRANT/REVOKE to/from with more than one user (Peter E)
New has_table_privilege() function (Joe Conway)
Allow non-super user to vacuum database (Tom)
New Australian timezone GUC setting (Bruce)
Untrusted PlPerl (Alex Pilosov)
New IS UNKNOWN, IS NOT UNKNOWN boolean tests (Tom)
Fork postmaster before doing authentication to prevent hangs (Peter E)
Add Temporary sequences (Bruce)
New GUC set default isolation level (Peter E)
New SHARE UPDATE EXCLUSIVE lock mode (Tom)
CREATE/ALTER USER/GROUP now allows options in any order (Vince)
New encode() function installed by default (Marko Kreen)
Enable partial indexes (Martijn van Oosterhout)
Add unix domain socket user authentication in Linux, *BSD (Helge Bahmann, Oliver Elphick, Teodor Sigaev, Bruce)
Pltcl add spi_lastoid function (bob@@redivi.com)
Add LOCK A,B,C functionality(Neil Padgett)
Make OID's optional using WITHOUT OIDS (Tom)
Allow column renaming in views
SUM(), AVG(), COUNT() now uses int8 internally for speed (Tom)
Add convert(), convert2() (Tatsuo)
Add MD5 encryption (Bruce)
Allow encryption of stored passwords using MD5 (Bruce)
Greater randomization of encryption keys using MD5 (Bruce)
New ENCRYPTED/UNENCRYPTED option to CREATE/ALTER USER (Bruce)
Sequences now use int8 internally (Tom)
New SERIAL8 creates int8 columns with sequences, default still SERIAL4 (Tom)
New SET SESSION AUTHORIZATION command (Peter E)
Add automatic return type data casting for SQL functions (Tom)
Allow safe transaction id wraparound (Tom)
Use UTF, Unicode in TCL where appropriate (Vsevolod Lobko, Reinhard Max)
Improved to_*() conversion functions (Karel Zak)
PAM authentication (Dominic J. Eidson)
Add TCL COPY TO/FROM (ljb)
Allow ALTER TABLE ADD UNIQUE (Christopher Kings-Lynne)
Super-user id now defaults to 1 (Peter E)
Reject invalid multibyte character sequences (Tatsuo)
New libpq PQescapeString() function to escape query strings (Florian Weimer)
New EXPLAIN ANALYZE command that shows runtimes and tuple counts (Martijn
  van Oosterhout)
New postgresql.conf option to enable/disable "col = NULL" comparisons
  (Peter E)
New postgresql.conf parameter to control memory usage by VACUUM (Tom)
New postgresql.conf time out parameter for client authentication (Tom)
New pg_ctl 'reload' option (Tom)
Add /contrib/intarray boolean queries, binary search, fixes (Oleg Bartunov)
New postgresql.conf to set maximum open files (Tom)
New CREATE OR REPLACE FUNCTION that preserves function oid (Gavin Sherry)
DROP AGGREGATE and COMMENT ON AGGREGATE now accept an aggtype (Tom)
Prevent output of default index op class in pg_dump (Tom)
Allow trailing semicolons in psql backslash commands (Greg Sabino Mullane)
Prompt for psql password from /dev/tty if possible
Allow SPI column functions to work for system columns (Tom)
Dynahash portability improvements (Tom)
Remove OID's from some system tables (Tom)
Remove 'triggered data change violation' error check (Tom)
Optimize LIKE/ILIKE when using single-byte encodings (Tatsuo)
New libpq function PQescapeBytea() escapes binary strings for use as
  SQL string literals
Improve reporting of PL/PgSQL error location (Tom)

Types
-----
CHAR(n)/VARCHAR(n) represents letters, not bytes (Tatsuo)
CHAR(), VARCHAR() now returns error on storage of too long string (Peter E)
BIT, BIT VARYING now returns error on too long input (Peter E)
New function bit_length() (Peter E)
INET, CIDR text conversion functions (Alex Pilosov)
INET, CIDR operators << and <<= indexable (Alex Pilosov)
Bytea \### now requires valid three digit octal number
Bytea comparison improvements, now supports =, !=, >, >=, <, and <=
Bytea now supports btree indexes
Bytea now supports LIKE, LIKE...ESCAPE, NOT LIKE, NOT LIKE...ESCAPE
Bytea now supports string concatenation
New Bytea functions - position(), substring, trim, btrim, and length
New encode() function mode, 'escaped', converts minimally escaped
   bytea to/from text
Make trim/ltrim/rtrim/btrim/lpad/rpad/translate() multibyte aware (Tatsuo)
Formats with the correct number of columns for UNICODE in psql (Patrice)
Add pg_database_encoding_max_length() (Tatsuo)
Add pg_client_encoding() function (Tatsuo)
Add LATIN5,6,7,8,9,10 support (Tatsuo)
Change LATIN5 to mean ISO-8859-9, not ISO-8859-5 (Tatsuo)
Add ISO 8859-5,6,7,8 support (Tatsuo)
Make mic2ascii() non-ASCII aware (Tatsuo)
Measure transaction times in milliseconds (Thomas)
now() returns time in milliseconds (Thomas)
New TIMEZONE WITHOUT TIMEZONE data types (Thomas)
Add ISO date/time specification with 'T', yyyy-mm-ddThh:mm:ss (Thomas)
New xid/int comparison functions (Hiroshi)
Fix TID sequential scans (Hiroshi)
Add precision to TIME, TIMESTAMP, and INVERVAL data types (Thomas)
Cachability fixes (Thomas, Tom)
PL/TCL now reports errorInfo (Vsevolod Lobko)
Modify type coersion logic to attempt binary-compatible functions first (Tom)
Allow optional () after current_user, session_user, user, etc. (Peter E)
Add compatibility functions to odbc.sql (Peter E)
Force new password prompt when changing user and database in psql (Tatsuo, Tom)
New /contrib/tsearch full text indexing (Oleg, Teodor Sigaev)
Allow better selectivity with Nan and infinities in NUMERIC (Tom)
Add INTERVAL argument for SET TIME ZONE (Thomas)
Add INTERVAL() YEAR TO MONTH (etc) syntax (Thomas)
Optimize length() functions when using single-byte encodings (Tatsuo)

Performance
-----------
Optimizer improvements (Tom)
New histogram column statistics for optimizer (Tom)
Reuse write-ahead log files rather than discarding them (Tom)
Cache improvements (Tom)
IS NULL, IS NOT NULL optimizer improvement (Tom)
Load pg_hba.conf only on startup and SIGHUP (Bruce)
Rtree performance improvements (Kenneth Been)
Improve lock manager to reduce lock contention (Tom)
Btree splits more efficient (Tom)
Keep relcache entries for index access support functions (Tom)
Make ALTER TABLE RENAME COLUMN update column names of indexes (Brent Verner)

Interfaces
----------
JDBC
	Return oid of INSERT (Ken K)
	Hande more data types (Ken K)
	Handle single quotes and newlines in strings (Ken K)
	Handle NULL variables (Ken K)
	Fix for timezone handling (Barry Lind)
	Improved Druid support
	Allow eight-bit characters with non-multibyte server (Barry Lind)
	Support BIT, BINARY types (Ned Wolpert)
	Reduce memory usage (Michael Stephens, Dave Cramer)
	Update DatabaseMetaData (Peter E)
	Add DatabaseMetaData.getCatalogs() (Peter E)
	Encoding fixes (Anders Bengtsson)
	Get/setCatalog methods (Jason Davies)
	Databasemetadata.getColumns() now returns column defaults (Jason Davies)
	Databasemetadata.getColumn() performance improvement (Jeroen van Vianen)
	Jdbc1 and jdbc2 merging (Anders Bengtsson)
	Transaction performance improvements (Barry Lind)
	Array fixes (Greg Zoller)
	Serialize addition 
	Fix batch processing (Ren? Pijlman)
	ExecSQL method reorganization (Anders Bengtsson)
	GetColumn() fixes (Jeroen van Vianen)
	Fix isWriteable() function (Ren? Pijlman)
	Improved passage of jdbc2 conformance tests (Ren? Pijlman)
	Add bytea type capability (Barry Lind)
	Add isNullable() (Rene Pijlman)
	JDBC date/time test suite fixes (Liam Stewart)
	Fix for SELECT 'id' AS xxx FROM table (Dave Cramer)
	DatabaseMetaData patch to show precision properly (Mark Lillywhite)
	New getImported/getExported keys (Jason Davies)
	MD5 password encryption support (Jeremy Wohl)

ODBC
	Remove query size limit (Hiroshi)
	Remove text field size limit (Hiroshi)
	Fix for SQLPrimaryKeys in multibyte mode (Hiroshi)
	Allow ODBC procedure calls (Hiroshi)
	Improve boolean handing (Aidan Mountford)
	Most configure options on setable via DSN (Hiroshi)
	Multibyte, performance fixes (Hiroshi)
	Allow driver to be used with iODBC or unixODBC (Peter E)
	MD5 password encryption support (Bruce)

ECPG
	EXECUTE ... INTO ...    implemented
	multiple row descriptor support (e.g. CARDINALITY)
	Fix for GRANT parameters (Lee Kindness)

Source Code
-----------
Configure, dynamic loader, and shared library fixes (Peter E)
Watcom fixes (Bernd Tegge)
QNX fixes
Cygwin, Win32 server fixes (Jason Tishler)
Cygwin, Win32 fixes for TCL, perl, Python, PlPython, psql, libpq, libpq++ (Jason Tishler, Gerhard H?ring, Dmitry Yurtaev, Darko Prenosil, Mikhail Terekhov)
Remove SEP_CHAR (Bruce)
Allow GIST to handle NULLs and multi-key indexes (Oleg Bartunov, Teodor 
	Sigaev, Tom)
New contrib/rtree_gist ((Oleg Bartunov, Teodor Sigaev)
Create temporary files into a separate directory (Bruce)
Delete orphanded temporary files on postmaster startup (Bruce)
Add unique index to some system tables (Tom)
New GUC hooks (Tom)
Add /contrib/dblink for remote database access (Joe Conway)
/contrib/ora2pg Oracle conversion utility (Gilles Darold)
Merge GUC and command line handling (Marko Kreen)
Remove EXTEND INDEX (Martijn van Oosterhout, Tom)
/contrib/xml XML conversion utility (John Gray)
Correct description of translate() function (Bruce)
/contrib/fulltextindex fixes (Christopher Kings-Lynne)
Fix for Win32 socket communication failures (Magnus, Mikhail Terekhov)
Hurd compile fix (Oliver Elphick)
New /contrib/fuzzystrmatch with lievnshtein and metaphone, soundex merged (Joe Conway)
Beos fixes (Cyril VELTER)
New functions in /contrib/pgcrypto: crypt(), hmac(), encrypt(), gen_salt()
  (Marko Kreen)
System table operator reorganization (Oleg Bartunov, Teodor Sigaev, Tom)
Rename config.h to pg_config.h (Peter E)
pg_log now pg_clog (Tom)
PL/Perl compile fixes (Peter E)
PL/Python now builds by default on some platforms (Peter E)
Remove define of true/false when compiling under C++ (Leandro Fanzone, Tom)
Client header reorganization (Peter E)
Please SQL language manual pages into OS-specific directories (Peter E)
Better cleanup for semaphore resource failure (Tatsuo, Tom)
Remove compile-time limit on number of backends (Tom)
Enable SIGTERM, SIGQUIT to kill backends (Jan)
New pgjindent utility to indent java code (Bruce)
Replace strcasecmp() with strcmp() where appropriate (Peter E)
Make PL/PgSQL use the backends type coersion code (Tom)
pgindent fixes, new pgjindent for java (Bruce, Tom)
Remove configure --enable-unicode-conversion, now enabled by multibyte (Tatsuo)
AIX fixes (Tatsuo, Andreas)
Allow parellel makes (Peter E)


  ------------------------------------------------------------------------
                                Release 7.1.3
  ------------------------------------------------------------------------


Release 7.1.3  (2001-08-15)

Migration to v7.1.3

A dump/restore is not required for those running 7.1.X.

Changes
-------
Remove unused WAL segements of large transactions (Tom)
Multiaction rule fix (Tom)
Pl/pgSQL memory allocation fix (Jan)
VACUUM buffer fix (Tom)
Regression test fixes (Tom)
pg_dump fixes for GRANT/REVOKE/comments on views, user-defined types (Tom)
Fix subselects with DISTINCT ON or LIMIT (Tom)
BEOS fix
Disable COPY TO/FROM a view (Tom)
Cygwin build (Jason Tishler)



  ------------------------------------------------------------------------
                                Release 7.1.2
  ------------------------------------------------------------------------


Release 7.1.2  (2001-05-11)

One fix from 7.1.1.

Migration to v7.1.2

A dump/restore is not required for those running 7.1.X.

Changes
-------
Fix PL/PgSQL SELECTs when returning no rows
Fix for psql backslash core dump
Referential integrity permission fix
Optimizer fixes
pg_dump cleanups 



  ------------------------------------------------------------------------
                                Release 7.1.1
  ------------------------------------------------------------------------


Release 7.1.1  (2001-05-05)

This has a variety of fixes from 7.1.

Migration to v7.1.1

A dump/restore is not required for those running 7.1.

Changes
-------
Fix for numeric MODULO operator (Tom)
pg_dump fixes (Philip)
pg_dump can dump 7.0 databases (Philip)
readline 4.2 fixes (Peter E)
JOIN fixes (Tom)
AIX, MSWIN, VAX,N32K fixes (Tom)
Multibytes fixes (Tom)
Unicode fixes (Tatsuo)
Optimizer improvements (Tom)
Fix for whole tuples in functions (Tom)
Fix for pg_ctl and option strings with spaces (Peter E)
ODBC fixes (Hiroshi)
EXTRACT can now take string argument (Thomas)
Python fixes (Darcy)



  ------------------------------------------------------------------------
                                Release 7.1
  ------------------------------------------------------------------------


Release 7.1  (2001-04-13)


This release focuses on removing limitations that have existed in the
PostgreSQL code for many years.

Major changes in this release:

        Write-ahead Log (WAL) - To maintain database consistency in
case of an operating system crash, previous releases of PostgreSQL
have forced all data modifications to disk before each transaction
commit.  With WAL, only one log file must be flushed to disk, greatly
improving performance.  If you have been using -F in previous releases
to disable disk flushes, you may want to consider discontinuing its
use.

        TOAST - Previous releases had a compiled-in row length limit,
typically 8 - 32 kB.  This limit made storage of long text fields
difficult.  With TOAST, long rows of any length can be stored with
good performance.

        Outer Joins - We now support outer joins.  The UNION/NOT IN
workaround for outer joins is no longer required.  We use the SQL92
outer join syntax.

        Function Manager - The previous C function manager did not
handle NULLs properly, nor did it support 64-bit CPU's (Alpha).  The
new function manager does.  You can continue using your old custom
functions, but you may want to rewrite them in the future to use the
new function manager call interface.

        Complex Queries - A large number of complex queries that were
unsupported in previous releases now work.  Many combinations of
views, aggregates, UNION, LIMIT, cursors, subqueries, and inherited
tables now work properly. Inherited tables are now accessed by
default.  Subqueries in FROM are now supported.
d3 1
a3 1
Migration to 7.1
d5 49
a53 1
   A dump/restore using pg_dump is required for those wishing to migrate
d56 470
d527 7
d535 360
a894 317
Bug Fixes
---------
Many multi-byte/Unicode/locale fixes (Tatsuo and others)
More reliable ALTER TABLE RENAME (Tom)
Kerberos V fixes (David Wragg)
Fix for INSERT INTO...SELECT where targetlist has subqueries (Tom)
Prompt username/password on standard error (Bruce)
Large objects inv_read/inv_write fixes (Tom)
Fixes for to_char(), to_date(), to_ascii(), and to_timestamp() (Karel, 
    Daniel Baldoni)
Prevent query expressions from leaking memory (Tom)
Allow UPDATE of arrays elements (Tom)
Wake up lock waiters during cancel (Hiroshi)
Fix rare cursor crash when using hash join (Tom)
Fix for DROP TABLE/INDEX in rolled-back transaction (Hiroshi)
Fix psql crash from \l+ if MULTIBYTE enabled (Peter E)
Fix truncation of rule names during CREATE VIEW (Ross Reedstrom)
Fix PL/perl (Alex Kapranoff)
Disallow LOCK on views (Mark Hollomon)
Disallow INSERT/UPDATE/DELETE on views (Mark Hollomon)
Disallow DROP RULE, CREATE INDEX, TRUNCATE on views (Mark Hollomon)
Allow PL/pgSQL accept non-ASCII identifiers (Tatsuo)
Allow views to proper handle GROUP BY, aggregates, DISTINCT (Tom)
Fix rare failure with TRUNCATE command (Tom)
Allow UNION/INTERSECT/EXCEPT to be used with ALL, subqueries, views, 
    DISTINCT, ORDER BY, SELECT...INTO (Tom)
Fix parser failures during aborted transactions (Tom)
Allow temporary relations to properly clean up indexes (Bruce)
Fix VACUUM problem with moving rows in same page (Tom)
Modify pg_dump to better handle user-defined items in template1 (Philip)
Allow LIMIT in VIEW (Tom)
Require cursor FETCH to honor LIMIT (Tom)
Allow PRIMARY/FOREIGN Key definitions on inherited columns (Stephan)
Allow ORDER BY, LIMIT in sub-selects (Tom)
Allow UNION in CREATE RULE (Tom)
Make ALTER/DROP TABLE rollback-able (Vadim, Tom)
Store initdb collation in pg_control so collation cannot be changed (Tom)
Fix INSERT...SELECT with rules (Tom)
Fix FOR UPDATE inside views and subselects (Tom)
Fix OVERLAPS operators conform to SQL92 spec regarding NULLs (Tom)
Fix lpad() and rpad() to handle length less than input string (Tom)
Fix use of NOTIFY in some rules (Tom)
Overhaul btree code (Tom)
Fix NOT NULL use in Pl/PgSQL variables (Tom)
Overhaul GIST code (Oleg)
Fix CLUSTER to preserve constraints and column default (Tom)
Improved deadlock detection handling (Tom)
Allow multiple SERIAL columns in a table (Tom)
Prevent occasional index corruption (Vadim)

Enhancements
------------
Add OUTER JOINs (Tom)
Function manager overhaul (Tom)
Allow ALTER TABLE RENAME on indexes (Tom)
Improve CLUSTER (Tom)
Improve ps status display for more platforms (Peter E, Marc)
Improve CREATE FUNCTION failure message (Ross)
JDBC improvements (Peter, Travis Bauer, Christopher Cain, William Webber,
    Gunnar)
Grand Unified Configuration scheme/GUC.  Many options can now be set in 
    data/postgresql.conf, postmaster/postgres flags, or SET commands (Peter E)
Improved handling of file descriptor cache (Tom)
New warning code about auto-created table alias entries (Bruce)
Overhaul initdb process (Tom, Peter E)
Overhaul of inherited tables; inherited tables now accessed by default;
   new ONLY keyword prevents it (Chris Bitmead, Tom)
ODBC cleanups/improvements (Nick Gorham, Stephan Szabo, Zoltan Kovacs, 
    Michael Fork)
Allow renaming of temp tables (Tom)
Overhaul memory manager contexts (Tom)
pg_dumpall uses CREATE USER or CREATE GROUP rather using COPY (Peter E)
Overhaul pg_dump (Philip Warner)
Allow pg_hba.conf secondary password file to specify only username (Peter E)
Allow TEMPORARY or TEMP keyword when creating temporary tables (Bruce)
New memory leak checker (Karel)
New SET SESSION CHARACTERISTICS (Thomas)
Allow nested block comments (Thomas)
Add WITHOUT TIME ZONE type qualifier (Thomas)
New ALTER TABLE ADD CONSTRAINT (Stephan)
Use NUMERIC accumulators for INTEGER aggregates (Tom)
Overhaul aggregate code (Tom)
New VARIANCE and STDDEV() aggregates
Improve dependency ordering of pg_dump (Philip)
New pg_restore command (Philip)
New pg_dump tar output option (Philip)
New pg_dump of large objects  (Philip)
New ESCAPE option to LIKE (Thomas)
New case-insensitive LIKE - ILIKE (Thomas)
Allow functional indexes to use binary-compatible type (Tom)
Allow SQL functions to be used in more contexts (Tom)
New pg_config utility (Peter E)
New PL/pgSQL EXECUTE command which allows dynamic SQL and utility statements
    (Jan)
New PL/pgSQL GET DIAGNOSTICS statement for SPI value access (Jan)
New quote_identifiers() and quote_literal() functions (Jan)
New ALTER TABLE table OWNER TO user command (Mark Hollomon)
Allow subselects in FROM, i.e. FROM (SELECT ...) [AS] alias (Tom)
Update PyGreSQL to version 3.1 (D'Arcy)
Store tables as files named by OID (Vadim)
New SQL function setval(seq,val,bool) for use in pg_dump (Philip)
Require DROP VIEW to remove views, no DROP TABLE (Mark)
Allow DROP VIEW view1, view2 (Mark)
Allow multiple objects in DROP INDEX, DROP RULE, and DROP TYPE (Tom)
Allow automatic conversion to/from Unicode (Tatsuo, Eiji)
New /contrib/pgcrypto hashing functions (Marko Kreen)
New pg_dumpall --globals-only option (Peter E)
New CHECKPOINT command for WAL which creates new WAL log file (Vadim)
New AT TIME ZONE syntax (Thomas)
Allow location of Unix domain socket to be configurable (David J. MacKenzie)
Allow postmaster to listen on a specific IP address (David J. MacKenzie)
Allow socket path name to be specified in hostname by using leading slash
    (David J. MacKenzie)
Allow CREATE DATABASE to specify template database (Tom)
New utility to convert MySQL schema dumps to SQL92 and PostgreSQL (Thomas)
New /contrib/rserv replication toolkit (Vadim)
New file format for COPY BINARY (Tom)
New /contrib/oid2name to map numeric files to table names (B Palmer)
New "idle in transaction" ps status message (Marc)
Update to pgaccess 0.98.7 (Constantin Teodorescu)
pg_ctl now defaults to -w (wait) on shutdown, new -l (log) option
Add rudimentary dependency checking to pg_dump (Philip)

Types
-----
Fix INET/CIDR type ordering and add new functions (Tom)
Make OID behave as an unsigned type (Tom)
Allow BIGINT as synonym for INT8 (Peter E)
New int2 and int8 comparison operators (Tom)
New BIT and BIT VARYING types (Adriaan Joubert, Tom, Peter E)
CHAR() no longer faster than VARCHAR() because of TOAST (Tom)
New GIST seg/cube examples (Gene Selkov)
Improved round(numeric) handling (Tom)
Fix CIDR output formatting (Tom)
New CIDR abbrev() function (Tom)
New to_char(interval, text) function (Karel)

Performance
-----------
Write-Ahead Log (WAL) to provide crash recovery with less performance 
    overhead (Vadim)
ANALYZE stage of VACUUM no longer exclusively locks table (Bruce)
Reduced file seeks (Denis Perchine)
Improve BTREE code for duplicate keys (Tom)
Store all large objects in a single table (Denis Perchine, Tom)
Improve memory allocation performance (Karel, Tom)

Source Code
-----------
New function manager call conventions (Tom)
SGI portability fixes (David Kaelbling)
New configure --enable-syslog option (Peter E)
New BSDI README (Bruce)
configure script moved to top level, not /src (Peter E)
Makefile/configuration/compilation overhaul (Peter E)
New configure --with-python option (Peter E)
Solaris cleanups (Peter E)
Overhaul /contrib Makefiles (Karel)
New OpenSSL configuration option (Magnus, Peter E)
AIX fixes (Andreas)
QNX fixes (Maurizio)
New heap_open(), heap_openr() API (Tom)
Remove colon and semi-colon operators (Thomas)
New pg_class.relkind value for views (Mark Hollomon)
Rename ichar() to chr() (Karel)
New documentation for btrim(), ascii(), chr(), repeat() (Karel)
Fixes for NT/Cygwin (Pete Forman)
AIX port fixes (Andreas)
New BeOS port (David Reid, Cyril Velter)
Add proofreader's changes to docs (Addison-Wesley, Bruce)
New Alpha spinlock code (Adriaan Joubert, Compaq)
Unixware port overhaul (Peter E)
New Darwin/Mac OSX port (Peter Bierman, Bruce Hartzler, Tom)
New FreeBSD Alpha port (Alfred)
Overhaul shared memory segments (Tom)
Add IBM S/390 support (Neale Ferguson)
Moved macmanuf to /contrib (Larry Rosenman)
Syslog improvements (Larry Rosenman)
New template0 database that contains no user additions (Tom)
New /contrib/cube and /contrib/seg GIST sample code (Gene Selkov)
Allow NetBSD's libedit instead of readline (Peter)
Improved assembly language source code format (Bruce)
New contrib/pg_logger
New --template option to createdb
New contrib/pg_control utility (Oliver)
New FreeBSD tools ipc_check, start-scripts/freebsd



  ------------------------------------------------------------------------
                                Release 7.0.3
  ------------------------------------------------------------------------


Release 7.0.3  (2000-11-11)

This has a variety of fixes from 7.0.2.

Migration to v7.0.3

A dump/restore is not required for those running 7.0.*.

Changes
-------
Jdbc fixes (Peter)
Large object fix (Tom)
Fix lean in COPY WITH OIDS leak (Tom)
Fix backwards-index-scan (Tom)
Fix SELECT ... FOR UPDATE so it checks for duplicate keys (Hiroshi)
Add --enable-syslog to configure (Marc)
Fix abort transaction at backend exit in rare cases (Tom)
Fix for psql \l+ when multi-byte enabled (Tatsuo)
Allow PL/pgSQL to accept non ascii identifiers (Tatsuo)
Make vacuum always flush buffers (Tom)
Fix to allow cancel while waiting for a lock (Hiroshi)
Fix for memory aloocation problem in user authentication code (Tom)
Remove bogus use of int4out() (Tom)
Fixes for multiple subqueries in COALESCE or BETWEEN (Tom)
Fix for failure of triggers on heap open in certain cases (Jeroen van
    Vianen)
Fix for erroneous selectivity of not-equals (Tom)
Fix for erroneous use of strcmp() (Tom)
Fix for bug where storage manager accesses items beyond end of file
    (Tom)
Fix to include kernel errno message in all smgr elog messages (Tom)
Fix for '.' not in PATH at build time (SL Baur)
Fix for out-of-file-descriptors error (Tom)
Fix to make pg_dump dump 'iscachable' flag for functions (Tom)
Fix for subselect in targetlist of Append node (Tom)
Fix for mergejoin plans (Tom)
Fix TRUNCATE failure on relations with indexes (Tom)
Avoid database-wide restart on write error (Hiroshi)
Fix nodeMaterial to honor chgParam by recomputing its output (Tom)
Fix VACUUM problem with moving chain of update tuples when source and
    destination of a tuple lie on the same page (Tom)
Fix user.c CommandCounterIncrement (Tom)
Fix for AM/PM boundary problem in to_char() (Karel Zak)
Fix TIME aggregate handling (Tom)
Fix to_char() to avoid coredump on NULL input (Tom)
Buffer fix (Tom)
Fix for inserting/copying longer multibyte strings into char() data
    types (Tatsuo)
Fix for crash of backend, on abort (Tom)



  ------------------------------------------------------------------------
                                Release 7.0.2
  ------------------------------------------------------------------------
          

Release 7.0.2  (2000-06-05)

This is a repackaging of 7.0.1 with added documentation.

Migration to v7.0.2

A dump/restore is not required for those running 7.*.

Changes
-------
Added documentation to tarball.



  ------------------------------------------------------------------------
                                Release 7.0.1
  ------------------------------------------------------------------------
          

Release 7.0.1  (2000-06-01)

This is basically a cleanup release for 7.0.1

Migration to v7.0.1

A dump/restore is not required for those running 7.0.

Changes
-------
Fix many CLUSTER failures (Tom)
Allow ALTER TABLE RENAME works on indexes (Tom)
Fix plpgsql to handle datetime->timestamp and timespan->interval (Bruce)
New configure --with-setproctitle switch to use setproctitle() (Marc, Bruce)
Fix the off by one errors in ResultSet from 6.5.3, and more.
jdbc ResultSet fixes (Joseph Shraibman)
optimizer tunings (Tom)
Fix create user for pgaccess
Fix for UNLISTEN failure
IRIX fixes (David Kaelbling)
QNX fixes (Andreas Kardos)
Reduce COPY IN lock level (Tom)
Change libpqeasy to use PQconnectdb() style parameters (Bruce)
Fix pg_dump to handle OID indexes (Tom)
Fix small memory leak (Tom)
Solaris fix for createdb/dropdb (Tatsuo)
Fix for non-blocking connections (Alfred Perlstein)
Fix improper recovery after RENAME TABLE failures (Tom)
Copy pg_ident.conf.sample into /lib directory in install (Bruce)
Add SJIS UDC (NEC selection IBM kanji) support (Eiji Tokuya)
Fix too long syslog message (Tatsuo)
Fix problem with quoted indexes that are too long (Tom)
JDBC ResultSet.getTimestamp() fix (Gregory Krasnow & Floyd Marinescu)
ecpg changes (Michael)



  ------------------------------------------------------------------------
                                Release 7.0
  ------------------------------------------------------------------------
          

Release 7.0  (2000-05-08)

   This release shows the continued growth of PostgreSQL. There are more
   changes in 7.0 than in any previous release. Don't be concerned this
   is a dot-zero release. We do our best to put out only solid releases,
d896 3
a898 3
   
Major changes in this release:
   
d900 5
a904 4
          Foreign keys are now implemented, with the exception of PARTIAL
          MATCH foreign keys. Many users have been asking for this
          feature, and we are pleased to offer it.
          
d906 5
a910 4
          Continuing on work started a year ago, the optimizer has been
          overhauled, allowing improved query execution and better
          performance with less memory usage.
          
d912 599
a1510 559
          psql, our interactive terminal monitor, has been updated with a
          variety of new features. See the psql manual page for details.
          
   Upcoming Features
          In 7.1 or 7.2, we plan to have outer joins, storage for very 
          long rows, and a write-ahead logging system.
          
Migration to v7.0

   A dump/restore using pg_dump is required for those wishing to migrate
   data from any previous release. For those upgrading from 6.5.*, you
   can use pg_upgrade to upgrade to this release.
   

Bug Fixes
---------
Prevent function calls with more than maximum number of arguments (Tom)
Improve CASE construct (Tom)
Fix SELECT coalesce(f1,0) FROM int4_tbl GROUP BY f1 (Tom)
Fix SELECT sentence.words[0] FROM sentence GROUP BY sentence.words[0] (Tom)
Fix GROUP BY scan bug (Tom)
Improvements in SQL grammar processing (Tom)
Fix for views involved in INSERT ... SELECT ... (Tom)
Fix for SELECT a/2, a/2 FROM test_missing_target GROUP BY a/2 (Tom)
Fix for subselects in INSERT ... SELECT (Tom)
Prevent INSERT ... SELECT ... ORDER BY (Tom)
Fixes for relations greater than 2GB, including vacuum
Improve communication of system table changes to other running backends (Tom)
Improve communication of user table modifications to other running backends (Tom)
Fix handling of temp tables in complex situations (Bruce, Tom)
Allow table locking when tables opened, improving concurrent reliability (Tom)
Properly quote sequence names in pg_dump (Ross J. Reedstrom)
Prevent DROP DATABASE while others accessing
Prevent any rows from being returned by GROUP BY if no rows processed (Tom)
Fix SELECT COUNT(1) FROM table WHERE ...' if no rows matching WHERE (Tom)
Fix pg_upgrade so it works for MVCC(Tom)
Fix for SELECT ... WHERE x IN (SELECT ... HAVING SUM(x) &gt; 1) (Tom)
Fix for "f1 datetime DEFAULT 'now'"  (Tom)
Fix problems with CURRENT_DATE used in DEFAULT (Tom)
Allow comment-only lines, and ;;; lines too. (Tom)
Improve recovery after failed disk writes, disk full (Hiroshi)
Fix cases where table is mentioned in FROM but not joined (Tom)
Allow HAVING clause without aggregate functions (Tom)
Fix for "--" comment and no trailing newline, as seen in Perl
Improve pg_dump failure  error reports (Bruce)
Allow sorts and hashes to exceed 2GB file sizes (Tom)
Fix for pg_dump dumping of inherited rules (Tom)
Fix for NULL handling comparisons (Tom)
Fix inconsistent state caused by failed CREATE/DROP commands (Hiroshi)
Fix for dbname with dash
Prevent DROP INDEX from interfering with other backends (Tom)
Fix file descriptor leak in verify_password()
Fix for "Unable to identify an operator =$" problem
Fix ODBC so no segfault if CommLog and Debug enabled (Dirk Niggemann)
Fix for recursive exit call (Massimo)
Fix for extra-long timezones (Jeroen van Vianen)
Make pg_dump preserve primary key information (Peter E)
Prevent databases with single quotes (Peter E)
Prevent DROP DATABASE inside  transaction (Peter E)
ecpg memory leak fixes (Stephen Birch)
Fix for SELECT null::text, SELECT int4fac(null) and SELECT 2 + (null) (Tom)
Y2K timestamp fix (Massimo)
Fix for VACUUM 'HEAP_MOVED_IN was not expected' errors (Tom)
Fix for views with tables/columns containing spaces  (Tom)
Prevent permissions on indexes (Peter E)
Fix for spinlock stuck problem when error is generated (Hiroshi)
Fix ipcclean on Linux
Fix handling of NULL constraint conditions (Tom)
Fix memory leak in odbc driver (Nick Gorham)
Fix for permission check on UNION tables (Tom)
Fix to allow SELECT 'a' LIKE 'a' (Tom)
Fix for SELECT 1 + NULL (Tom)
Fixes to CHAR
Fix log() on numeric type (Tom)
Deprecate ':' and ';' operators
Allow vacuum of temporary tables
Disallow inherited columns with the same name as new columns
Recover or force failure when disk space is exhausted(Hiroshi)
Fix INSERT INTO ... SELECT with AS columns matching result columns
Fix INSERT ... SELECT ... GROUP BY groups by target columns not source columns(Tom)
Fix CREATE TABLE test (a char(5) DEFAULT text '', b int4) with INSERT(Tom)
Fix UNION with LIMIT
Fix CREATE TABLE x AS SELECT 1 UNION SELECT 2
Fix CREATE TABLE test(col char(2) DEFAULT user)
Fix mismatched types in CREATE TABLE ... DEFAULT
Fix SELECT * FROM pg_class where oid in (0,-1)
Fix SELECT COUNT('asdf') FROM pg_class WHERE oid=12
Prevent user who can create databases can modifying pg_database table(Peter E)
Fix btree to give a useful elog when key > 1/2 (page - overhead)(Tom)
Fix INSERT of 0.0 into DECIMAL(4,4) field(Tom)

Enhancements
------------
New CLI interface include file sqlcli.h, based on SQL3/SQL98
Remove all limits on query length, row length limit still exists (Tom)
Update jdbc protocol to 2.0 (<ulink url="mailto:jens@@jens.de">Jens Glaser</ulink>)
Add TRUNCATE command to quickly truncate relation (Mike Mascari)
Fix to give super user and createdb user proper update catalog rights (Peter E)
Allow ecpg bool variables to have NULL values (Christof)
Issue ecpg error if NULL value is returned to variable with no NULL
indicator (Christof)
Allow ^C to cancel COPY command (Massimo)
Add SET FSYNC and SHOW PG_OPTIONS commands(Massimo)
Function name overloading for dynamically-loaded C functions (Frankpitt)
Add CmdTuples() to libpq++(Vince)
New CREATE CONSTRAINT TRIGGER and SET CONSTRAINTS commands(Jan)
Allow CREATE FUNCTION/WITH clause to be used for all language types
configure --enable-debug adds -g (Peter E)
configure --disable-debug removes -g (Peter E)
Allow more complex default expressions (Tom)
First real FOREIGN KEY constraint trigger functionality (Jan)
Add FOREIGN KEY ... MATCH FULL ... ON DELETE CASCADE (Jan)
Add FOREIGN KEY ... MATCH &lt;unspecified&gt; referential actions (Don Baccus)
Allow WHERE restriction on ctid (physical heap location) (Hiroshi)
Move pginterface from contrib to interface directory, rename to pgeasy (Bruce)
Change pgeasy connectdb() parameter ordering (Bruce)
Add DEC and SESSION_USER as reserved words (Thomas)
Require SELECT DISTINCT target list to have all ORDER BY columns (Tom)
Add Oracle's COMMENT ON command (<ulink url="mailto:mascarim@@yahoo">Mike Mascari</ulink>)
libpq's PQsetNoticeProcessor function now returns previous hook(Peter E)
Prevent PQsetNoticeProcessor from being set to NULL (Peter E)
Make USING in COPY optional (Bruce)
Allow subselects in the target list (Tom)
Allow subselects on the left side of comparison operators (Tom)
New parallel regression test (Jan)
Change backend-side COPY to write files with permissions 644 not 666 (Tom)
Force permissions on PGDATA directory to be secure, even if it exists (Tom)
Added psql LASTOID variable to return last inserted oid (Peter E)
Allow concurrent vacuum and remove pg_vlock vacuum lock file (Tom)
Add permissions check so only Postgres superuser or table owner can
vacuum (Peter E)
New libpq functions to allow asynchronous connections: PQconnectStart(), 
   PQconnectPoll(), PQresetStart(), PQresetPoll(), PQsetenvStart(), 
   PQsetenvPoll(), PQsetenvAbort (Ewan Mellor)
New libpq PQsetenv() function (Ewan Mellor)
create/alter user extension (Peter E)
New postmaster.pid and postmaster.opts under $PGDATA (Tatsuo)
New scripts for create/drop user/db (Peter E)
Major psql overhaul(Peter E)
Add const to libpq interface(Peter E)
New libpq function PQoidValue (Peter E)
Show specific non-aggregate causing problem with GROUP BY (Tom)
Make changes to pg_shadow recreate pg_pwd file (Peter E)
Add aggregate(DISTINCT ...) (Tom)
Allow flag to control COPY input/output of NULLs (Peter E)
Make postgres user have a password by default (Peter E)
Add CREATE/ALTER/DROP GROUP (Peter E)
All administration scripts now support --long options (Peter E, Karel)
Vacuumdb script now supports --all option (Peter E)
ecpg new portable FETCH syntax
Add ecpg EXEC SQL IFDEF, EXEC SQL IFNDEF, EXEC SQL ELSE, EXEC SQL ELIF 
	and EXEC SQL ENDIF directives
Add pg_ctl script to control backend start-up (Tatsuo)
Add postmaster.opts.default file to store start-up flags (Tatsuo)
Allow --with-mb=SQL_ASCII
Increase maximum number of index keys to 16 (Bruce)
Increase maximum number of function arguments to 16 (Bruce)
Allow configuration of maximum number of index keys and arguments (Bruce)
Allow unprivileged users to change their passwords (Peter E)
Password authentication enabled; required for new users (Peter E)
Disallow dropping a user who owns a database (Peter E)
Change initdb option --with-mb to --enable-multibyte
Add option for initdb to prompts for superuser password (Peter E)
Allow complex type casts like col::numeric(9,2) and col::int2::float8 (Tom)
Updated user interfaces on initdb, initlocation, pg_dump, ipcclean (Peter E)
New pg_char_to_encoding() and pg_encoding_to_char() functions (Tatsuo)
Libpq non-blocking mode (Alfred Perlstein)
Improve conversion of types in casts that don't specify a length
New plperl internal programming language (Mark Hollomon)
Allow COPY IN to read file that do not end with a newline (Tom)
Indicate when long identifiers are truncated (Tom)
Allow aggregates to use type equivalency (Peter E)
Add Oracle's to_char(), to_date(), to_datetime(), to_timestamp(), to_number()
	conversion functions (Karel Zak &lt;zakkr@@zf.jcu.cz&gt;)
Add SELECT DISTINCT ON (expr [, expr ...]) targetlist ... (Tom)
Check to be sure ORDER BY is compatible with the DISTINCT operation (Tom)
Add NUMERIC and int8 types to ODBC
Improve EXPLAIN results for Append, Group, Agg, Unique (Tom)
Add ALTER TABLE ... ADD FOREIGN KEY (Stephan Szabo)
Allow SELECT .. FOR UPDATE in PL/pgSQL (Hiroshi)
Enable backward sequential scan even after reaching EOF (Hiroshi)
Add btree indexing of boolean values, &gt;= and &lt;= (Don Baccus)
Print current line number when COPY FROM fails (Massimo)
Recognize special case of POSIX time zone: "GMT+8" and "GMT-8" (Thomas)
Add DEC as synonym for "DECIMAL" (Thomas)
Add SESSION_USER as SQL92 keyword, same as CURRENT_USER (Thomas)
Implement column aliases (aka correlation names) and join syntax (Thomas)
Allow queries like SELECT a FROM t1 tx (a) (Thomas)
Allow queries like SELECT * FROM t1 NATURAL JOIN t2 (Thomas)
Make INTERVAL reserved word allowed as a column identifier (Thomas)
Implement REINDEX command (Hiroshi)
Accept ALL in aggregate function SUM(ALL col) (Tom)
Prevent GROUP BY from using column aliases (Tom)
New psql \encoding option (Tatsuo)
Allow PQrequestCancel() to terminate when in waiting-for-lock state (Hiroshi)
Allow negation of a negative number in all cases
Add ecpg descriptors (Christof, Michael)
Allow CREATE VIEW v AS SELECT f1::char(8) FROM tbl
Allow casts with length, like foo::char(8)
New libpq functions PQsetClientEncoding(), PQclientEncoding() (Tatsuo)
Add support for SJIS user defined characters (Tatsuo)
Larger views/rules supported
Make libpq's PQconndefaults() thread-safe (Tom)
Disable // as comment to be ANSI conforming, should use -- (Tom)
Allow column aliases on views CREATE VIEW name (collist)
Fixes for views with subqueries (Tom)
Allow UPDATE table SET fld = (SELECT ...) (Tom)
SET command options no longer require quotes
Update pgaccess to 0.98.6
New SET SEED command
New pg_options.sample file
New SET FSYNC command (Massimo)
Allow pg_descriptions when creating tables
Allow pg_descriptions when creating types, columns, and functions
Allow psql \copy to allow delimiters(Peter E)
Allow psql to print nulls as distinct from "" [null](Peter E)

Types
-----
Many array fixes (Tom)
Allow bare column names to be subscripted as arrays (Tom)
Improve type casting of int and float constants (Tom)
Cleanups for int8 inputs, range checking, and type conversion (Tom)
Fix for SELECT timespan('21:11:26'::time) (Tom)
Fix for netmask('x.x.x.x/0') is 255.255.255.255 instead of 0.0.0.0 
	(Oleg Sharoiko)
Add btree index on NUMERIC(Jan)
Perl fix for large objects containing NUL characters (Douglas Thomson) 
ODBC fix for for large objects (free)
Fix indexing of cidr data type
Fix for Ethernet MAC addresses (macaddr type) comparisons
Fix for date/time types when overflows happened in computations (Tom)
Allow array on int8 (Peter E)
Fix for rounding/overflow of NUMERIC type, like NUMERIC(4,4) (Tom)
Allow NUMERIC arrays
Fix bugs in NUMERIC ceil() and floor() functions (Tom)
Make char_length()/octet_length including trailing blanks (Tom)
Made abstime/reltime use int4 instead of time_t (Peter E)
New lztext data type for compressed text fields
Revise code to handle coercion of int and float constants (Tom)
New C-routines to implement a BIT and BIT VARYING type in /contrib 
	(Adriaan Joubert)
NUMERIC now accepts scientific notation (Tom)
NUMERIC to int4 rounds (Tom)
Convert float4/8 to NUMERIC properly (Tom)
Allow type conversion with NUMERIC (Thomas)
Make ISO date style (2000-02-16 09:33) the default (Thomas)
Add NATIONAL CHAR [ VARYING ]
Allow NUMERIC round and trunc to accept negative scales (Tom)
New TIME WITH TIME ZONE type (Thomas)
Add MAX()/MIN() on time type (Thomas)
Add abs(), mod(), fac() for int8 (Thomas)
Add round(), sqrt(), cbrt(), pow()
Rename NUMERIC power() to pow()
Improved TRANSLATE() function
Allow X=-Y operators  (Tom)
Add exp() and ln() as NUMERIC types
Allow SELECT float8(COUNT(*)) / (SELECT COUNT(*) FROM int4_tbl) FROM int4_tbl
	GROUP BY f1; (Tom)
Allow LOCALE to use indexes in regular expression searches(Tom)
Allow creation of functional indexes to use default types

Performance
-----------
Prevent exponential space consumption with many AND's and OR's (Tom)
Collect attribute selectivity values for system columns (Tom)
Reduce memory usage of aggregates (Tom)
Fix for LIKE optimization to use indexes with multi-byte encodings (Tom)
Fix r-tree index optimizer selectivity (Thomas)
Improve optimizer selectivity computations and functions (Tom)
Optimize btree searching for cases where many equal keys exist (Tom)
Enable fast LIKE index processing only if index present (Tom)
Re-use free space on index pages with duplicates (Tom)
Improve hash join processing (Tom)
Prevent descending sort if result is already sorted(Hiroshi)
Allow commuting of index scan query qualifications (Tom)
Prefer index scans in cases where ORDER BY/GROUP BY is required (Tom)
Allocate large memory requests in fix-sized chunks for performance (Tom)
Fix vacuum's performance by reducing memory allocation requests (Tom)
Implement constant-expression simplification (Bernard Frankpitt, Tom)
Allow more than first column to be used to determine start of index scan
   (Hiroshi)
Prevent quadruple use of disk space when doing internal sorting (Tom)
Faster sorting by calling fewer functions (Tom)
Create system indexes to match all system caches (Bruce, Hiroshi)
Make system caches use system indexes(Bruce)
Make all system indexes unique(Bruce)
Improve pg_statistics management for VACUUM speed improvement (Tom)
Flush backend cache less frequently (Tom, Hiroshi)
COPY now reuses previous memory allocation, improving performance (Tom)
Improve optimization cost estimation (Tom)
Improve optimizer estimate of range queries x &gt; lowbound AND x &lt; highbound (Tom)
Use DNF instead of CNF where appropriate (Tom, Taral)
Further cleanup for OR-of-AND WHERE-clauses (Tom)
Make use of index in OR clauses (x = 1 AND y = 2) OR (x = 2 AND y = 4) (Tom)
Smarter optimizer computations for random index page access (Tom)
New SET variable to control optimizer costs (Tom)
Optimizer queries based on LIMIT, OFFSET, and EXISTS qualifications (Tom)
Reduce optimizer internal housekeeping of join paths for speedup (Tom)
Major subquery speedup (Tom)
Fewer fsync writes when fsync is not disabled(Tom)
Improved LIKE optimizer estimates(Tom)
Prevent fsync in SELECT-only queries(Vadim)
Make index creation use psort code, because it is now faster(Tom)
Allow creation of sort temp tables > 1 Gig

Source Tree Changes
-------------------
Fix for linux PPC compile
New generic expression-tree-walker subroutine (Tom)
Change form() to varargform() to prevent portability problems.
Improved range checking for large integers on Alphas
Clean up #include in /include directory (Bruce)
Add scripts for checking includes (Bruce)
Remove un-needed #include's from *.c files (Bruce)
Change #include's to use &lt;&gt; and "" as appropriate (Bruce)
Enable WIN32 compilation of libpq
Alpha spinlock fix from <ulink url="mailto:gatgul@@voicenet.com">Uncle George</ulink>
Overhaul of optimizer data structures (Tom)
Fix to cygipc library (Yutaka Tanida)
Allow pgsql to work on newer Cygwin snapshots(Dan)
New catalog version number (Tom)
Add Linux ARM.
Rename heap_replace to heap_update
Update for QNX (Dr. Andreas Kardos)
New platform-specific regression handling (Tom)
Rename oid8 -&gt; oidvector and int28 -&gt; int2vector (Bruce)
Included all yacc and lex files into the distribution (Peter E.)
Remove lextest, no longer needed (Peter E)
Fix for libpq and psql on Win32 (Magnus)
Internally change datetime and timespan into timestamp and interval (Thomas)
Fix for plpgsql on BSDI
Add SQL_ASCII test case to the regression test (Tatsuo)
configure --with-mb now deprecated (Tatsuo)
NT fixes
NetBSD fixes <ulink url="mailto:lamj@@stat.cmu.edu">Johnny C. Lam</ulink>
Fixes for Alpha compiles
New multibyte encodings



  ------------------------------------------------------------------------
                                Release 6.5.3
  ------------------------------------------------------------------------


Release 6.5.3  (1999-10-13)

This is basically a cleanup release for 6.5.2. We have added a new pgaccess
that was missing in 6.5.2, and installed an NT-specific fix.

Migration to v6.5.3

A dump/restore is not required for those running 6.5.*.

Changes
-------
Updated version of pgaccess 0.98
NT-specific patch



  ------------------------------------------------------------------------
                                Release 6.5.2
  ------------------------------------------------------------------------


Release 6.5.2  (1999-09-15)

This is basically a cleanup release for 6.5.1. We have fixed a variety of
problems reported by 6.5.1 users.

Migration to v6.5.2

A dump/restore is not required for those running 6.5.*.

Changes
-------
subselect+CASE fixes(Tom)
Add SHLIB_LINK setting for solaris_i386 and solaris_sparc ports(Daren Sefcik)
Fixes for CASE in WHERE join clauses(Tom)
Fix BTScan abort(Tom)
Repair the check for redundant UNIQUE and PRIMARY KEY indices(Thomas)
Improve it so that it checks for multi-column constraints(Thomas)
Fix for Win32 making problem with MB enabled(Hiroki Kataoka)
Allow BSD yacc and bison to compile pl code(Bruce)
Fix SET NAMES working
int8 fixes(Thomas)
Fix vacuum's memory consumption(Hiroshi,Tatsuo)
Reduce the total memory consumption of vacuum(Tom)
Fix for timestamp(datetime)
Rule deparsing bugfixes(Tom)
Fix quoting problems in mkMakefile.tcldefs.sh.in and mkMakefile.tkdefs.sh.in(Tom)
This is to re-use space on index pages freed by vacuum(Vadim)
document -x for pg_dump(Bruce)
Fix for unary operators in rule deparser(Tom)
Comment out FileUnlink of excess segments during mdtruncate()(Tom)
Irix linking fix from Yu Cao yucao@@falcon.kla-tencor.com
Repair logic error in LIKE: should not return LIKE_ABORT
   when reach end of pattern before end of text(Tom)
Repair incorrect cleanup of heap memory allocation during transaction abort(Tom)
Updated version of pgaccess 0.98



  ------------------------------------------------------------------------
                                Release 6.5.1
  ------------------------------------------------------------------------


Release 6.5.1  (1999-07-15)

This is basically a cleanup release for 6.5. We have fixed a variety of
problems reported by 6.5 users.

Migration to v6.5.1

A dump/restore is not required for those running 6.5.

Changes
-------
Add NT README file
Portability fixes for linux_ppc, Irix, linux_alpha, OpenBSD, alpha
Remove QUERY_LIMIT, use SELECT...LIMIT
Fix for EXPLAIN on inheritance(Tom)
Patch to allow vacuum on multi-segment tables(Hiroshi)
R-Tree optimizer selectivity fix(Tom)
ACL file descriptor leak fix(Atsushi Ogawa)
New expresssion subtree code(Tom)
Avoid disk writes for read-only transactions(Vadim)
Fix for removal of temp tables if last transaction was aborted(Bruce)
Fix to prevent too large tuple from being created(Bruce)
plpgsql fixes
Allow port numbers 32k - 64k(Bruce)
Add ^ precidence(Bruce)
Rename sort files called pg_temp to pg_sorttemp(Bruce)
Fix for microseconds in time values(Tom)
Tutorial source cleanup
New linux_m68k port
Fix for sorting of NULL's in some cases(Tom)
Shared library dependencies fixed (Tom)
Fixed glitches affecting GROUP BY in subselects(Tom)
Fix some compiler warnings (Tomoaki Nishiyama)
Add Win1250 (Czech) support (Pavel Behal)



  ------------------------------------------------------------------------
                                Release 6.5
  ------------------------------------------------------------------------


Release 6.5  (1999-06-09)

This release marks a major step in the development team's mastery of the
source code we inherited from Berkeley. You will see we are now easily
adding major features, thanks to the increasing size and experience of our
world-wide development team.

Here is a brief summary of the more notable changes:

Multi-version concurrency control(MVCC)

     This removes our old table-level locking, and replaces it with a
     locking system that is superior to most commercial database systems. In
     a traditional system, each row that is modified is locked until
     committed, preventing reads by other users. MVCC uses the natural
     multi-version nature of PostgreSQL to allow readers to continue reading
     consistent data during writer activity. Writers continue to use the
     compact pg_log transaction system. This is all performed without having
     to allocate a lock for every row like traditional database systems. So,
     basically, we no longer are restricted by simple table-level locking;
     we have something better than row-level locking.

Hot backups from pg_dump

     pg_dump takes advantage of the new MVCC features to give a consistant
     database dump/backup while the database stays online and available for
     queries.

Numeric data type

     We now have a true numeric data type, with user-specified precision.

Temporary tables

     Temporary tables are guaranteed to have unique names within a database
     session, and are destroyed on session exit.

New SQL features

     We now have CASE, INTERSECT, and EXCEPT statement support. We have new
     LIMIT/OFFSET, SET TRANSACTION ISOLATION LEVEL, SELECT ... FOR UPDATE,
     and an improved LOCK TABLE command.

Speedups

     We continue to speed up PostgreSQL, thanks to the variety of talents
     within our team. We have sped up memory allocation, optimization, table
     joins, and row transfer routines.

Ports

     We continue to expand our port list, this time including WinNT/ix86 and
     NetBSD/arm32.

Interfaces

     Most interfaces have new versions, and existing functionality has been
     improved.

Documentation

     New and updated material is present throughout the documentation. New
     FAQs have been contributed for SGI and AIX platforms. The Tutorial has
     introductory information on SQL from Stefan Simkovics. For the User's
     Guide, there are reference pages covering the postmaster and more
     utility programs, and a new appendix contains details on date/time
     behavior. The Administrator's Guide has a new chapter on
     troubleshooting from Tom Lane. And the Programmer's Guide has a
     description of query processing, also from Stefan, and details on
     obtaining the Postgres source tree via anonymous CVS and CVSup.

Migration to v6.5

A dump/restore using pg_dump is required for those wishing to migrate data
from any previous release of Postgres. pg_upgrade can not be used to upgrade
to this release because the on-disk structure of the tables has changed
compared to previous releases.

The new Multi-Version Concurrency Control (MVCC) features can give somewhat
different behaviors in multi-user environments. Read and understand the
following section to ensure that your existing applications will give you
the behavior you need.

Multi-Version Concurrency Control

Because readers in 6.5 don't lock data, regardless of transaction isolation
level, data read by one transaction can be overwritten by another. In other
words, if a row is returned by SELECT it doesn't mean that this row really
exists at the time it is returned (i.e. sometime after the statement or
transaction began) nor that the row is protected from being deleted or
updated by concurrent transactions before the current transaction does a
commit or rollback.

To ensure the actual existence of a row and protect it against concurrent
updates one must use SELECT FOR UPDATE or an appropriate LOCK TABLE
statement. This should be taken into account when porting applications from
previous releases of Postgres and other environments.

Keep the above in mind if you are using contrib/refint.* triggers for
referential integrity. Additional technics are required now. One way is to
use LOCK parent_table IN SHARE ROW EXCLUSIVE MODE command if a transaction
is going to update/delete a primary key and use LOCK parent_table IN SHARE
MODE command if a transaction is going to update/insert a foreign key.

     Note: Note that if you run a transaction in SERIALIZABLE mode then
     you must execute the LOCK commands above before execution of any
     DML statement (SELECT/INSERT/DELETE/UPDATE/FETCH/COPY_TO) in the
d1513 210
a1722 607
These inconveniences will disappear in the future when the ability to read
dirty (uncommitted) data (regardless of isolation level) and true
referential integrity will be implemented.


Bug Fixes
---------
Fix text<->float8 and text<->float4 conversion functions(Thomas)
Fix for creating tables with mixed-case constraints(Billy)
Change exp()/pow() behavior to generate error on underflow/overflow(Jan)
Fix bug in pg_dump -z
Memory overrun cleanups(Tatsuo)
Fix for lo_import crash(Tatsuo)
Adjust handling of data type names to suppress double quotes(Thomas)
Use type coersion for matching columns and DEFAULT(Thomas)
Fix deadlock so it only checks once after one second of sleep(Bruce)
Fixes for aggregates and PL/pgsql(Hiroshi)
Fix for subquery crash(Vadim)
Fix for libpq function PQfnumber and case-insensitive names(Bahman Rafatjoo)
Fix for large object write-in-middle, no extra block, memory consumption(Tatsuo)
Fix for pg_dump -d or -D and  quote special characters in INSERT
Repair serious problems with dynahash(Tom)
Fix INET/CIDR portability problems
Fix problem with selectivity error in ALTER TABLE ADD COLUMN(Bruce)
Fix executor so mergejoin of different column types works(Tom)
Fix for Alpha OR selectivity bug
Fix OR index selectivity problem(Bruce)
Fix so \d shows proper length for char()/varchar()(Ryan)
Fix tutorial code(Clark)
Improve destroyuser checking(Oliver)
Fix for Kerberos(Rodney McDuff)
Fix for dropping database while dirty buffers(Bruce)
Fix so sequence nextval() can be case-sensitive(Bruce)
Fix !!= operator
Drop buffers before destroying database files(Bruce)
Fix case where executor evaluates functions twice(Tatsuo)
Allow sequence nextval actions to be case-sensitive(Bruce)
Fix optimizer indexing not working for negative numbers(Bruce)
Fix for memory leak in executor with fjIsNull
Fix for aggregate memory leaks(Erik Riedel)
Allow username containing a dash GRANT permissions
Cleanup of NULL in inet types
Clean up system table bugs(Tom)
Fix problems of PAGER and \? command(Masaaki Sakaida)
Reduce default multi-segment file size limit to 1GB(Peter)
Fix for dumping of CREATE OPERATOR(Tom)
Fix for backward scanning of cursors(Hiroshi Inoue)
Fix for COPY FROM STDIN when using \i(Tom)
Fix for subselect is compared inside an expression(Jan)
Fix handling of error reporting while returning rows(Tom)
Fix problems with reference to array types(Tom,Jan)
Prevent UPDATE SET oid(Jan)
Fix pg_dump so -t option can handle case-sensitive tablenames
Fixes for GROUP BY in special cases(Tom, Jan)
Fix for memory leak in failed queries(Tom)
DEFAULT now supports mixed-case identifiers(Tom)
Fix for multi-segment uses of DROP/RENAME table, indexes(Ole Gjerde)
Disable use of pg_dump with both -o and -d options(Bruce)
Allow pg_dump to properly dump GROUP permissions(Bruce)
Fix GROUP BY in INSERT INTO table SELECT * FROM table2(Jan)
Fix for computations in views(Jan)
Fix for aggregates on array indexes(Tom)
Fix for DEFAULT handles single quotes in value requiring too many quotes
Fix security problem with non-super users importing/exporting large objects(Tom)
Rollback of transaction that creates table cleaned up properly(Tom)
Fix to allow long table and column names to generate proper serial names(Tom)

Enhancements
------------
Add "vacuumdb" utility
Speed up libpq by allocating memory better(Tom)
EXPLAIN all indices used(Tom)
Implement CASE, COALESCE, NULLIF  expression(Thomas)
New pg_dump table output format(Constantin)
Add string min()/max() functions(Thomas)
Extend new type coersion techniques to aggregates(Thomas)
New moddatetime contrib(Terry)
Update to pgaccess 0.96(Constantin)
Add routines for single-byte "char" type(Thomas)
Improved substr() function(Thomas)
Improved multi-byte handling(Tatsuo)
Multi-version concurrency control/MVCC(Vadim)
New Serialized mode(Vadim)
Fix for tables over 2gigs(Peter)
New SET TRANSACTION ISOLATION LEVEL(Vadim)
New LOCK TABLE IN ... MODE(Vadim)
Update ODBC driver(Byron)
New NUMERIC data type(Jan)
New SELECT FOR UPDATE(Vadim)
Handle "NaN" and "Infinity" for input values(Jan)
Improved date/year handling(Thomas)
Improved handling of backend connections(Magnus)
New options ELOG_TIMESTAMPS and USE_SYSLOG options for log files(Massimo)
New TCL_ARRAYS option(Massimo)
New INTERSECT and EXCEPT(Stefan)
New pg_index.indisprimary for primary key tracking(D'Arcy)
New pg_dump option to allow dropping of tables before creation(Brook)
Speedup of row output routines(Tom)
New READ COMMITTED isolation level(Vadim)
New TEMP tables/indexes(Bruce)
Prevent sorting if result is already sorted(Jan)
New memory allocation optimization(Jan)
Allow psql to do \p\g(Bruce)
Allow multiple rule actions(Jan)
Added LIMIT/OFFSET functionality(Jan)
Improve optimizer when joining a large number of tables(Bruce)
New intro to SQL from S. Simkovics' Master's Thesis (Stefan, Thomas)
New intro to backend processing from S. Simkovics' Master's Thesis (Stefan)
Improved int8 support(Ryan Bradetich, Thomas, Tom)
New routines to convert between int8 and text/varchar types(Thomas)
New bushy plans, where meta-tables are joined(Bruce)
Enable right-hand queries by default(Bruce)
Allow reliable maximum number of backends to be set at configure time
      (--with-maxbackends and postmaster switch (-N backends))(Tom)
GEQO default now 10 tables because of optimizer speedups(Tom)
Allow NULL=Var for MS-SQL portability(Michael, Bruce)
Modify contrib check_primary_key() so either "automatic" or "dependent"(Anand)
Allow psql \d on a view show query(Ryan)
Speedup for LIKE(Bruce)
Ecpg fixes/features, see src/interfaces/ecpg/ChangeLog file(Michael)
JDBC fixes/features, see src/interfaces/jdbc/CHANGELOG(Peter)
Make % operator have precedence like /(Bruce)
Add new postgres -O option to allow system table structure changes(Bruce)
Update contrib/pginterface/findoidjoins script(Tom)
Major speedup in vacuum of deleted rows with indexes(Vadim)
Allow non-SQL functions to run different versions based on arguments(Tom)
Add -E option that shows actual queries sent by \dt and friends(Masaaki Sakaida)
Add version number in start-up banners for psql(Masaaki Sakaida)
New contrib/vacuumlo removes large objects not referenced(Peter)
New initialization for table sizes so non-vacuumed tables perform better(Tom)
Improve error messages when a connection is rejected(Tom)
Support for arrays of char() and varchar() fields(Massimo)
Overhaul of hash code to increase reliability and performance(Tom)
Update to PyGreSQL 2.4(D'Arcy)
Changed debug options so -d4 and -d5 produce different node displays(Jan)
New pg_options: pretty_plan, pretty_parse, pretty_rewritten(Jan)
Better optimization statistics for system table access(Tom)
Better handling of non-default block sizes(Massimo)
Improve GEQO optimizer memory consumption(Tom)
UNION now suppports ORDER BY of columns not in target list(Jan)
Major libpq++ improvements(Vince Vielhaber)
pg_dump now uses -z(ACL's) as default(Bruce)
backend cache, memory speedups(Tom)
have pg_dump do everything in one snapshot transaction(Vadim)
fix for large object memory leakage, fix for pg_dumping(Tom)
INET type now respects netmask for comparisons
Make VACUUM ANALYZE only use a readlock(Vadim)
Allow VIEWs on UNIONS(Jan)
pg_dump now can generate consistent snapshots on active databases(Vadim)

Source Tree Changes
-------------------
Improve port matching(Tom)
Portability fixes for SunOS
Add NT/Win32 backend port and enable dynamic loading(Magnus and Daniel Horak)
New port to Cobalt Qube(Mips) running Linux(Tatsuo)
Port to NetBSD/m68k(Mr. Mutsuki Nakajima)
Port to NetBSD/sun3(Mr. Mutsuki Nakajima)
Port to NetBSD/macppc(Toshimi Aoki)
Fix for tcl/tk configuration(Vince)
Removed CURRENT keyword for rule queries(Jan)
NT dynamic loading now works(Daniel Horak)
Add ARM32 support(Andrew McMurry)
Better support for HPUX 11 and Unixware
Improve file handling to be more uniform, prevent file descriptor leak(Tom)
New install commands for plpgsql(Jan)



  ------------------------------------------------------------------------
                                Release 6.4.2
  ------------------------------------------------------------------------


Release 6.4.2  (1998-12-20)

The 6.4.1 release was improperly packaged. This also has one additional bug
fix.

Migration to v6.4.2

A dump/restore is not required for those running 6.4.*.

Changes
-------
Fix for datetime constant problem on some platforms(Thomas)



  ------------------------------------------------------------------------
                                Release 6.4.1
  ------------------------------------------------------------------------


Release 6.4.1  (1998-12-18)

This is basically a cleanup release for 6.4. We have fixed a variety of
problems reported by 6.4 users.

Migration to v6.4.1

A dump/restore is not required for those running 6.4.

Changes
-------
Add pg_dump -N flag to force double quotes around identifiers.  This is
        the default(Thomas)
Fix for NOT in where clause causing crash(Bruce)
EXPLAIN VERBOSE coredump fix(Vadim)
Fix shared-library problems on Linux
Fix test for table existance to allow mixed-case and whitespace in
        the table name(Thomas)
Fix a couple of pg_dump bugs
Configure matches template/.similar entries better(Tom)
Change builtin function names from SPI_* to spi_*
OR WHERE clause fix(Vadim)
Fixes for mixed-case table names(Billy)
contrib/linux/postgres.init.csh/sh fix(Thomas)
libpq memory overrun fix
SunOS fixes(Tom)
Change exp() behavior to generate error on underflow(Thomas)
pg_dump fixes for memory leak, inheritance constraints, layout change
update pgaccess to 0.93
Fix prototype for 64-bit platforms
Multi-byte fixes(Tatsuo)
New ecpg man page
Fix memory overruns(Tatsuo)
Fix for lo_import() crash(Bruce)
Better search for install program(Tom)
Timezone fixes(Tom)
HPUX fixes(Tom)
Use implicit type coersion for matching DEFAULT values(Thomas)
Add routines to help with single-byte (internal) character type(Thomas)
Compilation of libpq for Win32 fixes(Magnus)
Upgrade to PyGreSQL 2.2(D'Arcy)



  ------------------------------------------------------------------------
                                Release 6.4
  ------------------------------------------------------------------------


Release 6.4  (1998-10-30)

There are many new features and improvements in this release. Thanks to our
developers and maintainers, nearly every aspect of the system has received
some attention since the previous release. Here is a brief, incomplete
summary:

   * Views and rules are now functional thanks to extensive new code in the
     rewrite rules system from Jan Wieck. He also wrote a chapter on it for
     the Programmer's Guide.

   * Jan also contributed a second procedural language, PL/pgSQL, to go with
     the original PL/pgTCL procedural language he contributed last release.

   * We have optional multiple-byte character set support from Tatsuo Iishi
     to complement our existing locale support.

   * Client/server communications has been cleaned up, with better support
     for asynchronous messages and interrupts thanks to Tom Lane.

   * The parser will now perform automatic type coersion to match arguments
     to available operators and functions, and to match columns and
     expressions with target columns. This uses a generic mechanism which
     supports the type extensibility features of Postgres. There is a new
     chapter in the User's Guide which covers this topic.

   * Three new data types have been added. Two types, inet and cidr, support
     various forms of IP network, subnet, and machine addressing. There is
     now an 8-byte integer type available on some platforms. See the chapter
     on data types in the User's Guide for details. A fourth type, serial,
     is now supported by the parser as an amalgam of the int4 type, a
     sequence, and a unique index.

   * Several more SQL92-compatible syntax features have been added,
     including INSERT DEFAULT VALUES

   * The automatic configuration and installation system has received some
     attention, and should be more robust for more platforms than it has
     ever been.

Migration to 6.4

A dump/restore using pg_dump or pg_dumpall is required for those wishing to
migrate data from any previous release of Postgres.


Bug Fixes
---------
Fix for a tiny memory leak in PQsetdb/PQfinish(Bryan)
Remove char2-16 data types, use char/varchar(Darren)
Pqfn not handles a NOTICE message(Anders)
Reduced busywaiting overhead for spinlocks with many backends (dg)
Stuck spinlock detection (dg)
Fix up "ISO-style" timespan decoding and encoding(Thomas)
Fix problem with table drop after rollback of transaction(Vadim)
Change error message and remove non-functional update message(Vadim)
Fix for COPY array checking
Fix for SELECT 1 UNION SELECT NULL
Fix for buffer leaks in large object calls(Pascal)
Change owner from oid to int4 type(Bruce)
Fix a bug in the oracle compatibility functions btrim() ltrim() and rtrim()
Fix for shared invalidation cache overflow(Massimo)
Prevent file descriptor leaks in failed COPY's(Bruce)
Fix memory leak in libpgtcl's pg_select(Constantin)
Fix problems with username/passwords over 8 characters(Tom)
Fix problems with handling of asynchronous NOTIFY in backend(Tom)
Fix of many bad system table entries(Tom)

Enhancements
------------
Upgrade ecpg and ecpglib,see src/interfaces/ecpc/ChangeLog(Michael)
Show the index used in an EXPLAIN(Zeugswetter)
EXPLAIN  invokes  rule system and shows plan(s) for rewritten queries(Jan)
Multi-byte awareness of many data types and functions, via configure(Tatsuo)
New configure --with-mb option(Tatsuo)
New initdb --pgencoding option(Tatsuo)
New createdb -E multibyte option(Tatsuo)
Select version(); now returns PostgreSQL version(Jeroen)
Libpq now allows asynchronous clients(Tom)
Allow cancel from client of backend query(Tom)
Psql now cancels query with Control-C(Tom)
Libpq users need not issue dummy queries to get NOTIFY messages(Tom)
NOTIFY now sends sender's PID, so you can tell whether it was your own(Tom)
PGresult struct now includes associated error message, if any(Tom)
Define "tz_hour" and "tz_minute" arguments to date_part()(Thomas)
Add routines to convert between varchar and bpchar(Thomas)
Add routines to allow sizing of varchar and bpchar into target columns(Thomas)
Add bit flags to support timezonehour and minute in data retrieval(Thomas)
Allow more variations on valid floating point numbers (e.g. ".1", "1e6")(Thomas)
Fixes for unary minus parsing with leading spaces(Thomas)
Implement TIMEZONE_HOUR, TIMEZONE_MINUTE per SQL92 specs(Thomas)
Check for and properly ignore FOREIGN KEY column constraints(Thomas)
Define USER as synonym for CURRENT_USER per SQL92 specs(Thomas)
Enable HAVING clause but no fixes elsewhere yet.
Make "char" type a synonym for "char(1)" (actually implemented as bpchar)(Thomas)
Save string type if specified for DEFAULT clause handling(Thomas)
Coerce operations involving different data types(Thomas)
Allow some index use for columns of different types(Thomas)
Add capabilities for automatic type conversion(Thomas)
Cleanups for large objects, so file is truncated on open(Peter)
Readline cleanups(Tom)
Allow psql  \f \ to make spaces as delimiter(Bruce)
Pass pg_attribute.atttypmod to the frontend for column field lengths(Tom,Bruce)
Msql compatibility library in /contrib(Aldrin)
Remove the requirement that ORDER/GROUP BY clause identifiers be
included in the target list(David)
Convert columns to match columns in UNION clauses(Thomas)
Remove fork()/exec() and only do fork()(Bruce)
Jdbc cleanups(Peter)
Show backend status on ps command line(only works on some platforms)(Bruce)
Pg_hba.conf now has a sameuser option in the database field
Make lo_unlink take oid param, not int4
New DISABLE_COMPLEX_MACRO for compilers that can't handle our macros(Bruce)
Libpgtcl now handles NOTIFY as a Tcl event, need not send dummy queries(Tom)
libpgtcl cleanups(Tom)
Add -error option to libpgtcl's pg_result command(Tom)
New locale patch, see docs/README/locale(Oleg)
Fix for pg_dump so CONSTRAINT and CHECK syntax is correct(ccb)
New contrib/lo code for large object orphan removal(Peter)
New psql command "SET CLIENT_ENCODING TO 'encoding'" for multi-bytes
feature, see /doc/README.mb(Tatsuo)
/contrib/noupdate code to revoke update permission on a column
Libpq can now be compiled on win32(Magnus)
Add PQsetdbLogin() in libpq
New 8-byte integer type, checked by configure for OS support(Thomas)
Better support for quoted table/column names(Thomas)
Surround table and column names with double-quotes in pg_dump(Thomas)
PQreset() now works with passwords(Tom)
Handle case of GROUP BY target list column number out of range(David)
Allow UNION in subselects
Add auto-size to screen to \d? commands(Bruce)
Use UNION to show all \d? results in one query(Bruce)
Add \d? field search feature(Bruce)
Pg_dump issues fewer \connect requests(Tom)
Make pg_dump -z flag work better, document it in manual page(Tom)
Add HAVING clause with full support for subselects and unions(Stephan)
Full text indexing routines in contrib/fulltextindex(Maarten)
Transaction ids now stored in shared memory(Vadim)
New PGCLIENTENCODING when issuing COPY command(Tatsuo)
Support for SQL92 syntax "SET NAMES"(Tatsuo)
Support for LATIN2-5(Tatsuo)
Add UNICODE regression test case(Tatsuo)
Lock manager cleanup, new locking modes for LLL(Vadim)
Allow index use with OR clauses(Bruce)
Allows "SELECT NULL ORDER BY 1;"
Explain VERBOSE prints the plan, and now pretty-prints the plan to
the postmaster log file(Bruce)
Add Indices display to \d command(Bruce)
Allow GROUP BY on functions(David)
New pg_class.relkind for large objects(Bruce)
New way to send libpq NOTICE messages to a different location(Tom)
New \w write command to psql(Bruce)
New /contrib/findoidjoins scans oid columns to find join relationships(Bruce)
Allow binary-compatible indices to be considered when checking for valid
indices for restriction clauses containing a constant(Thomas)
New ISBN/ISSN code in /contrib/isbn_issn
Allow NOT LIKE, IN, NOT IN, BETWEEN, and NOT BETWEEN constraint(Thomas)
New rewrite system fixes many problems with rules and views(Jan)
        * Rules on relations work
        * Event qualifications on insert/update/delete work
        * New OLD variable to reference CURRENT, CURRENT will be remove in future
        * Update rules can reference NEW and OLD in rule qualifications/actions
        * Insert/update/delete rules on views work
        * Multiple rule actions are now supported, surrounded by parentheses
        * Regular users can create views/rules on tables they have RULE permits
        * Rules and views inherit the permissions on the creator
        * No rules at the column level
        * No UPDATE NEW/OLD rules
        * New pg_tables, pg_indexes, pg_rules and pg_views system views
        * Only a single action on SELECT rules
        * Total rewrite overhaul, perhaps for 6.5
        * handle subselects
        * handle aggregates on views
        * handle insert into select from view works
System indexes are now multi-key(Bruce)
Oidint2, oidint4, and oidname types are removed(Bruce)
Use system cache for more system table lookups(Bruce)
New backend programming language PL/pgSQL in backend/pl(Jan)
New SERIAL data type, auto-creates sequence/index(Thomas)
Enable assert checking without a recompile(Massimo)
User lock enhancements(Massimo)
New setval() command to set sequence value(Massimo)
Auto-remove unix socket file on start-up if no postmaster running(Massimo)
Conditional trace package(Massimo)
New UNLISTEN command(Massimo)
Psql and libpq now compile under win32 using win32.mak(Magnus)
Lo_read no longer stores trailing NULL(Bruce)
Identifiers are now truncated to 31 characters internally(Bruce)
Createuser options now availble on the command line
Code for 64-bit integer supported added, configure tested, int8 type(Thomas)
Prevent file descriptor leaf from failed COPY(Bruce)
New pg_upgrade command(Bruce)
Updated /contrib directories(Massimo)
New CREATE TABLE DEFAULT VALUES statement available(Thomas)
New INSERT INTO TABLE DEFAULT VALUES statement available(Thomas)
New DECLARE and FETCH feature(Thomas)
libpq's internal structures now not exported(Tom)
Allow up to 8 key indexes(Bruce)
Remove ARCHIVE keyword, that is no longer used(Thomas)
pg_dump -n flag to supress quotes around indentifiers
disable system columns for views(Jan)
new INET and CIDR types for network addresses(TomH, Paul)
no more double quotes in psql output
pg_dump now dumps views(Terry)
new SET QUERY_LIMIT(Tatsuo,Jan)

Source Tree Changes
-------------------
/contrib cleanup(Jun)
Inline some small functions called for every row(Bruce)
Alpha/linux fixes
Hp/UX cleanups(Tom)
Multi-byte regression tests(Soonmyung.)
Remove --disabled options from configure
Define PGDOC to use POSTGRESDIR by default
Make regression optional
Remove extra braces code to pgindent(Bruce)
Add bsdi shared library support(Bruce)
New --without-CXX support configure option(Brook)
New FAQ_CVS
Update backend flowchart in tools/backend(Bruce)
Change atttypmod from int16 to int32(Bruce, Tom)
Getrusage() fix for platforms that do not have it(Tom)
Add PQconnectdb, PGUSER, PGPASSWORD to libpq man page
NS32K platform fixes(Phil Nelson, John Buller)
Sco 7/UnixWare 2.x fixes(Billy,others)
Sparc/Solaris 2.5 fixes(Ryan)
Pgbuiltin.3 is obsolete, move to doc files(Thomas)
Even more documention(Thomas)
Nextstep support(Jacek)
Aix support(David)
pginterface manual page(Bruce)
shared libraries all have version numbers
merged all OS-specific shared library defines into one file
smarter TCL/TK configuration checking(Billy)
smarter perl configuration(Brook)
configure uses supplied install-sh if no install script found(Tom)
new Makefile.shlib for shared library configuration(Tom)



  ------------------------------------------------------------------------
                                Release 6.3.2
  ------------------------------------------------------------------------


Release 6.3.2  (1998-04-07)

This is a bugfix release for 6.3.x. Refer to the release notes for v6.3 for
a more complete summary of new features.

Summary:

   * Repairs automatic configuration support for some platforms, including
     Linux, from breakage inadvertently introduced in v6.3.1.

   * Correctly handles function calls on the left side of BETWEEN and LIKE
     clauses.

A dump/restore is NOT required for those running 6.3 or 6.3.1. A 'make
distclean', 'make', and 'make install' is all that is required. This last
step should be performed while the postmaster is not running. You should
re-link any custom applications that use Postgres libraries.

For upgrades from pre-v6.3 installations, refer to the installation and
migration instructions for v6.3.


Changes
-------
Configure detection improvements for tcl/tk(Brook Milligan, Alvin)
Manual page improvements(Bruce)
BETWEEN and LIKE fix(Thomas)
fix for psql \connect used by pg_dump(Oliver Elphick)
New odbc driver
pgaccess, version 0.86
qsort removed, now uses libc version, cleanups(Jeroen)
fix for buffer over-runs detected(Maurice Gittens)
fix for buffer overrun in libpgtcl(Randy Kunkee)
fix for UNION with DISTINCT or ORDER BY(Bruce)
gettimeofday configure check(Doug Winterburn)
Fix "indexes not used" bug(Vadim)
docs additions(Thomas)
Fix for backend memory leak(Bruce)
libreadline cleanup(Erwan MAS)
Remove DISTDIR(Bruce)
Makefile dependency cleanup(Jeroen van Vianen)
ASSERT fixes(Bruce)



  ------------------------------------------------------------------------
                                Release 6.3.1
  ------------------------------------------------------------------------


Release 6.3.1  (1998-03-23)

Summary:

   * Additional support for multi-byte character sets.

   * Repair byte ordering for mixed-endian clients and servers.

   * Minor updates to allowed SQL syntax.

   * Improvements to the configuration autodetection for installation.

A dump/restore is NOT required for those running 6.3. A 'make distclean',
'make', and 'make install' is all that is required. This last step should be
performed while the postmaster is not running. You should re-link any custom
applications that use Postgres libraries.

For upgrades from pre-v6.3 installations, refer to the installation and
migration instructions for v6.3.


Changes
-------
ecpg cleanup/fixes, now version 1.1(Michael Meskes)
pg_user cleanup(Bruce)
large object fix for pg_dump and tclsh (alvin)
LIKE fix for multiple adjacent underscores
fix for redefining builtin functions(Thomas)
ultrix4 cleanup
upgrade to pg_access 0.83
updated CLUSTER manual page
multi-byte character set support, see doc/README.mb(Tatsuo)
configure --with-pgport fix
pg_ident fix
big-endian fix for backend communications(Kataoka)
SUBSTR() and substring() fix(Jan)
several jdbc fixes(Peter)
libpgtcl improvements, see libptcl/README(Randy Kunkee)
Fix for "Datasize = 0" error(Vadim)
Prevent \do from wrapping(Bruce)
Remove duplicate Russian character set entries
Sunos4 cleanup
Allow optional TABLE keyword in LOCK and SELECT INTO(Thomas)
CREATE SEQUENCE options to allow a negative integer(Thomas)
Add "PASSWORD" as an allowed column identifier(Thomas)
Add checks for UNION target fields(Bruce)
Fix Alpha port(Dwayne Bailey)
Fix for text arrays containing quotes(Doug Gibson)
Solaris compile fix(Albert Chin-A-Young)
Better identify tcl and tk libs and includes(Bruce)



  ------------------------------------------------------------------------
                                Release 6.3
  ------------------------------------------------------------------------


Release 6.3  (1998-03-01)

There are many new features and improvements in this release. Here is a
brief, incomplete summary:

   * Many new SQL features, including full SQL92 subselect capability
     (everything is here but target-list subselects).

   * Support for client-side environment variables to specify time zone and
     date style.
d1724 75
a1798 2
   * Socket interface for client/server connection. This is the default now
     so you may need to start postmaster with the "-i" flag.
d1800 1
a1800 2
   * Better password authorization mechanisms. Default table permissions
     have changed.
d1802 330
a2131 2
   * Old-style "time travel" has been removed. Performance has been
     improved.
d2136 290
a2425 745
There are some general 6.3 issues that I want to mention. These are only the
big items that can not be described in one sentence. A review of the
detailed changes list is still needed.

First, we now have subselects. Now that we have them, I would like to
mention that without subselects, SQL is a very limited language. Subselects
are a major feature, and you should review your code for places where
subselects provide a better solution for your queries. I think you will find
that there are more uses for subselects than you may think. Vadim has put us
on the big SQL map with subselects, and fully functional ones too. The only
thing you can't do with subselects is to use them in the target list.

Second, 6.3 uses unix domain sockets rather than TCP/IP by default. To
enable connections from other machines, you have to use the new postmaster
-i option, and of course edit pg_hba.conf. Also, for this reason, the format
of pg_hba.conf has changed.

Third, char() fields will now allow faster access than varchar() or text.
Specifically, the text and varchar() have a penalty for access to any
columns after the first column of this type. char() used to also have this
access penalty, but it no longer does. This may suggest that you redesign
some of your tables, especially if you have short character columns that you
have defined as varchar() or text. This and other changes make 6.3 even
faster than earlier releases.

We now have passwords definable independent of any Unix file. There are new
SQL USER commands. See the pg_hba.conf manual page for more information.
There is a new table, pg_shadow, which is used to store user information and
user passwords, and it by default only SELECT-able by the postgres
super-user. pg_user is now a view of pg_shadow, and is SELECT-able by
PUBLIC. You should keep using pg_user in your application without changes.

User-created tables now no longer have SELECT permission to PUBLIC by
default. This was done because the ANSI standard requires it. You can of
course GRANT any permissions you want after the table is created. System
tables continue to be SELECT-able by PUBLIC.

We also have real deadlock detection code. No more sixty-second timeouts.
And the new locking code implements a FIFO better, so there should be less
resource starvation during heavy use.

Many complaints have been made about inadequate documenation in previous
releases. Thomas has put much effort into many new manuals for this release.
Check out the doc/ directory.

For performance reasons, time travel is gone, but can be implemented using
triggers (see pgsql/contrib/spi/README). Please check out the new \d command
for types, operators, etc. Also, views have their own permissions now, not
based on the underlying tables, so permissions on them have to be set
separately. Check /pgsql/interfaces for some new ways to talk to Postgres.

This is the first release that really required an explanation for existing
users. In many ways, this was necessary because the new release removes many
limitations, and the work-arounds people were using are no longer needed.

Migration to v6.3

A dump/restore using pg_dump or pg_dumpall is required for those wishing to
migrate data from any previous release of Postgres.


Bug Fixes
---------
Fix binary cursors broken by MOVE implementation(Vadim)
Fix for tcl library crash(Jan)
Fix for array handling, from Gerhard Hintermayer
Fix acl error, and remove duplicate pqtrace(Bruce)
Fix psql \e for empty file(Bruce)
Fix for textcat on varchar() fields(Bruce)
Fix for DBT Sendproc (Zeugswetter Andres)
Fix vacuum analyze syntax problem(Bruce)
Fix for international identifiers(Tatsuo)
Fix aggregates on inherited tables(Bruce)
Fix substr() for out-of-bounds data
Fix for select 1=1 or 2=2, select 1=1 and 2=2, and select sum(2+2)(Bruce)
Fix notty output to show status result.  -q option still turns it off(Bruce)
Fix for count(*), aggs with views and multiple tables and sum(3)(Bruce)
Fix cluster(Bruce)
Fix for PQtrace start/stop several times(Bruce)
Fix a variety of locking problems like newer lock waiters getting
        lock before older waiters, and having readlock people not share
        locks if a writer is waiting for a lock, and waiting writers not
        getting priority over waiting readers(Bruce)
Fix crashes in psql when executing queries from external files(James)
Fix problem with multiple order by columns, with the first one having
        NULL values(Jeroen)
Use correct hash table support functions for float8 and int4(Thomas)
Re-enable JOIN= option in CREATE OPERATOR statement (Thomas)
Change precedence for boolean operators to match expected behavior(Thomas)
Generate elog(ERROR) on over-large integer(Bruce)
Allow multiple-argument functions in constraint clauses(Thomas)
Check boolean input literals for 'true','false','yes','no','1','0'
        and throw elog(ERROR) if unrecognized(Thomas)
Major large objects fix
Fix for GROUP BY showing duplicates(Vadim)
Fix for index scans in MergeJion(Vadim)

Enhancements
------------
Subselects with EXISTS, IN, ALL, ANY keywords (Vadim, Bruce, Thomas)
New User Manual(Thomas, others)
Speedup by inlining some frequently-called functions
Real deadlock detection, no more timeouts(Bruce)
Add SQL92 "constants" CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP,
        CURRENT_USER(Thomas)
Modify constraint syntax to be SQL92-compliant(Thomas)
Implement SQL92 PRIMARY KEY and UNIQUE clauses using indices(Thomas)
Recognize SQL92 syntax for FOREIGN KEY. Throw elog notice(Thomas)
Allow NOT NULL UNIQUE constraint clause (each allowed separately before)(Thomas)
Allow Postgres-style casting ("::") of non-constants(Thomas)
Add support for SQL3 TRUE and FALSE boolean constants(Thomas)
Support SQL92 syntax for IS TRUE/IS FALSE/IS NOT TRUE/IS NOT FALSE(Thomas)
Allow shorter strings for boolean literals (e.g. "t", "tr", "tru")(Thomas)
Allow SQL92 delimited identifiers(Thomas)
Implement SQL92 binary and hexadecimal string decoding (b'10' and x'1F')(Thomas)
Support SQL92 syntax for type coercion of literal strings
        (e.g. "DATETIME 'now'")(Thomas)
Add conversions for int2, int4, and OID types to and from text(Thomas)
Use shared lock when building indices(Vadim)
Free memory allocated for an user query inside transaction block after
        this query is done, was turned off in <= 6.2.1(Vadim)
New SQL statement CREATE PROCEDURAL LANGUAGE(Jan)
New Postgres Procedural Language (PL) backend interface(Jan)
Rename pg_dump -H option to -h(Bruce)
Add Java support for passwords, European dates(Peter)
Use indices for LIKE and ~, !~ operations(Bruce)
Add hash functions for datetime and timespan(Thomas)
Time Travel removed(Vadim, Bruce)
Add paging for \d and \z, and fix \i(Bruce)
Add Unix domain socket support to backend and to frontend library(Goran)
Implement CREATE DATABASE/WITH LOCATION and initlocation utility(Thomas)
Allow more SQL92 and/or Postgres reserved words as column identifiers(Thomas)
Augment support for SQL92 SET TIME ZONE...(Thomas)
SET/SHOW/RESET TIME ZONE uses TZ backend environment variable(Thomas)
Implement SET keyword = DEFAULT and SET TIME ZONE DEFAULT(Thomas)
Enable SET TIME ZONE using TZ environment variable(Thomas)
Add PGDATESTYLE environment variable to frontend and backend initialization(Thomas)
Add PGTZ, PGCOSTHEAP, PGCOSTINDEX, PGRPLANS, PGGEQO
        frontend library initialization environment variables(Thomas)
Regression tests time zone automatically set with "setenv PGTZ PST8PDT"(Thomas)
Add pg_description table for info on tables, columns, operators, types, and
        aggregates(Bruce)
Increase 16 char limit on system table/index names to 32 characters(Bruce)
Rename system indices(Bruce)
Add 'GERMAN' option to SET DATESTYLE(Thomas)
Define an "ISO-style" timespan output format with "hh:mm:ss" fields(Thomas)
Allow fractional values for delta times (e.g. '2.5 days')(Thomas)
Validate numeric input more carefully for delta times(Thomas)
Implement day of year as possible input to date_part()(Thomas)
Define timespan_finite() and text_timespan() functions(Thomas)
Remove archive stuff(Bruce)
Allow for a pg_password authentication database that is separate from
        the system password file(Todd)
Dump ACLs, GRANT, REVOKE permissions(Matt)
Define text, varchar, and bpchar string length functions(Thomas)
Fix Query handling for inheritance, and cost computations(Bruce)
Implement CREATE TABLE/AS SELECT (alternative to SELECT/INTO)(Thomas)
Allow NOT, IS NULL, IS NOT NULL in constraints(Thomas)
Implement UNIONs for SELECT(Bruce)
Add UNION, GROUP, DISTINCT to INSERT(Bruce)
varchar() stores only necessary bytes on disk(Bruce)
Fix for BLOBs(Peter)
Mega-Patch for JDBC...see README_6.3 for list of changes(Peter)
Remove unused "option" from PQconnectdb()
New LOCK command and lock manual page describing deadlocks(Bruce)
Add new psql \da, \dd, \df, \do, \dS, and \dT commands(Bruce)
Enhance psql \z to show sequences(Bruce)
Show NOT NULL and DEFAULT in psql \d table(Bruce)
New psql .psqlrc file start-up(Andrew)
Modify sample start-up script in contrib/linux to show syslog(Thomas)
New types for IP and MAC addresses in contrib/ip_and_mac(TomH)
Unix system time conversions with date/time types in contrib/unixdate(Thomas)
Update of contrib stuff(Massimo)
Add Unix socket support to DBD::Pg(Goran)
New python interface (PyGreSQL 2.0)(D'Arcy)
New frontend/backend protocol has a version number, network byte order(Phil)
Security features in pg_hba.conf enhanced and documented, many cleanups(Phil)
CHAR() now faster access than VARCHAR() or TEXT
ecpg embedded SQL preprocessor
Reduce system column overhead(Vadmin)
Remove pg_time table(Vadim)
Add pg_type attribute to identify types that need length (bpchar, varchar)
Add report of offending line when COPY command fails
Allow VIEW permissions to be set separately from the underlying tables.
        For security, use GRANT/REVOKE on views as appropriate(Jan)
Tables now have no default GRANT SELECT TO PUBLIC.  You must
        explicitly grant such permissions.
Clean up tutorial examples(Darren)

Source Tree Changes
-------------------
Add new html development tools, and flow chart in /tools/backend
Fix for SCO compiles
Stratus computer port Robert Gillies
Added support for shlib for BSD44_derived & i386_solaris
Make configure more automated(Brook)
Add script to check regression test results
Break parser functions into smaller files, group together(Bruce)
Rename heap_create to heap_create_and_catalog, rename heap_creatr
        to heap_create()(Bruce)
Sparc/Linux patch for locking(TomS)
Remove PORTNAME and reorganize port-specific stuff(Marc)
Add optimizer README file(Bruce)
Remove some recursion in optimizer and clean up some code there(Bruce)
Fix for NetBSD locking(Henry)
Fix for libptcl make(Tatsuo)
AIX patch(Darren)
Change IS TRUE, IS FALSE, ... to expressions using "=" rather than
        function calls to istrue() or isfalse() to allow optimization(Thomas)
Various fixes NetBSD/Sparc related(TomH)
Alpha linux locking(Travis,Ryan)
Change elog(WARN) to elog(ERROR)(Bruce)
FAQ for FreeBSD(Marc)
Bring in the PostODBC source tree as part of our standard distribution(Marc)
A minor patch for HP/UX 10 vs 9(Stan)
New pg_attribute.atttypmod for type-specific info like varchar length(Bruce)
Unixware patches(Billy)
New i386 'lock' for spin lock asm(Billy)
Support for multiplexed backends is removed
Start an OpenBSD port
Start an AUX port
Start a Cygnus port
Add string functions to regression suite(Thomas)
Expand a few function names formerly truncated to 16 characters(Thomas)
Remove un-needed malloc() calls and replace with palloc()(Bruce)



  ------------------------------------------------------------------------
                                Release 6.2.1
  ------------------------------------------------------------------------


Release 6.2.1  (1997-10-17)

This is a bug-fix and usability release on v6.2.

Summary:

   * Allow strings to span lines, per SQL92.

   * Include example trigger function for inserting user names on table
     updates.

This is a minor bug-fix release on v6.2. For upgrades from pre-v6.2 systems,
a full dump/reload is required. Refer to the v6.2 release notes for
instructions.

Migration from v6.2 to v6.2.1

This is a minor bug-fix release. A dump/reload is not required from v6.2,
but is required from any release prior to v6.2.

In upgrading from v6.2, if you choose to dump/reload you will find that
avg(money) is now calculated correctly. All other bug fixes take effect upon
updating the executables.

Another way to avoid dump/reload is to use the following SQL command from
psql to update the existing system table:

  update pg_aggregate set aggfinalfn = 'cash_div_flt8'
   where aggname = 'avg' and aggbasetype = 790;

This will need to be done to every existing database, including template1.


Changes
-------
Allow TIME and TYPE column names(Thomas)
Allow larger range of true/false as boolean values(Thomas)
Support output of "now" and "current"(Thomas)
Handle DEFAULT with INSERT of NULL properly(Vadim)
Fix for relation reference counts problem in buffer manager(Vadim)
Allow strings to span lines, like ANSI(Thomas)
Fix for backward cursor with ORDER BY(Vadim)
Fix avg(cash) computation(Thomas)
Fix for specifying a column twice in ORDER/GROUP BY(Vadim)
Documented new libpq function to return affected rows, PQcmdTuples(Bruce)
Trigger function for inserting user names for INSERT/UPDATE(Brook Milligan)



  ------------------------------------------------------------------------
                                Release 6.2
  ------------------------------------------------------------------------


Release 6.2  (1997-10-02)


A dump/restore is required for those wishing to migrate data from previous
releases of Postgres.

Migration from v6.1 to v6.2

This migration requires a complete dump of the 6.1 database and a restore of
the database in 6.2.

Note that the pg_dump and pg_dumpall utility from 6.2 should be used to dump
the 6.1 database.

Migration from v1.x to v6.2

Those migrating from earlier 1.* releases should first upgrade to 1.09
because the COPY output format was improved from the 1.02 release.


Bug Fixes
---------
Fix problems with pg_dump for inheritance, sequences, archive tables(Bruce)
Fix compile errors on overflow due to shifts, unsigned, and bad prototypes
         from Solaris(Diab Jerius)
Fix bugs in geometric line arithmetic (bad intersection calculations)(Thomas)
Check for geometric intersections at endpoints to avoid rounding ugliness(Thomas)
Catch non-functional delete attempts(Vadim)
Change time function names to be more consistent(Michael Reifenberg)
Check for zero divides(Michael Reifenberg)
Fix very old bug which made tuples changed/inserted by a commnd
        visible to the command itself (so we had multiple update of
        updated tuples, etc)(Vadim)
Fix for SELECT null, 'fail' FROM pg_am (Patrick)
SELECT NULL as EMPTY_FIELD now allowed(Patrick)
Remove un-needed signal stuff from contrib/pginterface
Fix OR (where x != 1 or x isnull didn't return tuples with x NULL) (Vadim)
Fix time_cmp function (Vadim)
Fix handling of functions with non-attribute first argument in
        WHERE clauses (Vadim)
Fix GROUP BY when order of entries is different from order
        in target list (Vadim)
Fix pg_dump for aggregates without sfunc1 (Vadim)

Enhancements
------------
Default genetic optimizer GEQO parameter is now 8(Bruce)
Allow use parameters in target list having aggregates in functions(Vadim)
Added JDBC driver as an interface(Adrian & Peter)
pg_password utility
Return number of tuples inserted/affected by INSERT/UPDATE/DELETE etc.(Vadim)
Triggers implemented with CREATE TRIGGER (SQL3)(Vadim)
SPI (Server Programming Interface) allows execution of queries inside
        C-functions (Vadim)
NOT NULL implemented (SQL92)(Robson Paniago de Miranda)
Include reserved words for string handling, outer joins, and unions(Thomas)
Implement extended comments ("/* ... */") using exclusive states(Thomas)
Add "//" single-line comments(Bruce)
Remove some restrictions on characters in operator names(Thomas)
DEFAULT and CONSTRAINT for tables implemented (SQL92)(Vadim & Thomas)
Add text concatenation operator and function (SQL92)(Thomas)
Support WITH TIME ZONE syntax (SQL92)(Thomas)
Support INTERVAL unit TO unit syntax (SQL92)(Thomas)
Define types DOUBLE PRECISION, INTERVAL, CHARACTER,
        and CHARACTER VARYING (SQL92)(Thomas)
Define type FLOAT(p) and rudimentary DECIMAL(p,s), NUMERIC(p,s) (SQL92)(Thomas)
Define EXTRACT(), POSITION(), SUBSTRING(), and TRIM() (SQL92)(Thomas)
Define CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP (SQL92)(Thomas)
Add syntax and warnings for UNION, HAVING, INNER and OUTER JOIN (SQL92)(Thomas)
Add more reserved words, mostly for SQL92 compliance(Thomas)
Allow hh:mm:ss time entry for timespan/reltime types(Thomas)
Add center() routines for lseg, path, polygon(Thomas)
Add distance() routines for circle-polygon, polygon-polygon(Thomas)
Check explicitly for points and polygons contained within polygons
        using an axis-crossing algorithm(Thomas)
Add routine to convert circle-box(Thomas)
Merge conflicting operators for different geometric data types(Thomas)
Replace distance operator "<===>" with "<->"(Thomas)
Replace "above" operator "!^" with ">^" and "below" operator "!|" with "<^"(Thomas)
Add routines for text trimming on both ends, substring, and string position(Thomas)
Added conversion routines circle(box) and poly(circle)(Thomas)
Allow internal sorts to be stored in memory rather than in files(Bruce & Vadim)
Allow functions and operators on internally-identical types to succeed(Bruce)
Speed up backend start-up after profiling analysis(Bruce)
Inline frequently called functions for performance(Bruce)
Reduce open() calls(Bruce)
psql:  Add PAGER for \h and \?,\C fix
Fix for psql pager when no tty(Bruce)
New entab utility(Bruce)
General trigger functions for referential integrity (Vadim)
General trigger functions for time travel (Vadim)
General trigger functions for AUTOINCREMENT/IDENTITY feature (Vadim)
MOVE implementation (Vadim)

Source Tree Changes
-------------------
HPUX 10 patches (Vladimir Turin)
Added SCO support, (Daniel Harris)
mkLinux patches (Tatsuo Ishii)
Change geometric box terminology from "length" to "width"(Thomas)
Deprecate temporary unstored slope fields in geometric code(Thomas)
Remove restart instructions from INSTALL(Bruce)
Look in /usr/ucb first for install(Bruce)
Fix c++ copy example code(Thomas)
Add -o to psql manual page(Bruce)
Prevent relname unallocated string length from being copied into database(Bruce)
Cleanup for NAMEDATALEN use(Bruce)
Fix pg_proc names over 15 chars in output(Bruce)
Add strNcpy() function(Bruce)
remove some (void) casts that are unnecessary(Bruce)
new interfaces directory(Marc)
Replace fopen() calls with calls to fd.c functions(Bruce)
Make functions static where possible(Bruce)
enclose unused functions in #ifdef NOT_USED(Bruce)
Remove call to difftime() in timestamp support to fix SunOS(Bruce & Thomas)
Changes for Digital Unix
Portability fix for pg_dumpall(Bruce)
Rename pg_attribute.attnvals to attdispersion(Bruce)
"intro/unix" manual page now "pgintro"(Bruce)
"built-in" manual page now "pgbuiltin"(Bruce)
"drop" manual page now "drop_table"(Bruce)
Add "create_trigger", "drop_trigger" manual pages(Thomas)
Add constraints regression test(Vadim & Thomas)
Add comments syntax regression test(Thomas)
Add PGINDENT and support program(Bruce)
Massive commit to run PGINDENT on all *.c and *.h files(Bruce)
Files moved to /src/tools directory(Bruce)
SPI and Trigger programming guides (Vadim & D'Arcy)



  ------------------------------------------------------------------------
                                Release 6.1.1
  ------------------------------------------------------------------------


Release 6.1.1  (1997-07-22)

Migration from v6.1 to v6.1.1

This is a minor bug-fix release. A dump/reload is not required from v6.1,
but is required from any release prior to v6.1. Refer to the release notes
for v6.1 for more details.


Changes
-------
fix for SET with options (Thomas)
allow pg_dump/pg_dumpall to preserve ownership of all tables/objects(Bruce)
new psql \connect option allows changing usernames without changing databases
fix for initdb --debug option(Yoshihiko Ichikawa))
lextest cleanup(Bruce)
hash fixes(Vadim)
fix date/time month boundary arithmetic(Thomas)
fix timezone daylight handling for some ports(Thomas, Bruce, Tatsuo)
timestamp overhauled to use standard functions(Thomas)
other code cleanup in date/time routines(Thomas)
psql's \d now case-insensitive(Bruce)
psql's backslash commands can now have trailing semicolon(Bruce)
fix memory leak in psql when using \g(Bruce)
major fix for endian handling of communication to server(Thomas, Tatsuo)
Fix for Solaris assembler and include files(Yoshihiko Ichikawa)
allow underscores in usernames(Bruce)
pg_dumpall now returns proper status, portability fix(Bruce)



  ------------------------------------------------------------------------
                                Release 6.1
  ------------------------------------------------------------------------


Release 6.1  (1997-06-08)


The regression tests have been adapted and extensively modified for the v6.1
release of Postgres.

Three new data types (datetime, timespan, and circle) have been added to the
native set of Postgres types. Points, boxes, paths, and polygons have had
their output formats made consistant across the data types. The polygon
output in misc.out has only been spot-checked for correctness relative to
the original regression output.

Postgres v6.1 introduces a new, alternate optimizer which uses genetic
algorithms. These algorithms introduce a random behavior in the ordering of
query results when the query contains multiple qualifiers or multiple tables
(giving the optimizer a choice on order of evaluation). Several regression
tests have been modified to explicitly order the results, and hence are
insensitive to optimizer choices. A few regression tests are for data types
which are inherently unordered (e.g. points and time intervals) and tests
involving those types are explicitly bracketed with set geqo to 'off' and
reset geqo.

The interpretation of array specifiers (the curly braces around atomic
values) appears to have changed sometime after the original regression tests
were generated. The current ./expected/*.out files reflect this new
interpretation, which may not be correct!

The float8 regression test fails on at least some platforms. This is due to
differences in implementations of pow() and exp() and the signaling
mechanisms used for overflow and underflow conditions.

The "random" results in the random test should cause the "random" test to be
"failed", since the regression tests are evaluated using a simple diff.
However, "random" does not seem to produce random results on my test machine
(Linux/gcc/i686).

Migration to v6.1

This migration requires a complete dump of the 6.0 database and a restore of
the database in 6.1.

Those migrating from earlier 1.* releases should first upgrade to 1.09
because the COPY output format was improved from the 1.02 release.


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)
select SUM(x) can return NULL on no rows(Thomas)
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)
fix buffer leak in hash indices (Vadim)
fix rtree for use in inner scan (Vadim)
fix gist for use in inner scan, cleanups (Vadim, Andrea)
avoid unnecessary local buffers allocation (Vadim, Massimo)
fix local buffers leak in transaction aborts (Vadim)
fix file manager memmory leaks, cleanups (Vadim, Massimo)
fix storage manager memmory leaks (Vadim)
fix btree duplicates handling (Vadim)
fix deleted tuples re-incarnation caused by vacuum (Vadim)
fix SELECT varchar()/char() INTO TABLE made zero-length fields(Bruce)
many psql, pg_dump, and libpq memory leaks fixed using Purify (Igor)

Enhancements
------------
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)
massive changes to libpg++(Leo)
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)
update transaction status on reads(Dan)
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)
new MONEY data type(D'Arcy,Thomas)
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)
new datestyle variable(Thomas,Vadim,Martin)
more comparison operators for sorting types(Thomas)
new conversion functions(Thomas)
new more compact btree format(Vadim)
allow pg_dumpall to preserve database ownership(Bruce)
new SET GEQO=# and R_PLANS variable(Vadim)
old (!GEQO) optimizer can use right-sided plans (Vadim)
typechecking improvement in SQL parser(Bruce)
new SET, SHOW, RESET commands(Thomas,Vadim)
new \connect database USER option
new destroydb -i option (Igor)
new \dt and \di psql commands (Darren)
SELECT "\n" now escapes newline (A. Duursma)
new geometry conversion functions from old format (Thomas)

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)
DG-UX, Ultrix, Irix, AIX portability fixes



  ------------------------------------------------------------------------
                                Release 6.0
  ------------------------------------------------------------------------


Release 6.0  (1997-01-29)


A dump/restore is required for those wishing to migrate data from previous
releases of Postgres.

Migration from v1.09 to v6.0

This migration requires a complete dump of the 1.09 database and a restore
of the database in 6.0.

Migration from pre-v1.09 to v6.0

Those migrating from earlier 1.* releases should first upgrade to 1.09
because the COPY output format was improved from the 1.02 release.


Bug Fixes
---------
ALTER TABLE bug - running postgress process needs to re-read table definition
Allow vacuum to be run on one table or entire database(Bruce)
Array fixes
Fix array over-runs of memory writes(Kurt)
Fix elusive btree range/non-range bug(Dan)
Fix for hash indexes on some types like time and date
Fix for pg_log size explosion
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
NOTIFY fixes
New asserts for run-checking
Overhauled parser/analyze code to properly report errors and increase speed
Pg_dump -d now handles NULL's properly(Bruce)
Prevent SELECT NULL from crashing server (Bruce)
Properly report errors when INSERT ... SELECT columns did not match
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)
Submitting 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)
Allow "select oid,* from table"
Allow BY,ORDER BY to specify columns by number, or by non-alias table.column(Bruce)
Allow COPY from the frontend(Bryan)
Allow GROUP BY to use alias column name(Bruce)
Allow actual compression, not just reuse on the same page(Vadim)
Allow installation-configuration option to auto-add all local users(Bryan)
Allow libpq to distinguish between text value '' and null(Bruce)
Allow non-postgres users with createdb privs to destroydb's
Allow restriction on who can create C functions(Bryan)
Allow restriction on who can do backend COPY(Bryan)
Can shrink tables, pg_time and pg_log(Vadim & Erich)
Change debug level 2 to print queries only, changed debug heading layout(Bruce)
Change default decimal constant representation from float4 to float8(Bruce)
European date format now set when postmaster is started
Execute lowercase function names if not found with exact case
Fixes for aggregate/GROUP processing, allow 'select sum(func(x),sum(x+y) from z'
Gist now included in the distrubution(Marc)
Idend authentication of local users(Bryan)
Implement BETWEEN qualifier(Bruce)
Implement IN qualifier(Bruce)
Libpq has PQgetisnull()(Bruce)
Libpq++ improvements
New options to initdb(Bryan)
Pg_dump allow dump of oid's(Bruce)
Pg_dump create indexes after tables are loaded for speed(Bruce)
Pg_dumpall dumps all databases, and the user table
Pginterface additions for NULL values(Bruce)
Prevent postmaster from being run as root
Psql \h and \? is now readable(Bruce)
Psql allow backslashed, semicolons anywhere on the line(Bruce)
Psql changed command prompt for lines in query or in quotes(Bruce)
Psql char(3) now displays as (bp)char in \d output(Bruce)
Psql return code now more accurate(Bryan?)
Psql updated help syntax(Bruce)
Re-visit and fix vacuum(Vadim)
Reduce size of regression diffs, remove timezone name difference(Bruce)
Remove compile-time parameters to enable binary distributions(Bryan)
Reverse meaning of HBA masks(Bryan)
Secure Authentication of local users(Bryan)
Speed up vacuum(Vadim)
Vacuum now had VERBOSE option(Bruce)

Source tree changes
-------------------
All functions now have prototypes that are compared against the calls
Allow asserts to be disabled easly from Makefile.global(Bruce)
Change oid constants used in code to #define names
Decoupled sparc and solaris defines(Kurt)
Gcc -Wall compiles cleanly with warnings only from unfixable constructs
Major include file reorganization/reduction(Marc)
Make now stops on compile failure(Bryan)
Makefile restructuring(Bryan, Marc)
Merge bsdi_2_1 to bsdi(Bruce)
Monitor program removed
Name change from Postgres95 to PostgreSQL
New config.h file(Marc, Bryan)
PG_VERSION now set to 6.0 and used by postmaster
Portability additions, including Ultrix, DG/UX, AIX, and Solaris
Reduced the number of #define's, centeralized #define's
Remove duplicate OIDS in system tables(Dan)
Remove duplicate system catalog info or report mismatches(Dan)
Removed many os-specific #define's
Restructured object file generation/location(Bryan, Marc)
Restructured port-specific file locations(Bryan, Marc)
Unused/uninialized variables corrected



  ------------------------------------------------------------------------
                                Release 1.09
  ------------------------------------------------------------------------


Release v1.09  (1996-11-04)

Sorry, we didn't keep track of changes from 1.02 to 1.09. Some of the
changes listed in 6.0 were actually included in the 1.02.1 to 1.09
releases.



  ------------------------------------------------------------------------
                                Release 1.02
  ------------------------------------------------------------------------
d2427 1
d2429 1
a2429 1
Release 1.02  (1996-08-01)
d2431 2
a2432 1
Migration from v1.02 to v1.02.1
d2434 468
a2901 2
Here is a new migration file for 1.02.1. It includes the 'copy' change and a
script to convert old ascii files.
d2904 1
a2904 2
     migrate databases from postgres95 1.01 and 1.02 to postgres95
     1.02.1.
d2906 2
a2907 2
     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.
d2909 2
a2910 2
In order to upgrade older postgres95 version 1.01 or 1.02 databases to
version 1.02.1, the following steps are required:
d2912 1
a2912 1
  1. Start up a new 1.02.1 postmaster
d2914 6
a2919 6
  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:
d2921 1
a2921 1
             % psql testdb -f addfunc.sql
d2923 5
a2927 3
     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.
d2931 406
a3336 481
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.

        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);

Detailed Change List

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



  ------------------------------------------------------------------------
                                Release 1.01
  ------------------------------------------------------------------------


Postgres95 Release 1.01  (1996-02-23)


Migration from v1.0 to v1.01

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

  8. 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

     and then execute the following commands (cut and paste from here):

     -- 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);

Detailed Change List

Incompatibilities:
 * 1.01 is backwards compatible with 1.0 database provided the user
   follow the steps outlined in the MIGRATION_from_1.0_to_1.01 file.
   If those steps are not taken, 1.01 is not compatible with 1.0 database.

Enhancements:
 * added PQdisplayTuples() to libpq and changed monitor and psql to use it
 * added NeXT port (requires SysVIPC implementation)
 * added CAST .. AS ... syntax
 * added ASC and DESC keywords
 * added 'internal' as a possible language for CREATE FUNCTION
   internal functions are C functions which have been statically linked
   into the postgres backend.
 * a new type "name" has been added for system identifiers (table names,
   attribute names, etc.)  This replaces the old char16 type.   The
   of name is set by the NAMEDATALEN #define in src/Makefile.global
 * a readable reference manual that describes the query language.
 * added host-based access control.  A configuration file ($PGDATA/pg_hba)
   is used to hold the configuration data.  If host-based access control
   is not desired, comment out HBA=1 in src/Makefile.global.
 * changed regex handling to be uniform use of Henry Spencer's regex code
   regardless of platform.  The regex code is included in the distribution
 * added functions and operators for case-insensitive regular expressions.
   The operators are ~* and !~*.
 * pg_dump uses COPY instead of SELECT loop for better performance

Bug fixes:
 * fixed an optimizer bug that was causing core dumps when
   functions calls were used in comparisons in the WHERE clause
 * changed all uses of getuid to geteuid so that effective uids are used
 * psql now returns non-zero status on errors when using -c
 * applied public patches 1-14



  ------------------------------------------------------------------------
                                Release 1.0
  ------------------------------------------------------------------------


Postgres95 Release 1.0  (1995-09-05)

Detailed Change List

Copyright change:
 * The copyright of Postgres 1.0 has been loosened to be freely modifiable
   and modifiable for any purpose.  Please read the COPYRIGHT file.
   Thanks to Professor Michael Stonebraker for making this possible.

Incompatibilities:
 *  date formats have to be MM-DD-YYYY (or DD-MM-YYYY if you're using
   EUROPEAN STYLE).  This follows SQL-92 specs.
 *  "delimiters" is now a keyword

Enhancements:
 *  sql LIKE syntax has been added
 *  copy command now takes an optional USING DELIMITER specification.
   delimiters can be any single-character string.
 *  IRIX 5.3 port has been added.
   Thanks to Paul Walmsley and others.
 *  updated pg_dump to work with new libpq
 *  \d has been added psql
   Thanks to Keith Parks
 *  regexp performance for architectures that use POSIX regex has been
   improved due to caching of precompiled patterns.
   Thanks to Alistair Crooks
 *  a new version of libpq++
   Thanks to William Wanders

Bug fixes:
 *  arbitrary userids can be specified in the createuser script
 *  \c to connect to other databases in psql now works.
 *  bad pg_proc entry for float4inc() is fixed
 *  users with usecreatedb field set can now create databases without
   having to be usesuper
 *  remove access control entries when the entry no longer has any
   permissions
 *  fixed non-portable datetimes implementation
 *  added kerberos flags to the src/backend/Makefile
 *  libpq now works with kerberos
 *  typographic errors in the user manual have been corrected.
 *  btrees with multiple index never worked, now we tell you they don't
   work when you try to use them



  ------------------------------------------------------------------------
                                Release 0.03
  ------------------------------------------------------------------------


Postgres95 Release 0.03  (1995-07-21)


Detailed Change List

Incompatible changes:
 * BETA-0.3 IS INCOMPATIBLE WITH DATABASES CREATED WITH PREVIOUS VERSIONS
   (due to system catalog changes and indexing structure changes).
 * double-quote (") is deprecated as a quoting character for string literals;
   you need to convert them to single quotes (').
 * name of aggregates (eg. int4sum) are renamed in accordance with the
   SQL standard (eg. sum).
 * CHANGE ACL syntax is replaced by GRANT/REVOKE syntax.
 * float literals (eg. 3.14) are now of type float4 (instead of float8 in
   previous releases); you might have to do typecasting if you depend on it
   being of type float8.  If you neglect to do the typecasting and you assign
   a float literal to a field of type float8, you may get incorrect values
   stored!
 * LIBPQ has been totally revamped so that frontend applications
   can connect to multiple backends
 * the usesysid field in pg_user has been changed from int2 to int4 to
   allow wider range of Unix user ids.
 * the netbsd/freebsd/bsd o/s ports have been consolidated into a
   single BSD44_derived port.  (thanks to Alistair Crooks)

SQL standard-compliance (the following details changes that makes postgres95
more compliant to the SQL-92 standard):
 * the following SQL types are now built-in: smallint, int(eger), float, real,
   char(N), varchar(N), date and time.

   The following are aliases to existing postgres types:
                smallint -> int2
                integer, int -> int4
                float, real  -> float4
   char(N) and varchar(N) are implemented as truncated text types. In
   addition, char(N) does blank-padding.
 * single-quote (') is used for quoting string literals; '' (in addition to
   \') is supported as means of inserting a single quote in a string
 * SQL standard aggregate names (MAX, MIN, AVG, SUM, COUNT) are used
   (Also, aggregates can now be overloaded, i.e. you can define your
   own MAX aggregate to take in a user-defined type.)
 * CHANGE ACL removed. GRANT/REVOKE syntax added.
   - Privileges can be given to a group using the "GROUP" keyword.
        For example:
                GRANT SELECT ON foobar TO GROUP my_group;
        The keyword 'PUBLIC' is also supported to mean all users.

        Privileges can only be granted or revoked to one user or group
        at a time.

        "WITH GRANT OPTION" is not supported.  Only class owners can change
        access control
   - The default access control is to to grant users readonly access.
     You must explicitly grant insert/update access to users.  To change
     this, modify the line in
                src/backend/utils/acl.h
     that defines ACL_WORLD_DEFAULT

Bug fixes:
 * the bug where aggregates of empty tables were not run has been fixed. Now,
   aggregates run on empty tables will return the initial conditions of the
   aggregates. Thus, COUNT of an empty  table will now properly return 0.
   MAX/MIN of an empty table will return a tuple of value NULL.
 * allow the use of \; inside the monitor
 * the LISTEN/NOTIFY asynchronous notification mechanism now work
 * NOTIFY in rule action bodies now work
 * hash indices work, and access methods in general should perform better.
   creation of large btree indices should be much faster.  (thanks to Paul
   Aoki)

Other changes and enhancements:
 * addition of an EXPLAIN statement used for explaining the query execution
   plan (eg. "EXPLAIN SELECT * FROM EMP" prints out the execution plan for
   the query).
 * WARN and NOTICE messages no longer have timestamps on them. To turn on
   timestamps of error messages, uncomment the line in
   src/backend/utils/elog.h:
        /* define ELOG_TIMESTAMPS */
 * On an access control violation, the message
        "Either no such class or insufficient privilege"
   will be given.  This is the same message that is returned when
   a class is not found.  This dissuades non-privileged users from
   guessing the existence of privileged classes.
 * some additional system catalog changes have been made that are not
   visible to the user.

libpgtcl changes:
 * The -oid option has been added to the "pg_result" tcl command.
   pg_result -oid returns oid of the last tuple inserted.   If the
   last command was not an INSERT, then pg_result -oid returns "".
 * the large object interface is available as pg_lo* tcl commands:
   pg_lo_open, pg_lo_close, pg_lo_creat, etc.

Portability enhancements and New Ports:
 * flex/lex problems have been cleared up.  Now, you should be able to use
   flex instead of lex on any platforms.  We no longer make assumptions of
   what lexer you use based on the platform you use.
 * The Linux-ELF port is now supported.  Various configuration have been
   tested:  The following configuration is known to work:
        kernel 1.2.10, gcc 2.6.3, libc 4.7.2, flex 2.5.2, bison 1.24
   with everything in ELF format,

New utilities:
 * ipcclean added to the distribution
   ipcclean usually does not need to be run, but if your backend crashes
   and leaves shared memory segments hanging around, ipcclean will
   clean them up for you.

New documentation:
 * the user manual has been revised and libpq documentation added.



  ------------------------------------------------------------------------
                                Release 0.02
  ------------------------------------------------------------------------


Postgres95 Release 0.02  (1995-05-25)


Detailed Change List

Incompatible changes:
 * The SQL statement for creating a database is 'CREATE DATABASE' instead
   of 'CREATEDB'. Similarly, dropping a database is 'DROP DATABASE' instead
   of 'DESTROYDB'. However, the names of the executables 'createdb' and
   'destroydb' remain the same.

New tools:
 * pgperl - a Perl (4.036) interface to Postgres95
 * pg_dump - a utility for dumping out a postgres database into a
        script file containing query commands. The script files are in a ASCII
        format and can be used to reconstruct the database, even on other
        machines and other architectures. (Also good for converting
        a Postgres 4.2 database to Postgres95 database.)

The following ports have been incorporated into postgres95-beta-0.02:
 * the NetBSD port by Alistair Crooks
 * the AIX port by Mike Tung
 * the Windows NT port by Jon Forrest (more stuff but not done yet)
 * the Linux ELF port by Brian Gallew

The following bugs have been fixed in postgres95-beta-0.02:
 * new lines not escaped in COPY OUT and problem with COPY OUT when first
   attribute is a '.'
 * cannot type return to use the default user id in createuser
 * SELECT DISTINCT on big tables crashes
 * Linux installation problems
 * monitor doesn't allow use of 'localhost' as PGHOST
 * psql core dumps when doing \c or \l
 * the "pgtclsh" target missing from src/bin/pgtclsh/Makefile
 * libpgtcl has a hard-wired default port number
 * SELECT DISTINCT INTO TABLE hangs
 * CREATE TYPE doesn't accept 'variable' as the internallength
 * wrong result using more than 1 aggregate in a SELECT



  ------------------------------------------------------------------------
                                Release 0.01
  ------------------------------------------------------------------------


Postgres95 Release 0.01  (1995-05-01)

Initial release.



  ------------------------------------------------------------------------
                                Timing Results
  ------------------------------------------------------------------------


Timing Results

These timing results are from running the regression test with the commands

% cd src/test/regress
% make all
% time make runtest


Timing under Linux 2.0.27 seems to have a roughly 5% variation from run to
run, presumably due to the scheduling vagaries of multitasking systems.

v6.5

As has been the case for previous releases, timing between releases is not
directly comparable since new regression tests have been added. In general,
v6.5 is faster than previous releases.

Timing with fsync() disabled:

  Time   System
  02:00  Dual Pentium Pro 180, 224MB, UW-SCSI, Linux 2.0.36, gcc 2.7.2.3 -O2 -m486
  04:38  Sparc Ultra 1 143MHz, 64MB, Solaris 2.6


Timing with fsync() enabled:

  Time   System
  04:21  Dual Pentium Pro 180, 224MB, UW-SCSI, Linux 2.0.36, gcc 2.7.2.3 -O2 -m486


For the linux system above, using UW-SCSI disks rather than (older) IDE
disks leads to a 50% improvement in speed on the regression test.

v6.4beta

The times for this release are not directly comparable to those for previous
releases since some additional regression tests have been included. In
general, however, v6.4 should be slightly faster than the previous release
(thanks, Bruce!).

  Time   System
  02:26  Dual Pentium Pro 180, 96MB, UW-SCSI, Linux 2.0.30, gcc 2.7.2.1 -O2 -m486

v6.3

The times for this release are not directly comparable to those for previous
releases since some additional regression tests have been included and some
obsolete tests involving time travel have been removed. In general, however,
v6.3 is substantially faster than previous releases (thanks, Bruce!).

  Time   System
  02:30  Dual Pentium Pro 180, 96MB, UW-SCSI, Linux 2.0.30, gcc 2.7.2.1 -O2 -m486
  04:12  Dual Pentium Pro 180, 96MB, EIDE, Linux 2.0.30, gcc 2.7.2.1 -O2 -m486

v6.1

  Time   System
  06:12  Pentium Pro 180, 32MB, EIDE, Linux 2.0.30, gcc 2.7.2 -O2 -m486
  12:06  P-100, 48MB, Linux 2.0.29, gcc
  39:58  Sparc IPC 32MB, Solaris 2.5, gcc 2.7.2.1 -O -g
@


1.143
log
@Update HISTORY to current.
@
text
@d6 1
a6 1
Release 7.2  (2001-??-??)
@


1.142
log
@Update for bytea, from Joe Conway
@
text
@d47 3
a49 1
   pg_hba.conf now only loads on SIGHUP.
d53 1
a53 1
AS OF 2001-11-19
d102 1
a102 1
  [Traditional Chinese])
d165 1
@


1.141
log
@Update HISTORY, for Tatsuo.
@
text
@d161 2
d172 8
a179 1
Bytea comparison improvements, \### now requires three octal digits (Joe Conway)
@


1.140
log
@Update HISTORY to current changes.
@
text
@d79 1
d160 1
d172 1
d177 1
@


1.139
log
@Mention new =NULL change in Migration section.
@
text
@d51 1
a51 1
AS OF 2001-10-25
d77 2
d158 1
d192 1
d240 3
d252 2
d303 3
d609 1
a609 1
New Darwin/Mac OSX port (Peter Bierman, Bruce Hartzler)
@


1.138
log
@Fix wrapping.
@
text
@d40 8
a47 3
   data from any previous release.  The SELECT ... LIMIT 10,20 syntax will
   be removed in 7.3.  You should change your queries to use LIMIT 10
   OFFSET 20.  Also, pg_hba.conf only loads on SIGHUP now.
@


1.137
log
@Correct, not too ambitious, not too
long for an enhancement history item? :)

--
Serguei A. Mokhov
~
@
text
@d91 2
a92 1
  Karel Zak [Czech], Weiping He [Simplified Chinese], Zhenbang Wei [Traditional Chinese])
@


1.136
log
@Update HISTORY per HACKERS discussion.
@
text
@d88 4
a91 2
Native language error messages, psql, pg_dump, libpq, configure --enable-nls
  (Peter E, Serguei A. Mokhov, Weiping He, Forth)
@


1.135
log
@Mention pgindent/pgjindent.
@
text
@d1 1
a1 1
  ------------------------------------------------------------------------
d42 1
a42 1
   OFFSET 20.
d54 2
a55 1
Fix for inherited CHECK constraints (Stephan Szabo)
d87 1
a87 1
PL/pgSQL Allow IS and FOR in cursors (Bruce)
d90 1
a90 1
Allow NULL to appear at beginning/end based on ORDER BY (Tom)
d108 1
a108 1
Pltcl add spi_lastoid capability (bob@@redivi.com)
d120 1
a120 1
New option to output SET SESSION AUTHORIZATION commands (Peter E)
d126 1
a126 1
Fix TCL COPY TO/FROM (ljb)
d146 2
d161 2
a192 1
Dynahash portability improvements (Tom)
d229 1
a229 1
	Remove query limit (Hiroshi)
d231 3
a233 4
	Fix for SQLPrimaryKeys() (Hiroshi)
	Procedure calls (Hiroshi)
	FETCH first fix (Aidan Mountford)
	Updatable cursors (Hiroshi)
a267 1
Remove OID's from some system tables (Tom)
a282 1
Remove configure --enable-pltcl-utf option
d285 1
a285 1

@


1.134
log
@Final update of HISTORY.
@
text
@d283 1
a283 1

@


1.133
log
@Add blank line before #endif to #endif's at the end of the file.
@
text
@d46 1
a46 1
AS OF 2001-09-13
d144 1
d165 1
a165 1
Add precision to TIME and TIMESTAMP data types (Thomas)
d174 3
a176 2
Accept an INTERVAL argument for SET TIME ZONE (Thomas)
Implement INTERVAL() YEA
d223 1
@


1.132
log
@Add slash for comment spacing, for Tom.
@
text
@d69 2
d143 1
d171 4
a174 1

d234 1
@


1.131
log
@Add comment spaces for trailing ) and comment.
@
text
@d85 2
a86 1
Native language error messages, psql, pg_dump, libpq, configure --enable-nls (Peter E)
d135 1
a135 1
Add /contrib/intarray boolean queries, fixes (Oleg Bartunov)
d137 4
d148 2
a149 2
inet, cidr text conversion functions (Alex Pilosov)
inet, cidr operators << and <<= indexable (Alex Pilosov)
d153 1
d160 9
a168 1
Fix TID sequential scans (H
d180 3
d214 1
d271 2
@


1.130
log
@Add spacing for single-line comments with trailing semicolon _and_
comma, per Tom.
@
text
@d135 1
a135 2
Measure transaction times in milliseconds (Thomas)
'NOW' returns time in milliseconds 
d149 6
a154 1

d163 3
d184 1
@


1.129
log
@Back out LIMIT #,# removal and mark it as to-be-removed in 7.3.
@
text
@d68 1
a68 1

d127 10
d146 4
a149 1
Bytea comparison improvements (Joe Conway)
d163 5
a167 5
	return oid of INSERT (Ken K)
	hande more data types (Ken K)
	handle single quotes and newlines in strings (Ken K)
	handle NULL variables (Ken K)
	fix for timezone handling (Barry Lind)
d170 10
a179 10
	support BIT, BINARY types (Ned Wolpert)
	reduce memory usage (Michael Stephens, Dave Cramer)
	update DatabaseMetaData (Peter E)
	add DatabaseMetaData.getCatalogs() (Peter E)
	encoding fixes (Anders Bengtsson)
	get/setCatalog methods (Jason Davies)
	DatabaseMetaData.getColumns() now returns column defaults (Jason Davies)
	jdbc1 and jdbc2 merging (Anders Bengtsson)
	transaction performance improvements (Barry Lind)
	array fixes (Greg Zoller)
d181 1
a181 1
	fix batch processing (Ren? Pijlman)
d183 2
a184 2
	getColumn() fixes (Jeroen van Vianen)
	fix isWriteable() function (Ren? Pijlman)
d187 2
d190 4
a193 4
	remove query limit (Hiroshi)
	remove text field size limit (Hiroshi)
	fix for SQLPrimaryKeys() (Hiroshi)
	procedure calls (Hiroshi)
d195 1
a195 1
	updatable cursors (Hiroshi)
d197 2
a198 1
	multibyte, performance fixes (Hiroshi)
a225 1
/contrib/intarray fixes (Oleg Bartunov)
d230 2
a231 1
New functions in /contrib/pgcrypto: crypt(), hmac(), encrypt() (Marko Kreen)
d244 1
@


1.128
log
@Add ecpg items to HISTORY file.
@
text
@d40 3
a42 3
   data from any previous release.  One significant change is that
   the SELECT ... LIMIT 10,20 syntax is no longer supported.  You must
   now use LIMIT 10 OFFSET 20 to accomplish the same thing.
@


1.127
log
@Remove LIMIT #,# and suggest LIMIT # OFFSET #, per mailing list discussion.
@
text
@d183 3
a185 1

@


1.126
log
@Update file for pgcrypto.
@
text
@d41 2
a42 3
   SELECT ... LIMIT 10,20 now uses the 10 as the OFFSET and the 20 as
   the LIMIT.  Previous versions had this reversed.  This change was
   made for MySQL compatibility.
@


1.125
log
@Remove locale/multibyte in HISTORY file, for Tatsuo.
@
text
@d214 1
a214 1
/contrib/pgcrypto improvements (Marko Kreen)
@


1.124
log
@Update for GIST.
@
text
@d67 1
a67 1
Python fix fetchone() (Gerhard Hring)
@


1.123
log
@Fix wording.
@
text
@d194 2
a195 1
GIST index improvements (Oleg Bartunov, Teodor Sigaev, Tom)
@


1.122
log
@Update to "7.2".
@
text
@d34 3
d494 1
@


1.121
log
@Add mention of MySQL compatibility for LIMIT in HISTORY.
@
text
@d34 1
a34 1
Migration to 7.1
@


1.120
log
@Mention LIMIT change in HISTORY file.
@
text
@d39 2
a40 1
   the LIMIT.  Previous versions had this reversed.
@


1.119
log
@Fix 6.4.* release dates, pointed out by Tom Lane.
@
text
@d37 3
a39 1
   data from any previous release.
@


1.118
log
@Update highlights.  More items to add.
@
text
@d1419 1
a1419 1
Release 6.4.2  (1999-12-20)
d1439 1
a1439 1
Release 6.4.1  (1999-12-18)
@


1.117
log
@Add list of 7.2 changes in preparation for beta.
@
text
@d17 9
@


1.116
log
@Just a test.
@
text
@d2 213
@


1.115
log
@update.
@
text
@d4 1
a4 1
 
@


1.114
log
@update
@
text
@d4 1
a4 1

@


1.113
log
@update
@
text
@d4 1
a4 1
 
@


1.112
log
@Put back changes I overwrote packaging 7.1.3.
@
text
@d4 1
a4 1

@


1.111
log
@Add HISTORY for 7.1.3.  Packaging done.
@
text
@d2377 1
a2377 1
Release v1.09
d2379 3
a2381 2
Sorry, we stopped keeping track of changes from 1.02 to 1.09. Some of the
changes listed in 6.0 were actually included in the 1.02.1 to 1.09 releases.
d2787 1
a2787 1
Postgres95 Release 0.02  (1995-03-25)
@


1.110
log
@Update release 1.09 date
@
text
@d1 27
a27 1
 ------------------------------------------------------------------------
d2377 1
a2377 1
Release v1.09  (1996-11-04)
d2379 2
a2380 3
Sorry, we didn't keep track of changes from 1.02 to 1.09. Some of the
changes listed in 6.0 were actually included in the 1.02.1 to 1.09
releases.
d2786 1
a2786 1
Postgres95 Release 0.02  (1995-05-25)
@


1.109
log
@Oops, had 0.2 release date wrong.
@
text
@d1 1
a1 1
  ------------------------------------------------------------------------
d2351 1
a2351 1
Release v1.09
d2353 3
a2355 2
Sorry, we stopped keeping track of changes from 1.02 to 1.09. Some of the
changes listed in 6.0 were actually included in the 1.02.1 to 1.09 releases.
@


1.108
log
@Add HISTORY items for 7.1.2.
@
text
@d2760 1
a2760 1
Postgres95 Release 0.02  (1995-03-25)
@


1.107
log
@Stamp for 7.1.2.  Ready when you are...
@
text
@d17 4
@


1.106
log
@UPdate for release tomorrow.
@
text
@d2 19
@


1.106.2.1
log
@Stamp for 7.1.2.  Ready when you are...
@
text
@a1 19
                                Release 7.1.2
  ------------------------------------------------------------------------


Release 7.1.2  (2001-05-11)

One fix from 7.1.1.

Migration to v7.1.2

A dump/restore is not required for those running 7.1.X.

Changes
-------
Fix PL/PgSQL SELECTs when returning no rows



  ------------------------------------------------------------------------
@


1.106.2.2
log
@Add HISTORY items for 7.1.2.
@
text
@a16 4
Fix for psql backslash core dump
Referential integrity permission fix
Optimizer fixes
pg_dump cleanups 
@


1.106.2.3
log
@Add HISTORY for 7.1.3.  Packaging done.
@
text
@a1 26
                                Release 7.1.3
  ------------------------------------------------------------------------


Release 7.1.3  (2001-08-15)

Migration to v7.1.3

A dump/restore is not required for those running 7.1.X.

Changes
-------
Remove unused WAL segements of large transactions (Tom)
Multiaction rule fix (Tom)
Pl/pgSQL memory allocation fix (Jan)
VACUUM buffer fix (Tom)
Regression test fixes (Tom)
pg_dump fixes for GRANT/REVOKE/comments on views, user-defined types (Tom)
Fix subselects with DISTINCT ON or LIMIT (Tom)
BEOS fix
Disable COPY TO/FROM a view (Tom)
Cygwin build (Jason Tishler)



  ------------------------------------------------------------------------
@


1.106.2.4
log
@test
@
text
@d4 1
a4 1
 
@


1.106.2.5
log
@update
@
text
@d4 1
a4 1

@


1.106.2.6
log
@update
@
text
@d4 1
a4 1
 
@


1.106.2.7
log
@just a test
@
text
@d4 1
a4 1

@


1.105
log
@pg_dump can dump 7.0 databases.
@
text
@d6 1
a6 1
Release 7.1.1  (2001-05-04)
@


1.104
log
@Final stamp for 7.1.1.  All done.
@
text
@d18 1
@


1.103
log
@Some updates for 7.1.1.
@
text
@d2 31
d45 1
a45 1
	Write-ahead Log (WAL) - To maintain database consistency in
d53 1
a53 1
	TOAST - Previous releases had a compiled-in row length limit,
d58 1
a58 1
	Outer Joins - We now support outer joins.  The UNION/NOT IN
d62 1
a62 1
	Function Manager - The previous C function manager did not
d68 1
a68 1
	Complex Queries - A large number of complex queries that were
d266 1
@


1.102
log
@Remove as-of from HISTORY file.
@
text
@d6 1
a6 1
Release 7.1  (2001-??-??)
@


1.101
log
@Update HISTORY/release.sgml to current.
@
text
@a49 2
Last updated from CVS logs:  2001-04-02

@


1.100
log
@Reformat the "major changes" to 72 or so columns.
@
text
@d50 1
a50 1
Last updated from CVS logs:  2001-01-29
d100 1
d172 2
d211 1
d233 4
a236 1

@


1.99
log
@Update for Tatsuo.
@
text
@d1 1
a1 1
   ------------------------------------------------------------------------
d14 7
a20 6
	Write-ahead Log (WAL) - To maintain database consistency in case
of an operating system crash, previous releases of PostgreSQL have
forced all data modifications to disk before each transaction commit. 
With WAL, only one log file must be flushed to disk, greatly improving
performance.  If you have been using -F in previous releases to disable
disk flushes, you may want to consider discontinuing its use.
d23 3
a25 3
typically 8k - 32k. This limit made storage of long text fields
difficult.  With TOAST, long rows of any length can be stored with good
performance.
d31 4
a34 3
	Function Manager - The previous C function manager did not handle NULLs properly,
nor did it support 64-bit CPU's (Alpha).  The new function manager does.  You can continue
using your old custom functions, but you may want to rewrite them in the future to use the
d38 4
a41 4
unsupported in previous releases now work.  Many combinations of views,
aggregates, UNION, LIMIT, cursors, subqueries, and inherited tables
now work properly. Inherited tables are now accessed by default. 
Subqueries in FROM are now supported.
@


1.98
log
@Clean up HISTORY file, add dates to releases.
@
text
@d153 1
a153 1
Allow automatic conversion to Unicode (Tatsuo)
@


1.97
log
@Mention NetBSD
@
text
@d1 6
a7 4
  ------------------------------------------------------------------------
                                Release Notes
  ------------------------------------------------------------------------
Release 7.1
d41 1
a41 1
Migration to v7.1
d231 1
a231 2
                                                               Release 7.0.3
                                Release Notes
d235 1
a235 1
Release 7.0.3
d286 1
d288 1
a288 2
                                                               Release 7.0.2
                                Release Notes
d291 2
a292 1
Release 7.0.2
d305 1
d307 1
a307 2
                                                               Release 7.0.1
                                Release Notes
d310 2
a311 1
Release 7.0.1
d346 2
d349 1
a349 2
                                                               Release 7.0
                                Release Notes
d352 2
a353 1
Release 7.0
d713 1
d715 1
a715 2
                                                               Release 6.5.3
                                Release Notes
d718 2
a719 1
Release 6.5.3
d734 1
d736 1
a736 2
                                                               Release 6.5.2
                                Release Notes
d739 2
a740 1
Release 6.5.2
d777 1
d779 1
a779 2
Release Notes                                                  Release 6.5.1
                                Release Notes
d782 2
a783 1
Release 6.5.1
d819 1
d821 1
a821 2
Release 6.5.2                                                    Release 6.5
                                Release Notes
d824 2
a825 1
Release 6.5
d1102 1
d1104 1
a1104 2
Release 6.5.1                                                  Release 6.4.2
                                Release Notes
d1107 2
a1108 1
Release 6.4.2
d1122 1
d1124 1
a1124 2
Release 6.5                                                    Release 6.4.1
                                Release Notes
d1127 2
a1128 1
Release 6.4.1
d1171 1
d1173 1
a1173 2
Release 6.4.2                                                    Release 6.4
                                Release Notes
d1176 2
a1177 1
Release 6.4
d1217 1
a1217 1
Migration to v6.4
d1417 1
d1419 1
a1419 2
Release 6.4.1                                                  Release 6.3.2
                                Release Notes
d1422 2
a1423 1
Release 6.3.2
d1467 1
d1469 1
a1469 2
Release 6.4                                                    Release 6.3.1
                                Release Notes
d1472 2
a1473 1
Release 6.3.1
d1525 1
d1527 1
a1527 2
Release 6.3.2                                                    Release 6.3
                                Release Notes
d1530 2
a1531 1
Release 6.3
d1781 1
d1783 1
a1783 2
Release 6.3.1                                                  Release 6.2.1
                                Release Notes
a1785 1
Release 6.2.1
d1787 3
a1789 1
v6.2.1 is a bug-fix and usability release on v6.2.
d1835 1
d1837 1
a1837 2
Release 6.3                                                      Release 6.2
                                Release Notes
d1840 3
a1842 1
Release 6.2
d1971 1
d1973 1
a1973 2
Release 6.2.1                                                  Release 6.1.1
                                Release Notes
d1976 2
a1977 1
Release 6.1.1
d2007 1
d2009 1
a2009 2
                                                                 Release 6.1
                                Release Notes
d2012 3
a2014 1
Release 6.1
d2154 1
d2156 1
a2156 2
                                                                Release v6.0
                                Release Notes
d2159 3
a2161 1
Release v6.0
d2282 1
d2284 1
a2284 2
                                                                Release v1.09
                                Release Notes
d2287 1
d2293 2
d2296 1
a2296 2
Release v6.0                                                   Release v1.02
                                Release Notes
d2299 2
a2300 1
Release v1.02
d2382 1
d2384 1
a2384 2
                                                                 Release v1.01
                                Release Notes
d2387 3
a2389 1
Release v1.01
d2522 1
d2524 1
a2524 2
                                                                 Release v1.0
                                Release Notes
d2527 2
a2528 1
Release v1.0
d2573 1
d2575 1
a2575 2
                                                           Postgres95 Beta 0.03
                                Release Notes
d2578 3
a2580 1
Postgres95 Beta 0.03
d2691 1
d2693 1
a2693 2
                                                          Postgres95 Beta 0.02
                                Release Notes
d2696 3
a2698 1
Postgres95 Beta 0.02
d2736 2
d2739 1
a2739 2
                                                          Postgres95 Beta 0.01
                                Release Notes
d2742 2
a2743 1
Postgres95 Beta 0.01
d2748 1
d2750 1
a2750 3
                                                                Timing Results
                                Release Notes
Prev
d2752 1
@


1.96
log
@Remove pg_service mention.
@
text
@d223 1
a223 1
Allow *BSD's libedit instead of readline (Peter)
@


1.95
log
@Add -g as synonmym for --globals-only in pg_dumpall.  Add info about
-c,--clean option to manual page.
@
text
@a147 1
New pg_service.conf file (Mario Weilguni)
@


1.94
log
@Re-add Peter E's changes.
@
text
@a161 1
New pg_dump --globals-only option (Peter E)
@


1.93
log
@Update HISTORY/release with current changes.
@
text
@d101 4
a104 4
Allow ALTER TABLE RENAME on indexes(Tom)
Improve CLUSTER(Tom)
Improve ps status display for more platforms(Marc)
Improve CREATE FUNCTION failure message(Ross)
d118 1
a118 1
pg_dump uses CREATE USER or CREATE GROUP rather using COPY (Peter E)
d120 1
a120 1
Allow pg_hba.conf secondary password file to specify username (Peter E)
d123 1
a123 1
New SET SESSION CHARACTERISTICS and SET DefaultXactIsoLevel (Thomas, Peter E)
d176 1
a176 1
New BIT and BIT VARYING types (Adriaan Joubert, Tom)
d197 1
a197 1
New configure --enable-syslog option (Marc)
d223 1
a223 1
New template0 database that contains no user additions(Tom)
@


1.92
log
@Update to PyGreSQL-3.1
@
text
@d46 1
a46 1
Last updated from CVS logs:  2000-12-11
d89 7
d162 7
d179 3
d224 3
@


1.91
log
@
check one last time for any erros ...
@
text
@d147 1
a147 1
New pg_dumpall --accounts-only option (Peter E)
@


1.90
log
@
ignore his too
@
text
@d1 1
@


1.89
log
@
and this time?
@
text
@a0 1

@


1.88
log
@
try this again ...
@
text
@d1 1
@


1.87
log
@
okay, this appears to work ...

onlly changes aer adding some white space ...
@
text
@a0 8








@


1.86
log
@Fix typo.
@
text
@d1 8
@


1.85
log
@Add mention of Alpha
@
text
@d11 1
a11 1
	Write-ahead Log(WAL) - To maintain database consistency in case
@


1.84
log
@Holloman -> Hollomon.  Sorry.
@
text
@d27 4
a30 5
	Function Manager - The previous C function manager did not
handle NULLs properly, nor did it support 64-bit CPU's.  The new
function manager does.  You can continue using your old custom
functions, but you may want to rewrite them in the future to use the new
function manager call interface.
@


1.83
log
@Large objects in single "table".
@
text
@d66 3
a68 3
Disallow LOCK on views (Mark Holloman)
Disallow INSERT/UPDATE/DELETE on views (Mark Holloman)
Disallow DROP RULE, CREATE INDEX, TRUNCATE on views (Mark Holloman)
d136 1
a136 1
New ALTER TABLE table OWNER TO user command (Mark Holloman)
d191 1
a191 1
New pg_class.relkind value for views (Mark Holloman)
@


1.82
log
@Updates from Tom Lane.
@
text
@d173 1
a173 1
Store all large objects in a single operating system file (Denis Perchine, Tom)
@


1.81
log
@Fix upgrade mention to 7.1.
@
text
@d18 4
a21 3
	TOAST - Previous releases had an 8k (or 32k) row length limit.
This limit made storage of long text fields difficult.  With TOAST, long
rows of any length can be stored with good performance.
d77 1
a77 1
Modify pg_dump so it dumps only user-defined items, not system-defined (Philip)
d83 1
a83 1
Make DROP TABLE rollback-able (Tom)
a154 1
New template0 database that contains no user additions(Tom)
d164 1
d183 1
a183 1
Makefile/configuration/compilation cleanups (Peter E)
d200 1
a200 1
New Darwin/Mac OSX port (Bruce Hartzler)
d204 3
@


1.80
log
@Add 7.1 features list
@
text
@d38 1
a38 1
Migration to v7.0
@


1.79
log
@Add new 7.0.3 item to all places.
@
text
@d4 207
@


1.78
log
@Add update of HISTORY file for 7.0.3.
@
text
@d53 1
@


1.77
log
@Add proofreader's changes to docs.
Fix misspelling of disbursion to dispersion.
@
text
@d5 55
@


1.76
log
@Startup is actually start-up.
@
text
@d1655 1
a1655 1
Rename pg_attribute.attnvals to attdisbursion(Bruce)
@


1.75
log
@Update for 7.0.2.
@
text
@d235 2
a236 2
Add pg_ctl script to control backend startup (Tatsuo)
Add postmaster.opts.default file to store startup flags (Tatsuo)
d767 1
a767 1
Add version number in startup banners for psql(Masaaki Sakaida)
d1062 1
a1062 1
Auto-remove unix socket file on startup if no postmaster running(Massimo)
d1422 2
a1423 2
New psql .psqlrc file startup(Andrew)
Modify sample startup script in contrib/linux to show syslog(Thomas)
d1621 1
a1621 1
Speed up backend startup after profiling analysis(Bruce)
@


1.74
log
@Remove NT-specific file open defines by defining our own open macros for
"rb" and "wb".
@
text
@d5 18
@


1.73
log
@Add fix to index length
@
text
@d37 2
a38 1

@


1.72
log
@Update 7.0.1 for Tatsuo
@
text
@d36 2
@


1.71
log
@Fixups for 7.0.1
@
text
@d30 1
a30 1
Solaris fix for createdb/dropdb
d34 2
a35 1

@


1.70
log
@Change HISTORY to show outer joins in 7.1 or 7.2.
@
text
@d4 36
d74 1
a74 1
Detailed Change List
d401 4
d415 2
a416 2
Detailed Change List

d420 1
d435 2
a436 2
Detailed Change List

d462 1
d477 2
a478 2
Detailed Change List

d503 1
a621 1
Detailed Change List
d800 3
a802 1
Detailed Change List
a803 1
Fix for datetime constant problem on some platforms(Thomas)
d819 2
a820 2
Detailed Change List

d852 1
a902 1
Detailed Change List
d1097 1
a1123 1
Detailed Change List
d1146 1
a1171 1
Detailed Change List
d1203 1
a1291 1
Detailed Change List
d1458 1
a1495 1
Detailed Change List
d1497 2
a1498 2
Changes in this release
-----------------------
d1511 1
a1534 1
Detailed Change List
d1645 1
a1658 1
Detailed Change List
d1660 2
a1661 2
Changes in this release
-----------------------
d1680 1
d1682 1
a1682 1
Release 6.2                                                      Release 6.1
a1728 1
Detailed Change List
d1825 1
d1827 1
a1827 1
Release 6.1.1                                                   Release v6.0
a1845 1
Detailed Change List
d1951 1
d1953 1
a1953 1
Release 6.1                                                    Release v1.09
d2048 1
d2050 1
a2050 1
Release v1.09                                                  Release v1.01
d2186 1
d2188 1
a2188 1
Release v1.02                                                   Release v1.0
d2236 1
d2238 1
a2238 1
Release v1.01                                           Postgres95 Beta 0.03
d2352 1
d2354 1
a2354 1
Release v1.0                                            Postgres95 Beta 0.02
d2397 1
a2397 1
Postgres95 Beta 0.03                                    Postgres95 Beta 0.01
d2405 1
d2407 1
a2407 1
Postgres95 Beta 0.02                                          Timing Results
a2472 4

  ------------------------------------------------------------------------
Prev                                Home
Postgres95 Beta 0.01
@


1.70.2.1
log
@Fixups for 7.0.1
@
text
@a3 36

Release 7.0.1

This is basically a cleanup release for 7.0.1

Migration to v7.0.1

A dump/restore is not required for those running 7.0.

Changes
-------
Fix many CLUSTER failures (Tom)
Allow ALTER TABLE RENAME works on indexes (Tom)
Fix plpgsql to handle datetime->timestamp and timespan->interval (Bruce)
New configure --with-setproctitle switch to use setproctitle() (Marc, Bruce)
Fix the off by one errors in ResultSet from 6.5.3, and more.
jdbc ResultSet fixes (Joseph Shraibman)
optimizer tunings (Tom)
Fix create user for pgaccess
Fix for UNLISTEN failure
IRIX fixes (David Kaelbling)
QNX fixes (Andreas Kardos)
Reduce COPY IN lock level (Tom)
Change libpqeasy to use PQconnectdb() style parameters (Bruce)
Fix pg_dump to handle OID indexes (Tom)
Fix small memory leak (Tom)
Solaris fix for createdb/dropdb
Fix for non-blocking connections (Alfred Perlstein)
Fix improper recovery after RENAME TABLE failures (Tom)
Copy pg_ident.conf.sample into /lib directory in install (Bruce)


  ------------------------------------------------------------------------
                                                               Release 7.0
                                Release Notes
  ------------------------------------------------------------------------
d38 1
a38 1

a364 4
  ------------------------------------------------------------------------
                                                               Release 6.5.3
                                Release Notes
  ------------------------------------------------------------------------
d375 2
a376 2
Changes
-------
a379 1

d394 2
a395 2
Changes
-------
a420 1

d435 2
a436 2
Changes
-------
a460 1

d579 1
d758 2
a759 2
Changes
-------
a761 1

d776 2
a777 2
Changes
-------
a808 1

d859 1
a1053 1

d1080 1
a1102 1

d1128 1
a1159 1

d1248 1
a1414 1

d1452 1
d1454 2
a1455 2
Changes
-------
a1467 1

d1491 1
a1601 1

d1615 1
d1617 2
a1618 2
Changes
-------
a1636 1

d1638 1
a1638 1
                                                                 Release 6.1
d1685 1
a1781 1

d1783 1
a1783 1
                                                                Release v6.0
d1802 1
a1907 1

d1909 1
a1909 1
                                                                Release v1.09
a2003 1

d2005 1
a2005 1
                                                                 Release v1.01
a2140 1

d2142 1
a2142 1
                                                                 Release v1.0
a2189 1

d2191 1
a2191 1
                                                           Postgres95 Beta 0.03
a2304 1

d2306 1
a2306 1
                                                          Postgres95 Beta 0.02
d2349 1
a2349 1
                                                          Postgres95 Beta 0.01
a2356 1

d2358 1
a2358 1
                                                                Timing Results
d2424 4
@


1.70.2.2
log
@Update 7.0.1 for Tatsuo
@
text
@d30 1
a30 1
Solaris fix for createdb/dropdb (Tatsuo)
d34 1
a34 2
Add SJIS UDC (NEC selection IBM kanji) support (Eiji Tokuya)
Fix too long syslog message (Tatsuo)
@


1.70.2.3
log
@Add fix to index length
@
text
@a35 2
Fix problem with quoted indexes that are too long (Tom)

@


1.70.2.4
log
@update
@
text
@d37 1
a37 2
JDBC ResultSet.getTimestamp() fix (Gregory Krasnow & Floyd Marinescu)
ecpg changes (Michael)
@


1.70.2.5
log
@Update for 7.0.2.
@
text
@a4 18
Release 7.0.2

This is a repackaging of 7.0.1 with added documentation.

Migration to v7.0.2

A dump/restore is not required for those running 7.*.

Changes
-------
Added documentation to tarball.


  ------------------------------------------------------------------------
                                                               Release 7.0.1
                                Release Notes
  ------------------------------------------------------------------------
          
@


1.70.2.6
log
@Brand 7.0.3.
@
text
@a4 55
Release 7.0.3

This has a variety of fixes from 7.0.2.

Migration to v7.0.3

A dump/restore is not required for those running 7.0.*.

Changes
-------
Jdbc fixes (Peter)
Large object fix (Tom)
Fix lean in COPY WITH OIDS leak (Tom)
Fix backwards-index-scan (Tom)
Fix SELECT ... FOR UPDATE so it checks for duplicate keys (Hiroshi)
Add --enable-syslog to configure (Marc)
Fix abort transaction at backend exit in rare cases (Tom)
Fix for psql \l+ when multi-byte enabled (Tatsuo)
Allow PL/pgSQL to accept non ascii identifiers (Tatsuo)
Make vacuum always flush buffers (Tom)
Fix to allow cancel while waiting for a lock (Hiroshi)
Fix for memory aloocation problem in user authentication code (Tom)
Remove bogus use of int4out() (Tom)
Fixes for multiple subqueries in COALESCE or BETWEEN (Tom)
Fix for failure of triggers on heap open in certain cases (Jeroen van
    Vianen)
Fix for erroneous selectivity of not-equals (Tom)
Fix for erroneous use of strcmp() (Tom)
Fix for bug where storage manager accesses items beyond end of file
    (Tom)
Fix to include kernel errno message in all smgr elog messages (Tom)
Fix for '.' not in PATH at build time (SL Baur)
Fix for out-of-file-descriptors error (Tom)
Fix to make pg_dump dump 'iscachable' flag for functions (Tom)
Fix for subselect in targetlist of Append node (Tom)
Fix for mergejoin plans (Tom)
Fix TRUNCATE failure on relations with indexes (Tom)
Avoid database-wide restart on write error (Hiroshi)
Fix nodeMaterial to honor chgParam by recomputing its output (Tom)
Fix VACUUM problem with moving chain of update tuples when source and
    destination of a tuple lie on the same page (Tom)
Fix user.c CommandCounterIncrement (Tom)
Fix for AM/PM boundary problem in to_char() (Karel Zak)
Fix TIME aggregate handling (Tom)
Fix to_char() to avoid coredump on NULL input.  (Tom)
Buffer fix (Tom)
Fix for inserting/copying longer multibyte strings into bpchar data
    types (Tatsuo)


  ------------------------------------------------------------------------
                                                               Release 7.0.2
                                Release Notes
  ------------------------------------------------------------------------
          
d11 1
a11 1
A dump/restore is not required for those running 7.0.*.
@


1.70.2.7
log
@cleanup
@
text
@d49 1
a49 1
Fix to_char() to avoid coredump on NULL input (Tom)
d51 1
a51 1
Fix for inserting/copying longer multibyte strings into char() data
@


1.70.2.8
log
@
put a quick, short note in about Tom's last bug fix for the 'double portal
on abort' crash ... hopefully I'm sum'd up his explanation close enough? :)
@
text
@a52 1
Fix for crash of backend, on abort (Tom)
@


1.69
log
@Update HISTORY/sgml for new pgaccess version.
@
text
@d29 2
a30 2
          In 7.1, we plan to have outer joins, storage for very long
          rows, and a write-ahead logging system.
@


1.68
log
@More libpgeasy update of connectdb() parameter ordering
@
text
@d233 1
a233 1
Update pgaccess to 0.98.5
@


1.67
log
@Remove old TODO items.  Add some to release.sgml.
@
text
@d140 1
@


1.66
log
@Update release.sgml
@
text
@a38 1

d57 1
a57 1
Prevent DESTROY DATABASE while others accessing
d101 14
d208 1
a208 1
Add DEC as synonym for "DECIMAL (Thomas)
d236 4
d283 2
d326 3
@


1.65
log
@Update initdb flags.
@
text
@d43 1
a43 1
Many fixes for CASE  (Tom)
d54 1
a54 2
Improve communication of user table modifications to other running backends (To
m)
d62 1
a62 2
Fix for SELECT ... WHERE x IN (SELECT ... HAVING SUM(x) > 1) (Tom)
Make TABLE optional keyword in LOCK TABLE (Bruce)
d100 2
a101 25
Depricate ':' and ';' operators
Add TRUNCATE command to quickly truncate relation (Mike Mascari)
Fix for views with tables/columns containing spaces  (Tom)
Prevent permissions on indexes (Peter E)
Fix for spinlock stuck problem when error is generated (Hiroshi)
Fix ipcclean on Linux
Fix handling of NULL constraint conditions (Tom)
Fix memory leak in odbc driver (Nick Gorham)
Fix for permission check on UNION tables (Tom)
Fix to allow SELECT 'a' LIKE 'a' (Tom)
Fix for SELECT 1 + NULL (Tom)
Fixes to CHAR
Fix log() on numeriRemove ':' and ';' operators
Add TRUNCATE command to quickly truncate relation (Mike Mascari)
Fix for views with tables/columns containing spaces  (Tom)
Prevent permissions on indexes (Peter E)
Fix for spinlock stuck problem when error is generated (Hiroshi)
Fix ipcclean on Linux
Fix handling of NULL constraint conditions (Tom)
Fix memory leak in odbc driver (Nick Gorham)
Fix for permission check on UNION tables (Tom)
Fix to allow SELECT 'a' LIKE 'a' (Tom)
Fix for SELECT 1 + NULL (Tom)
Fixes to CHAR
Fix log() on numeriRemove ':' and ';' operators
d107 1
a107 1
Update jdbc protocol to 2.0 (Jens Glaser jens@@jens.de)
d115 1
a115 2
Improve CREATE FUNCTION to allow type conversion specification
        (Bernie Frankpitt)
d118 1
a118 1
Allow CREATE FUNCTION WITH clause to be used for all language types
d124 1
a124 1
Add FOREIGN KEY ... MATCH  referential actions (Don Baccus)
d127 1
a127 1
Add DEC and SESSION_USER as reserved words
d129 1
a129 1
Add Oracle's COMMENT ON command (Mike Mascari yahoo.
d142 2
a143 2
New libpq functions to allow asynchronous connections: PQconnectStart(),
   PQconnectPoll(), PQresetStart(), PQresetPoll(), PQsetenvStart(),
d161 2
a162 2
Add ecpg EXEC SQL IFDEF, EXEC SQL IFNDEF, EXEC SQL ELSE, EXEC SQL ELIF
        and EXEC SQL ENDIF directives
d168 1
a168 2
Allow user configuration of maximum number of index keys and arguments
(Bruce)
d170 1
a170 2
With password authentication enabled, new users without passwords can't
connect (Peter E)
d175 2
a176 3
Updated user interfaces on initdb, initlocation, pg_dump, ipcclean
(Peter E)
New pg_char_to_encoding() and pg_encoding_to_char() functions (Tatsuo
d184 1
a184 1
        conversion functions (Karel Zak zf.jcu.cz>)
d192 1
a192 1
Add btree indexing of boolean values, >= and <= (Don Baccus)
d197 1
a197 2
Implement column aliases (aka correlation names) and more join syntax
(Thomas)
d214 1
a214 1
Disable // as comment to be ANSI conforming, should use --
d218 5
d231 2
a232 2
Fix for netmask('x.x.x.x/0') is 255.255.255.255 instead of 0.0.0.0
        (Oleg Sharoiko)
d234 1
a234 1
Perl fix for large objects containing NUL characters (Douglas Thomson)
d247 2
a248 2
New C-routines to implement a BIT and BIT VARYING type in /contrib
        (Adriaan Joubert)
d265 1
a265 1
        GROUP BY f1; (Tom)
d296 1
a296 2
Improve optimizer estimate of range queries x > lowbound AND x < highbound (Tom
)
d305 2
d313 1
a313 1
Improved range checking for large integers on Alpha's
d317 1
a317 2
Change #include's to use
and "" as appropriate (Bruce)
d319 1
a319 1
Alpha spinlock fix from Uncle George voicenet.com>
d326 1
a326 1
Update for QNX (Kardos, Dr. Andreas)
d328 1
a328 1
Rename oid8 -> oidvector and int28 -> int2vector (Bruce)
d337 1
a337 1
NetBSD fixes Johnny C. Lam stat.cmu.edu>
@


1.64
log
@Update HISTORY
@
text
@d200 1
a200 1
Add initdb --enable-multibyte option (Peter E)
@


1.63
log
@Update history/sgml.
@
text
@d164 1
a164 1
Added psql LastOid variable to return last inserted oid (Peter E)
d185 1
a185 1
Vacuumdb script now supports --alldb option (Peter E)
@


1.62
log
@Update HISTORY file for 7.0.
@
text
@d102 25
a126 1
Remove ':' and ';' operators
@


1.61
log
@New plperl Makefile.
@
text
@d1 4
a4 29

Chapter 0. Release Notes

	Table of Contents
	Release 7.0
	Release 6.5.3
	Release 6.5.2
	Release 6.5.1
	Release 6.5
	Release 6.4.2
	Release 6.4.1
	Release 6.4
	Release 6.3.2
	Release 6.3.1
	Release 6.3
	Release 6.2.1
	Release 6.2
	Release 6.1.1
	Release 6.1
	Release v6.0
	Release v1.09
	Release v1.02
	Release v1.01
	Release v1.0
	Postgres95 Beta 0.03
	Postgres95 Beta 0.02
	Postgres95 Beta 0.01
	Timing Results

a5 6
-----------

This release shows the continued growth of PostgreSQL. There are more
updated items in 7.0 than in any previous release. Don't be concerned
this is a dot-zero release. PostgreSQL does its best to put
out only solid releases, and this one is no exception.
d7 5
d13 26
a38 15

Foreign Keys: Foreign keys are now implemented, with the exception of
PARTIAL MATCH foreign keys. Many users have been asking for this
feature, and we are pleased to finally offer it.

Optimizer Overhaul: Continuing on work started a year ago, the
optimizer has been overhauled in many significant ways, allowing better
query execution processing with faster performance and less memory
usage.

Updated psql: psql, our interactive terminal monitor, has been updated,
with a variety of new features. See the psql manual page for the details.

Upcoming Features: In 7.1, we plan to have outer joins, storage for very long
rows, and a write-ahead logging system.
a45 1
Allow utility statements in plpgsql (Tom)
d54 2
a55 1
Improve communication of user table modifications to other running backends (Tom)
a56 1
Disallow DROP TABLE/DROP INDEX inside a transaction block
d97 6
d116 2
a117 2
Improve CREATE FUNCTION to allow type conversion specification 
	(Bernie Frankpitt)
d126 1
a126 1
Add FOREIGN KEY ... MATCH <unspecified> referential actions (Don Baccus)
d131 1
a131 1
Add Oracle's COMMENT ON command (Mike Mascari <mascarim@@yahoo.
d144 2
a145 2
New libpq functions to allow asynchronous connections: PQconnectStart(), 
   PQconnectPoll(), PQresetStart(), PQresetPoll(), PQsetenvStart(), 
d163 2
a164 2
Add ecpg EXEC SQL IFDEF, EXEC SQL IFNDEF, EXEC SQL ELSE, EXEC SQL ELIF 
	and EXEC SQL ENDIF directives
d189 1
a189 1
	conversion functions (Karel Zak <zakkr@@zf.jcu.cz>)
d215 1
d219 5
d232 2
a233 2
Fix for netmask('x.x.x.x/0') is 255.255.255.255 instead of 0.0.0.0 
	(Oleg Sharoiko)
d235 1
a235 1
Perl fix for large objects containing NUL characters (Douglas Thomson) 
d248 2
a249 2
New C-routines to implement a BIT and BIT VARYING type in /contrib 
	(Adriaan Joubert)
d255 12
d297 2
a298 1
Improve optimizer estimate of range queries x > lowbound AND x < highbound (Tom)
d306 1
d317 2
a318 1
Change #include's to use <> and "" as appropriate (Bruce)
d320 1
a320 1
Alpha spinlock fix from Uncle George <gatgul@@voicenet.com>
d337 4
@


1.60
log
@Update HISTORY file.
@
text
@d316 1
a316 1
Update for QNX (Kardos, Dr. Andrea)
@


1.59
log
@Update history
@
text
@a58 1
Many array fixes (Tom)
d63 1
a63 3
Optimize btree searching for cases where many equal keys exist (Tom)
Allow bare column names to be subscripted as arrays (Tom)
Improvements in SQL grammar processing(Tom)
a67 3
Improve type casting of int and float constants (Tom)
Cleanups for int8 inputs, range checking, and type conversion (Tom)
Fix for SELECT timespan('21:11:26'::time) (Tom)
a72 2
Prevent exponential space consumption with many AND's and OR's (Tom)
Collect attribute selectivity values for system columns (Tom)
a73 2
Fix for netmask('x.x.x.x/0') is 255.255.255.255 instead of 0.0.0.0 
	(Oleg Sharoiko)
a76 1
Reduce memory usage of aggregates (Tom)
a78 1
Add nbtree operator class for NUMERIC(Jan)
d81 2
a82 1
Fix for "f1 datetime default 'now'"  (Tom)
a88 1
Perl fix for large objects containing NUL characters (Douglas Thomson) 
a89 1
ODBC fix for for large objects (free)
a93 1
Fix problems with CURRENT_DATE used in DEFAULT (Tom)
a98 1
Fix indexing of cidr
a103 1
Fix for Ethernet MAC addresses (macaddr type) comparisons
a104 1
Fix for LIKE optimization to use indexes with multi-byte encodings (Tom)
a105 1
Fix for date/time types when overflows happened in computations (Tom)
a107 1
Allow array on int8 (Peter E)
a108 1
Fix for rounding/overflow of NUMERIC type, like NUMERIC(4,4) (Tom)
a109 1
Allow NUMERIC arrays
a111 3
Fix bugs in NUMERIC ceil() and floor() functions (Tom)
Make char_length()/octet_length including trailing blanks (Tom)
Made abstime/reltime use int4 instead of time_t (Peter E)
a112 3
Fix r-tree index optimizer selectivity (Thomas)
New lztext data type for compressed text fields
Larger views/rules supported
a117 10
Improve optimizer selectivity computations and functions (Tom)
Enable fast LIKE index processing only if index present (Tom)
Revise parse_coerce() to handle coercion of int and float constants (Tom)
Re-use free space on index pages with duplicates (Tom)
Improve hash join processing (Tom)
Prevent descending sort if result is already sorted(Hiroshi)
Allow commuting of index scan query qualifications (Tom)
Prefer index scans in cases where ORDER BY/GROUP BY is required (Tom)
Allocate large memory requests in fix-sized chunks for performance (Tom)
Fix vacuum's performance by reducing memory allocation requests (Tom)
a119 1
Implement constant-expression simplification (Bernard Frankpitt, Tom)
a120 2
Allow more than first column to be used to determine start of index scan
   (Hiroshi)
a139 1
Prevent quadruple use of disk space when doing internal sorting (Tom)
a144 4
Faster sorting by calling fewer functions (Tom)
Create system indexes to match all system caches(Bruce, Hiroshi)
Make system caches use system indexes(Bruce)
Make all system indexes unique(Bruce)
a150 1
Improve pg_statistics management for VACUUM speed improvement (Tom)
a153 2
New C-routines to implement a BIT and BIT VARYING type in /contrib 
	(Adriaan Joubert)
d165 1
a165 1
Force changes to pg_shadow recreate pg_pwd file (Peter E)
a181 1
Flush backend cache less frequently (Tom, Hiroshi)
a187 1
COPY now reuses previous memory allocation, improving performance (Tom)
a190 3
NUMERIC now accepts scientific notation (Tom)
NUMERIC to int4 rounds (Tom)
Convert float4/8 to NUMERIC properly (Tom)
a195 1
Improve optimization cost estimation (Tom)
a196 1
Improve optimizer estimate of range queries x > lowbound AND x < highbound (Tom)
a201 1
Use DNF instead of CNF where appropriate (Tom, Taral)
d204 1
a204 3
Added ALTER TABLE ... ADD FOREIGN KEY (Stephan Szabo)
Further cleanup for OR-of-AND WHERE-clauses (Tom)
Make use of index in OR clauses (x = 1 AND y = 2) OR (x = 2 AND y = 4) (Tom)
d210 2
a211 2
Add "DEC" as synonym for "DECIMAL (Thomas)
Add "SESSION_USER" as SQL92 keyword, same as CURRENT_USER (Thomas)
d216 1
a216 7
Smarter optimizer computations for random index page access (Tom)
New SET variable to control optimizer costs (Tom)
Optimizer queries based on LIMIT, OFFSET, and EXISTS qualifications (Tom)
Reduce optimizer internal housekeeping of join paths for speedup (Tom)
Make "INTERVAL" reserved word allowed as a column identifier (Thomas)
Allow type conversion with NUMERIC (Thomas)
Make ISO date style (2000-02-16 09:33) the default (Thomas)
d223 1
a223 1
Add ecpg descriptors
d227 70
d326 1
@


1.58
log
@Add 7.0 changes to HISTORY file.  This has to go into SGML eventually,
but we should get it out to beta testers.
@
text
@d138 2
d244 1
a244 1
New pg_char_to_encoding() and pg_encoding_to_char() functions
d289 2
d318 2
@


1.57
log
@Update new HISTORY file.
@
text
@d5 1
d29 286
@


1.56
log
@Update for 6.5.3, including new INSTALL file and updated HISTORY.
@
text
@d2 1
a2 67
PostgreSQL Release History
by The PostgreSQL Development Team

PostgreSQL is Copyright  1996-9 by the Postgres Global Development Group.

Table of Contents
	  Release 6.5.3						
	     Migration to v6.5.3				
	     Detailed Change List				
	  Release 6.5.2						
	     Migration to v6.5.2				
	     Detailed Change List				
	  Release 6.5.1						
	     Migration to v6.5.1				
	     Detailed Change List				
	  Release 6.5						
	     Migration to v6.5					
		 Multi-Version Concurrency Control		
	     Detailed Change List				
	  Release 6.4.2						
	     Migration to v6.4.2				
	     Detailed Change List				
	  Release 6.4.1						
	     Migration to v6.4.1				
	     Detailed Change List				
	  Release 6.4						
	     Migration to v6.4					
	     Detailed Change List				
	  Release 6.3.2						
	     Detailed Change List				
	  Release 6.3.1						
	     Detailed Change List				
	  Release 6.3						
	     Migration to v6.3					
	     Detailed Change List				
	  Release 6.2.1						
	     Migration from v6.2 to v6.2.1			
	     Detailed Change List				
	  Release 6.2						
	     Migration from v6.1 to v6.2			
	     Migration from v1.x to v6.2			
	     Detailed Change List				
	  Release 6.1.1						
	     Migration from v6.1 to v6.1.1			
	     Detailed Change List				
	  Release 6.1						
	     Migration to v6.1					
	     Detailed Change List				
	  Release v6.0						
	     Migration from v1.09 to v6.0			
	     Migration from pre-v1.09 to v6.0			
	     Detailed Change List				
	  Release v1.09						
	  Release v1.02						
	     Migration from v1.02 to v1.02.1			
	     Dump/Reload Procedure				
	     Detailed Change List				
	  Release v1.01						
	     Migration from v1.0 to v1.01			
	     Detailed Change List				
	  Release v1.0						
	     Detailed Change List				
	  Postgres95 Beta 0.03					
	     Detailed Change List				
	  Postgres95 Beta 0.02					
	     Detailed Change List				
	  Postgres95 Beta 0.01					
d4 24
d31 2
a32 3
	This is basically a cleanup release for 6.5.2. We have added a 
	new pgaccess that was missing in 6.5.2, and installed an 
	NT-specific fix.
d36 1
a36 1
	A dump/restore is not required for those running 6.5.*.
d40 2
a41 2
	Updated version of pgaccess 0.98
	NT-specific patch
d43 4
d50 2
a51 2
       This is basically a cleanup release for 6.5.1.  We have fixed a
       variety of problems reported by 6.5.1 users.
d55 1
a55 1
       A dump/restore is not required for those running 6.5 or 6.5.1.
d59 29
a87 27
       subselect+CASE fixes(Tom)
       Add SHLIB_LINK setting for solaris_i386 and solaris_sparc ports(Daren
       Sefcik)
       Fixes for CASE in WHERE join clauses(Tom)
       Fix BTScan abort(Tom)
       Repair the check for redundant UNIQUE and PRIMARY KEY indices(Thomas)
       Improve it so that it checks for multi-column constraints(Tom)
       Fix for Win32 making problem with MB enabled(Hiroki Kataoka)
       Allow BSD yacc and bison to compile pl code(Bruce)
       Fix SET NAMES
       int8 fixes(Thomas)
       Fix vacuum's memory consumption(Hiroshi,Tatsuo)
       Reduce the total memory consumption of vacuum(Tom)
       Fix for timestamp(datetime)
       Rule deparsing bugfixes(Tom)
       Fix quoting problems in mkMakefile.tcldefs.sh.in and
       mkMakefile.tkdefs.sh.in(Tom)
       This is to re-use space on index pages freed by vacuum(Vadim)
       document -x for pg_dump(Bruce)
       Fix for unary operators in rule deparser(Tom)
       Comment out FileUnlink of excess segments during mdtruncate()(Tom)
       Irix linking fix from Yu Cao <yucao@@falcon.kla-tencor.com>
       Repair logic error in LIKE: should not return LIKE_ABORT
       when reach end of pattern before end of text(Tom)
       Repair incorrect cleanup of heap memory allocation during transaction
       abort(Tom)
       Updated version of pgaccess 0.98
d91 2
a92 2
	This is basically a cleanup release for 6.5.  We have fixed a
       variety of problems reported by 6.5 users.
d96 1
a96 1
       A dump/restore is not required for those running 6.5.
d100 84
a183 24
       Fix for datetime constant problem on some platforms(Thomas)
       Add NT README file
       Portability fixes for linux_ppc, Irix, linux_alpha, OpenBSD, alpha
       Remove QUERY_LIMIT, use SELECT...LIMIT
       Fix for EXPLAIN on inheritance(Tom)
       Patch to allow vacuum on multi-segment tables(Hiroshi)
       R-Tree optimizer selectivity fix(Tom)
       ACL file descriptor leak fix(Atsushi Ogawa)
       New expresssion subtree code(Tom)
       Avoid disk writes for read-only transactions(Vadim)
       Fix for removal of temp tables if last transaction was aborted(Bruce)
       Fix to prevent too large tuple from being created(Bruce)
       plpgsql fixes
       Allow port numbers 32k - 64k(Bruce)
       Add ^ precedence(Bruce)
       Rename sort files called pg_temp to pg_sorttemp(Bruce)
       Fix for microseconds in time values(Tom)
       Tutorial source cleanup
       New linux_m68k port
       Fix for sorting of NULL's in some cases(Tom)
       Shared library dependencies fixed (Tom)
       Fixed glitches affecting GROUP BY in subselects(Tom)
       Fix some compiler warnings (Tomoaki Nishiyama)
       Add Win1250 (Czech) support (Pavel Behal)
d185 2
d188 1
a188 1
Release 6.5
d190 9
a198 62
	This release marks a major step in the development team's mastery 
       of the source code we inherited from Berkeley. You will see we are 
       now easily adding major features, thanks to the increasing size and 
       experience of our world-wide development team. 
	Here is a brief summary of the more notable changes: 

	Multi-version concurrency control(MVCC) 
	  This removes our old table-level locking, and replaces it with a 
	 locking system that is superior to most commercial database 
	 systems. In a traditional system, each row that is modified is 
	 locked until committed, preventing reads by other users. MVCC 
	 uses the natural multi-version nature of PostgreSQL to allow 
	 readers to continue reading consistent data during writer 
	 activity. Writers continue to use the compact pg_log transaction 
	 system. This is all performed without having to allocate a lock 
	 for every row like traditional database systems. So, basically, 
	 we no longer are restricted by simple table-level locking; we 
	 have something better than row-level locking. 

	Hot backups from pg_dump 
	  pg_dump takes advantage of the new MVCC features to give a 
	 consistant database dump/backup while the database stays online 
	 and available for queries. 

	Numeric data type 
	  We now have a true numeric data type, with user-specified 
	 precision. 

	Temporary tables 
	  Temporary tables are guaranteed to have unique names within a 
	 database session, and are destroyed on session exit. 

	New SQL features 
	  We now have CASE, INTERSECT, and EXCEPT statement support. We 
	 have new LIMIT/OFFSET, SET TRANSACTION ISOLATION LEVEL, SELECT 
	 ... FOR UPDATE, and an improved LOCK TABLE command. 

	Speedups 
	  We continue to speed up PostgreSQL, thanks to the variety of 
	 talents within our team. We have sped up memory allocation, 
	 optimization, table joins, and row transfer routines. 

	Ports 
	  We continue to expand our port list, this time including 
	 WinNT/ix86 and NetBSD/arm32. 

	Interfaces 
	  Most interfaces have new versions, and existing functionality 
	 has been improved. 

	Documentation 
	  New and updated material is present throughout the 
	 documentation. New FAQs have been contributed for SGI and AIX 
	 platforms. The Tutorial has introductory information on SQL from 
	 Stefan Simkovics. For the User's Guide, there are reference pages 
	 covering the postmaster and more utility programs, and a new 
	 appendix contains details on date/time behavior. The 
	 Administrator's Guide has a new chapter on troubleshooting from 
	 Tom Lane. And the Programmer's Guide has a description of query 
	 processing, also from Stefan, and details on obtaining the 
	 Postgres source tree via anonymous CVS and CVSup. 
	
d202 39
a240 39
	A dump/restore using pg_dump is required for those wishing to 
       migrate data from any previous release of Postgres. pg_upgrade can 
       not be used to upgrade to this release because the on-disk structure 
       of the tables has changed compared to previous releases. 
	The new Multi-Version Concurrency Control (MVCC) features can give 
       somewhat different behaviors in multi-user environments. Read and 
       understand the following section to ensure that your existing 
       applications will give you the behavior you need. 

       Multi-Version Concurrency Control
	Because readers in 6.5 don't lock data, regardless of transaction 
       isolation level, data read by one transaction can be overwritten by 
       another. In other words, if a row is returned by SELECT it doesn't 
       mean that this row really exists at the time it is returned (i.e. 
       sometime after the statement or transaction began) nor that the row 
       is protected from being deleted or updated by concurrent 
       transactions before the current transaction does a commit or 
       rollback. 
	To ensure the actual existence of a row and protect it against 
       concurrent updates one must use SELECT FOR UPDATE or an appropriate 
       LOCK TABLE statement. This should be taken into account when porting 
       applications from previous releases of Postgres and other 
       environments. 
	Keep the above in mind if you are using contrib/refint.* triggers 
       for referential integrity. Additional technics are required now. One 
       way is to use LOCK parent_table IN SHARE ROW EXCLUSIVE MODE command 
       if a transaction is going to update/delete a primary key and use 
       LOCK parent_table IN SHARE MODE command if a transaction is going to 
       update/insert a foreign key. 

	 Note: Note that if you run a transaction in SERIALIZABLE mode 
	 then you must execute the LOCK commands above before execution of 
	 any DML statement (SELECT/INSERT/DELETE/UPDATE/FETCH/COPY_TO) in 
	 the transaction.

	
	These inconveniences will disappear in the future when the ability 
       to read dirty (uncommitted) data (regardless of isolation level) and 
       true referential integrity will be implemented. 
d244 168
a411 181
       Bug Fixes
       ---------
       Fix text<->float8 and text<->float4 conversion functions(Thomas)
       Fix for creating tables with mixed-case constraints(Billy)
       Change exp()/pow() behavior to generate error on 
       underflow/overflow(Jan)
       Fix bug in pg_dump -z
       Memory overrun cleanups(Tatsuo)
       Fix for lo_import crash(Tatsuo)
       Adjust handling of data type names to suppress double quotes(Thomas)
       Use type coersion for matching columns and DEFAULT(Thomas)
       Fix deadlock so it only checks once after one second of sleep(Bruce)
       Fixes for aggregates and PL/pgsql(Hiroshi)
       Fix for subquery crash(Vadim)
       Fix for libpq function PQfnumber and case-insensitive names(Bahman 
       Rafatjoo)
       Fix for large object write-in-middle, no extra block, memory 
       consumption(Tatsuo)
       Fix for pg_dump -d or -D and  quote special characters in INSERT
       Repair serious problems with dynahash(Tom)
       Fix INET/CIDR portability problems
       Fix problem with selectivity error in ALTER TABLE ADD COLUMN(Bruce)
       Fix executor so mergejoin of different column types works(Tom)
       Fix for Alpha OR selectivity bug
       Fix OR index selectivity problem(Bruce)
       Fix so \d shows proper length for char()/varchar()(Ryan)
       Fix tutorial code(Clark)
       Improve destroyuser checking(Oliver)
       Fix for Kerberos(Rodney McDuff)
       Fix for dropping database while dirty buffers(Bruce)
       Fix so sequence nextval() can be case-sensitive(Bruce)
       Fix !!= operator
       Drop buffers before destroying database files(Bruce)
       Fix case where executor evaluates functions twice(Tatsuo)
       Allow sequence nextval actions to be case-sensitive(Bruce)
       Fix optimizer indexing not working for negative numbers(Bruce)
       Fix for memory leak in executor with fjIsNull
       Fix for aggregate memory leaks(Erik Riedel)
       Allow username containing a dash GRANT permissions
       Cleanup of NULL in inet types
       Clean up system table bugs(Tom)
       Fix problems of PAGER and \? command(Masaaki Sakaida)
       Reduce default multi-segment file size limit to 1GB(Peter)
       Fix for dumping of CREATE OPERATOR(Tom)
       Fix for backward scanning of cursors(Hiroshi Inoue)
       Fix for COPY FROM STDIN when using \i(Tom)
       Fix for subselect is compared inside an expression(Jan)
       Fix handling of error reporting while returning rows(Tom)
       Fix problems with reference to array types(Tom,Jan)
       Prevent UPDATE SET oid(Jan)
       Fix pg_dump so -t option can handle case-sensitive tablenames
       Fixes for GROUP BY in special cases(Tom, Jan)
       Fix for memory leak in failed queries(Tom)
       DEFAULT now supports mixed-case identifiers(Tom)
       Fix for multi-segment uses of DROP/RENAME table, indexes(Ole Gjerde)
       Disable use of pg_dump with both -o and -d options(Bruce)
       Allow pg_dump to properly dump GROUP permissions(Bruce)
       Fix GROUP BY in INSERT INTO table SELECT * FROM table2(Jan)
       Fix for computations in views(Jan)
       Fix for aggregates on array indexes(Tom)
       Fix for DEFAULT handles single quotes in value requiring too many 
       quotes
       Fix security problem with non-super users importing/exporting large 
       objects(Tom)
       Rollback of transaction that creates table cleaned up properly(Tom)
       Fix to allow long table and column names to generate proper serial 
       names(Tom)

       Enhancements
       ------------
       Add "vacuumdb" utility
       Speed up libpq by allocating memory better(Tom)
       EXPLAIN all indices used(Tom)
       Implement CASE, COALESCE, NULLIF  expression(Thomas)
       New pg_dump table output format(Constantin)
       Add string min()/max() functions(Thomas)
       Extend new type coersion techniques to aggregates(Thomas)
       New moddatetime contrib(Terry)
       Update to pgaccess 0.96(Constantin)
       Add routines for single-byte "char" type(Thomas)
       Improved substr() function(Thomas)
       Improved multi-byte handling(Tatsuo)
       Multi-version concurrency control/MVCC(Vadim)
       New Serialized mode(Vadim)
       Fix for tables over 2gigs(Peter)
       New SET TRANSACTION ISOLATION LEVEL(Vadim)
       New LOCK TABLE IN ... MODE(Vadim)
       Update ODBC driver(Byron)
       New NUMERIC data type(Jan)
       New SELECT FOR UPDATE(Vadim)
       Handle "NaN" and "Infinity" for input values(Jan)
       Improved date/year handling(Thomas)
       Improved handling of backend connections(Magnus)
       New options ELOG_TIMESTAMPS and USE_SYSLOG options for log 
       files(Massimo)
       New TCL_ARRAYS option(Massimo)
       New INTERSECT and EXCEPT(Stefan)
       New pg_index.indisprimary for primary key tracking(D'Arcy)
       New pg_dump option to allow dropping of tables before 
       creation(Brook)
       Speedup of row output routines(Tom)
       New READ COMMITTED isolation level(Vadim)
       New TEMP tables/indexes(Bruce)
       Prevent sorting if result is already sorted(Jan)
       New memory allocation optimization(Jan)
       Allow psql to do \p\g(Bruce)
       Allow multiple rule actions(Jan)
       Added LIMIT/OFFSET functionality(Jan)
       Improve optimizer when joining a large number of tables(Bruce)
       New intro to SQL from S. Simkovics' Master's Thesis (Stefan, Thomas)
       New intro to backend processing from S. Simkovics' Master's Thesis 
       (Stefan)
       Improved int8 support(Ryan Bradetich, Thomas, Tom)
       New routines to convert between int8 and text/varchar types(Thomas)
       New bushy plans, where meta-tables are joined(Bruce)
       Enable right-hand queries by default(Bruce)
       Allow reliable maximum number of backends to be set at configure 
       time
	     (--with-maxbackends and postmaster switch (-N backends))(Tom)
       GEQO default now 10 tables because of optimizer speedups(Tom)
       Allow NULL=Var for MS-SQL portability(Michael, Bruce)
       Modify contrib check_primary_key() so either "automatic" or 
       "dependent"(Anand)
       Allow psql \d on a view show query(Ryan)
       Speedup for LIKE(Bruce)
       Ecpg fixes/features, see src/interfaces/ecpg/ChangeLog file(Michael)
       JDBC fixes/features, see src/interfaces/jdbc/CHANGELOG(Peter)
       Make % operator have precedence like /(Bruce)
       Add new postgres -O option to allow system table structure 
       changes(Bruce)
       Update contrib/pginterface/findoidjoins script(Tom)
       Major speedup in vacuum of deleted rows with indexes(Vadim) 
       Allow non-SQL functions to run different versions based on 
       arguments(Tom)
       Add -E option that shows actual queries sent by \dt and 
       friends(Masaaki Sakaida)
       Add version number in startup banners for psql(Masaaki Sakaida)
       New contrib/vacuumlo removes large objects not referenced(Peter)
       New initialization for table sizes so non-vacuumed tables perform 
       better(Tom)
       Improve error messages when a connection is rejected(Tom)
       Support for arrays of char() and varchar() fields(Massimo)
       Overhaul of hash code to increase reliability and performance(Tom)
       Update to PyGreSQL 2.4(D'Arcy)
       Changed debug options so -d4 and -d5 produce different node 
       displays(Jan)
       New pg_options: pretty_plan, pretty_parse, pretty_rewritten(Jan)
       Better optimization statistics for system table access(Tom)
       Better handling of non-default block sizes(Massimo)
       Improve GEQO optimizer memory consumption(Tom)
       UNION now suppports ORDER BY of columns not in target list(Jan)
       Major libpq++ improvements(Vince Vielhaber)
       pg_dump now uses -z(ACL's) as default(Bruce)
       backend cache, memory speedups(Tom)
       have pg_dump do everything in one snapshot transaction(Vadim)
       fix for large object memory leakage, fix for pg_dumping(Tom)
       INET type now respects netmask for comparisons
       Make VACUUM ANALYZE only use a readlock(Vadim)
       Allow VIEWs on UNIONS(Jan)
       pg_dump now can generate consistent snapshots on active 
       databases(Vadim)

       Source Tree Changes
       -------------------
       Improve port matching(Tom)
       Portability fixes for SunOS
       Add NT/Win32 backend port and enable dynamic loading(Magnus and 
       Daniel Horak)
       New port to Cobalt Qube(Mips) running Linux(Tatsuo)
       Port to NetBSD/m68k(Mr. Mutsuki Nakajima)
       Port to NetBSD/sun3(Mr. Mutsuki Nakajima)
       Port to NetBSD/macppc(Toshimi Aoki)
       Fix for tcl/tk configuration(Vince)
       Removed CURRENT keyword for rule queries(Jan)
       NT dynamic loading now works(Daniel Horak)
       Add ARM32 support(Andrew McMurry)
       Better support for HPUX 11 and Unixware
       Improve file handling to be more uniform, prevent file descriptor 
       leak(Tom)
       New install commands for plpgsql(Jan)
	    
d414 2
a415 2
       The 6.4.1 release was improperly packaged. This also has one 
       additional bug fix.
d419 1
a419 1
       A dump/restore is not required for those running 6.4.*.
d423 6
a428 1
       Fix for datetime constant problem on some platforms(Thomas)
d432 2
a433 2
       This is basically a cleanup release for 6.4. We have fixed a variety 
       of problems reported by 6.4 users.
d437 1
a437 1
       A dump/restore is not required for those running 6.4.
d441 35
a475 33
       Add pg_dump -N flag to force double quotes around identifiers.  This 
       is
	       the default(Thomas)
       Fix for NOT in where clause causing crash(Bruce)
       EXPLAIN VERBOSE coredump fix(Vadim)
       Fix shared-library problems on Linux
       Fix test for table existance to allow mixed-case and whitespace in
	       the table name(Thomas)
       Fix a couple of pg_dump bugs
       Configure matches template/.similar entries better(Tom)
       Change builtin function names from SPI_* to spi_*
       OR WHERE clause fix(Vadim)
       Fixes for mixed-case table names(Billy)
       contrib/linux/postgres.init.csh/sh fix(Thomas)
       libpq memory overrun fix
       SunOS fixes(Tom)
       Change exp() behavior to generate error on underflow(Thomas)
       pg_dump fixes for memory leak, inheritance constraints, layout 
       change
       update pgaccess to 0.93
       Fix prototype for 64-bit platforms
       Multi-byte fixes(Tatsuo)
       New ecpg man page
       Fix memory overruns(Tatsuo)
       Fix for lo_import() crash(Bruce)
       Better search for install program(Tom)
       Timezone fixes(Tom)
       HPUX fixes(Tom)
       Use implicit type coersion for matching DEFAULT values(Thomas)
       Add routines to help with single-byte (internal) character 
       type(Thomas)
       Compilation of libpq for Win32 fixes(Magnus)
       Upgrade to PyGreSQL 2.2(D'Arcy)
d479 37
a515 32
       There are many new features and improvements in this release. Thanks 
       to our developers and maintainers, nearly every aspect of the system 
       has received some attention since the previous release. Here is a 
       brief, incomplete summary: 
       o Views and rules are now functional thanks to extensive new code in 
	the rewrite rules system from Jan Wieck. He also wrote a chapter 
	on it for the Programmer's Guide.
       o Jan also contributed a second procedural language, PL/pgSQL, to go 
	with the original PL/pgTCL procedural language he contributed last 
	release.
       o We have optional multiple-byte character set support from Tatsuo 
	Iishi to complement our existing locale support.
       o Client/server communications has been cleaned up, with better 
	support for asynchronous messages and interrupts thanks to Tom 
	Lane.
       o The parser will now perform automatic type coersion to match 
	arguments to available operators and functions, and to match 
	columns and expressions with target columns. This uses a generic 
	mechanism which supports the type extensibility features of 
	Postgres. There is a new chapter in the User's Guide which covers 
	this topic.
       o Three new data types have been added. Two types, inet and cidr, 
	support various forms of IP network, subnet, and machine 
	addressing. There is now an 8-byte integer type available on some 
	platforms. See the chapter on data types in the User's Guide for 
	details. A fourth type, serial, is now supported by the parser as 
	an amalgam of the int4 type, a sequence, and a unique index.
       o Several more SQL92-compatible syntax features have been added, 
	including INSERT DEFAULT VALUES
       o The automatic configuration and installation system has received 
	some attention, and should be more robust for more platforms than 
	it has ever been.
d519 2
a520 2
       A dump/restore using pg_dump or pg_dumpall is required for those 
       wishing to migrate data from any previous release of Postgres.
d524 197
a720 217
       Bug Fixes
       ---------
       Fix for a tiny memory leak in PQsetdb/PQfinish(Bryan)
       Remove char2-16 data types, use char/varchar(Darren)
       Pqfn not handles a NOTICE message(Anders)
       Reduced busywaiting overhead for spinlocks with many backends (dg)
       Stuck spinlock detection (dg)
       Fix up "ISO-style" timespan decoding and encoding(Thomas)
       Fix problem with table drop after rollback of transaction(Vadim)
       Change error message and remove non-functional update message(Vadim)
       Fix for COPY array checking
       Fix for SELECT 1 UNION SELECT NULL
       Fix for buffer leaks in large object calls(Pascal)
       Change owner from oid to int4 type(Bruce)
       Fix a bug in the oracle compatibility functions btrim() ltrim() and 
       rtrim()
       Fix for shared invalidation cache overflow(Massimo)
       Prevent file descriptor leaks in failed COPY's(Bruce)
       Fix memory leak in libpgtcl's pg_select(Constantin)
       Fix problems with username/passwords over 8 characters(Tom)
       Fix problems with handling of asynchronous NOTIFY in backend(Tom)
       Fix of many bad system table entries(Tom)

       Enhancements
       ------------
       Upgrade ecpg and ecpglib,see src/interfaces/ecpc/ChangeLog(Michael)
       Show the index used in an EXPLAIN(Zeugswetter)
       EXPLAIN	invokes  rule system and shows plan(s) for rewritten 
       queries(Jan)
       Multi-byte awareness of many data types and functions, via 
       configure(Tatsuo)
       New configure --with-mb option(Tatsuo)
       New initdb --pgencoding option(Tatsuo)
       New createdb -E multibyte option(Tatsuo)
       Select version(); now returns PostgreSQL version(Jeroen)
       Libpq now allows asynchronous clients(Tom)
       Allow cancel from client of backend query(Tom)
       Psql now cancels query with Control-C(Tom)
       Libpq users need not issue dummy queries to get NOTIFY messages(Tom)
       NOTIFY now sends sender's PID, so you can tell whether it was your 
       own(Tom)
       PGresult struct now includes associated error message, if any(Tom)
       Define "tz_hour" and "tz_minute" arguments to date_part()(Thomas)
       Add routines to convert between varchar and bpchar(Thomas)
       Add routines to allow sizing of varchar and bpchar into target 
       columns(Thomas)
       Add bit flags to support timezonehour and minute in data 
       retrieval(Thomas)
       Allow more variations on valid floating point numbers (e.g. ".1", 
       "1e6")(Thomas)
       Fixes for unary minus parsing with leading spaces(Thomas)
       Implement TIMEZONE_HOUR, TIMEZONE_MINUTE per SQL92 specs(Thomas)
       Check for and properly ignore FOREIGN KEY column constraints(Thomas)
       Define USER as synonym for CURRENT_USER per SQL92 specs(Thomas)
       Enable HAVING clause but no fixes elsewhere yet.
       Make "char" type a synonym for "char(1)" (actually implemented as 
       bpchar)(Thomas)
       Save string type if specified for DEFAULT clause handling(Thomas)
       Coerce operations involving different data types(Thomas)
       Allow some index use for columns of different types(Thomas)
       Add capabilities for automatic type conversion(Thomas)
       Cleanups for large objects, so file is truncated on open(Peter)
       Readline cleanups(Tom)
       Allow psql  \f \ to make spaces as delimiter(Bruce)
       Pass pg_attribute.atttypmod to the frontend for column field 
       lengths(Tom,Bruce)
       Msql compatibility library in /contrib(Aldrin)
       Remove the requirement that ORDER/GROUP BY clause identifiers be 
       included in the target list(David)
       Convert columns to match columns in UNION clauses(Thomas)
       Remove fork()/exec() and only do fork()(Bruce)
       Jdbc cleanups(Peter)
       Show backend status on ps command line(only works on some 
       platforms)(Bruce)
       Pg_hba.conf now has a sameuser option in the database field
       Make lo_unlink take oid param, not int4
       New DISABLE_COMPLEX_MACRO for compilers that can't handle our 
       macros(Bruce)
       Libpgtcl now handles NOTIFY as a Tcl event, need not send dummy 
       queries(Tom)
       libpgtcl cleanups(Tom)
       Add -error option to libpgtcl's pg_result command(Tom)
       New locale patch, see docs/README/locale(Oleg)
       Fix for pg_dump so CONSTRAINT and CHECK syntax is correct(ccb)
       New contrib/lo code for large object orphan removal(Peter)
       New psql command "SET CLIENT_ENCODING TO 'encoding'" for multi-bytes
       feature, see /doc/README.mb(Tatsuo)
       /contrib/noupdate code to revoke update permission on a column
       Libpq can now be compiled on win32(Magnus)
       Add PQsetdbLogin() in libpq
       New 8-byte integer type, checked by configure for OS support(Thomas)
       Better support for quoted table/column names(Thomas)
       Surround table and column names with double-quotes in 
       pg_dump(Thomas)
       PQreset() now works with passwords(Tom)
       Handle case of GROUP BY target list column number out of 
       range(David)
       Allow UNION in subselects
       Add auto-size to screen to \d? commands(Bruce)
       Use UNION to show all \d? results in one query(Bruce)
       Add \d? field search feature(Bruce)
       Pg_dump issues fewer \connect requests(Tom)
       Make pg_dump -z flag work better, document it in manual page(Tom)
       Add HAVING clause with full support for subselects and 
       unions(Stephan)
       Full text indexing routines in contrib/fulltextindex(Maarten)
       Transaction ids now stored in shared memory(Vadim)
       New PGCLIENTENCODING when issuing COPY command(Tatsuo)
       Support for SQL92 syntax "SET NAMES"(Tatsuo)
       Support for LATIN2-5(Tatsuo)
       Add UNICODE regression test case(Tatsuo)
       Lock manager cleanup, new locking modes for LLL(Vadim)
       Allow index use with OR clauses(Bruce)
       Allows "SELECT NULL ORDER BY 1;"
       Explain VERBOSE prints the plan, and now pretty-prints the plan to
       the postmaster log file(Bruce)
       Add Indices display to \d command(Bruce)
       Allow GROUP BY on functions(David)
       New pg_class.relkind for large objects(Bruce)
       New way to send libpq NOTICE messages to a different location(Tom)
       New \w write command to psql(Bruce)
       New /contrib/findoidjoins scans oid columns to find join 
       relationships(Bruce)
       Allow binary-compatible indices to be considered when checking for 
       valid
       indices for restriction clauses containing a constant(Thomas)
       New ISBN/ISSN code in /contrib/isbn_issn
       Allow NOT LIKE, IN, NOT IN, BETWEEN, and NOT BETWEEN 
       constraint(Thomas)
       New rewrite system fixes many problems with rules and views(Jan)
	       * Rules on relations work
	       * Event qualifications on insert/update/delete work
	       * New OLD variable to reference CURRENT, CURRENT will be 
       remove in future
	       * Update rules can reference NEW and OLD in rule 
       qualifications/actions
	       * Insert/update/delete rules on views work
	       * Multiple rule actions are now supported, surrounded by 
       parentheses
	       * Regular users can create views/rules on tables they have 
       RULE permits
	       * Rules and views inherit the permissions on the creator
	       * No rules at the column level
	       * No UPDATE NEW/OLD rules
	       * New pg_tables, pg_indexes, pg_rules and pg_views system 
       views
	       * Only a single action on SELECT rules
	       * Total rewrite overhaul, perhaps for 6.5
	       * handle subselects
	       * handle aggregates on views
	       * handle insert into select from view works
       System indexes are now multi-key(Bruce)
       Oidint2, oidint4, and oidname types are removed(Bruce)
       Use system cache for more system table lookups(Bruce)
       New backend programming language PL/pgSQL in backend/pl(Jan)
       New SERIAL data type, auto-creates sequence/index(Thomas)
       Enable assert checking without a recompile(Massimo)
       User lock enhancements(Massimo)
       New setval() command to set sequence value(Massimo)
       Auto-remove unix socket file on startup if no postmaster 
       running(Massimo)
       Conditional trace package(Massimo)
       New UNLISTEN command(Massimo)
       Psql and libpq now compile under win32 using win32.mak(Magnus)
       Lo_read no longer stores trailing NULL(Bruce)
       Identifiers are now truncated to 31 characters internally(Bruce)
       Createuser options now availble on the command line
       Code for 64-bit integer supported added, configure tested, int8 
       type(Thomas)
       Prevent file descriptor leaf from failed COPY(Bruce)
       New pg_upgrade command(Bruce)
       Updated /contrib directories(Massimo)
       New CREATE TABLE DEFAULT VALUES statement available(Thomas)
       New INSERT INTO TABLE DEFAULT VALUES statement available(Thomas)
       New DECLARE and FETCH feature(Thomas)
       libpq's internal structures now not exported(Tom)
       Allow up to 8 key indexes(Bruce)
       Remove ARCHIVE keyword, that is no longer used(Thomas)
       pg_dump -n flag to supress quotes around indentifiers
       disable system columns for views(Jan)
       new INET and CIDR types for network addresses(TomH, Paul)
       no more double quotes in psql output
       pg_dump now dumps views(Terry)
       new SET QUERY_LIMIT(Tatsuo,Jan)

       Source Tree Changes
       -------------------
       /contrib cleanup(Jun)
       Inline some small functions called for every row(Bruce)
       Alpha/linux fixes
       Hp/UX cleanups(Tom)
       Multi-byte regression tests(Soonmyung.)
       Remove --disabled options from configure
       Define PGDOC to use POSTGRESDIR by default
       Make regression optional
       Remove extra braces code to pgindent(Bruce)
       Add bsdi shared library support(Bruce)
       New --without-CXX support configure option(Brook)
       New FAQ_CVS
       Update backend flowchart in tools/backend(Bruce)
       Change atttypmod from int16 to int32(Bruce, Tom)
       Getrusage() fix for platforms that do not have it(Tom)
       Add PQconnectdb, PGUSER, PGPASSWORD to libpq man page
       NS32K platform fixes(Phil Nelson, John Buller)
       Sco 7/UnixWare 2.x fixes(Billy,others)
       Sparc/Solaris 2.5 fixes(Ryan)
       Pgbuiltin.3 is obsolete, move to doc files(Thomas)
       Even more documention(Thomas)
       Nextstep support(Jacek)
       Aix support(David)
       pginterface manual page(Bruce)
       shared libraries all have version numbers
       merged all OS-specific shared library defines into one file
       smarter TCL/TK configuration checking(Billy)
       smarter perl configuration(Brook)
       configure uses supplied install-sh if no install script found(Tom)
       new Makefile.shlib for shared library configuration(Tom)
d724 18
a741 14
       This is a bugfix release for 6.3.x. Refer to the release notes for 
       v6.3 for a more complete summary of new features.
       Summary: 
       o Repairs automatic configuration support for some platforms, 
	including Linux, from breakage inadvertently introduced in v6.3.1.
       o Correctly handles function calls on the left side of BETWEEN and 
	LIKE clauses.
       A dump/restore is NOT required for those running 6.3 or 6.3.1. A 
       'make distclean', 'make', and 'make install' is all that is 
       required. This last step should be performed while the postmaster is 
       not running. You should re-link any custom applications that use 
       Postgres libraries.
       For upgrades from pre-v6.3 installations, refer to the installation 
       and migration instructions for v6.3.
d745 25
a769 20
       Changes
       -------
       Configure detection improvements for tcl/tk(Brook Milligan, Alvin)
       Manual page improvements(Bruce)
       BETWEEN and LIKE fix(Thomas)
       fix for psql \connect used by pg_dump(Oliver Elphick)
       New odbc driver
       pgaccess, version 0.86
       qsort removed, now uses libc version, cleanups(Jeroen)
       fix for buffer over-runs detected(Maurice Gittens)
       fix for buffer overrun in libpgtcl(Randy Kunkee)
       fix for UNION with DISTINCT or ORDER BY(Bruce)
       gettimeofday configure check(Doug Winterburn)
       Fix "indexes not used" bug(Vadim)
       docs additions(Thomas)
       Fix for backend memory leak(Bruce)
       libreadline cleanup(Erwan MAS)
       Remove DISTDIR(Bruce)
       Makefile dependency cleanup(Jeroen van Vianen)
       ASSERT fixes(Bruce)
d773 17
a789 12
       Summary: 
       o Additional support for multi-byte character sets.
       o Repair byte ordering for mixed-endian clients and servers.
       o Minor updates to allowed SQL syntax.
       o Improvements to the configuration autodetection for installation.
       A dump/restore is NOT required for those running 6.3. A 'make 
       distclean', 'make', and 'make install' is all that is required. This 
       last step should be performed while the postmaster is not running. 
       You should re-link any custom applications that use Postgres 
       libraries.
       For upgrades from pre-v6.3 installations, refer to the installation 
       and migration instructions for v6.3.
d793 34
a826 29
       Changes
       -------
       ecpg cleanup/fixes, now version 1.1(Michael Meskes)
       pg_user cleanup(Bruce)
       large object fix for pg_dump and tclsh (alvin)
       LIKE fix for multiple adjacent underscores
       fix for redefining builtin functions(Thomas)
       ultrix4 cleanup
       upgrade to pg_access 0.83
       updated CLUSTER manual page
       multi-byte character set support, see doc/README.mb(Tatsuo)
       configure --with-pgport fix
       pg_ident fix
       big-endian fix for backend communications(Kataoka)
       SUBSTR() and substring() fix(Jan)
       several jdbc fixes(Peter)
       libpgtcl improvements, see libptcl/README(Randy Kunkee)
       Fix for "Datasize = 0" error(Vadim)
       Prevent \do from wrapping(Bruce)
       Remove duplicate Russian character set entries
       Sunos4 cleanup
       Allow optional TABLE keyword in LOCK and SELECT INTO(Thomas)
       CREATE SEQUENCE options to allow a negative integer(Thomas)
       Add "PASSWORD" as an allowed column identifier(Thomas)
       Add checks for UNION target fields(Bruce)
       Fix Alpha port(Dwayne Bailey)
       Fix for text arrays containing quotes(Doug Gibson)
       Solaris compile fix(Albert Chin-A-Young)
       Better identify tcl and tk libs and includes(Bruce)
d830 75
a904 66
       There are many new features and improvements in this release. Here 
       is a brief, incomplete summary: 
       o Many new SQL features, including full SQL92 subselect capability 
	(everything is here but target-list subselects).
       o Support for client-side environment variables to specify time zone 
	and date style.
       o Socket interface for client/server connection. This is the default 
	now so you may need to start postmaster with the ?-i? flag.
       o Better password authorization mechanisms. Default table 
	permissions have changed.
       o Old-style ?time travel? has been removed. Performance has been 
	improved.

	 Note: Bruce Momjian wrote the following notes to introduce the 
	 new release.

       There are some general 6.3 issues that I want to mention. These are 
       only the big items that can not be described in one sentence. A 
       review of the detailed changes list is still needed.
       First, we now have subselects. Now that we have them, I would like 
       to mention that without subselects, SQL is a very limited language. 
       Subselects are a major feature, and you should review your code for 
       places where subselects provide a better solution for your queries. 
       I think you will find that there are more uses for subselects than 
       you may think. Vadim has put us on the big SQL map with subselects, 
       and fully functional ones too. The only thing you can't do with 
       subselects is to use them in the target list.
       Second, 6.3 uses unix domain sockets rather than TCP/IP by default. 
       To enable connections from other machines, you have to use the new 
       postmaster -i option, and of course edit pg_hba.conf. Also, for this 
       reason, the format of pg_hba.conf has changed.
       Third, char() fields will now allow faster access than varchar() or 
       text. Specifically, the text and varchar() have a penalty for access 
       to any columns after the first column of this type. char() used to 
       also have this access penalty, but it no longer does. This may 
       suggest that you redesign some of your tables, especially if you 
       have short character columns that you have defined as varchar() or 
       text. This and other changes make 6.3 even faster than earlier 
       releases.
       We now have passwords definable independent of any Unix file. There 
       are new SQL USER commands. See the pg_hba.conf manual page for more 
       information. There is a new table, pg_shadow, which is used to store 
       user information and user passwords, and it by default only 
       SELECT-able by the postgres super-user. pg_user is now a view of 
       pg_shadow, and is SELECT-able by PUBLIC. You should keep using 
       pg_user in your application without changes.
       User-created tables now no longer have SELECT permission to PUBLIC 
       by default. This was done because the ANSI standard requires it. You 
       can of course GRANT any permissions you want after the table is 
       created. System tables continue to be SELECT-able by PUBLIC.
       We also have real deadlock detection code. No more sixty-second 
       timeouts. And the new locking code implements a FIFO better, so 
       there should be less resource starvation during heavy use.
       Many complaints have been made about inadequate documenation in 
       previous releases. Thomas has put much effort into many new manuals 
       for this release. Check out the doc/ directory.
       For performance reasons, time travel is gone, but can be implemented 
       using triggers (see pgsql/contrib/spi/README). Please check out the 
       new \d command for types, operators, etc. Also, views have their own 
       permissions now, not based on the underlying tables, so permissions 
       on them have to be set separately. Check /pgsql/interfaces for some 
       new ways to talk to Postgres.
       This is the first release that really required an explanation for 
       existing users. In many ways, this was necessary because the new 
       release removes many limitations, and the work-arounds people were 
       using are no longer needed.
d908 2
a909 2
       A dump/restore using pg_dump or pg_dumpall is required for those 
       wishing to migrate data from any previous release of Postgres.
d913 169
a1081 200
       Bug Fixes
       ---------
       Fix binary cursors broken by MOVE implementation(Vadim)
       Fix for tcl library crash(Jan)
       Fix for array handling, from Gerhard Hintermayer
       Fix acl error, and remove duplicate pqtrace(Bruce)
       Fix psql \e for empty file(Bruce)
       Fix for textcat on varchar() fields(Bruce)
       Fix for DBT Sendproc (Zeugswetter Andres)
       Fix vacuum analyze syntax problem(Bruce)
       Fix for international identifiers(Tatsuo)
       Fix aggregates on inherited tables(Bruce)
       Fix substr() for out-of-bounds data
       Fix for select 1=1 or 2=2, select 1=1 and 2=2, and select 
       sum(2+2)(Bruce)
       Fix notty output to show status result.	-q option still turns it 
       off(Bruce)
       Fix for count(*), aggs with views and multiple tables and 
       sum(3)(Bruce)
       Fix cluster(Bruce)
       Fix for PQtrace start/stop several times(Bruce)
       Fix a variety of locking problems like newer lock waiters getting
	       lock before older waiters, and having readlock people not 
       share
	       locks if a writer is waiting for a lock, and waiting writers 
       not
	       getting priority over waiting readers(Bruce)
       Fix crashes in psql when executing queries from external 
       files(James)
       Fix problem with multiple order by columns, with the first one 
       having
	       NULL values(Jeroen)
       Use correct hash table support functions for float8 and int4(Thomas)
       Re-enable JOIN= option in CREATE OPERATOR statement (Thomas)
       Change precedence for boolean operators to match expected 
       behavior(Thomas)
       Generate elog(ERROR) on over-large integer(Bruce)
       Allow multiple-argument functions in constraint clauses(Thomas)
       Check boolean input literals for 'true','false','yes','no','1','0'
	       and throw elog(ERROR) if unrecognized(Thomas)
       Major large objects fix
       Fix for GROUP BY showing duplicates(Vadim)
       Fix for index scans in MergeJion(Vadim)

       Enhancements
       ------------
       Subselects with EXISTS, IN, ALL, ANY keywords (Vadim, Bruce, Thomas)
       New User Manual(Thomas, others)
       Speedup by inlining some frequently-called functions
       Real deadlock detection, no more timeouts(Bruce)
       Add SQL92 "constants" CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP, 
	       CURRENT_USER(Thomas)
       Modify constraint syntax to be SQL92-compliant(Thomas)
       Implement SQL92 PRIMARY KEY and UNIQUE clauses using indices(Thomas)
       Recognize SQL92 syntax for FOREIGN KEY. Throw elog notice(Thomas)
       Allow NOT NULL UNIQUE constraint clause (each allowed separately 
       before)(Thomas)
       Allow Postgres-style casting ("::") of non-constants(Thomas)
       Add support for SQL3 TRUE and FALSE boolean constants(Thomas)
       Support SQL92 syntax for IS TRUE/IS FALSE/IS NOT TRUE/IS NOT 
       FALSE(Thomas)
       Allow shorter strings for boolean literals (e.g. "t", "tr", 
       "tru")(Thomas)
       Allow SQL92 delimited identifiers(Thomas)
       Implement SQL92 binary and hexadecimal string decoding (b'10' and 
       x'1F')(Thomas)
       Support SQL92 syntax for type coercion of literal strings
	       (e.g. "DATETIME 'now'")(Thomas)
       Add conversions for int2, int4, and OID types to and from 
       text(Thomas)
       Use shared lock when building indices(Vadim)
       Free memory allocated for an user query inside transaction block 
       after
	       this query is done, was turned off in <= 6.2.1(Vadim)
       New SQL statement CREATE PROCEDURAL LANGUAGE(Jan)
       New Postgres Procedural Language (PL) backend interface(Jan)
       Rename pg_dump -H option to -h(Bruce)
       Add Java support for passwords, European dates(Peter)
       Use indices for LIKE and ~, !~ operations(Bruce)
       Add hash functions for datetime and timespan(Thomas)
       Time Travel removed(Vadim, Bruce)
       Add paging for \d and \z, and fix \i(Bruce)
       Add Unix domain socket support to backend and to frontend 
       library(Goran)
       Implement CREATE DATABASE/WITH LOCATION and initlocation 
       utility(Thomas)
       Allow more SQL92 and/or Postgres reserved words as column 
       identifiers(Thomas)
       Augment support for SQL92 SET TIME ZONE...(Thomas)
       SET/SHOW/RESET TIME ZONE uses TZ backend environment 
       variable(Thomas)
       Implement SET keyword = DEFAULT and SET TIME ZONE DEFAULT(Thomas)
       Enable SET TIME ZONE using TZ environment variable(Thomas)
       Add PGDATESTYLE environment variable to frontend and backend 
       initialization(Thomas)
       Add PGTZ, PGCOSTHEAP, PGCOSTINDEX, PGRPLANS, PGGEQO
	       frontend library initialization environment 
       variables(Thomas)
       Regression tests time zone automatically set with "setenv PGTZ 
       PST8PDT"(Thomas)
       Add pg_description table for info on tables, columns, operators, 
       types, and
	       aggregates(Bruce)
       Increase 16 char limit on system table/index names to 32 
       characters(Bruce)
       Rename system indices(Bruce)
       Add 'GERMAN' option to SET DATESTYLE(Thomas)
       Define an "ISO-style" timespan output format with "hh:mm:ss" 
       fields(Thomas)
       Allow fractional values for delta times (e.g. '2.5 days')(Thomas)
       Validate numeric input more carefully for delta times(Thomas)
       Implement day of year as possible input to date_part()(Thomas)
       Define timespan_finite() and text_timespan() functions(Thomas)
       Remove archive stuff(Bruce)
       Allow for a pg_password authentication database that is separate 
       from
	       the system password file(Todd)
       Dump ACLs, GRANT, REVOKE permissions(Matt)
       Define text, varchar, and bpchar string length functions(Thomas)
       Fix Query handling for inheritance, and cost computations(Bruce)
       Implement CREATE TABLE/AS SELECT (alternative to 
       SELECT/INTO)(Thomas)
       Allow NOT, IS NULL, IS NOT NULL in constraints(Thomas)
       Implement UNIONs for SELECT(Bruce)
       Add UNION, GROUP, DISTINCT to INSERT(Bruce)
       varchar() stores only necessary bytes on disk(Bruce)
       Fix for BLOBs(Peter)
       Mega-Patch for JDBC...see README_6.3 for list of changes(Peter)
       Remove unused "option" from PQconnectdb()
       New LOCK command and lock manual page describing deadlocks(Bruce)
       Add new psql \da, \dd, \df, \do, \dS, and \dT commands(Bruce)
       Enhance psql \z to show sequences(Bruce)
       Show NOT NULL and DEFAULT in psql \d table(Bruce)
       New psql .psqlrc file startup(Andrew)
       Modify sample startup script in contrib/linux to show syslog(Thomas)
       New types for IP and MAC addresses in contrib/ip_and_mac(TomH)
       Unix system time conversions with date/time types in 
       contrib/unixdate(Thomas)
       Update of contrib stuff(Massimo)
       Add Unix socket support to DBD::Pg(Goran)
       New python interface (PyGreSQL 2.0)(D'Arcy)
       New frontend/backend protocol has a version number, network byte 
       order(Phil)
       Security features in pg_hba.conf enhanced and documented, many 
       cleanups(Phil)
       CHAR() now faster access than VARCHAR() or TEXT
       ecpg embedded SQL preprocessor
       Reduce system column overhead(Vadmin)
       Remove pg_time table(Vadim)
       Add pg_type attribute to identify types that need length (bpchar, 
       varchar)
       Add report of offending line when COPY command fails
       Allow VIEW permissions to be set separately from the underlying 
       tables. 
	       For security, use GRANT/REVOKE on views as appropriate(Jan)
       Tables now have no default GRANT SELECT TO PUBLIC.  You must
	       explicitly grant such permissions.
       Clean up tutorial examples(Darren)

       Source Tree Changes
       -------------------
       Add new html development tools, and flow chart in /tools/backend
       Fix for SCO compiles
       Stratus computer port Robert Gillies
       Added support for shlib for BSD44_derived & i386_solaris
       Make configure more automated(Brook)
       Add script to check regression test results
       Break parser functions into smaller files, group together(Bruce)
       Rename heap_create to heap_create_and_catalog, rename heap_creatr
	       to heap_create()(Bruce)
       Sparc/Linux patch for locking(TomS)
       Remove PORTNAME and reorganize port-specific stuff(Marc)
       Add optimizer README file(Bruce)
       Remove some recursion in optimizer and clean up some code 
       there(Bruce)
       Fix for NetBSD locking(Henry)
       Fix for libptcl make(Tatsuo)
       AIX patch(Darren)
       Change IS TRUE, IS FALSE, ... to expressions using "=" rather than
	       function calls to istrue() or isfalse() to allow 
       optimization(Thomas)
       Various fixes NetBSD/Sparc related(TomH)
       Alpha linux locking(Travis,Ryan)
       Change elog(WARN) to elog(ERROR)(Bruce)
       FAQ for FreeBSD(Marc)
       Bring in the PostODBC source tree as part of our standard 
       distribution(Marc)
       A minor patch for HP/UX 10 vs 9(Stan)
       New pg_attribute.atttypmod for type-specific info like varchar 
       length(Bruce)
       Unixware patches(Billy)
       New i386 'lock' for spin lock asm(Billy)
       Support for multiplexed backends is removed
       Start an OpenBSD port
       Start an AUX port
       Start a Cygnus port
       Add string functions to regression suite(Thomas)
       Expand a few function names formerly truncated to 16 
       characters(Thomas)
       Remove un-needed malloc() calls and replace with palloc()(Bruce)
d1085 12
a1096 8
       v6.2.1 is a bug-fix and usability release on v6.2.
       Summary: 
       o Allow strings to span lines, per SQL92.
       o Include example trigger function for inserting user names on table 
	updates.
       This is a minor bug-fix release on v6.2. For upgrades from pre-v6.2 
       systems, a full dump/reload is required. Refer to the v6.2 release 
       notes for instructions.
d1100 9
a1108 7
       This is a minor bug-fix release. A dump/reload is not required from 
       v6.2, but is required from any release prior to v6.2.
       In upgrading from v6.2, if you choose to dump/reload you will find 
       that avg(money) is now calculated correctly. All other bug fixes 
       take effect upon updating the executables.
       Another way to avoid dump/reload is to use the following SQL command 
       from psql to update the existing system table: 
d1110 2
a1111 2
	 update pg_aggregate set aggfinalfn = 'cash_div_flt8'
	  where aggname = 'avg' and aggbasetype = 790;
d1113 1
a1113 2
       This will need to be done to every existing database, including 
       template1.
d1117 18
a1134 15
       Changes in this release
       -----------------------
       Allow TIME and TYPE column names(Thomas)
       Allow larger range of true/false as boolean values(Thomas)
       Support output of "now" and "current"(Thomas)
       Handle DEFAULT with INSERT of NULL properly(Vadim)
       Fix for relation reference counts problem in buffer manager(Vadim)
       Allow strings to span lines, like ANSI(Thomas)
       Fix for backward cursor with ORDER BY(Vadim)
       Fix avg(cash) computation(Thomas)
       Fix for specifying a column twice in ORDER/GROUP BY(Vadim)
       Documented new libpq function to return affected rows, 
       PQcmdTuples(Bruce)
       Trigger function for inserting user names for INSERT/UPDATE(Brook 
       Milligan)
d1138 2
a1139 2
       A dump/restore is required for those wishing to migrate data from 
       previous releases of Postgres.
d1143 5
a1147 4
       This migration requires a complete dump of the 6.1 database and a 
       restore of the database in 6.2.
       Note that the pg_dump and pg_dumpall utility from 6.2 should be used 
       to dump the 6.1 database.
d1151 2
a1152 3
       Those migrating from earlier 1.* releases should first upgrade to 
       1.09 because the COPY output format was improved from the 1.02 
       release.
d1156 113
a1268 129
       Bug Fixes
       ---------
       Fix problems with pg_dump for inheritance, sequences, archive 
       tables(Bruce)
       Fix compile errors on overflow due to shifts, unsigned, and bad 
       prototypes
		from Solaris(Diab Jerius)
       Fix bugs in geometric line arithmetic (bad intersection 
       calculations)(Thomas)
       Check for geometric intersections at endpoints to avoid rounding 
       ugliness(Thomas)
       Catch non-functional delete attempts(Vadim)
       Change time function names to be more consistent(Michael Reifenberg)
       Check for zero divides(Michael Reifenberg)
       Fix very old bug which made tuples changed/inserted by a commnd
	       visible to the command itself (so we had multiple update of 
	       updated tuples, etc)(Vadim)
       Fix for SELECT null, 'fail' FROM pg_am (Patrick)
       SELECT NULL as EMPTY_FIELD now allowed(Patrick)
       Remove un-needed signal stuff from contrib/pginterface
       Fix OR (where x <> 1 or x isnull didn't return tuples with x NULL) 
       (Vadim)
       Fix time_cmp function (Vadim)
       Fix handling of functions with non-attribute first argument in 
	       WHERE clauses (Vadim)
       Fix GROUP BY when order of entries is different from order
	       in target list (Vadim)
       Fix pg_dump for aggregates without sfunc1 (Vadim)

       Enhancements
       ------------
       Default genetic optimizer GEQO parameter is now 8(Bruce)
       Allow use parameters in target list having aggregates in 
       functions(Vadim)
       Added JDBC driver as an interface(Adrian & Peter)
       pg_password utility
       Return number of tuples inserted/affected by INSERT/UPDATE/DELETE 
       etc.(Vadim)
       Triggers implemented with CREATE TRIGGER (SQL3)(Vadim)
       SPI (Server Programming Interface) allows execution of queries 
       inside 
	       C-functions (Vadim)
       NOT NULL implemented (SQL92)(Robson Paniago de Miranda)
       Include reserved words for string handling, outer joins, and 
       unions(Thomas)
       Implement extended comments ("/* ... */") using exclusive 
       states(Thomas)
       Add "//" single-line comments(Bruce)
       Remove some restrictions on characters in operator names(Thomas)
       DEFAULT and CONSTRAINT for tables implemented (SQL92)(Vadim & 
       Thomas)
       Add text concatenation operator and function (SQL92)(Thomas)
       Support WITH TIME ZONE syntax (SQL92)(Thomas)
       Support INTERVAL unit TO unit syntax (SQL92)(Thomas)
       Define types DOUBLE PRECISION, INTERVAL, CHARACTER,
	       and CHARACTER VARYING (SQL92)(Thomas)
       Define type FLOAT(p) and rudimentary DECIMAL(p,s), NUMERIC(p,s) 
       (SQL92)(Thomas)
       Define EXTRACT(), POSITION(), SUBSTRING(), and TRIM() 
       (SQL92)(Thomas)
       Define CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP (SQL92)(Thomas)
       Add syntax and warnings for UNION, HAVING, INNER and OUTER JOIN 
       (SQL92)(Thomas)
       Add more reserved words, mostly for SQL92 compliance(Thomas)
       Allow hh:mm:ss time entry for timespan/reltime types(Thomas)
       Add center() routines for lseg, path, polygon(Thomas)
       Add distance() routines for circle-polygon, polygon-polygon(Thomas)
       Check explicitly for points and polygons contained within polygons
	       using an axis-crossing algorithm(Thomas)
       Add routine to convert circle-box(Thomas)
       Merge conflicting operators for different geometric data 
       types(Thomas)
       Replace distance operator "<===>" with "<->"(Thomas)
       Replace "above" operator "!^" with ">^" and "below" operator "!|" 
       with "<^"(Thomas)
       Add routines for text trimming on both ends, substring, and string 
       position(Thomas)
       Added conversion routines circle(box) and poly(circle)(Thomas)
       Allow internal sorts to be stored in memory rather than in 
       files(Bruce & Vadim)
       Allow functions and operators on internally-identical types to 
       succeed(Bruce)
       Speed up backend startup after profiling analysis(Bruce)
       Inline frequently called functions for performance(Bruce)
       Reduce open() calls(Bruce)
       psql:  Add PAGER for \h and \?,\C fix
       Fix for psql pager when no tty(Bruce)
       New entab utility(Bruce)
       General trigger functions for referential integrity (Vadim)
       General trigger functions for time travel (Vadim)
       General trigger functions for AUTOINCREMENT/IDENTITY feature (Vadim)
       MOVE implementation (Vadim)

       Source Tree Changes
       -------------------
       HPUX 10 patches (Vladimir Turin)
       Added SCO support, (Daniel Harris)
       mkLinux patches (Tatsuo Ishii)
       Change geometric box terminology from "length" to "width"(Thomas)
       Deprecate temporary unstored slope fields in geometric code(Thomas)
       Remove restart instructions from INSTALL(Bruce)
       Look in /usr/ucb first for install(Bruce)
       Fix c++ copy example code(Thomas)
       Add -o to psql manual page(Bruce)
       Prevent relname unallocated string length from being copied into 
       database(Bruce)
       Cleanup for NAMEDATALEN use(Bruce)
       Fix pg_proc names over 15 chars in output(Bruce)
       Add strNcpy() function(Bruce)
       remove some (void) casts that are unnecessary(Bruce)
       new interfaces directory(Marc)
       Replace fopen() calls with calls to fd.c functions(Bruce)
       Make functions static where possible(Bruce)
       enclose unused functions in #ifdef NOT_USED(Bruce)
       Remove call to difftime() in timestamp support to fix SunOS(Bruce & 
       Thomas)
       Changes for Digital Unix
       Portability fix for pg_dumpall(Bruce)
       Rename pg_attribute.attnvals to attdisbursion(Bruce)
       "intro/unix" manual page now "pgintro"(Bruce)
       "built-in" manual page now "pgbuiltin"(Bruce)
       "drop" manual page now "drop_table"(Bruce)
       Add "create_trigger", "drop_trigger" manual pages(Thomas)
       Add constraints regression test(Vadim & Thomas)
       Add comments syntax regression test(Thomas)
       Add PGINDENT and support program(Bruce)
       Massive commit to run PGINDENT on all *.c and *.h files(Bruce)
       Files moved to /src/tools directory(Bruce)
       SPI and Trigger programming guides (Vadim & D'Arcy)
d1274 3
a1276 3
       This is a minor bug-fix release. A dump/reload is not required from 
       v6.1, but is required from any release prior to v6.1. Refer to the 
       release notes for v6.1 for more details.
d1280 24
a1303 22
       Changes in this release
       -----------------------
       fix for SET with options (Thomas)
       allow pg_dump/pg_dumpall to preserve ownership of all 
       tables/objects(Bruce)
       new psql \connect option allows changing usernames without changing 
       databases
       fix for initdb --debug option(Yoshihiko Ichikawa))
       lextest cleanup(Bruce)
       hash fixes(Vadim)
       fix date/time month boundary arithmetic(Thomas)
       fix timezone daylight handling for some ports(Thomas, Bruce, Tatsuo)
       timestamp overhauled to use standard functions(Thomas)
       other code cleanup in date/time routines(Thomas)
       psql's \d now case-insensitive(Bruce)
       psql's backslash commands can now have trailing semicolon(Bruce)
       fix memory leak in psql when using \g(Bruce)
       major fix for endian handling of communication to server(Thomas, 
       Tatsuo)
       Fix for Solaris assembler and include files(Yoshihiko Ichikawa)
       allow underscores in usernames(Bruce)
       pg_dumpall now returns proper status, portability fix(Bruce)
d1307 32
a1338 29
	The regression tests have been adapted and extensively modified for 
       the v6.1 release of Postgres.
	Three new data types (datetime, timespan, and circle) have been 
       added to the native set of Postgres types. Points, boxes, paths, and 
       polygons have had their output formats made consistant across the 
       data types. The polygon output in misc.out has only been 
       spot-checked for correctness relative to the original regression 
       output.
	Postgres v6.1 introduces a new, alternate optimizer which uses 
       genetic algorithms. These algorithms introduce a random behavior in 
       the ordering of query results when the query contains multiple 
       qualifiers or multiple tables (giving the optimizer a choice on 
       order of evaluation). Several regression tests have been modified to 
       explicitly order the results, and hence are insensitive to optimizer 
       choices. A few regression tests are for data types which are 
       inherently unordered (e.g. points and time intervals) and tests 
       involving those types are explicitly bracketed with set geqo to 
       'off' and reset geqo.
	The interpretation of array specifiers (the curly braces around 
       atomic values) appears to have changed sometime after the original 
       regression tests were generated. The current ./expected/*.out files 
       reflect this new interpretation, which may not be correct!
	The float8 regression test fails on at least some platforms. This 
       is due to differences in implementations of pow() and exp() and the 
       signaling mechanisms used for overflow and underflow conditions.
	The "random" results in the random test should cause the "random" 
       test to be "failed", since the regression tests are evaluated using 
       a simple diff. However, "random" does not seem to produce random 
       results on my test machine (Linux/gcc/i686).
d1342 5
a1346 5
       This migration requires a complete dump of the 6.0 database and a 
       restore of the database in 6.1.
       Those migrating from earlier 1.* releases should first upgrade to 
       1.09 because the COPY output format was improved from the 1.02 
       release.
d1350 99
a1448 97
       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)
       select SUM(x) can return NULL on no rows(Thomas)
       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)
       fix buffer leak in hash indices (Vadim)
       fix rtree for use in inner scan (Vadim)
       fix gist for use in inner scan, cleanups (Vadim, Andrea)
       avoid unnecessary local buffers allocation (Vadim, Massimo)
       fix local buffers leak in transaction aborts (Vadim)
       fix file manager memmory leaks, cleanups (Vadim, Massimo)
       fix storage manager memmory leaks (Vadim)
       fix btree duplicates handling (Vadim)
       fix deleted tuples re-incarnation caused by vacuum (Vadim)
       fix SELECT varchar()/char() INTO TABLE made zero-length 
       fields(Bruce)
       many psql, pg_dump, and libpq memory leaks fixed using Purify (Igor)

       Enhancements
       ------------
       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)
       massive changes to libpg++(Leo)
       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)
       update transaction status on reads(Dan)
       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)
       new MONEY data type(D'Arcy,Thomas)
       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)
       new datestyle variable(Thomas,Vadim,Martin)
       more comparison operators for sorting types(Thomas)
       new conversion functions(Thomas)
       new more compact btree format(Vadim)
       allow pg_dumpall to preserve database ownership(Bruce)
       new SET GEQO=# and R_PLANS variable(Vadim)
       old (!GEQO) optimizer can use right-sided plans (Vadim)
       typechecking improvement in SQL parser(Bruce)
       new SET, SHOW, RESET commands(Thomas,Vadim)
       new \connect database USER option
       new destroydb -i option (Igor)
       new \dt and \di psql commands (Darren)
       SELECT "\n" now escapes newline (A. Duursma)
       new geometry conversion functions from old format (Thomas)

       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)
       DG-UX, Ultrix, Irix, AIX portability fixes
d1452 2
a1453 2
       A dump/restore is required for those wishing to migrate data from 
       previous releases of Postgres.
d1457 2
a1458 2
       This migration requires a complete dump of the 1.09 database and a 
       restore of the database in 6.0.
d1462 2
a1463 3
       Those migrating from earlier 1.* releases should first upgrade to 
       1.09 because the COPY output format was improved from the 1.02 
       release.
d1467 108
a1574 117
       Bug Fixes
       ---------
       ALTER TABLE bug - running postgress process needs to re-read table 
       definition
       Allow vacuum to be run on one table or entire database(Bruce)
       Array fixes
       Fix array over-runs of memory writes(Kurt)
       Fix elusive btree range/non-range bug(Dan)
       Fix for hash indexes on some types like time and date
       Fix for pg_log size explosion
       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
       NOTIFY fixes
       New asserts for run-checking
       Overhauled parser/analyze code to properly report errors and 
       increase speed
       Pg_dump -d now handles NULL's properly(Bruce)
       Prevent SELECT NULL from crashing server (Bruce)
       Properly report errors when INSERT ... SELECT columns did not match
       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)
       Submitting 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)
       Allow "select oid,* from table"
       Allow BY,ORDER BY to specify columns by number, or by non-alias 
       table.column(Bruce)
       Allow COPY from the frontend(Bryan)
       Allow GROUP BY to use alias column name(Bruce)
       Allow actual compression, not just reuse on the same page(Vadim)
       Allow installation-configuration option to auto-add all local 
       users(Bryan)
       Allow libpq to distinguish between text value '' and null(Bruce)
       Allow non-postgres users with createdb privs to destroydb's
       Allow restriction on who can create C functions(Bryan)
       Allow restriction on who can do backend COPY(Bryan)
       Can shrink tables, pg_time and pg_log(Vadim & Erich)
       Change debug level 2 to print queries only, changed debug heading 
       layout(Bruce)
       Change default decimal constant representation from float4 to 
       float8(Bruce)
       European date format now set when postmaster is started
       Execute lowercase function names if not found with exact case
       Fixes for aggregate/GROUP processing, allow 'select 
       sum(func(x),sum(x+y) from z'
       Gist now included in the distrubution(Marc)
       Idend authentication of local users(Bryan)
       Implement BETWEEN qualifier(Bruce)
       Implement IN qualifier(Bruce)
       Libpq has PQgetisnull()(Bruce)
       Libpq++ improvements
       New options to initdb(Bryan)
       Pg_dump allow dump of oid's(Bruce)
       Pg_dump create indexes after tables are loaded for speed(Bruce)
       Pg_dumpall dumps all databases, and the user table
       Pginterface additions for NULL values(Bruce)
       Prevent postmaster from being run as root
       Psql \h and \? is now readable(Bruce)
       Psql allow backslashed, semicolons anywhere on the line(Bruce)
       Psql changed command prompt for lines in query or in quotes(Bruce)
       Psql char(3) now displays as (bp)char in \d output(Bruce)
       Psql return code now more accurate(Bryan?)
       Psql updated help syntax(Bruce)
       Re-visit and fix vacuum(Vadim)
       Reduce size of regression diffs, remove timezone name 
       difference(Bruce)
       Remove compile-time parameters to enable binary distributions(Bryan)
       Reverse meaning of HBA masks(Bryan)
       Secure Authentication of local users(Bryan)
       Speed up vacuum(Vadim)
       Vacuum now had VERBOSE option(Bruce)

       Source tree changes
       -------------------
       All functions now have prototypes that are compared against the 
       calls
       Allow asserts to be disabled easly from Makefile.global(Bruce)
       Change oid constants used in code to #define names
       Decoupled sparc and solaris defines(Kurt)
       Gcc -Wall compiles cleanly with warnings only from unfixable 
       constructs
       Major include file reorganization/reduction(Marc)
       Make now stops on compile failure(Bryan)
       Makefile restructuring(Bryan, Marc)
       Merge bsdi_2_1 to bsdi(Bruce)
       Monitor program removed
       Name change from Postgres95 to PostgreSQL
       New config.h file(Marc, Bryan)
       PG_VERSION now set to 6.0 and used by postmaster
       Portability additions, including Ultrix, DG/UX, AIX, and Solaris
       Reduced the number of #define's, centeralized #define's
       Remove duplicate OIDS in system tables(Dan)
       Remove duplicate system catalog info or report mismatches(Dan)
       Removed many os-specific #define's
       Restructured object file generation/location(Bryan, Marc)
       Restructured port-specific file locations(Bryan, Marc)
       Unused/uninialized variables corrected
d1578 7
a1584 3
       Sorry, we stopped keeping track of changes from 1.02 to 1.09. Some 
       of the changes listed in 6.0 were actually included in the 1.02.1 to 
       1.09 releases.
d1590 14
a1603 2
       Here is a new migration file for 1.02.1. It includes the 'copy' 
       change and a script to convert old ascii files.
d1605 12
a1616 21
	 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.
	 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.

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

       1. Start up a new 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: 
		% 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.
d1620 18
a1637 22
       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. 

	       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);
d1641 30
a1670 26
       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
d1676 92
a1767 97
       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
       8. 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
	 and then execute the following commands (cut and paste from 
	 here): 
	 -- 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);
d1771 37
a1807 42
       Incompatibilities:
	* 1.01 is backwards compatible with 1.0 database provided the user
	  follow the steps outlined in the MIGRATION_from_1.0_to_1.01 file.
	  If those steps are not taken, 1.01 is not compatible with 1.0 
       database.

       Enhancements:
	* added PQdisplayTuples() to libpq and changed monitor and psql to 
       use it
	* added NeXT port (requires SysVIPC implementation)
	* added CAST .. AS ... syntax
	* added ASC and DESC keywords
	* added 'internal' as a possible language for CREATE FUNCTION
	  internal functions are C functions which have been statically 
       linked
	  into the postgres backend.
	* a new type "name" has been added for system identifiers (table 
       names,
	  attribute names, etc.)  This replaces the old char16 type.   The
	  of name is set by the NAMEDATALEN #define in src/Makefile.global
	* a readable reference manual that describes the query language.
	* added host-based access control.  A configuration file 
       ($PGDATA/pg_hba)
	  is used to hold the configuration data.  If host-based access 
       control
	  is not desired, comment out HBA=1 in src/Makefile.global.
	* changed regex handling to be uniform use of Henry Spencer's regex 
       code
	  regardless of platform.  The regex code is included in the 
       distribution
	* added functions and operators for case-insensitive regular 
       expressions. 
	  The operators are ~* and !~*.
	* pg_dump uses COPY instead of SELECT loop for better performance

       Bug fixes:
	* fixed an optimizer bug that was causing core dumps when 
	  functions calls were used in comparisons in the WHERE clause
	* changed all uses of getuid to geteuid so that effective uids are 
       used
	* psql now returns non-zero status on errors when using -c
	* applied public patches 1-14
d1813 44
a1856 45
       Copyright change:
	* The copyright of Postgres 1.0 has been loosened to be freely 
       modifiable
	  and modifiable for any purpose.  Please read the COPYRIGHT file.
	  Thanks to Professor Michael Stonebraker for making this possible.

       Incompatibilities:
	*  date formats have to be MM-DD-YYYY (or DD-MM-YYYY if you're 
       using
	  EUROPEAN STYLE).  This follows SQL-92 specs.
	*  "delimiters" is now a keyword

       Enhancements:
	*  sql LIKE syntax has been added
	*  copy command now takes an optional USING DELIMITER 
       specification.
	  delimiters can be any single-character string. 
	*  IRIX 5.3 port has been added.
	  Thanks to Paul Walmsley and others.
	*  updated pg_dump to work with new libpq
	*  \d has been added psql 
	  Thanks to Keith Parks
	*  regexp performance for architectures that use POSIX regex has 
       been
	  improved due to caching of precompiled patterns.
	  Thanks to Alistair Crooks
	*  a new version of libpq++
	  Thanks to William Wanders

       Bug fixes:
	*  arbitrary userids can be specified in the createuser script
	*  \c to connect to other databases in psql now works.
	*  bad pg_proc entry for float4inc() is fixed
	*  users with usecreatedb field set can now create databases 
       without
	  having to be usesuper
	*  remove access control entries when the entry no longer has any
	  permissions
	*  fixed non-portable datetimes implementation
	*  added kerberos flags to the src/backend/Makefile
	*  libpq now works with kerberos
	*  typographic errors in the user manual have been corrected.
	*  btrees with multiple index never worked, now we tell you they 
       don't
	  work when you try to use them
d1862 110
a1971 134
       Incompatible changes:
	* BETA-0.3 IS INCOMPATIBLE WITH DATABASES CREATED WITH PREVIOUS 
       VERSIONS
	  (due to system catalog changes and indexing structure changes).
	* double-quote (") is deprecated as a quoting character for string 
       literals;
	  you need to convert them to single quotes (').
	* name of aggregates (eg. int4sum) are renamed in accordance with 
       the
	  SQL standard (eg. sum).
	* CHANGE ACL syntax is replaced by GRANT/REVOKE syntax.
	* float literals (eg. 3.14) are now of type float4 (instead of 
       float8 in
	  previous releases); you might have to do typecasting if you 
       depend on it
	  being of type float8.  If you neglect to do the typecasting and 
       you assign
	  a float literal to a field of type float8, you may get incorrect 
       values
	  stored!
	* LIBPQ has been totally revamped so that frontend applications
	  can connect to multiple backends
	* the usesysid field in pg_user has been changed from int2 to int4 
       to
	  allow wider range of Unix user ids.
	* the netbsd/freebsd/bsd o/s ports have been consolidated into a
	  single BSD44_derived port.  (thanks to Alistair Crooks)

       SQL standard-compliance (the following details changes that makes 
       postgres95
       more compliant to the SQL-92 standard):
	* the following SQL types are now built-in: smallint, int(eger), 
       float, real,
	  char(N), varchar(N), date and time.

	  The following are aliases to existing postgres types:
		       smallint -> int2
		       integer, int -> int4
		       float, real  -> float4
	  char(N) and varchar(N) are implemented as truncated text types. 
       In
	  addition, char(N) does blank-padding. 
	* single-quote (') is used for quoting string literals; '' (in 
       addition to
	  \') is supported as means of inserting a single quote in a string
	* SQL standard aggregate names (MAX, MIN, AVG, SUM, COUNT) are used
	  (Also, aggregates can now be overloaded, i.e. you can define your
	  own MAX aggregate to take in a user-defined type.)
	* CHANGE ACL removed. GRANT/REVOKE syntax added.  
	  - Privileges can be given to a group using the "GROUP" keyword.
	       For example:
		       GRANT SELECT ON foobar TO GROUP my_group;
	       The keyword 'PUBLIC' is also supported to mean all users.       

	       Privileges can only be granted or revoked to one user or 
       group
	       at a time.  

	       "WITH GRANT OPTION" is not supported.  Only class owners can 
       change
	       access control
	  - The default access control is to to grant users readonly 
       access.
	    You must explicitly grant insert/update access to users.  To 
       change
	    this, modify the line in 
		       src/backend/utils/acl.h 
	    that defines ACL_WORLD_DEFAULT 

       Bug fixes:
	* the bug where aggregates of empty tables were not run has been 
       fixed. Now,
	  aggregates run on empty tables will return the initial conditions 
       of the
	  aggregates. Thus, COUNT of an empty  table will now properly 
       return 0.
	  MAX/MIN of an empty table will return a tuple of value NULL. 
	* allow the use of \; inside the monitor
	* the LISTEN/NOTIFY asynchronous notification mechanism now work
	* NOTIFY in rule action bodies now work
	* hash indices work, and access methods in general should perform 
       better.
	  creation of large btree indices should be much faster.  (thanks 
       to Paul
	  Aoki)

       Other changes and enhancements:
	* addition of an EXPLAIN statement used for explaining the query 
       execution
	  plan (eg. "EXPLAIN SELECT * FROM EMP" prints out the execution 
       plan for
	  the query).
	* WARN and NOTICE messages no longer have timestamps on them. To 
       turn on
	  timestamps of error messages, uncomment the line in
	  src/backend/utils/elog.h:
	       /* define ELOG_TIMESTAMPS */ 
	* On an access control violation, the message
	       "Either no such class or insufficient privilege"
	  will be given.  This is the same message that is returned when
	  a class is not found.  This dissuades non-privileged users from
	  guessing the existence of privileged classes.
	* some additional system catalog changes have been made that are 
       not
	  visible to the user.

       libpgtcl changes:
	* The -oid option has been added to the "pg_result" tcl command.
	  pg_result -oid returns oid of the last tuple inserted.   If the
	  last command was not an INSERT, then pg_result -oid returns "".
	* the large object interface is available as pg_lo* tcl commands:
	  pg_lo_open, pg_lo_close, pg_lo_creat, etc.

       Portability enhancements and New Ports:
	* flex/lex problems have been cleared up.  Now, you should be able 
       to use
	  flex instead of lex on any platforms.  We no longer make 
       assumptions of
	  what lexer you use based on the platform you use. 
	* The Linux-ELF port is now supported.	Various configuration have 
       been 
	  tested:  The following configuration is known to work:
	       kernel 1.2.10, gcc 2.6.3, libc 4.7.2, flex 2.5.2, bison 1.24
	  with everything in ELF format,

       New utilities:
	* ipcclean added to the distribution
	  ipcclean usually does not need to be run, but if your backend 
       crashes
	  and leaves shared memory segments hanging around, ipcclean will
	  clean them up for you.

       New documentation:
	* the user manual has been revised and libpq documentation added.
d1977 38
a2014 40
       Incompatible changes:
	* The SQL statement for creating a database is 'CREATE DATABASE' 
       instead
	  of 'CREATEDB'. Similarly, dropping a database is 'DROP DATABASE' 
       instead
	  of 'DESTROYDB'. However, the names of the executables 'createdb' 
       and 
	  'destroydb' remain the same.
	
       New tools:
	* pgperl - a Perl (4.036) interface to Postgres95
	* pg_dump - a utility for dumping out a postgres database into a
	       script file containing query commands. The script files are 
       in a ASCII
	       format and can be used to reconstruct the database, even on 
       other
	       machines and other architectures. (Also good for converting
	       a Postgres 4.2 database to Postgres95 database.)

       The following ports have been incorporated into 
       postgres95-beta-0.02:
	* the NetBSD port by Alistair Crooks
	* the AIX port by Mike Tung
	* the Windows NT port by Jon Forrest (more stuff but not done yet)
	* the Linux ELF port by Brian Gallew

       The following bugs have been fixed in postgres95-beta-0.02:
	* new lines not escaped in COPY OUT and problem with COPY OUT when 
       first
	  attribute is a '.' 
	* cannot type return to use the default user id in createuser
	* SELECT DISTINCT on big tables crashes
	* Linux installation problems
	* monitor doesn't allow use of 'localhost' as PGHOST
	* psql core dumps when doing \c or \l
	* the "pgtclsh" target missing from src/bin/pgtclsh/Makefile
	* libpgtcl has a hard-wired default port number
	* SELECT DISTINCT INTO TABLE hangs
	* CREATE TYPE doesn't accept 'variable' as the internallength
	* wrong result using more than 1 aggregate in a SELECT
d2018 15
a2032 1
       Initial release.
d2034 57
@


1.55
log
@
back out last...
@
text
@d8 117
a124 55
          Release 6.5.1                                         
             Migration to v6.5.1                                
             Detailed Change List                               
          Release 6.5                                           
             Migration to v6.5                                  
                 Multi-Version Concurrency Control              
             Detailed Change List                               
          Release 6.4.2                                         
             Migration to v6.4.2                                
             Detailed Change List                               
          Release 6.4.1                                         
             Migration to v6.4.1                                
             Detailed Change List                               
          Release 6.4                                           
             Migration to v6.4                                  
             Detailed Change List                               
          Release 6.3.2                                         
             Detailed Change List                               
          Release 6.3.1                                         
             Detailed Change List                               
          Release 6.3                                           
             Migration to v6.3                                  
             Detailed Change List                               
          Release 6.2.1                                         
             Migration from v6.2 to v6.2.1                      
             Detailed Change List                               
          Release 6.2                                           
             Migration from v6.1 to v6.2                        
             Migration from v1.x to v6.2                        
             Detailed Change List                               
          Release 6.1.1                                         
             Migration from v6.1 to v6.1.1                      
             Detailed Change List                               
          Release 6.1                                           
             Migration to v6.1                                  
             Detailed Change List                               
          Release v6.0                                          
             Migration from v1.09 to v6.0                       
             Migration from pre-v1.09 to v6.0                   
             Detailed Change List                               
          Release v1.09                                         
          Release v1.02                                         
             Migration from v1.02 to v1.02.1                    
             Dump/Reload Procedure                              
             Detailed Change List                               
          Release v1.01                                         
             Migration from v1.0 to v1.01                       
             Detailed Change List                               
          Release v1.0                                          
             Detailed Change List                               
          Postgres95 Beta 0.03                                  
             Detailed Change List                               
          Postgres95 Beta 0.02                                  
             Detailed Change List                               
          Postgres95 Beta 0.01                                  
d128 1
a128 1
        This is basically a cleanup release for 6.5.  We have fixed a
d165 1
a165 1
        This release marks a major step in the development team's mastery 
d169 1
a169 1
        Here is a brief summary of the more notable changes: 
d171 56
a226 56
        Multi-version concurrency control(MVCC) 
          This removes our old table-level locking, and replaces it with a 
         locking system that is superior to most commercial database 
         systems. In a traditional system, each row that is modified is 
         locked until committed, preventing reads by other users. MVCC 
         uses the natural multi-version nature of PostgreSQL to allow 
         readers to continue reading consistent data during writer 
         activity. Writers continue to use the compact pg_log transaction 
         system. This is all performed without having to allocate a lock 
         for every row like traditional database systems. So, basically, 
         we no longer are restricted by simple table-level locking; we 
         have something better than row-level locking. 

        Hot backups from pg_dump 
          pg_dump takes advantage of the new MVCC features to give a 
         consistant database dump/backup while the database stays online 
         and available for queries. 

        Numeric data type 
          We now have a true numeric data type, with user-specified 
         precision. 

        Temporary tables 
          Temporary tables are guaranteed to have unique names within a 
         database session, and are destroyed on session exit. 

        New SQL features 
          We now have CASE, INTERSECT, and EXCEPT statement support. We 
         have new LIMIT/OFFSET, SET TRANSACTION ISOLATION LEVEL, SELECT 
         ... FOR UPDATE, and an improved LOCK TABLE command. 

        Speedups 
          We continue to speed up PostgreSQL, thanks to the variety of 
         talents within our team. We have sped up memory allocation, 
         optimization, table joins, and row transfer routines. 

        Ports 
          We continue to expand our port list, this time including 
         WinNT/ix86 and NetBSD/arm32. 

        Interfaces 
          Most interfaces have new versions, and existing functionality 
         has been improved. 

        Documentation 
          New and updated material is present throughout the 
         documentation. New FAQs have been contributed for SGI and AIX 
         platforms. The Tutorial has introductory information on SQL from 
         Stefan Simkovics. For the User's Guide, there are reference pages 
         covering the postmaster and more utility programs, and a new 
         appendix contains details on date/time behavior. The 
         Administrator's Guide has a new chapter on troubleshooting from 
         Tom Lane. And the Programmer's Guide has a description of query 
         processing, also from Stefan, and details on obtaining the 
         Postgres source tree via anonymous CVS and CVSup. 
        
d230 1
a230 1
        A dump/restore using pg_dump is required for those wishing to 
d234 1
a234 1
        The new Multi-Version Concurrency Control (MVCC) features can give 
d240 1
a240 1
        Because readers in 6.5 don't lock data, regardless of transaction 
d248 1
a248 1
        To ensure the actual existence of a row and protect it against 
d253 1
a253 1
        Keep the above in mind if you are using contrib/refint.* triggers 
d260 4
a263 4
         Note: Note that if you run a transaction in SERIALIZABLE mode 
         then you must execute the LOCK commands above before execution of 
         any DML statement (SELECT/INSERT/DELETE/UPDATE/FETCH/COPY_TO) in 
         the transaction.
d265 2
a266 2
        
        These inconveniences will disappear in the future when the ability 
d390 1
a390 1
             (--with-maxbackends and postmaster switch (-N backends))(Tom)
d452 1
a452 1
            
d479 1
a479 1
               the default(Thomas)
d484 1
a484 1
               the table name(Thomas)
d518 2
a519 2
        the rewrite rules system from Jan Wieck. He also wrote a chapter 
        on it for the Programmer's Guide.
d521 2
a522 2
        with the original PL/pgTCL procedural language he contributed last 
        release.
d524 1
a524 1
        Iishi to complement our existing locale support.
d526 2
a527 2
        support for asynchronous messages and interrupts thanks to Tom 
        Lane.
d529 5
a533 5
        arguments to available operators and functions, and to match 
        columns and expressions with target columns. This uses a generic 
        mechanism which supports the type extensibility features of 
        Postgres. There is a new chapter in the User's Guide which covers 
        this topic.
d535 5
a539 5
        support various forms of IP network, subnet, and machine 
        addressing. There is now an 8-byte integer type available on some 
        platforms. See the chapter on data types in the User's Guide for 
        details. A fourth type, serial, is now supported by the parser as 
        an amalgam of the int4 type, a sequence, and a unique index.
d541 1
a541 1
        including INSERT DEFAULT VALUES
d543 2
a544 2
        some attention, and should be more robust for more platforms than 
        it has ever been.
d580 1
a580 1
       EXPLAIN  invokes  rule system and shows plan(s) for rewritten 
d683 3
a685 3
               * Rules on relations work
               * Event qualifications on insert/update/delete work
               * New OLD variable to reference CURRENT, CURRENT will be 
d687 1
a687 1
               * Update rules can reference NEW and OLD in rule 
d689 2
a690 2
               * Insert/update/delete rules on views work
               * Multiple rule actions are now supported, surrounded by 
d692 1
a692 1
               * Regular users can create views/rules on tables they have 
d694 4
a697 4
               * Rules and views inherit the permissions on the creator
               * No rules at the column level
               * No UPDATE NEW/OLD rules
               * New pg_tables, pg_indexes, pg_rules and pg_views system 
d699 5
a703 5
               * Only a single action on SELECT rules
               * Total rewrite overhaul, perhaps for 6.5
               * handle subselects
               * handle aggregates on views
               * handle insert into select from view works
d777 1
a777 1
        including Linux, from breakage inadvertently introduced in v6.3.1.
d779 1
a779 1
        LIKE clauses.
d863 1
a863 1
        (everything is here but target-list subselects).
d865 1
a865 1
        and date style.
d867 1
a867 1
        now so you may need to start postmaster with the ?-i? flag.
d869 1
a869 1
        permissions have changed.
d871 1
a871 1
        improved.
d873 2
a874 2
         Note: Bruce Momjian wrote the following notes to introduce the 
         new release.
d949 1
a949 1
       Fix notty output to show status result.  -q option still turns it 
d956 1
a956 1
               lock before older waiters, and having readlock people not 
d958 1
a958 1
               locks if a writer is waiting for a lock, and waiting writers 
d960 1
a960 1
               getting priority over waiting readers(Bruce)
d965 1
a965 1
               NULL values(Jeroen)
d973 1
a973 1
               and throw elog(ERROR) if unrecognized(Thomas)
d985 1
a985 1
               CURRENT_USER(Thomas)
d1001 1
a1001 1
               (e.g. "DATETIME 'now'")(Thomas)
d1007 1
a1007 1
               this query is done, was turned off in <= 6.2.1(Vadim)
d1030 1
a1030 1
               frontend library initialization environment 
d1036 1
a1036 1
               aggregates(Bruce)
d1050 1
a1050 1
               the system password file(Todd)
d1088 1
a1088 1
               For security, use GRANT/REVOKE on views as appropriate(Jan)
d1090 1
a1090 1
               explicitly grant such permissions.
d1103 1
a1103 1
               to heap_create()(Bruce)
d1113 1
a1113 1
               function calls to istrue() or isfalse() to allow 
d1141 1
a1141 1
        updates.
d1156 2
a1157 2
         update pg_aggregate set aggfinalfn = 'cash_div_flt8'
          where aggname = 'avg' and aggbasetype = 790;
d1206 1
a1206 1
                from Solaris(Diab Jerius)
d1215 2
a1216 2
               visible to the command itself (so we had multiple update of 
               updated tuples, etc)(Vadim)
d1224 1
a1224 1
               WHERE clauses (Vadim)
d1226 1
a1226 1
               in target list (Vadim)
d1241 1
a1241 1
               C-functions (Vadim)
d1255 1
a1255 1
               and CHARACTER VARYING (SQL92)(Thomas)
d1268 1
a1268 1
               using an axis-crossing algorithm(Thomas)
d1365 1
a1365 1
        The regression tests have been adapted and extensively modified for 
d1367 1
a1367 1
        Three new data types (datetime, timespan, and circle) have been 
d1373 1
a1373 1
        Postgres v6.1 introduces a new, alternate optimizer which uses 
d1383 1
a1383 1
        The interpretation of array specifiers (the curly braces around 
d1387 1
a1387 1
        The float8 regression test fails on at least some platforms. This 
d1390 1
a1390 1
        The "random" results in the random test should cause the "random" 
d1652 5
a1656 5
         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.
         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.
d1663 10
a1672 10
         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: 
                % 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.
d1683 1
a1683 1
               sed 's/^\.$/\\./g' <in_file >out_file
d1702 2
a1703 2
        * worldwide team of volunteers
        * the source tree now in CVS at ftp.ki.net
d1706 9
a1714 9
        * 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 
d1718 4
a1721 4
        * indexes
        * storage management
        * check for NULL pointer before dereferencing
        * Makefile fixes
d1724 3
a1726 3
        * added SolarisX86 port
        * added BSDI 2.1 port
        * added DGUX port
d1740 1
a1740 1
         and OIDNAMELEN to 20.
d1742 11
a1752 11
            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.
d1755 1
a1755 1
         backup your existing $PGDATA directory. 
d1757 1
a1757 1
         set up path up so that 1.01 binaries are being used.
d1761 68
a1828 68
         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
         and then execute the following commands (cut and paste from 
         here): 
         -- 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);
d1833 3
a1835 3
        * 1.01 is backwards compatible with 1.0 database provided the user
          follow the steps outlined in the MIGRATION_from_1.0_to_1.01 file.
          If those steps are not taken, 1.01 is not compatible with 1.0 
d1839 1
a1839 1
        * added PQdisplayTuples() to libpq and changed monitor and psql to 
d1841 5
a1845 5
        * added NeXT port (requires SysVIPC implementation)
        * added CAST .. AS ... syntax
        * added ASC and DESC keywords
        * added 'internal' as a possible language for CREATE FUNCTION
          internal functions are C functions which have been statically 
d1847 2
a1848 2
          into the postgres backend.
        * a new type "name" has been added for system identifiers (table 
d1850 4
a1853 4
          attribute names, etc.)  This replaces the old char16 type.   The
          of name is set by the NAMEDATALEN #define in src/Makefile.global
        * a readable reference manual that describes the query language.
        * added host-based access control.  A configuration file 
d1855 1
a1855 1
          is used to hold the configuration data.  If host-based access 
d1857 2
a1858 2
          is not desired, comment out HBA=1 in src/Makefile.global.
        * changed regex handling to be uniform use of Henry Spencer's regex 
d1860 1
a1860 1
          regardless of platform.  The regex code is included in the 
d1862 1
a1862 1
        * added functions and operators for case-insensitive regular 
d1864 2
a1865 2
          The operators are ~* and !~*.
        * pg_dump uses COPY instead of SELECT loop for better performance
d1868 3
a1870 3
        * fixed an optimizer bug that was causing core dumps when 
          functions calls were used in comparisons in the WHERE clause
        * changed all uses of getuid to geteuid so that effective uids are 
d1872 2
a1873 2
        * psql now returns non-zero status on errors when using -c
        * applied public patches 1-14
d1880 1
a1880 1
        * The copyright of Postgres 1.0 has been loosened to be freely 
d1882 2
a1883 2
          and modifiable for any purpose.  Please read the COPYRIGHT file.
          Thanks to Professor Michael Stonebraker for making this possible.
d1886 1
a1886 1
        *  date formats have to be MM-DD-YYYY (or DD-MM-YYYY if you're 
d1888 2
a1889 2
          EUROPEAN STYLE).  This follows SQL-92 specs.
        *  "delimiters" is now a keyword
d1892 2
a1893 2
        *  sql LIKE syntax has been added
        *  copy command now takes an optional USING DELIMITER 
d1895 7
a1901 7
          delimiters can be any single-character string. 
        *  IRIX 5.3 port has been added.
          Thanks to Paul Walmsley and others.
        *  updated pg_dump to work with new libpq
        *  \d has been added psql 
          Thanks to Keith Parks
        *  regexp performance for architectures that use POSIX regex has 
d1903 4
a1906 4
          improved due to caching of precompiled patterns.
          Thanks to Alistair Crooks
        *  a new version of libpq++
          Thanks to William Wanders
d1909 4
a1912 4
        *  arbitrary userids can be specified in the createuser script
        *  \c to connect to other databases in psql now works.
        *  bad pg_proc entry for float4inc() is fixed
        *  users with usecreatedb field set can now create databases 
d1914 8
a1921 8
          having to be usesuper
        *  remove access control entries when the entry no longer has any
          permissions
        *  fixed non-portable datetimes implementation
        *  added kerberos flags to the src/backend/Makefile
        *  libpq now works with kerberos
        *  typographic errors in the user manual have been corrected.
        *  btrees with multiple index never worked, now we tell you they 
d1923 1
a1923 1
          work when you try to use them
d1930 1
a1930 1
        * BETA-0.3 IS INCOMPATIBLE WITH DATABASES CREATED WITH PREVIOUS 
d1932 2
a1933 2
          (due to system catalog changes and indexing structure changes).
        * double-quote (") is deprecated as a quoting character for string 
d1935 2
a1936 2
          you need to convert them to single quotes (').
        * name of aggregates (eg. int4sum) are renamed in accordance with 
d1938 3
a1940 3
          SQL standard (eg. sum).
        * CHANGE ACL syntax is replaced by GRANT/REVOKE syntax.
        * float literals (eg. 3.14) are now of type float4 (instead of 
d1942 1
a1942 1
          previous releases); you might have to do typecasting if you 
d1944 1
a1944 1
          being of type float8.  If you neglect to do the typecasting and 
d1946 1
a1946 1
          a float literal to a field of type float8, you may get incorrect 
d1948 4
a1951 4
          stored!
        * LIBPQ has been totally revamped so that frontend applications
          can connect to multiple backends
        * the usesysid field in pg_user has been changed from int2 to int4 
d1953 3
a1955 3
          allow wider range of Unix user ids.
        * the netbsd/freebsd/bsd o/s ports have been consolidated into a
          single BSD44_derived port.  (thanks to Alistair Crooks)
d1960 1
a1960 1
        * the following SQL types are now built-in: smallint, int(eger), 
d1962 1
a1962 1
          char(N), varchar(N), date and time.
d1964 5
a1968 5
          The following are aliases to existing postgres types:
                       smallint -> int2
                       integer, int -> int4
                       float, real  -> float4
          char(N) and varchar(N) are implemented as truncated text types. 
d1970 2
a1971 2
          addition, char(N) does blank-padding. 
        * single-quote (') is used for quoting string literals; '' (in 
d1973 9
a1981 9
          \') is supported as means of inserting a single quote in a string
        * SQL standard aggregate names (MAX, MIN, AVG, SUM, COUNT) are used
          (Also, aggregates can now be overloaded, i.e. you can define your
          own MAX aggregate to take in a user-defined type.)
        * CHANGE ACL removed. GRANT/REVOKE syntax added.  
          - Privileges can be given to a group using the "GROUP" keyword.
               For example:
                       GRANT SELECT ON foobar TO GROUP my_group;
               The keyword 'PUBLIC' is also supported to mean all users.       
d1983 1
a1983 1
               Privileges can only be granted or revoked to one user or 
d1985 1
a1985 1
               at a time.  
d1987 1
a1987 1
               "WITH GRANT OPTION" is not supported.  Only class owners can 
d1989 2
a1990 2
               access control
          - The default access control is to to grant users readonly 
d1992 1
a1992 1
            You must explicitly grant insert/update access to users.  To 
d1994 3
a1996 3
            this, modify the line in 
                       src/backend/utils/acl.h 
            that defines ACL_WORLD_DEFAULT 
d1999 1
a1999 1
        * the bug where aggregates of empty tables were not run has been 
d2001 1
a2001 1
          aggregates run on empty tables will return the initial conditions 
d2003 1
a2003 1
          aggregates. Thus, COUNT of an empty  table will now properly 
d2005 5
a2009 5
          MAX/MIN of an empty table will return a tuple of value NULL. 
        * allow the use of \; inside the monitor
        * the LISTEN/NOTIFY asynchronous notification mechanism now work
        * NOTIFY in rule action bodies now work
        * hash indices work, and access methods in general should perform 
d2011 1
a2011 1
          creation of large btree indices should be much faster.  (thanks 
d2013 1
a2013 1
          Aoki)
d2016 1
a2016 1
        * addition of an EXPLAIN statement used for explaining the query 
d2018 1
a2018 1
          plan (eg. "EXPLAIN SELECT * FROM EMP" prints out the execution 
d2020 2
a2021 2
          the query).
        * WARN and NOTICE messages no longer have timestamps on them. To 
d2023 9
a2031 9
          timestamps of error messages, uncomment the line in
          src/backend/utils/elog.h:
               /* define ELOG_TIMESTAMPS */ 
        * On an access control violation, the message
               "Either no such class or insufficient privilege"
          will be given.  This is the same message that is returned when
          a class is not found.  This dissuades non-privileged users from
          guessing the existence of privileged classes.
        * some additional system catalog changes have been made that are 
d2033 1
a2033 1
          visible to the user.
d2036 5
a2040 5
        * The -oid option has been added to the "pg_result" tcl command.
          pg_result -oid returns oid of the last tuple inserted.   If the
          last command was not an INSERT, then pg_result -oid returns "".
        * the large object interface is available as pg_lo* tcl commands:
          pg_lo_open, pg_lo_close, pg_lo_creat, etc.
d2043 1
a2043 1
        * flex/lex problems have been cleared up.  Now, you should be able 
d2045 1
a2045 1
          flex instead of lex on any platforms.  We no longer make 
d2047 2
a2048 2
          what lexer you use based on the platform you use. 
        * The Linux-ELF port is now supported.  Various configuration have 
d2050 3
a2052 3
          tested:  The following configuration is known to work:
               kernel 1.2.10, gcc 2.6.3, libc 4.7.2, flex 2.5.2, bison 1.24
          with everything in ELF format,
d2055 2
a2056 2
        * ipcclean added to the distribution
          ipcclean usually does not need to be run, but if your backend 
d2058 2
a2059 2
          and leaves shared memory segments hanging around, ipcclean will
          clean them up for you.
d2062 1
a2062 1
        * the user manual has been revised and libpq documentation added.
d2069 1
a2069 1
        * The SQL statement for creating a database is 'CREATE DATABASE' 
d2071 1
a2071 1
          of 'CREATEDB'. Similarly, dropping a database is 'DROP DATABASE' 
d2073 1
a2073 1
          of 'DESTROYDB'. However, the names of the executables 'createdb' 
d2075 2
a2076 2
          'destroydb' remain the same.
        
d2078 3
a2080 3
        * pgperl - a Perl (4.036) interface to Postgres95
        * pg_dump - a utility for dumping out a postgres database into a
               script file containing query commands. The script files are 
d2082 1
a2082 1
               format and can be used to reconstruct the database, even on 
d2084 2
a2085 2
               machines and other architectures. (Also good for converting
               a Postgres 4.2 database to Postgres95 database.)
d2089 4
a2092 4
        * the NetBSD port by Alistair Crooks
        * the AIX port by Mike Tung
        * the Windows NT port by Jon Forrest (more stuff but not done yet)
        * the Linux ELF port by Brian Gallew
d2095 1
a2095 1
        * new lines not escaped in COPY OUT and problem with COPY OUT when 
d2097 11
a2107 11
          attribute is a '.' 
        * cannot type return to use the default user id in createuser
        * SELECT DISTINCT on big tables crashes
        * Linux installation problems
        * monitor doesn't allow use of 'localhost' as PGHOST
        * psql core dumps when doing \c or \l
        * the "pgtclsh" target missing from src/bin/pgtclsh/Makefile
        * libpgtcl has a hard-wired default port number
        * SELECT DISTINCT INTO TABLE hangs
        * CREATE TYPE doesn't accept 'variable' as the internallength
        * wrong result using more than 1 aggregate in a SELECT
@


1.54
log
@
testing somethign...
@
text
@a0 1
$Header:$
@


1.53
log
@
v6.6's HISTORY file should reflect changes that went into all previous
releases, including v6.5.1 ...
@
text
@d1 1
@


1.52
log
@Release notes from sgml.
Came out with max 79 columns from Applix by defining the page width at
 10 inches and the right margin at 9.5 inches, then exporting
 as "ASCII Layout".
@
text
@d8 3
d64 37
a209 2
        

a390 3

        

@


1.52.2.1
log
@Update with release notes for v6.5.1.
Change references from v6.5 to v6.5.1 in the installation instructions.
@
text
@a7 3
          Release 6.5.1                                         
             Migration to v6.5.1                                
             Detailed Change List                               
a60 37
Release 6.5.1

        This is basically a cleanup release for 6.5.  We have fixed a
       variety of problems reported by 6.5 users.

Migration to v6.5.1

       A dump/restore is not required for those running 6.5.

Detailed Change List

       Fix for datetime constant problem on some platforms(Thomas)
       Add NT README file
       Portability fixes for linux_ppc, Irix, linux_alpha, OpenBSD, alpha
       Remove QUERY_LIMIT, use SELECT...LIMIT
       Fix for EXPLAIN on inheritance(Tom)
       Patch to allow vacuum on multi-segment tables(Hiroshi)
       R-Tree optimizer selectivity fix(Tom)
       ACL file descriptor leak fix(Atsushi Ogawa)
       New expresssion subtree code(Tom)
       Avoid disk writes for read-only transactions(Vadim)
       Fix for removal of temp tables if last transaction was aborted(Bruce)
       Fix to prevent too large tuple from being created(Bruce)
       plpgsql fixes
       Allow port numbers 32k - 64k(Bruce)
       Add ^ precedence(Bruce)
       Rename sort files called pg_temp to pg_sorttemp(Bruce)
       Fix for microseconds in time values(Tom)
       Tutorial source cleanup
       New linux_m68k port
       Fix for sorting of NULL's in some cases(Tom)
       Shared library dependencies fixed (Tom)
       Fixed glitches affecting GROUP BY in subselects(Tom)
       Fix some compiler warnings (Tomoaki Nishiyama)
       Add Win1250 (Czech) support (Pavel Behal)


d170 2
d353 3
@


1.52.2.2
log
@Merge in v6.5.2 notes taken from release.sgml.
@
text
@a7 3
          Release 6.5.2                                         
             Migration to v6.5.2                                
             Detailed Change List                               
a62 41

Release 6.5.2

        This is basically a cleanup release for 6.5.1.  We have fixed a
       variety of problems reported by 6.5.1 users.

Migration to v6.5.2

       A dump/restore is not required for those running 6.5 or 6.5.1.

Detailed Change List

       subselect+CASE fixes(Tom)
       Add SHLIB_LINK setting for solaris_i386 and solaris_sparc ports(Daren
       Sefcik)
       Fixes for CASE in WHERE join clauses(Tom)
       Fix BTScan abort(Tom)
       Repair the check for redundant UNIQUE and PRIMARY KEY indices(Tom)
       Improve it so that it checks for multi-column constraints(Tom)
       Fix for Win32 making problem with MB enabled(Hiroki Kataoka)
       Allow BSD yacc and bison to compile pl code(Bruce)
       Fix SET NAMES
       int8 fixes(Thomas)
       Fix vacuum's memory consumption(Tom)
       Reduce the total memory consumption of vacuum(Tom)
       Fix for timestamp(datetime)
       Rule deparsing bugfixes(Tom)
       Fix quoting problems in mkMakefile.tcldefs.sh.in and
       mkMakefile.tkdefs.sh.in(Tom)
       Update frontend libpq to remove limits on query lengths,
       error/notice message lengths, and number of fields per tuple(Tom)
       This is to re-use space on index pages freed by vacuum(Tom)
       document -x for pg_dump(Bruce)
       Fix for unary operators in rule deparser(Tom)
       Comment out FileUnlink of excess segments during mdtruncate()(Tom)
       Irix linking fix from Yu Cao <yucao@@falcon.kla-tencor.com>
       Repair logic error in LIKE: should not return LIKE_ABORT
       when reach end of pattern before end of text(Tom)
       Repair incorrect cleanup of heap memory allocation during transaction
       abort(Tom)

@


1.52.2.3
log
@Update vadim for index reuse.
@
text
@d97 1
a97 1
       This is to re-use space on index pages freed by vacuum(Vadim)
@


1.52.2.4
log
@Update pgaccess 0.98
@
text
@d106 1
a106 1
       Updated version of pgaccess 0.98
@


1.52.2.5
log
@Update for 6.5.2 history file.
@
text
@d83 1
a83 1
       Repair the check for redundant UNIQUE and PRIMARY KEY indices(Thomas)
d89 1
a89 1
       Fix vacuum's memory consumption(Hiroshi,Tatsuo)
d95 2
@


1.52.2.6
log
@Update for 6.5.3, including new INSTALL file and updated HISTORY.
@
text
@d8 58
a65 78
	  Release 6.5.3						
	     Migration to v6.5.3				
	     Detailed Change List				
	  Release 6.5.2						
	     Migration to v6.5.2				
	     Detailed Change List				
	  Release 6.5.1						
	     Migration to v6.5.1				
	     Detailed Change List				
	  Release 6.5						
	     Migration to v6.5					
		 Multi-Version Concurrency Control		
	     Detailed Change List				
	  Release 6.4.2						
	     Migration to v6.4.2				
	     Detailed Change List				
	  Release 6.4.1						
	     Migration to v6.4.1				
	     Detailed Change List				
	  Release 6.4						
	     Migration to v6.4					
	     Detailed Change List				
	  Release 6.3.2						
	     Detailed Change List				
	  Release 6.3.1						
	     Detailed Change List				
	  Release 6.3						
	     Migration to v6.3					
	     Detailed Change List				
	  Release 6.2.1						
	     Migration from v6.2 to v6.2.1			
	     Detailed Change List				
	  Release 6.2						
	     Migration from v6.1 to v6.2			
	     Migration from v1.x to v6.2			
	     Detailed Change List				
	  Release 6.1.1						
	     Migration from v6.1 to v6.1.1			
	     Detailed Change List				
	  Release 6.1						
	     Migration to v6.1					
	     Detailed Change List				
	  Release v6.0						
	     Migration from v1.09 to v6.0			
	     Migration from pre-v1.09 to v6.0			
	     Detailed Change List				
	  Release v1.09						
	  Release v1.02						
	     Migration from v1.02 to v1.02.1			
	     Dump/Reload Procedure				
	     Detailed Change List				
	  Release v1.01						
	     Migration from v1.0 to v1.01			
	     Detailed Change List				
	  Release v1.0						
	     Detailed Change List				
	  Postgres95 Beta 0.03					
	     Detailed Change List				
	  Postgres95 Beta 0.02					
	     Detailed Change List				
	  Postgres95 Beta 0.01					


Release 6.5.3

	This is basically a cleanup release for 6.5.2. We have added a 
	new pgaccess that was missing in 6.5.2, and installed an 
	NT-specific fix.

Migration to v6.5.3

	A dump/restore is not required for those running 6.5.*.

Detailed Change List

	Updated version of pgaccess 0.98
	NT-specific patch

d69 1
a69 1
       This is basically a cleanup release for 6.5.1.  We have fixed a
d108 1
a108 1
	This is basically a cleanup release for 6.5.  We have fixed a
d145 1
a145 1
	This release marks a major step in the development team's mastery 
d149 1
a149 1
	Here is a brief summary of the more notable changes: 
d151 56
a206 56
	Multi-version concurrency control(MVCC) 
	  This removes our old table-level locking, and replaces it with a 
	 locking system that is superior to most commercial database 
	 systems. In a traditional system, each row that is modified is 
	 locked until committed, preventing reads by other users. MVCC 
	 uses the natural multi-version nature of PostgreSQL to allow 
	 readers to continue reading consistent data during writer 
	 activity. Writers continue to use the compact pg_log transaction 
	 system. This is all performed without having to allocate a lock 
	 for every row like traditional database systems. So, basically, 
	 we no longer are restricted by simple table-level locking; we 
	 have something better than row-level locking. 

	Hot backups from pg_dump 
	  pg_dump takes advantage of the new MVCC features to give a 
	 consistant database dump/backup while the database stays online 
	 and available for queries. 

	Numeric data type 
	  We now have a true numeric data type, with user-specified 
	 precision. 

	Temporary tables 
	  Temporary tables are guaranteed to have unique names within a 
	 database session, and are destroyed on session exit. 

	New SQL features 
	  We now have CASE, INTERSECT, and EXCEPT statement support. We 
	 have new LIMIT/OFFSET, SET TRANSACTION ISOLATION LEVEL, SELECT 
	 ... FOR UPDATE, and an improved LOCK TABLE command. 

	Speedups 
	  We continue to speed up PostgreSQL, thanks to the variety of 
	 talents within our team. We have sped up memory allocation, 
	 optimization, table joins, and row transfer routines. 

	Ports 
	  We continue to expand our port list, this time including 
	 WinNT/ix86 and NetBSD/arm32. 

	Interfaces 
	  Most interfaces have new versions, and existing functionality 
	 has been improved. 

	Documentation 
	  New and updated material is present throughout the 
	 documentation. New FAQs have been contributed for SGI and AIX 
	 platforms. The Tutorial has introductory information on SQL from 
	 Stefan Simkovics. For the User's Guide, there are reference pages 
	 covering the postmaster and more utility programs, and a new 
	 appendix contains details on date/time behavior. The 
	 Administrator's Guide has a new chapter on troubleshooting from 
	 Tom Lane. And the Programmer's Guide has a description of query 
	 processing, also from Stefan, and details on obtaining the 
	 Postgres source tree via anonymous CVS and CVSup. 
	
d210 1
a210 1
	A dump/restore using pg_dump is required for those wishing to 
d214 1
a214 1
	The new Multi-Version Concurrency Control (MVCC) features can give 
d220 1
a220 1
	Because readers in 6.5 don't lock data, regardless of transaction 
d228 1
a228 1
	To ensure the actual existence of a row and protect it against 
d233 1
a233 1
	Keep the above in mind if you are using contrib/refint.* triggers 
d240 4
a243 4
	 Note: Note that if you run a transaction in SERIALIZABLE mode 
	 then you must execute the LOCK commands above before execution of 
	 any DML statement (SELECT/INSERT/DELETE/UPDATE/FETCH/COPY_TO) in 
	 the transaction.
d245 2
a246 2
	
	These inconveniences will disappear in the future when the ability 
d370 1
a370 1
	     (--with-maxbackends and postmaster switch (-N backends))(Tom)
d432 1
a432 1
	    
d459 1
a459 1
	       the default(Thomas)
d464 1
a464 1
	       the table name(Thomas)
d498 2
a499 2
	the rewrite rules system from Jan Wieck. He also wrote a chapter 
	on it for the Programmer's Guide.
d501 2
a502 2
	with the original PL/pgTCL procedural language he contributed last 
	release.
d504 1
a504 1
	Iishi to complement our existing locale support.
d506 2
a507 2
	support for asynchronous messages and interrupts thanks to Tom 
	Lane.
d509 5
a513 5
	arguments to available operators and functions, and to match 
	columns and expressions with target columns. This uses a generic 
	mechanism which supports the type extensibility features of 
	Postgres. There is a new chapter in the User's Guide which covers 
	this topic.
d515 5
a519 5
	support various forms of IP network, subnet, and machine 
	addressing. There is now an 8-byte integer type available on some 
	platforms. See the chapter on data types in the User's Guide for 
	details. A fourth type, serial, is now supported by the parser as 
	an amalgam of the int4 type, a sequence, and a unique index.
d521 1
a521 1
	including INSERT DEFAULT VALUES
d523 2
a524 2
	some attention, and should be more robust for more platforms than 
	it has ever been.
d560 1
a560 1
       EXPLAIN	invokes  rule system and shows plan(s) for rewritten 
d663 3
a665 3
	       * Rules on relations work
	       * Event qualifications on insert/update/delete work
	       * New OLD variable to reference CURRENT, CURRENT will be 
d667 1
a667 1
	       * Update rules can reference NEW and OLD in rule 
d669 2
a670 2
	       * Insert/update/delete rules on views work
	       * Multiple rule actions are now supported, surrounded by 
d672 1
a672 1
	       * Regular users can create views/rules on tables they have 
d674 4
a677 4
	       * Rules and views inherit the permissions on the creator
	       * No rules at the column level
	       * No UPDATE NEW/OLD rules
	       * New pg_tables, pg_indexes, pg_rules and pg_views system 
d679 5
a683 5
	       * Only a single action on SELECT rules
	       * Total rewrite overhaul, perhaps for 6.5
	       * handle subselects
	       * handle aggregates on views
	       * handle insert into select from view works
d757 1
a757 1
	including Linux, from breakage inadvertently introduced in v6.3.1.
d759 1
a759 1
	LIKE clauses.
d843 1
a843 1
	(everything is here but target-list subselects).
d845 1
a845 1
	and date style.
d847 1
a847 1
	now so you may need to start postmaster with the ?-i? flag.
d849 1
a849 1
	permissions have changed.
d851 1
a851 1
	improved.
d853 2
a854 2
	 Note: Bruce Momjian wrote the following notes to introduce the 
	 new release.
d929 1
a929 1
       Fix notty output to show status result.	-q option still turns it 
d936 1
a936 1
	       lock before older waiters, and having readlock people not 
d938 1
a938 1
	       locks if a writer is waiting for a lock, and waiting writers 
d940 1
a940 1
	       getting priority over waiting readers(Bruce)
d945 1
a945 1
	       NULL values(Jeroen)
d953 1
a953 1
	       and throw elog(ERROR) if unrecognized(Thomas)
d965 1
a965 1
	       CURRENT_USER(Thomas)
d981 1
a981 1
	       (e.g. "DATETIME 'now'")(Thomas)
d987 1
a987 1
	       this query is done, was turned off in <= 6.2.1(Vadim)
d1010 1
a1010 1
	       frontend library initialization environment 
d1016 1
a1016 1
	       aggregates(Bruce)
d1030 1
a1030 1
	       the system password file(Todd)
d1068 1
a1068 1
	       For security, use GRANT/REVOKE on views as appropriate(Jan)
d1070 1
a1070 1
	       explicitly grant such permissions.
d1083 1
a1083 1
	       to heap_create()(Bruce)
d1093 1
a1093 1
	       function calls to istrue() or isfalse() to allow 
d1121 1
a1121 1
	updates.
d1136 2
a1137 2
	 update pg_aggregate set aggfinalfn = 'cash_div_flt8'
	  where aggname = 'avg' and aggbasetype = 790;
d1186 1
a1186 1
		from Solaris(Diab Jerius)
d1195 2
a1196 2
	       visible to the command itself (so we had multiple update of 
	       updated tuples, etc)(Vadim)
d1204 1
a1204 1
	       WHERE clauses (Vadim)
d1206 1
a1206 1
	       in target list (Vadim)
d1221 1
a1221 1
	       C-functions (Vadim)
d1235 1
a1235 1
	       and CHARACTER VARYING (SQL92)(Thomas)
d1248 1
a1248 1
	       using an axis-crossing algorithm(Thomas)
d1345 1
a1345 1
	The regression tests have been adapted and extensively modified for 
d1347 1
a1347 1
	Three new data types (datetime, timespan, and circle) have been 
d1353 1
a1353 1
	Postgres v6.1 introduces a new, alternate optimizer which uses 
d1363 1
a1363 1
	The interpretation of array specifiers (the curly braces around 
d1367 1
a1367 1
	The float8 regression test fails on at least some platforms. This 
d1370 1
a1370 1
	The "random" results in the random test should cause the "random" 
d1632 5
a1636 5
	 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.
	 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.
d1643 10
a1652 10
	 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: 
		% 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.
d1663 1
a1663 1
	       sed 's/^\.$/\\./g' <in_file >out_file
d1682 2
a1683 2
	* worldwide team of volunteers
	* the source tree now in CVS at ftp.ki.net
d1686 9
a1694 9
	* 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 
d1698 4
a1701 4
	* indexes
	* storage management
	* check for NULL pointer before dereferencing
	* Makefile fixes
d1704 3
a1706 3
	* added SolarisX86 port
	* added BSDI 2.1 port
	* added DGUX port
d1720 1
a1720 1
	 and OIDNAMELEN to 20.
d1722 11
a1732 11
	    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.
d1735 1
a1735 1
	 backup your existing $PGDATA directory. 
d1737 1
a1737 1
	 set up path up so that 1.01 binaries are being used.
d1741 68
a1808 68
	 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
	 and then execute the following commands (cut and paste from 
	 here): 
	 -- 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);
d1813 3
a1815 3
	* 1.01 is backwards compatible with 1.0 database provided the user
	  follow the steps outlined in the MIGRATION_from_1.0_to_1.01 file.
	  If those steps are not taken, 1.01 is not compatible with 1.0 
d1819 1
a1819 1
	* added PQdisplayTuples() to libpq and changed monitor and psql to 
d1821 5
a1825 5
	* added NeXT port (requires SysVIPC implementation)
	* added CAST .. AS ... syntax
	* added ASC and DESC keywords
	* added 'internal' as a possible language for CREATE FUNCTION
	  internal functions are C functions which have been statically 
d1827 2
a1828 2
	  into the postgres backend.
	* a new type "name" has been added for system identifiers (table 
d1830 4
a1833 4
	  attribute names, etc.)  This replaces the old char16 type.   The
	  of name is set by the NAMEDATALEN #define in src/Makefile.global
	* a readable reference manual that describes the query language.
	* added host-based access control.  A configuration file 
d1835 1
a1835 1
	  is used to hold the configuration data.  If host-based access 
d1837 2
a1838 2
	  is not desired, comment out HBA=1 in src/Makefile.global.
	* changed regex handling to be uniform use of Henry Spencer's regex 
d1840 1
a1840 1
	  regardless of platform.  The regex code is included in the 
d1842 1
a1842 1
	* added functions and operators for case-insensitive regular 
d1844 2
a1845 2
	  The operators are ~* and !~*.
	* pg_dump uses COPY instead of SELECT loop for better performance
d1848 3
a1850 3
	* fixed an optimizer bug that was causing core dumps when 
	  functions calls were used in comparisons in the WHERE clause
	* changed all uses of getuid to geteuid so that effective uids are 
d1852 2
a1853 2
	* psql now returns non-zero status on errors when using -c
	* applied public patches 1-14
d1860 1
a1860 1
	* The copyright of Postgres 1.0 has been loosened to be freely 
d1862 2
a1863 2
	  and modifiable for any purpose.  Please read the COPYRIGHT file.
	  Thanks to Professor Michael Stonebraker for making this possible.
d1866 1
a1866 1
	*  date formats have to be MM-DD-YYYY (or DD-MM-YYYY if you're 
d1868 2
a1869 2
	  EUROPEAN STYLE).  This follows SQL-92 specs.
	*  "delimiters" is now a keyword
d1872 2
a1873 2
	*  sql LIKE syntax has been added
	*  copy command now takes an optional USING DELIMITER 
d1875 7
a1881 7
	  delimiters can be any single-character string. 
	*  IRIX 5.3 port has been added.
	  Thanks to Paul Walmsley and others.
	*  updated pg_dump to work with new libpq
	*  \d has been added psql 
	  Thanks to Keith Parks
	*  regexp performance for architectures that use POSIX regex has 
d1883 4
a1886 4
	  improved due to caching of precompiled patterns.
	  Thanks to Alistair Crooks
	*  a new version of libpq++
	  Thanks to William Wanders
d1889 4
a1892 4
	*  arbitrary userids can be specified in the createuser script
	*  \c to connect to other databases in psql now works.
	*  bad pg_proc entry for float4inc() is fixed
	*  users with usecreatedb field set can now create databases 
d1894 8
a1901 8
	  having to be usesuper
	*  remove access control entries when the entry no longer has any
	  permissions
	*  fixed non-portable datetimes implementation
	*  added kerberos flags to the src/backend/Makefile
	*  libpq now works with kerberos
	*  typographic errors in the user manual have been corrected.
	*  btrees with multiple index never worked, now we tell you they 
d1903 1
a1903 1
	  work when you try to use them
d1910 1
a1910 1
	* BETA-0.3 IS INCOMPATIBLE WITH DATABASES CREATED WITH PREVIOUS 
d1912 2
a1913 2
	  (due to system catalog changes and indexing structure changes).
	* double-quote (") is deprecated as a quoting character for string 
d1915 2
a1916 2
	  you need to convert them to single quotes (').
	* name of aggregates (eg. int4sum) are renamed in accordance with 
d1918 3
a1920 3
	  SQL standard (eg. sum).
	* CHANGE ACL syntax is replaced by GRANT/REVOKE syntax.
	* float literals (eg. 3.14) are now of type float4 (instead of 
d1922 1
a1922 1
	  previous releases); you might have to do typecasting if you 
d1924 1
a1924 1
	  being of type float8.  If you neglect to do the typecasting and 
d1926 1
a1926 1
	  a float literal to a field of type float8, you may get incorrect 
d1928 4
a1931 4
	  stored!
	* LIBPQ has been totally revamped so that frontend applications
	  can connect to multiple backends
	* the usesysid field in pg_user has been changed from int2 to int4 
d1933 3
a1935 3
	  allow wider range of Unix user ids.
	* the netbsd/freebsd/bsd o/s ports have been consolidated into a
	  single BSD44_derived port.  (thanks to Alistair Crooks)
d1940 1
a1940 1
	* the following SQL types are now built-in: smallint, int(eger), 
d1942 1
a1942 1
	  char(N), varchar(N), date and time.
d1944 5
a1948 5
	  The following are aliases to existing postgres types:
		       smallint -> int2
		       integer, int -> int4
		       float, real  -> float4
	  char(N) and varchar(N) are implemented as truncated text types. 
d1950 2
a1951 2
	  addition, char(N) does blank-padding. 
	* single-quote (') is used for quoting string literals; '' (in 
d1953 9
a1961 9
	  \') is supported as means of inserting a single quote in a string
	* SQL standard aggregate names (MAX, MIN, AVG, SUM, COUNT) are used
	  (Also, aggregates can now be overloaded, i.e. you can define your
	  own MAX aggregate to take in a user-defined type.)
	* CHANGE ACL removed. GRANT/REVOKE syntax added.  
	  - Privileges can be given to a group using the "GROUP" keyword.
	       For example:
		       GRANT SELECT ON foobar TO GROUP my_group;
	       The keyword 'PUBLIC' is also supported to mean all users.       
d1963 1
a1963 1
	       Privileges can only be granted or revoked to one user or 
d1965 1
a1965 1
	       at a time.  
d1967 1
a1967 1
	       "WITH GRANT OPTION" is not supported.  Only class owners can 
d1969 2
a1970 2
	       access control
	  - The default access control is to to grant users readonly 
d1972 1
a1972 1
	    You must explicitly grant insert/update access to users.  To 
d1974 3
a1976 3
	    this, modify the line in 
		       src/backend/utils/acl.h 
	    that defines ACL_WORLD_DEFAULT 
d1979 1
a1979 1
	* the bug where aggregates of empty tables were not run has been 
d1981 1
a1981 1
	  aggregates run on empty tables will return the initial conditions 
d1983 1
a1983 1
	  aggregates. Thus, COUNT of an empty  table will now properly 
d1985 5
a1989 5
	  MAX/MIN of an empty table will return a tuple of value NULL. 
	* allow the use of \; inside the monitor
	* the LISTEN/NOTIFY asynchronous notification mechanism now work
	* NOTIFY in rule action bodies now work
	* hash indices work, and access methods in general should perform 
d1991 1
a1991 1
	  creation of large btree indices should be much faster.  (thanks 
d1993 1
a1993 1
	  Aoki)
d1996 1
a1996 1
	* addition of an EXPLAIN statement used for explaining the query 
d1998 1
a1998 1
	  plan (eg. "EXPLAIN SELECT * FROM EMP" prints out the execution 
d2000 2
a2001 2
	  the query).
	* WARN and NOTICE messages no longer have timestamps on them. To 
d2003 9
a2011 9
	  timestamps of error messages, uncomment the line in
	  src/backend/utils/elog.h:
	       /* define ELOG_TIMESTAMPS */ 
	* On an access control violation, the message
	       "Either no such class or insufficient privilege"
	  will be given.  This is the same message that is returned when
	  a class is not found.  This dissuades non-privileged users from
	  guessing the existence of privileged classes.
	* some additional system catalog changes have been made that are 
d2013 1
a2013 1
	  visible to the user.
d2016 5
a2020 5
	* The -oid option has been added to the "pg_result" tcl command.
	  pg_result -oid returns oid of the last tuple inserted.   If the
	  last command was not an INSERT, then pg_result -oid returns "".
	* the large object interface is available as pg_lo* tcl commands:
	  pg_lo_open, pg_lo_close, pg_lo_creat, etc.
d2023 1
a2023 1
	* flex/lex problems have been cleared up.  Now, you should be able 
d2025 1
a2025 1
	  flex instead of lex on any platforms.  We no longer make 
d2027 2
a2028 2
	  what lexer you use based on the platform you use. 
	* The Linux-ELF port is now supported.	Various configuration have 
d2030 3
a2032 3
	  tested:  The following configuration is known to work:
	       kernel 1.2.10, gcc 2.6.3, libc 4.7.2, flex 2.5.2, bison 1.24
	  with everything in ELF format,
d2035 2
a2036 2
	* ipcclean added to the distribution
	  ipcclean usually does not need to be run, but if your backend 
d2038 2
a2039 2
	  and leaves shared memory segments hanging around, ipcclean will
	  clean them up for you.
d2042 1
a2042 1
	* the user manual has been revised and libpq documentation added.
d2049 1
a2049 1
	* The SQL statement for creating a database is 'CREATE DATABASE' 
d2051 1
a2051 1
	  of 'CREATEDB'. Similarly, dropping a database is 'DROP DATABASE' 
d2053 1
a2053 1
	  of 'DESTROYDB'. However, the names of the executables 'createdb' 
d2055 2
a2056 2
	  'destroydb' remain the same.
	
d2058 3
a2060 3
	* pgperl - a Perl (4.036) interface to Postgres95
	* pg_dump - a utility for dumping out a postgres database into a
	       script file containing query commands. The script files are 
d2062 1
a2062 1
	       format and can be used to reconstruct the database, even on 
d2064 2
a2065 2
	       machines and other architectures. (Also good for converting
	       a Postgres 4.2 database to Postgres95 database.)
d2069 4
a2072 4
	* the NetBSD port by Alistair Crooks
	* the AIX port by Mike Tung
	* the Windows NT port by Jon Forrest (more stuff but not done yet)
	* the Linux ELF port by Brian Gallew
d2075 1
a2075 1
	* new lines not escaped in COPY OUT and problem with COPY OUT when 
d2077 11
a2087 11
	  attribute is a '.' 
	* cannot type return to use the default user id in createuser
	* SELECT DISTINCT on big tables crashes
	* Linux installation problems
	* monitor doesn't allow use of 'localhost' as PGHOST
	* psql core dumps when doing \c or \l
	* the "pgtclsh" target missing from src/bin/pgtclsh/Makefile
	* libpgtcl has a hard-wired default port number
	* SELECT DISTINCT INTO TABLE hangs
	* CREATE TYPE doesn't accept 'variable' as the internallength
	* wrong result using more than 1 aggregate in a SELECT
@


1.52.2.7
log
@Update new HISTORY file.
@
text
@d2 67
a68 1
Chapter 0. Release Notes
a69 24
	Table of Contents
	Release 6.5.3
	Release 6.5.2
	Release 6.5.1
	Release 6.5
	Release 6.4.2
	Release 6.4.1
	Release 6.4
	Release 6.3.2
	Release 6.3.1
	Release 6.3
	Release 6.2.1
	Release 6.2
	Release 6.1.1
	Release 6.1
	Release v6.0
	Release v1.09
	Release v1.02
	Release v1.01
	Release v1.0
	Postgres95 Beta 0.03
	Postgres95 Beta 0.02
	Postgres95 Beta 0.01
	Timing Results
d73 3
a75 2
This is basically a cleanup release for 6.5.2. We have added a new pgaccess
that was missing in 6.5.2, and installed an NT-specific fix.
d79 1
a79 1
A dump/restore is not required for those running 6.5.*.
d83 2
a84 2
Updated version of pgaccess 0.98
NT-specific patch
a85 4
  ------------------------------------------------------------------------
                                                               Release 6.5.2
                                Release Notes
  ------------------------------------------------------------------------
d89 2
a90 2
This is basically a cleanup release for 6.5.1. We have fixed a variety of
problems reported by 6.5.1 users.
d94 1
a94 1
A dump/restore is not required for those running 6.5.*.
d98 27
a124 29
subselect+CASE fixes(Tom)
Add SHLIB_LINK setting for solaris_i386 and solaris_sparc ports(Daren Sefcik)
Fixes for CASE in WHERE join clauses(Tom)
Fix BTScan abort(Tom)
Repair the check for redundant UNIQUE and PRIMARY KEY indices(Thomas)
Improve it so that it checks for multi-column constraints(Thomas)
Fix for Win32 making problem with MB enabled(Hiroki Kataoka)
Allow BSD yacc and bison to compile pl code(Bruce)
Fix SET NAMES working
int8 fixes(Thomas)
Fix vacuum's memory consumption(Hiroshi,Tatsuo)
Reduce the total memory consumption of vacuum(Tom)
Fix for timestamp(datetime)
Rule deparsing bugfixes(Tom)
Fix quoting problems in mkMakefile.tcldefs.sh.in and mkMakefile.tkdefs.sh.in(Tom)
This is to re-use space on index pages freed by vacuum(Vadim)
document -x for pg_dump(Bruce)
Fix for unary operators in rule deparser(Tom)
Comment out FileUnlink of excess segments during mdtruncate()(Tom)
Irix linking fix from Yu Cao yucao@@falcon.kla-tencor.com
Repair logic error in LIKE: should not return LIKE_ABORT
   when reach end of pattern before end of text(Tom)
Repair incorrect cleanup of heap memory allocation during transaction abort(Tom)
Updated version of pgaccess 0.98

  ------------------------------------------------------------------------
Release Notes                                                  Release 6.5.1
                                Release Notes
  ------------------------------------------------------------------------
d128 2
a129 2
This is basically a cleanup release for 6.5. We have fixed a variety of
problems reported by 6.5 users.
d133 1
a133 1
A dump/restore is not required for those running 6.5.
d137 25
a161 28
Add NT README file
Portability fixes for linux_ppc, Irix, linux_alpha, OpenBSD, alpha
Remove QUERY_LIMIT, use SELECT...LIMIT
Fix for EXPLAIN on inheritance(Tom)
Patch to allow vacuum on multi-segment tables(Hiroshi)
R-Tree optimizer selectivity fix(Tom)
ACL file descriptor leak fix(Atsushi Ogawa)
New expresssion subtree code(Tom)
Avoid disk writes for read-only transactions(Vadim)
Fix for removal of temp tables if last transaction was aborted(Bruce)
Fix to prevent too large tuple from being created(Bruce)
plpgsql fixes
Allow port numbers 32k - 64k(Bruce)
Add ^ precidence(Bruce)
Rename sort files called pg_temp to pg_sorttemp(Bruce)
Fix for microseconds in time values(Tom)
Tutorial source cleanup
New linux_m68k port
Fix for sorting of NULL's in some cases(Tom)
Shared library dependencies fixed (Tom)
Fixed glitches affecting GROUP BY in subselects(Tom)
Fix some compiler warnings (Tomoaki Nishiyama)
Add Win1250 (Czech) support (Pavel Behal)

  ------------------------------------------------------------------------
Release 6.5.2                                                    Release 6.5
                                Release Notes
  ------------------------------------------------------------------------
d165 62
a226 68
This release marks a major step in the development team's mastery of the
source code we inherited from Berkeley. You will see we are now easily
adding major features, thanks to the increasing size and experience of our
world-wide development team.

Here is a brief summary of the more notable changes:

Multi-version concurrency control(MVCC)

     This removes our old table-level locking, and replaces it with a
     locking system that is superior to most commercial database systems. In
     a traditional system, each row that is modified is locked until
     committed, preventing reads by other users. MVCC uses the natural
     multi-version nature of PostgreSQL to allow readers to continue reading
     consistent data during writer activity. Writers continue to use the
     compact pg_log transaction system. This is all performed without having
     to allocate a lock for every row like traditional database systems. So,
     basically, we no longer are restricted by simple table-level locking;
     we have something better than row-level locking.

Hot backups from pg_dump

     pg_dump takes advantage of the new MVCC features to give a consistant
     database dump/backup while the database stays online and available for
     queries.

Numeric data type

     We now have a true numeric data type, with user-specified precision.

Temporary tables

     Temporary tables are guaranteed to have unique names within a database
     session, and are destroyed on session exit.

New SQL features

     We now have CASE, INTERSECT, and EXCEPT statement support. We have new
     LIMIT/OFFSET, SET TRANSACTION ISOLATION LEVEL, SELECT ... FOR UPDATE,
     and an improved LOCK TABLE command.

Speedups

     We continue to speed up PostgreSQL, thanks to the variety of talents
     within our team. We have sped up memory allocation, optimization, table
     joins, and row transfer routines.

Ports

     We continue to expand our port list, this time including WinNT/ix86 and
     NetBSD/arm32.

Interfaces

     Most interfaces have new versions, and existing functionality has been
     improved.

Documentation

     New and updated material is present throughout the documentation. New
     FAQs have been contributed for SGI and AIX platforms. The Tutorial has
     introductory information on SQL from Stefan Simkovics. For the User's
     Guide, there are reference pages covering the postmaster and more
     utility programs, and a new appendix contains details on date/time
     behavior. The Administrator's Guide has a new chapter on
     troubleshooting from Tom Lane. And the Programmer's Guide has a
     description of query processing, also from Stefan, and details on
     obtaining the Postgres source tree via anonymous CVS and CVSup.
d230 39
a268 39
A dump/restore using pg_dump is required for those wishing to migrate data
from any previous release of Postgres. pg_upgrade can not be used to upgrade
to this release because the on-disk structure of the tables has changed
compared to previous releases.

The new Multi-Version Concurrency Control (MVCC) features can give somewhat
different behaviors in multi-user environments. Read and understand the
following section to ensure that your existing applications will give you
the behavior you need.

Multi-Version Concurrency Control

Because readers in 6.5 don't lock data, regardless of transaction isolation
level, data read by one transaction can be overwritten by another. In other
words, if a row is returned by SELECT it doesn't mean that this row really
exists at the time it is returned (i.e. sometime after the statement or
transaction began) nor that the row is protected from being deleted or
updated by concurrent transactions before the current transaction does a
commit or rollback.

To ensure the actual existence of a row and protect it against concurrent
updates one must use SELECT FOR UPDATE or an appropriate LOCK TABLE
statement. This should be taken into account when porting applications from
previous releases of Postgres and other environments.

Keep the above in mind if you are using contrib/refint.* triggers for
referential integrity. Additional technics are required now. One way is to
use LOCK parent_table IN SHARE ROW EXCLUSIVE MODE command if a transaction
is going to update/delete a primary key and use LOCK parent_table IN SHARE
MODE command if a transaction is going to update/insert a foreign key.

     Note: Note that if you run a transaction in SERIALIZABLE mode then
     you must execute the LOCK commands above before execution of any
     DML statement (SELECT/INSERT/DELETE/UPDATE/FETCH/COPY_TO) in the
     transaction.

These inconveniences will disappear in the future when the ability to read
dirty (uncommitted) data (regardless of isolation level) and true
referential integrity will be implemented.
d272 181
a452 168
Bug Fixes
---------
Fix text<->float8 and text<->float4 conversion functions(Thomas)
Fix for creating tables with mixed-case constraints(Billy)
Change exp()/pow() behavior to generate error on underflow/overflow(Jan)
Fix bug in pg_dump -z
Memory overrun cleanups(Tatsuo)
Fix for lo_import crash(Tatsuo)
Adjust handling of data type names to suppress double quotes(Thomas)
Use type coersion for matching columns and DEFAULT(Thomas)
Fix deadlock so it only checks once after one second of sleep(Bruce)
Fixes for aggregates and PL/pgsql(Hiroshi)
Fix for subquery crash(Vadim)
Fix for libpq function PQfnumber and case-insensitive names(Bahman Rafatjoo)
Fix for large object write-in-middle, no extra block, memory consumption(Tatsuo)
Fix for pg_dump -d or -D and  quote special characters in INSERT
Repair serious problems with dynahash(Tom)
Fix INET/CIDR portability problems
Fix problem with selectivity error in ALTER TABLE ADD COLUMN(Bruce)
Fix executor so mergejoin of different column types works(Tom)
Fix for Alpha OR selectivity bug
Fix OR index selectivity problem(Bruce)
Fix so \d shows proper length for char()/varchar()(Ryan)
Fix tutorial code(Clark)
Improve destroyuser checking(Oliver)
Fix for Kerberos(Rodney McDuff)
Fix for dropping database while dirty buffers(Bruce)
Fix so sequence nextval() can be case-sensitive(Bruce)
Fix !!= operator
Drop buffers before destroying database files(Bruce)
Fix case where executor evaluates functions twice(Tatsuo)
Allow sequence nextval actions to be case-sensitive(Bruce)
Fix optimizer indexing not working for negative numbers(Bruce)
Fix for memory leak in executor with fjIsNull
Fix for aggregate memory leaks(Erik Riedel)
Allow username containing a dash GRANT permissions
Cleanup of NULL in inet types
Clean up system table bugs(Tom)
Fix problems of PAGER and \? command(Masaaki Sakaida)
Reduce default multi-segment file size limit to 1GB(Peter)
Fix for dumping of CREATE OPERATOR(Tom)
Fix for backward scanning of cursors(Hiroshi Inoue)
Fix for COPY FROM STDIN when using \i(Tom)
Fix for subselect is compared inside an expression(Jan)
Fix handling of error reporting while returning rows(Tom)
Fix problems with reference to array types(Tom,Jan)
Prevent UPDATE SET oid(Jan)
Fix pg_dump so -t option can handle case-sensitive tablenames
Fixes for GROUP BY in special cases(Tom, Jan)
Fix for memory leak in failed queries(Tom)
DEFAULT now supports mixed-case identifiers(Tom)
Fix for multi-segment uses of DROP/RENAME table, indexes(Ole Gjerde)
Disable use of pg_dump with both -o and -d options(Bruce)
Allow pg_dump to properly dump GROUP permissions(Bruce)
Fix GROUP BY in INSERT INTO table SELECT * FROM table2(Jan)
Fix for computations in views(Jan)
Fix for aggregates on array indexes(Tom)
Fix for DEFAULT handles single quotes in value requiring too many quotes
Fix security problem with non-super users importing/exporting large objects(Tom)
Rollback of transaction that creates table cleaned up properly(Tom)
Fix to allow long table and column names to generate proper serial names(Tom)

Enhancements
------------
Add "vacuumdb" utility
Speed up libpq by allocating memory better(Tom)
EXPLAIN all indices used(Tom)
Implement CASE, COALESCE, NULLIF  expression(Thomas)
New pg_dump table output format(Constantin)
Add string min()/max() functions(Thomas)
Extend new type coersion techniques to aggregates(Thomas)
New moddatetime contrib(Terry)
Update to pgaccess 0.96(Constantin)
Add routines for single-byte "char" type(Thomas)
Improved substr() function(Thomas)
Improved multi-byte handling(Tatsuo)
Multi-version concurrency control/MVCC(Vadim)
New Serialized mode(Vadim)
Fix for tables over 2gigs(Peter)
New SET TRANSACTION ISOLATION LEVEL(Vadim)
New LOCK TABLE IN ... MODE(Vadim)
Update ODBC driver(Byron)
New NUMERIC data type(Jan)
New SELECT FOR UPDATE(Vadim)
Handle "NaN" and "Infinity" for input values(Jan)
Improved date/year handling(Thomas)
Improved handling of backend connections(Magnus)
New options ELOG_TIMESTAMPS and USE_SYSLOG options for log files(Massimo)
New TCL_ARRAYS option(Massimo)
New INTERSECT and EXCEPT(Stefan)
New pg_index.indisprimary for primary key tracking(D'Arcy)
New pg_dump option to allow dropping of tables before creation(Brook)
Speedup of row output routines(Tom)
New READ COMMITTED isolation level(Vadim)
New TEMP tables/indexes(Bruce)
Prevent sorting if result is already sorted(Jan)
New memory allocation optimization(Jan)
Allow psql to do \p\g(Bruce)
Allow multiple rule actions(Jan)
Added LIMIT/OFFSET functionality(Jan)
Improve optimizer when joining a large number of tables(Bruce)
New intro to SQL from S. Simkovics' Master's Thesis (Stefan, Thomas)
New intro to backend processing from S. Simkovics' Master's Thesis (Stefan)
Improved int8 support(Ryan Bradetich, Thomas, Tom)
New routines to convert between int8 and text/varchar types(Thomas)
New bushy plans, where meta-tables are joined(Bruce)
Enable right-hand queries by default(Bruce)
Allow reliable maximum number of backends to be set at configure time
      (--with-maxbackends and postmaster switch (-N backends))(Tom)
GEQO default now 10 tables because of optimizer speedups(Tom)
Allow NULL=Var for MS-SQL portability(Michael, Bruce)
Modify contrib check_primary_key() so either "automatic" or "dependent"(Anand)
Allow psql \d on a view show query(Ryan)
Speedup for LIKE(Bruce)
Ecpg fixes/features, see src/interfaces/ecpg/ChangeLog file(Michael)
JDBC fixes/features, see src/interfaces/jdbc/CHANGELOG(Peter)
Make % operator have precedence like /(Bruce)
Add new postgres -O option to allow system table structure changes(Bruce)
Update contrib/pginterface/findoidjoins script(Tom)
Major speedup in vacuum of deleted rows with indexes(Vadim)
Allow non-SQL functions to run different versions based on arguments(Tom)
Add -E option that shows actual queries sent by \dt and friends(Masaaki Sakaida)
Add version number in startup banners for psql(Masaaki Sakaida)
New contrib/vacuumlo removes large objects not referenced(Peter)
New initialization for table sizes so non-vacuumed tables perform better(Tom)
Improve error messages when a connection is rejected(Tom)
Support for arrays of char() and varchar() fields(Massimo)
Overhaul of hash code to increase reliability and performance(Tom)
Update to PyGreSQL 2.4(D'Arcy)
Changed debug options so -d4 and -d5 produce different node displays(Jan)
New pg_options: pretty_plan, pretty_parse, pretty_rewritten(Jan)
Better optimization statistics for system table access(Tom)
Better handling of non-default block sizes(Massimo)
Improve GEQO optimizer memory consumption(Tom)
UNION now suppports ORDER BY of columns not in target list(Jan)
Major libpq++ improvements(Vince Vielhaber)
pg_dump now uses -z(ACL's) as default(Bruce)
backend cache, memory speedups(Tom)
have pg_dump do everything in one snapshot transaction(Vadim)
fix for large object memory leakage, fix for pg_dumping(Tom)
INET type now respects netmask for comparisons
Make VACUUM ANALYZE only use a readlock(Vadim)
Allow VIEWs on UNIONS(Jan)
pg_dump now can generate consistent snapshots on active databases(Vadim)

Source Tree Changes
-------------------
Improve port matching(Tom)
Portability fixes for SunOS
Add NT/Win32 backend port and enable dynamic loading(Magnus and Daniel Horak)
New port to Cobalt Qube(Mips) running Linux(Tatsuo)
Port to NetBSD/m68k(Mr. Mutsuki Nakajima)
Port to NetBSD/sun3(Mr. Mutsuki Nakajima)
Port to NetBSD/macppc(Toshimi Aoki)
Fix for tcl/tk configuration(Vince)
Removed CURRENT keyword for rule queries(Jan)
NT dynamic loading now works(Daniel Horak)
Add ARM32 support(Andrew McMurry)
Better support for HPUX 11 and Unixware
Improve file handling to be more uniform, prevent file descriptor leak(Tom)
New install commands for plpgsql(Jan)


  ------------------------------------------------------------------------
Release 6.5.1                                                  Release 6.4.2
                                Release Notes
  ------------------------------------------------------------------------

d455 2
a456 2
The 6.4.1 release was improperly packaged. This also has one additional bug
fix.
d460 1
a460 1
A dump/restore is not required for those running 6.4.*.
d464 1
a464 6
Fix for datetime constant problem on some platforms(Thomas)

  ------------------------------------------------------------------------
Release 6.5                                                    Release 6.4.1
                                Release Notes
  ------------------------------------------------------------------------
d468 2
a469 2
This is basically a cleanup release for 6.4. We have fixed a variety of
problems reported by 6.4 users.
d473 1
a473 1
A dump/restore is not required for those running 6.4.
d477 33
a509 35
Add pg_dump -N flag to force double quotes around identifiers.  This is
        the default(Thomas)
Fix for NOT in where clause causing crash(Bruce)
EXPLAIN VERBOSE coredump fix(Vadim)
Fix shared-library problems on Linux
Fix test for table existance to allow mixed-case and whitespace in
        the table name(Thomas)
Fix a couple of pg_dump bugs
Configure matches template/.similar entries better(Tom)
Change builtin function names from SPI_* to spi_*
OR WHERE clause fix(Vadim)
Fixes for mixed-case table names(Billy)
contrib/linux/postgres.init.csh/sh fix(Thomas)
libpq memory overrun fix
SunOS fixes(Tom)
Change exp() behavior to generate error on underflow(Thomas)
pg_dump fixes for memory leak, inheritance constraints, layout change
update pgaccess to 0.93
Fix prototype for 64-bit platforms
Multi-byte fixes(Tatsuo)
New ecpg man page
Fix memory overruns(Tatsuo)
Fix for lo_import() crash(Bruce)
Better search for install program(Tom)
Timezone fixes(Tom)
HPUX fixes(Tom)
Use implicit type coersion for matching DEFAULT values(Thomas)
Add routines to help with single-byte (internal) character type(Thomas)
Compilation of libpq for Win32 fixes(Magnus)
Upgrade to PyGreSQL 2.2(D'Arcy)

  ------------------------------------------------------------------------
Release 6.4.2                                                    Release 6.4
                                Release Notes
  ------------------------------------------------------------------------
d513 32
a544 37
There are many new features and improvements in this release. Thanks to our
developers and maintainers, nearly every aspect of the system has received
some attention since the previous release. Here is a brief, incomplete
summary:

   * Views and rules are now functional thanks to extensive new code in the
     rewrite rules system from Jan Wieck. He also wrote a chapter on it for
     the Programmer's Guide.

   * Jan also contributed a second procedural language, PL/pgSQL, to go with
     the original PL/pgTCL procedural language he contributed last release.

   * We have optional multiple-byte character set support from Tatsuo Iishi
     to complement our existing locale support.

   * Client/server communications has been cleaned up, with better support
     for asynchronous messages and interrupts thanks to Tom Lane.

   * The parser will now perform automatic type coersion to match arguments
     to available operators and functions, and to match columns and
     expressions with target columns. This uses a generic mechanism which
     supports the type extensibility features of Postgres. There is a new
     chapter in the User's Guide which covers this topic.

   * Three new data types have been added. Two types, inet and cidr, support
     various forms of IP network, subnet, and machine addressing. There is
     now an 8-byte integer type available on some platforms. See the chapter
     on data types in the User's Guide for details. A fourth type, serial,
     is now supported by the parser as an amalgam of the int4 type, a
     sequence, and a unique index.

   * Several more SQL92-compatible syntax features have been added,
     including INSERT DEFAULT VALUES

   * The automatic configuration and installation system has received some
     attention, and should be more robust for more platforms than it has
     ever been.
d548 2
a549 2
A dump/restore using pg_dump or pg_dumpall is required for those wishing to
migrate data from any previous release of Postgres.
d553 217
a769 197
Bug Fixes
---------
Fix for a tiny memory leak in PQsetdb/PQfinish(Bryan)
Remove char2-16 data types, use char/varchar(Darren)
Pqfn not handles a NOTICE message(Anders)
Reduced busywaiting overhead for spinlocks with many backends (dg)
Stuck spinlock detection (dg)
Fix up "ISO-style" timespan decoding and encoding(Thomas)
Fix problem with table drop after rollback of transaction(Vadim)
Change error message and remove non-functional update message(Vadim)
Fix for COPY array checking
Fix for SELECT 1 UNION SELECT NULL
Fix for buffer leaks in large object calls(Pascal)
Change owner from oid to int4 type(Bruce)
Fix a bug in the oracle compatibility functions btrim() ltrim() and rtrim()
Fix for shared invalidation cache overflow(Massimo)
Prevent file descriptor leaks in failed COPY's(Bruce)
Fix memory leak in libpgtcl's pg_select(Constantin)
Fix problems with username/passwords over 8 characters(Tom)
Fix problems with handling of asynchronous NOTIFY in backend(Tom)
Fix of many bad system table entries(Tom)

Enhancements
------------
Upgrade ecpg and ecpglib,see src/interfaces/ecpc/ChangeLog(Michael)
Show the index used in an EXPLAIN(Zeugswetter)
EXPLAIN  invokes  rule system and shows plan(s) for rewritten queries(Jan)
Multi-byte awareness of many data types and functions, via configure(Tatsuo)
New configure --with-mb option(Tatsuo)
New initdb --pgencoding option(Tatsuo)
New createdb -E multibyte option(Tatsuo)
Select version(); now returns PostgreSQL version(Jeroen)
Libpq now allows asynchronous clients(Tom)
Allow cancel from client of backend query(Tom)
Psql now cancels query with Control-C(Tom)
Libpq users need not issue dummy queries to get NOTIFY messages(Tom)
NOTIFY now sends sender's PID, so you can tell whether it was your own(Tom)
PGresult struct now includes associated error message, if any(Tom)
Define "tz_hour" and "tz_minute" arguments to date_part()(Thomas)
Add routines to convert between varchar and bpchar(Thomas)
Add routines to allow sizing of varchar and bpchar into target columns(Thomas)
Add bit flags to support timezonehour and minute in data retrieval(Thomas)
Allow more variations on valid floating point numbers (e.g. ".1", "1e6")(Thomas)
Fixes for unary minus parsing with leading spaces(Thomas)
Implement TIMEZONE_HOUR, TIMEZONE_MINUTE per SQL92 specs(Thomas)
Check for and properly ignore FOREIGN KEY column constraints(Thomas)
Define USER as synonym for CURRENT_USER per SQL92 specs(Thomas)
Enable HAVING clause but no fixes elsewhere yet.
Make "char" type a synonym for "char(1)" (actually implemented as bpchar)(Thomas)
Save string type if specified for DEFAULT clause handling(Thomas)
Coerce operations involving different data types(Thomas)
Allow some index use for columns of different types(Thomas)
Add capabilities for automatic type conversion(Thomas)
Cleanups for large objects, so file is truncated on open(Peter)
Readline cleanups(Tom)
Allow psql  \f \ to make spaces as delimiter(Bruce)
Pass pg_attribute.atttypmod to the frontend for column field lengths(Tom,Bruce)
Msql compatibility library in /contrib(Aldrin)
Remove the requirement that ORDER/GROUP BY clause identifiers be
included in the target list(David)
Convert columns to match columns in UNION clauses(Thomas)
Remove fork()/exec() and only do fork()(Bruce)
Jdbc cleanups(Peter)
Show backend status on ps command line(only works on some platforms)(Bruce)
Pg_hba.conf now has a sameuser option in the database field
Make lo_unlink take oid param, not int4
New DISABLE_COMPLEX_MACRO for compilers that can't handle our macros(Bruce)
Libpgtcl now handles NOTIFY as a Tcl event, need not send dummy queries(Tom)
libpgtcl cleanups(Tom)
Add -error option to libpgtcl's pg_result command(Tom)
New locale patch, see docs/README/locale(Oleg)
Fix for pg_dump so CONSTRAINT and CHECK syntax is correct(ccb)
New contrib/lo code for large object orphan removal(Peter)
New psql command "SET CLIENT_ENCODING TO 'encoding'" for multi-bytes
feature, see /doc/README.mb(Tatsuo)
/contrib/noupdate code to revoke update permission on a column
Libpq can now be compiled on win32(Magnus)
Add PQsetdbLogin() in libpq
New 8-byte integer type, checked by configure for OS support(Thomas)
Better support for quoted table/column names(Thomas)
Surround table and column names with double-quotes in pg_dump(Thomas)
PQreset() now works with passwords(Tom)
Handle case of GROUP BY target list column number out of range(David)
Allow UNION in subselects
Add auto-size to screen to \d? commands(Bruce)
Use UNION to show all \d? results in one query(Bruce)
Add \d? field search feature(Bruce)
Pg_dump issues fewer \connect requests(Tom)
Make pg_dump -z flag work better, document it in manual page(Tom)
Add HAVING clause with full support for subselects and unions(Stephan)
Full text indexing routines in contrib/fulltextindex(Maarten)
Transaction ids now stored in shared memory(Vadim)
New PGCLIENTENCODING when issuing COPY command(Tatsuo)
Support for SQL92 syntax "SET NAMES"(Tatsuo)
Support for LATIN2-5(Tatsuo)
Add UNICODE regression test case(Tatsuo)
Lock manager cleanup, new locking modes for LLL(Vadim)
Allow index use with OR clauses(Bruce)
Allows "SELECT NULL ORDER BY 1;"
Explain VERBOSE prints the plan, and now pretty-prints the plan to
the postmaster log file(Bruce)
Add Indices display to \d command(Bruce)
Allow GROUP BY on functions(David)
New pg_class.relkind for large objects(Bruce)
New way to send libpq NOTICE messages to a different location(Tom)
New \w write command to psql(Bruce)
New /contrib/findoidjoins scans oid columns to find join relationships(Bruce)
Allow binary-compatible indices to be considered when checking for valid
indices for restriction clauses containing a constant(Thomas)
New ISBN/ISSN code in /contrib/isbn_issn
Allow NOT LIKE, IN, NOT IN, BETWEEN, and NOT BETWEEN constraint(Thomas)
New rewrite system fixes many problems with rules and views(Jan)
        * Rules on relations work
        * Event qualifications on insert/update/delete work
        * New OLD variable to reference CURRENT, CURRENT will be remove in future
        * Update rules can reference NEW and OLD in rule qualifications/actions
        * Insert/update/delete rules on views work
        * Multiple rule actions are now supported, surrounded by parentheses
        * Regular users can create views/rules on tables they have RULE permits
        * Rules and views inherit the permissions on the creator
        * No rules at the column level
        * No UPDATE NEW/OLD rules
        * New pg_tables, pg_indexes, pg_rules and pg_views system views
        * Only a single action on SELECT rules
        * Total rewrite overhaul, perhaps for 6.5
        * handle subselects
        * handle aggregates on views
        * handle insert into select from view works
System indexes are now multi-key(Bruce)
Oidint2, oidint4, and oidname types are removed(Bruce)
Use system cache for more system table lookups(Bruce)
New backend programming language PL/pgSQL in backend/pl(Jan)
New SERIAL data type, auto-creates sequence/index(Thomas)
Enable assert checking without a recompile(Massimo)
User lock enhancements(Massimo)
New setval() command to set sequence value(Massimo)
Auto-remove unix socket file on startup if no postmaster running(Massimo)
Conditional trace package(Massimo)
New UNLISTEN command(Massimo)
Psql and libpq now compile under win32 using win32.mak(Magnus)
Lo_read no longer stores trailing NULL(Bruce)
Identifiers are now truncated to 31 characters internally(Bruce)
Createuser options now availble on the command line
Code for 64-bit integer supported added, configure tested, int8 type(Thomas)
Prevent file descriptor leaf from failed COPY(Bruce)
New pg_upgrade command(Bruce)
Updated /contrib directories(Massimo)
New CREATE TABLE DEFAULT VALUES statement available(Thomas)
New INSERT INTO TABLE DEFAULT VALUES statement available(Thomas)
New DECLARE and FETCH feature(Thomas)
libpq's internal structures now not exported(Tom)
Allow up to 8 key indexes(Bruce)
Remove ARCHIVE keyword, that is no longer used(Thomas)
pg_dump -n flag to supress quotes around indentifiers
disable system columns for views(Jan)
new INET and CIDR types for network addresses(TomH, Paul)
no more double quotes in psql output
pg_dump now dumps views(Terry)
new SET QUERY_LIMIT(Tatsuo,Jan)

Source Tree Changes
-------------------
/contrib cleanup(Jun)
Inline some small functions called for every row(Bruce)
Alpha/linux fixes
Hp/UX cleanups(Tom)
Multi-byte regression tests(Soonmyung.)
Remove --disabled options from configure
Define PGDOC to use POSTGRESDIR by default
Make regression optional
Remove extra braces code to pgindent(Bruce)
Add bsdi shared library support(Bruce)
New --without-CXX support configure option(Brook)
New FAQ_CVS
Update backend flowchart in tools/backend(Bruce)
Change atttypmod from int16 to int32(Bruce, Tom)
Getrusage() fix for platforms that do not have it(Tom)
Add PQconnectdb, PGUSER, PGPASSWORD to libpq man page
NS32K platform fixes(Phil Nelson, John Buller)
Sco 7/UnixWare 2.x fixes(Billy,others)
Sparc/Solaris 2.5 fixes(Ryan)
Pgbuiltin.3 is obsolete, move to doc files(Thomas)
Even more documention(Thomas)
Nextstep support(Jacek)
Aix support(David)
pginterface manual page(Bruce)
shared libraries all have version numbers
merged all OS-specific shared library defines into one file
smarter TCL/TK configuration checking(Billy)
smarter perl configuration(Brook)
configure uses supplied install-sh if no install script found(Tom)
new Makefile.shlib for shared library configuration(Tom)

  ------------------------------------------------------------------------
Release 6.4.1                                                  Release 6.3.2
                                Release Notes
  ------------------------------------------------------------------------
d773 14
a786 18
This is a bugfix release for 6.3.x. Refer to the release notes for v6.3 for
a more complete summary of new features.

Summary:

   * Repairs automatic configuration support for some platforms, including
     Linux, from breakage inadvertently introduced in v6.3.1.

   * Correctly handles function calls on the left side of BETWEEN and LIKE
     clauses.

A dump/restore is NOT required for those running 6.3 or 6.3.1. A 'make
distclean', 'make', and 'make install' is all that is required. This last
step should be performed while the postmaster is not running. You should
re-link any custom applications that use Postgres libraries.

For upgrades from pre-v6.3 installations, refer to the installation and
migration instructions for v6.3.
d790 20
a809 25
Changes
-------
Configure detection improvements for tcl/tk(Brook Milligan, Alvin)
Manual page improvements(Bruce)
BETWEEN and LIKE fix(Thomas)
fix for psql \connect used by pg_dump(Oliver Elphick)
New odbc driver
pgaccess, version 0.86
qsort removed, now uses libc version, cleanups(Jeroen)
fix for buffer over-runs detected(Maurice Gittens)
fix for buffer overrun in libpgtcl(Randy Kunkee)
fix for UNION with DISTINCT or ORDER BY(Bruce)
gettimeofday configure check(Doug Winterburn)
Fix "indexes not used" bug(Vadim)
docs additions(Thomas)
Fix for backend memory leak(Bruce)
libreadline cleanup(Erwan MAS)
Remove DISTDIR(Bruce)
Makefile dependency cleanup(Jeroen van Vianen)
ASSERT fixes(Bruce)

  ------------------------------------------------------------------------
Release 6.4                                                    Release 6.3.1
                                Release Notes
  ------------------------------------------------------------------------
d813 12
a824 17
Summary:

   * Additional support for multi-byte character sets.

   * Repair byte ordering for mixed-endian clients and servers.

   * Minor updates to allowed SQL syntax.

   * Improvements to the configuration autodetection for installation.

A dump/restore is NOT required for those running 6.3. A 'make distclean',
'make', and 'make install' is all that is required. This last step should be
performed while the postmaster is not running. You should re-link any custom
applications that use Postgres libraries.

For upgrades from pre-v6.3 installations, refer to the installation and
migration instructions for v6.3.
d828 29
a856 34
Changes
-------
ecpg cleanup/fixes, now version 1.1(Michael Meskes)
pg_user cleanup(Bruce)
large object fix for pg_dump and tclsh (alvin)
LIKE fix for multiple adjacent underscores
fix for redefining builtin functions(Thomas)
ultrix4 cleanup
upgrade to pg_access 0.83
updated CLUSTER manual page
multi-byte character set support, see doc/README.mb(Tatsuo)
configure --with-pgport fix
pg_ident fix
big-endian fix for backend communications(Kataoka)
SUBSTR() and substring() fix(Jan)
several jdbc fixes(Peter)
libpgtcl improvements, see libptcl/README(Randy Kunkee)
Fix for "Datasize = 0" error(Vadim)
Prevent \do from wrapping(Bruce)
Remove duplicate Russian character set entries
Sunos4 cleanup
Allow optional TABLE keyword in LOCK and SELECT INTO(Thomas)
CREATE SEQUENCE options to allow a negative integer(Thomas)
Add "PASSWORD" as an allowed column identifier(Thomas)
Add checks for UNION target fields(Bruce)
Fix Alpha port(Dwayne Bailey)
Fix for text arrays containing quotes(Doug Gibson)
Solaris compile fix(Albert Chin-A-Young)
Better identify tcl and tk libs and includes(Bruce)

  ------------------------------------------------------------------------
Release 6.3.2                                                    Release 6.3
                                Release Notes
  ------------------------------------------------------------------------
d860 66
a925 75
There are many new features and improvements in this release. Here is a
brief, incomplete summary:

   * Many new SQL features, including full SQL92 subselect capability
     (everything is here but target-list subselects).

   * Support for client-side environment variables to specify time zone and
     date style.

   * Socket interface for client/server connection. This is the default now
     so you may need to start postmaster with the "-i" flag.

   * Better password authorization mechanisms. Default table permissions
     have changed.

   * Old-style "time travel" has been removed. Performance has been
     improved.

     Note: Bruce Momjian wrote the following notes to introduce the new
     release.

There are some general 6.3 issues that I want to mention. These are only the
big items that can not be described in one sentence. A review of the
detailed changes list is still needed.

First, we now have subselects. Now that we have them, I would like to
mention that without subselects, SQL is a very limited language. Subselects
are a major feature, and you should review your code for places where
subselects provide a better solution for your queries. I think you will find
that there are more uses for subselects than you may think. Vadim has put us
on the big SQL map with subselects, and fully functional ones too. The only
thing you can't do with subselects is to use them in the target list.

Second, 6.3 uses unix domain sockets rather than TCP/IP by default. To
enable connections from other machines, you have to use the new postmaster
-i option, and of course edit pg_hba.conf. Also, for this reason, the format
of pg_hba.conf has changed.

Third, char() fields will now allow faster access than varchar() or text.
Specifically, the text and varchar() have a penalty for access to any
columns after the first column of this type. char() used to also have this
access penalty, but it no longer does. This may suggest that you redesign
some of your tables, especially if you have short character columns that you
have defined as varchar() or text. This and other changes make 6.3 even
faster than earlier releases.

We now have passwords definable independent of any Unix file. There are new
SQL USER commands. See the pg_hba.conf manual page for more information.
There is a new table, pg_shadow, which is used to store user information and
user passwords, and it by default only SELECT-able by the postgres
super-user. pg_user is now a view of pg_shadow, and is SELECT-able by
PUBLIC. You should keep using pg_user in your application without changes.

User-created tables now no longer have SELECT permission to PUBLIC by
default. This was done because the ANSI standard requires it. You can of
course GRANT any permissions you want after the table is created. System
tables continue to be SELECT-able by PUBLIC.

We also have real deadlock detection code. No more sixty-second timeouts.
And the new locking code implements a FIFO better, so there should be less
resource starvation during heavy use.

Many complaints have been made about inadequate documenation in previous
releases. Thomas has put much effort into many new manuals for this release.
Check out the doc/ directory.

For performance reasons, time travel is gone, but can be implemented using
triggers (see pgsql/contrib/spi/README). Please check out the new \d command
for types, operators, etc. Also, views have their own permissions now, not
based on the underlying tables, so permissions on them have to be set
separately. Check /pgsql/interfaces for some new ways to talk to Postgres.

This is the first release that really required an explanation for existing
users. In many ways, this was necessary because the new release removes many
limitations, and the work-arounds people were using are no longer needed.
d929 2
a930 2
A dump/restore using pg_dump or pg_dumpall is required for those wishing to
migrate data from any previous release of Postgres.
d934 200
a1133 169
Bug Fixes
---------
Fix binary cursors broken by MOVE implementation(Vadim)
Fix for tcl library crash(Jan)
Fix for array handling, from Gerhard Hintermayer
Fix acl error, and remove duplicate pqtrace(Bruce)
Fix psql \e for empty file(Bruce)
Fix for textcat on varchar() fields(Bruce)
Fix for DBT Sendproc (Zeugswetter Andres)
Fix vacuum analyze syntax problem(Bruce)
Fix for international identifiers(Tatsuo)
Fix aggregates on inherited tables(Bruce)
Fix substr() for out-of-bounds data
Fix for select 1=1 or 2=2, select 1=1 and 2=2, and select sum(2+2)(Bruce)
Fix notty output to show status result.  -q option still turns it off(Bruce)
Fix for count(*), aggs with views and multiple tables and sum(3)(Bruce)
Fix cluster(Bruce)
Fix for PQtrace start/stop several times(Bruce)
Fix a variety of locking problems like newer lock waiters getting
        lock before older waiters, and having readlock people not share
        locks if a writer is waiting for a lock, and waiting writers not
        getting priority over waiting readers(Bruce)
Fix crashes in psql when executing queries from external files(James)
Fix problem with multiple order by columns, with the first one having
        NULL values(Jeroen)
Use correct hash table support functions for float8 and int4(Thomas)
Re-enable JOIN= option in CREATE OPERATOR statement (Thomas)
Change precedence for boolean operators to match expected behavior(Thomas)
Generate elog(ERROR) on over-large integer(Bruce)
Allow multiple-argument functions in constraint clauses(Thomas)
Check boolean input literals for 'true','false','yes','no','1','0'
        and throw elog(ERROR) if unrecognized(Thomas)
Major large objects fix
Fix for GROUP BY showing duplicates(Vadim)
Fix for index scans in MergeJion(Vadim)

Enhancements
------------
Subselects with EXISTS, IN, ALL, ANY keywords (Vadim, Bruce, Thomas)
New User Manual(Thomas, others)
Speedup by inlining some frequently-called functions
Real deadlock detection, no more timeouts(Bruce)
Add SQL92 "constants" CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP,
        CURRENT_USER(Thomas)
Modify constraint syntax to be SQL92-compliant(Thomas)
Implement SQL92 PRIMARY KEY and UNIQUE clauses using indices(Thomas)
Recognize SQL92 syntax for FOREIGN KEY. Throw elog notice(Thomas)
Allow NOT NULL UNIQUE constraint clause (each allowed separately before)(Thomas)
Allow Postgres-style casting ("::") of non-constants(Thomas)
Add support for SQL3 TRUE and FALSE boolean constants(Thomas)
Support SQL92 syntax for IS TRUE/IS FALSE/IS NOT TRUE/IS NOT FALSE(Thomas)
Allow shorter strings for boolean literals (e.g. "t", "tr", "tru")(Thomas)
Allow SQL92 delimited identifiers(Thomas)
Implement SQL92 binary and hexadecimal string decoding (b'10' and x'1F')(Thomas)
Support SQL92 syntax for type coercion of literal strings
        (e.g. "DATETIME 'now'")(Thomas)
Add conversions for int2, int4, and OID types to and from text(Thomas)
Use shared lock when building indices(Vadim)
Free memory allocated for an user query inside transaction block after
        this query is done, was turned off in <= 6.2.1(Vadim)
New SQL statement CREATE PROCEDURAL LANGUAGE(Jan)
New Postgres Procedural Language (PL) backend interface(Jan)
Rename pg_dump -H option to -h(Bruce)
Add Java support for passwords, European dates(Peter)
Use indices for LIKE and ~, !~ operations(Bruce)
Add hash functions for datetime and timespan(Thomas)
Time Travel removed(Vadim, Bruce)
Add paging for \d and \z, and fix \i(Bruce)
Add Unix domain socket support to backend and to frontend library(Goran)
Implement CREATE DATABASE/WITH LOCATION and initlocation utility(Thomas)
Allow more SQL92 and/or Postgres reserved words as column identifiers(Thomas)
Augment support for SQL92 SET TIME ZONE...(Thomas)
SET/SHOW/RESET TIME ZONE uses TZ backend environment variable(Thomas)
Implement SET keyword = DEFAULT and SET TIME ZONE DEFAULT(Thomas)
Enable SET TIME ZONE using TZ environment variable(Thomas)
Add PGDATESTYLE environment variable to frontend and backend initialization(Thomas)
Add PGTZ, PGCOSTHEAP, PGCOSTINDEX, PGRPLANS, PGGEQO
        frontend library initialization environment variables(Thomas)
Regression tests time zone automatically set with "setenv PGTZ PST8PDT"(Thomas)
Add pg_description table for info on tables, columns, operators, types, and
        aggregates(Bruce)
Increase 16 char limit on system table/index names to 32 characters(Bruce)
Rename system indices(Bruce)
Add 'GERMAN' option to SET DATESTYLE(Thomas)
Define an "ISO-style" timespan output format with "hh:mm:ss" fields(Thomas)
Allow fractional values for delta times (e.g. '2.5 days')(Thomas)
Validate numeric input more carefully for delta times(Thomas)
Implement day of year as possible input to date_part()(Thomas)
Define timespan_finite() and text_timespan() functions(Thomas)
Remove archive stuff(Bruce)
Allow for a pg_password authentication database that is separate from
        the system password file(Todd)
Dump ACLs, GRANT, REVOKE permissions(Matt)
Define text, varchar, and bpchar string length functions(Thomas)
Fix Query handling for inheritance, and cost computations(Bruce)
Implement CREATE TABLE/AS SELECT (alternative to SELECT/INTO)(Thomas)
Allow NOT, IS NULL, IS NOT NULL in constraints(Thomas)
Implement UNIONs for SELECT(Bruce)
Add UNION, GROUP, DISTINCT to INSERT(Bruce)
varchar() stores only necessary bytes on disk(Bruce)
Fix for BLOBs(Peter)
Mega-Patch for JDBC...see README_6.3 for list of changes(Peter)
Remove unused "option" from PQconnectdb()
New LOCK command and lock manual page describing deadlocks(Bruce)
Add new psql \da, \dd, \df, \do, \dS, and \dT commands(Bruce)
Enhance psql \z to show sequences(Bruce)
Show NOT NULL and DEFAULT in psql \d table(Bruce)
New psql .psqlrc file startup(Andrew)
Modify sample startup script in contrib/linux to show syslog(Thomas)
New types for IP and MAC addresses in contrib/ip_and_mac(TomH)
Unix system time conversions with date/time types in contrib/unixdate(Thomas)
Update of contrib stuff(Massimo)
Add Unix socket support to DBD::Pg(Goran)
New python interface (PyGreSQL 2.0)(D'Arcy)
New frontend/backend protocol has a version number, network byte order(Phil)
Security features in pg_hba.conf enhanced and documented, many cleanups(Phil)
CHAR() now faster access than VARCHAR() or TEXT
ecpg embedded SQL preprocessor
Reduce system column overhead(Vadmin)
Remove pg_time table(Vadim)
Add pg_type attribute to identify types that need length (bpchar, varchar)
Add report of offending line when COPY command fails
Allow VIEW permissions to be set separately from the underlying tables.
        For security, use GRANT/REVOKE on views as appropriate(Jan)
Tables now have no default GRANT SELECT TO PUBLIC.  You must
        explicitly grant such permissions.
Clean up tutorial examples(Darren)

Source Tree Changes
-------------------
Add new html development tools, and flow chart in /tools/backend
Fix for SCO compiles
Stratus computer port Robert Gillies
Added support for shlib for BSD44_derived & i386_solaris
Make configure more automated(Brook)
Add script to check regression test results
Break parser functions into smaller files, group together(Bruce)
Rename heap_create to heap_create_and_catalog, rename heap_creatr
        to heap_create()(Bruce)
Sparc/Linux patch for locking(TomS)
Remove PORTNAME and reorganize port-specific stuff(Marc)
Add optimizer README file(Bruce)
Remove some recursion in optimizer and clean up some code there(Bruce)
Fix for NetBSD locking(Henry)
Fix for libptcl make(Tatsuo)
AIX patch(Darren)
Change IS TRUE, IS FALSE, ... to expressions using "=" rather than
        function calls to istrue() or isfalse() to allow optimization(Thomas)
Various fixes NetBSD/Sparc related(TomH)
Alpha linux locking(Travis,Ryan)
Change elog(WARN) to elog(ERROR)(Bruce)
FAQ for FreeBSD(Marc)
Bring in the PostODBC source tree as part of our standard distribution(Marc)
A minor patch for HP/UX 10 vs 9(Stan)
New pg_attribute.atttypmod for type-specific info like varchar length(Bruce)
Unixware patches(Billy)
New i386 'lock' for spin lock asm(Billy)
Support for multiplexed backends is removed
Start an OpenBSD port
Start an AUX port
Start a Cygnus port
Add string functions to regression suite(Thomas)
Expand a few function names formerly truncated to 16 characters(Thomas)
Remove un-needed malloc() calls and replace with palloc()(Bruce)

  ------------------------------------------------------------------------
Release 6.3.1                                                  Release 6.2.1
                                Release Notes
  ------------------------------------------------------------------------
d1137 8
a1144 12
v6.2.1 is a bug-fix and usability release on v6.2.

Summary:

   * Allow strings to span lines, per SQL92.

   * Include example trigger function for inserting user names on table
     updates.

This is a minor bug-fix release on v6.2. For upgrades from pre-v6.2 systems,
a full dump/reload is required. Refer to the v6.2 release notes for
instructions.
d1148 7
a1154 9
This is a minor bug-fix release. A dump/reload is not required from v6.2,
but is required from any release prior to v6.2.

In upgrading from v6.2, if you choose to dump/reload you will find that
avg(money) is now calculated correctly. All other bug fixes take effect upon
updating the executables.

Another way to avoid dump/reload is to use the following SQL command from
psql to update the existing system table:
d1156 2
a1157 2
  update pg_aggregate set aggfinalfn = 'cash_div_flt8'
   where aggname = 'avg' and aggbasetype = 790;
d1159 2
a1160 1
This will need to be done to every existing database, including template1.
d1164 15
a1178 18
Changes in this release
-----------------------
Allow TIME and TYPE column names(Thomas)
Allow larger range of true/false as boolean values(Thomas)
Support output of "now" and "current"(Thomas)
Handle DEFAULT with INSERT of NULL properly(Vadim)
Fix for relation reference counts problem in buffer manager(Vadim)
Allow strings to span lines, like ANSI(Thomas)
Fix for backward cursor with ORDER BY(Vadim)
Fix avg(cash) computation(Thomas)
Fix for specifying a column twice in ORDER/GROUP BY(Vadim)
Documented new libpq function to return affected rows, PQcmdTuples(Bruce)
Trigger function for inserting user names for INSERT/UPDATE(Brook Milligan)

  ------------------------------------------------------------------------
Release 6.3                                                      Release 6.2
                                Release Notes
  ------------------------------------------------------------------------
d1182 2
a1183 2
A dump/restore is required for those wishing to migrate data from previous
releases of Postgres.
d1187 4
a1190 5
This migration requires a complete dump of the 6.1 database and a restore of
the database in 6.2.

Note that the pg_dump and pg_dumpall utility from 6.2 should be used to dump
the 6.1 database.
d1194 3
a1196 2
Those migrating from earlier 1.* releases should first upgrade to 1.09
because the COPY output format was improved from the 1.02 release.
d1200 129
a1328 113
Bug Fixes
---------
Fix problems with pg_dump for inheritance, sequences, archive tables(Bruce)
Fix compile errors on overflow due to shifts, unsigned, and bad prototypes
         from Solaris(Diab Jerius)
Fix bugs in geometric line arithmetic (bad intersection calculations)(Thomas)
Check for geometric intersections at endpoints to avoid rounding ugliness(Thomas)
Catch non-functional delete attempts(Vadim)
Change time function names to be more consistent(Michael Reifenberg)
Check for zero divides(Michael Reifenberg)
Fix very old bug which made tuples changed/inserted by a commnd
        visible to the command itself (so we had multiple update of
        updated tuples, etc)(Vadim)
Fix for SELECT null, 'fail' FROM pg_am (Patrick)
SELECT NULL as EMPTY_FIELD now allowed(Patrick)
Remove un-needed signal stuff from contrib/pginterface
Fix OR (where x != 1 or x isnull didn't return tuples with x NULL) (Vadim)
Fix time_cmp function (Vadim)
Fix handling of functions with non-attribute first argument in
        WHERE clauses (Vadim)
Fix GROUP BY when order of entries is different from order
        in target list (Vadim)
Fix pg_dump for aggregates without sfunc1 (Vadim)

Enhancements
------------
Default genetic optimizer GEQO parameter is now 8(Bruce)
Allow use parameters in target list having aggregates in functions(Vadim)
Added JDBC driver as an interface(Adrian & Peter)
pg_password utility
Return number of tuples inserted/affected by INSERT/UPDATE/DELETE etc.(Vadim)
Triggers implemented with CREATE TRIGGER (SQL3)(Vadim)
SPI (Server Programming Interface) allows execution of queries inside
        C-functions (Vadim)
NOT NULL implemented (SQL92)(Robson Paniago de Miranda)
Include reserved words for string handling, outer joins, and unions(Thomas)
Implement extended comments ("/* ... */") using exclusive states(Thomas)
Add "//" single-line comments(Bruce)
Remove some restrictions on characters in operator names(Thomas)
DEFAULT and CONSTRAINT for tables implemented (SQL92)(Vadim & Thomas)
Add text concatenation operator and function (SQL92)(Thomas)
Support WITH TIME ZONE syntax (SQL92)(Thomas)
Support INTERVAL unit TO unit syntax (SQL92)(Thomas)
Define types DOUBLE PRECISION, INTERVAL, CHARACTER,
        and CHARACTER VARYING (SQL92)(Thomas)
Define type FLOAT(p) and rudimentary DECIMAL(p,s), NUMERIC(p,s) (SQL92)(Thomas)
Define EXTRACT(), POSITION(), SUBSTRING(), and TRIM() (SQL92)(Thomas)
Define CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP (SQL92)(Thomas)
Add syntax and warnings for UNION, HAVING, INNER and OUTER JOIN (SQL92)(Thomas)
Add more reserved words, mostly for SQL92 compliance(Thomas)
Allow hh:mm:ss time entry for timespan/reltime types(Thomas)
Add center() routines for lseg, path, polygon(Thomas)
Add distance() routines for circle-polygon, polygon-polygon(Thomas)
Check explicitly for points and polygons contained within polygons
        using an axis-crossing algorithm(Thomas)
Add routine to convert circle-box(Thomas)
Merge conflicting operators for different geometric data types(Thomas)
Replace distance operator "<===>" with "<->"(Thomas)
Replace "above" operator "!^" with ">^" and "below" operator "!|" with "<^"(Thomas)
Add routines for text trimming on both ends, substring, and string position(Thomas)
Added conversion routines circle(box) and poly(circle)(Thomas)
Allow internal sorts to be stored in memory rather than in files(Bruce & Vadim)
Allow functions and operators on internally-identical types to succeed(Bruce)
Speed up backend startup after profiling analysis(Bruce)
Inline frequently called functions for performance(Bruce)
Reduce open() calls(Bruce)
psql:  Add PAGER for \h and \?,\C fix
Fix for psql pager when no tty(Bruce)
New entab utility(Bruce)
General trigger functions for referential integrity (Vadim)
General trigger functions for time travel (Vadim)
General trigger functions for AUTOINCREMENT/IDENTITY feature (Vadim)
MOVE implementation (Vadim)

Source Tree Changes
-------------------
HPUX 10 patches (Vladimir Turin)
Added SCO support, (Daniel Harris)
mkLinux patches (Tatsuo Ishii)
Change geometric box terminology from "length" to "width"(Thomas)
Deprecate temporary unstored slope fields in geometric code(Thomas)
Remove restart instructions from INSTALL(Bruce)
Look in /usr/ucb first for install(Bruce)
Fix c++ copy example code(Thomas)
Add -o to psql manual page(Bruce)
Prevent relname unallocated string length from being copied into database(Bruce)
Cleanup for NAMEDATALEN use(Bruce)
Fix pg_proc names over 15 chars in output(Bruce)
Add strNcpy() function(Bruce)
remove some (void) casts that are unnecessary(Bruce)
new interfaces directory(Marc)
Replace fopen() calls with calls to fd.c functions(Bruce)
Make functions static where possible(Bruce)
enclose unused functions in #ifdef NOT_USED(Bruce)
Remove call to difftime() in timestamp support to fix SunOS(Bruce & Thomas)
Changes for Digital Unix
Portability fix for pg_dumpall(Bruce)
Rename pg_attribute.attnvals to attdisbursion(Bruce)
"intro/unix" manual page now "pgintro"(Bruce)
"built-in" manual page now "pgbuiltin"(Bruce)
"drop" manual page now "drop_table"(Bruce)
Add "create_trigger", "drop_trigger" manual pages(Thomas)
Add constraints regression test(Vadim & Thomas)
Add comments syntax regression test(Thomas)
Add PGINDENT and support program(Bruce)
Massive commit to run PGINDENT on all *.c and *.h files(Bruce)
Files moved to /src/tools directory(Bruce)
SPI and Trigger programming guides (Vadim & D'Arcy)

  ------------------------------------------------------------------------
Release 6.2.1                                                  Release 6.1.1
                                Release Notes
  ------------------------------------------------------------------------
d1334 3
a1336 3
This is a minor bug-fix release. A dump/reload is not required from v6.1,
but is required from any release prior to v6.1. Refer to the release notes
for v6.1 for more details.
d1340 22
a1361 24
Changes in this release
-----------------------
fix for SET with options (Thomas)
allow pg_dump/pg_dumpall to preserve ownership of all tables/objects(Bruce)
new psql \connect option allows changing usernames without changing databases
fix for initdb --debug option(Yoshihiko Ichikawa))
lextest cleanup(Bruce)
hash fixes(Vadim)
fix date/time month boundary arithmetic(Thomas)
fix timezone daylight handling for some ports(Thomas, Bruce, Tatsuo)
timestamp overhauled to use standard functions(Thomas)
other code cleanup in date/time routines(Thomas)
psql's \d now case-insensitive(Bruce)
psql's backslash commands can now have trailing semicolon(Bruce)
fix memory leak in psql when using \g(Bruce)
major fix for endian handling of communication to server(Thomas, Tatsuo)
Fix for Solaris assembler and include files(Yoshihiko Ichikawa)
allow underscores in usernames(Bruce)
pg_dumpall now returns proper status, portability fix(Bruce)

  ------------------------------------------------------------------------
Release 6.2                                                      Release 6.1
                                Release Notes
  ------------------------------------------------------------------------
d1365 29
a1393 32
The regression tests have been adapted and extensively modified for the v6.1
release of Postgres.

Three new data types (datetime, timespan, and circle) have been added to the
native set of Postgres types. Points, boxes, paths, and polygons have had
their output formats made consistant across the data types. The polygon
output in misc.out has only been spot-checked for correctness relative to
the original regression output.

Postgres v6.1 introduces a new, alternate optimizer which uses genetic
algorithms. These algorithms introduce a random behavior in the ordering of
query results when the query contains multiple qualifiers or multiple tables
(giving the optimizer a choice on order of evaluation). Several regression
tests have been modified to explicitly order the results, and hence are
insensitive to optimizer choices. A few regression tests are for data types
which are inherently unordered (e.g. points and time intervals) and tests
involving those types are explicitly bracketed with set geqo to 'off' and
reset geqo.

The interpretation of array specifiers (the curly braces around atomic
values) appears to have changed sometime after the original regression tests
were generated. The current ./expected/*.out files reflect this new
interpretation, which may not be correct!

The float8 regression test fails on at least some platforms. This is due to
differences in implementations of pow() and exp() and the signaling
mechanisms used for overflow and underflow conditions.

The "random" results in the random test should cause the "random" test to be
"failed", since the regression tests are evaluated using a simple diff.
However, "random" does not seem to produce random results on my test machine
(Linux/gcc/i686).
d1397 5
a1401 5
This migration requires a complete dump of the 6.0 database and a restore of
the database in 6.1.

Those migrating from earlier 1.* releases should first upgrade to 1.09
because the COPY output format was improved from the 1.02 release.
d1405 97
a1501 99
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)
select SUM(x) can return NULL on no rows(Thomas)
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)
fix buffer leak in hash indices (Vadim)
fix rtree for use in inner scan (Vadim)
fix gist for use in inner scan, cleanups (Vadim, Andrea)
avoid unnecessary local buffers allocation (Vadim, Massimo)
fix local buffers leak in transaction aborts (Vadim)
fix file manager memmory leaks, cleanups (Vadim, Massimo)
fix storage manager memmory leaks (Vadim)
fix btree duplicates handling (Vadim)
fix deleted tuples re-incarnation caused by vacuum (Vadim)
fix SELECT varchar()/char() INTO TABLE made zero-length fields(Bruce)
many psql, pg_dump, and libpq memory leaks fixed using Purify (Igor)

Enhancements
------------
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)
massive changes to libpg++(Leo)
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)
update transaction status on reads(Dan)
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)
new MONEY data type(D'Arcy,Thomas)
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)
new datestyle variable(Thomas,Vadim,Martin)
more comparison operators for sorting types(Thomas)
new conversion functions(Thomas)
new more compact btree format(Vadim)
allow pg_dumpall to preserve database ownership(Bruce)
new SET GEQO=# and R_PLANS variable(Vadim)
old (!GEQO) optimizer can use right-sided plans (Vadim)
typechecking improvement in SQL parser(Bruce)
new SET, SHOW, RESET commands(Thomas,Vadim)
new \connect database USER option
new destroydb -i option (Igor)
new \dt and \di psql commands (Darren)
SELECT "\n" now escapes newline (A. Duursma)
new geometry conversion functions from old format (Thomas)

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)
DG-UX, Ultrix, Irix, AIX portability fixes

  ------------------------------------------------------------------------
Release 6.1.1                                                   Release v6.0
                                Release Notes
  ------------------------------------------------------------------------
d1505 2
a1506 2
A dump/restore is required for those wishing to migrate data from previous
releases of Postgres.
d1510 2
a1511 2
This migration requires a complete dump of the 1.09 database and a restore
of the database in 6.0.
d1515 3
a1517 2
Those migrating from earlier 1.* releases should first upgrade to 1.09
because the COPY output format was improved from the 1.02 release.
d1521 117
a1637 108
Bug Fixes
---------
ALTER TABLE bug - running postgress process needs to re-read table definition
Allow vacuum to be run on one table or entire database(Bruce)
Array fixes
Fix array over-runs of memory writes(Kurt)
Fix elusive btree range/non-range bug(Dan)
Fix for hash indexes on some types like time and date
Fix for pg_log size explosion
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
NOTIFY fixes
New asserts for run-checking
Overhauled parser/analyze code to properly report errors and increase speed
Pg_dump -d now handles NULL's properly(Bruce)
Prevent SELECT NULL from crashing server (Bruce)
Properly report errors when INSERT ... SELECT columns did not match
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)
Submitting 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)
Allow "select oid,* from table"
Allow BY,ORDER BY to specify columns by number, or by non-alias table.column(Bruce)
Allow COPY from the frontend(Bryan)
Allow GROUP BY to use alias column name(Bruce)
Allow actual compression, not just reuse on the same page(Vadim)
Allow installation-configuration option to auto-add all local users(Bryan)
Allow libpq to distinguish between text value '' and null(Bruce)
Allow non-postgres users with createdb privs to destroydb's
Allow restriction on who can create C functions(Bryan)
Allow restriction on who can do backend COPY(Bryan)
Can shrink tables, pg_time and pg_log(Vadim & Erich)
Change debug level 2 to print queries only, changed debug heading layout(Bruce)
Change default decimal constant representation from float4 to float8(Bruce)
European date format now set when postmaster is started
Execute lowercase function names if not found with exact case
Fixes for aggregate/GROUP processing, allow 'select sum(func(x),sum(x+y) from z'
Gist now included in the distrubution(Marc)
Idend authentication of local users(Bryan)
Implement BETWEEN qualifier(Bruce)
Implement IN qualifier(Bruce)
Libpq has PQgetisnull()(Bruce)
Libpq++ improvements
New options to initdb(Bryan)
Pg_dump allow dump of oid's(Bruce)
Pg_dump create indexes after tables are loaded for speed(Bruce)
Pg_dumpall dumps all databases, and the user table
Pginterface additions for NULL values(Bruce)
Prevent postmaster from being run as root
Psql \h and \? is now readable(Bruce)
Psql allow backslashed, semicolons anywhere on the line(Bruce)
Psql changed command prompt for lines in query or in quotes(Bruce)
Psql char(3) now displays as (bp)char in \d output(Bruce)
Psql return code now more accurate(Bryan?)
Psql updated help syntax(Bruce)
Re-visit and fix vacuum(Vadim)
Reduce size of regression diffs, remove timezone name difference(Bruce)
Remove compile-time parameters to enable binary distributions(Bryan)
Reverse meaning of HBA masks(Bryan)
Secure Authentication of local users(Bryan)
Speed up vacuum(Vadim)
Vacuum now had VERBOSE option(Bruce)

Source tree changes
-------------------
All functions now have prototypes that are compared against the calls
Allow asserts to be disabled easly from Makefile.global(Bruce)
Change oid constants used in code to #define names
Decoupled sparc and solaris defines(Kurt)
Gcc -Wall compiles cleanly with warnings only from unfixable constructs
Major include file reorganization/reduction(Marc)
Make now stops on compile failure(Bryan)
Makefile restructuring(Bryan, Marc)
Merge bsdi_2_1 to bsdi(Bruce)
Monitor program removed
Name change from Postgres95 to PostgreSQL
New config.h file(Marc, Bryan)
PG_VERSION now set to 6.0 and used by postmaster
Portability additions, including Ultrix, DG/UX, AIX, and Solaris
Reduced the number of #define's, centeralized #define's
Remove duplicate OIDS in system tables(Dan)
Remove duplicate system catalog info or report mismatches(Dan)
Removed many os-specific #define's
Restructured object file generation/location(Bryan, Marc)
Restructured port-specific file locations(Bryan, Marc)
Unused/uninialized variables corrected

  ------------------------------------------------------------------------
Release 6.1                                                    Release v1.09
                                Release Notes
  ------------------------------------------------------------------------
d1641 3
a1643 7
Sorry, we stopped keeping track of changes from 1.02 to 1.09. Some of the
changes listed in 6.0 were actually included in the 1.02.1 to 1.09 releases.

  ------------------------------------------------------------------------
Release v6.0                                                   Release v1.02
                                Release Notes
  ------------------------------------------------------------------------
d1649 2
a1650 14
Here is a new migration file for 1.02.1. It includes the 'copy' change and a
script to convert old ascii files.

     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.

     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.

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

  1. Start up a new 1.02.1 postmaster
d1652 21
a1672 12
  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:

             % 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.
d1676 22
a1697 18
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.

        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);
d1701 26
a1726 30
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

  ------------------------------------------------------------------------
Release v1.09                                                  Release v1.01
                                Release Notes
  ------------------------------------------------------------------------
d1732 97
a1828 92
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

  8. 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

     and then execute the following commands (cut and paste from here):

     -- 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);
d1832 42
a1873 37
Incompatibilities:
 * 1.01 is backwards compatible with 1.0 database provided the user
   follow the steps outlined in the MIGRATION_from_1.0_to_1.01 file.
   If those steps are not taken, 1.01 is not compatible with 1.0 database.

Enhancements:
 * added PQdisplayTuples() to libpq and changed monitor and psql to use it
 * added NeXT port (requires SysVIPC implementation)
 * added CAST .. AS ... syntax
 * added ASC and DESC keywords
 * added 'internal' as a possible language for CREATE FUNCTION
   internal functions are C functions which have been statically linked
   into the postgres backend.
 * a new type "name" has been added for system identifiers (table names,
   attribute names, etc.)  This replaces the old char16 type.   The
   of name is set by the NAMEDATALEN #define in src/Makefile.global
 * a readable reference manual that describes the query language.
 * added host-based access control.  A configuration file ($PGDATA/pg_hba)
   is used to hold the configuration data.  If host-based access control
   is not desired, comment out HBA=1 in src/Makefile.global.
 * changed regex handling to be uniform use of Henry Spencer's regex code
   regardless of platform.  The regex code is included in the distribution
 * added functions and operators for case-insensitive regular expressions.
   The operators are ~* and !~*.
 * pg_dump uses COPY instead of SELECT loop for better performance

Bug fixes:
 * fixed an optimizer bug that was causing core dumps when
   functions calls were used in comparisons in the WHERE clause
 * changed all uses of getuid to geteuid so that effective uids are used
 * psql now returns non-zero status on errors when using -c
 * applied public patches 1-14

  ------------------------------------------------------------------------
Release v1.02                                                   Release v1.0
                                Release Notes
  ------------------------------------------------------------------------
d1879 45
a1923 44
Copyright change:
 * The copyright of Postgres 1.0 has been loosened to be freely modifiable
   and modifiable for any purpose.  Please read the COPYRIGHT file.
   Thanks to Professor Michael Stonebraker for making this possible.

Incompatibilities:
 *  date formats have to be MM-DD-YYYY (or DD-MM-YYYY if you're using
   EUROPEAN STYLE).  This follows SQL-92 specs.
 *  "delimiters" is now a keyword

Enhancements:
 *  sql LIKE syntax has been added
 *  copy command now takes an optional USING DELIMITER specification.
   delimiters can be any single-character string.
 *  IRIX 5.3 port has been added.
   Thanks to Paul Walmsley and others.
 *  updated pg_dump to work with new libpq
 *  \d has been added psql
   Thanks to Keith Parks
 *  regexp performance for architectures that use POSIX regex has been
   improved due to caching of precompiled patterns.
   Thanks to Alistair Crooks
 *  a new version of libpq++
   Thanks to William Wanders

Bug fixes:
 *  arbitrary userids can be specified in the createuser script
 *  \c to connect to other databases in psql now works.
 *  bad pg_proc entry for float4inc() is fixed
 *  users with usecreatedb field set can now create databases without
   having to be usesuper
 *  remove access control entries when the entry no longer has any
   permissions
 *  fixed non-portable datetimes implementation
 *  added kerberos flags to the src/backend/Makefile
 *  libpq now works with kerberos
 *  typographic errors in the user manual have been corrected.
 *  btrees with multiple index never worked, now we tell you they don't
   work when you try to use them

  ------------------------------------------------------------------------
Release v1.01                                           Postgres95 Beta 0.03
                                Release Notes
  ------------------------------------------------------------------------
d1929 134
a2062 110
Incompatible changes:
 * BETA-0.3 IS INCOMPATIBLE WITH DATABASES CREATED WITH PREVIOUS VERSIONS
   (due to system catalog changes and indexing structure changes).
 * double-quote (") is deprecated as a quoting character for string literals;
   you need to convert them to single quotes (').
 * name of aggregates (eg. int4sum) are renamed in accordance with the
   SQL standard (eg. sum).
 * CHANGE ACL syntax is replaced by GRANT/REVOKE syntax.
 * float literals (eg. 3.14) are now of type float4 (instead of float8 in
   previous releases); you might have to do typecasting if you depend on it
   being of type float8.  If you neglect to do the typecasting and you assign
   a float literal to a field of type float8, you may get incorrect values
   stored!
 * LIBPQ has been totally revamped so that frontend applications
   can connect to multiple backends
 * the usesysid field in pg_user has been changed from int2 to int4 to
   allow wider range of Unix user ids.
 * the netbsd/freebsd/bsd o/s ports have been consolidated into a
   single BSD44_derived port.  (thanks to Alistair Crooks)

SQL standard-compliance (the following details changes that makes postgres95
more compliant to the SQL-92 standard):
 * the following SQL types are now built-in: smallint, int(eger), float, real,
   char(N), varchar(N), date and time.

   The following are aliases to existing postgres types:
                smallint -> int2
                integer, int -> int4
                float, real  -> float4
   char(N) and varchar(N) are implemented as truncated text types. In
   addition, char(N) does blank-padding.
 * single-quote (') is used for quoting string literals; '' (in addition to
   \') is supported as means of inserting a single quote in a string
 * SQL standard aggregate names (MAX, MIN, AVG, SUM, COUNT) are used
   (Also, aggregates can now be overloaded, i.e. you can define your
   own MAX aggregate to take in a user-defined type.)
 * CHANGE ACL removed. GRANT/REVOKE syntax added.
   - Privileges can be given to a group using the "GROUP" keyword.
        For example:
                GRANT SELECT ON foobar TO GROUP my_group;
        The keyword 'PUBLIC' is also supported to mean all users.

        Privileges can only be granted or revoked to one user or group
        at a time.

        "WITH GRANT OPTION" is not supported.  Only class owners can change
        access control
   - The default access control is to to grant users readonly access.
     You must explicitly grant insert/update access to users.  To change
     this, modify the line in
                src/backend/utils/acl.h
     that defines ACL_WORLD_DEFAULT

Bug fixes:
 * the bug where aggregates of empty tables were not run has been fixed. Now,
   aggregates run on empty tables will return the initial conditions of the
   aggregates. Thus, COUNT of an empty  table will now properly return 0.
   MAX/MIN of an empty table will return a tuple of value NULL.
 * allow the use of \; inside the monitor
 * the LISTEN/NOTIFY asynchronous notification mechanism now work
 * NOTIFY in rule action bodies now work
 * hash indices work, and access methods in general should perform better.
   creation of large btree indices should be much faster.  (thanks to Paul
   Aoki)

Other changes and enhancements:
 * addition of an EXPLAIN statement used for explaining the query execution
   plan (eg. "EXPLAIN SELECT * FROM EMP" prints out the execution plan for
   the query).
 * WARN and NOTICE messages no longer have timestamps on them. To turn on
   timestamps of error messages, uncomment the line in
   src/backend/utils/elog.h:
        /* define ELOG_TIMESTAMPS */
 * On an access control violation, the message
        "Either no such class or insufficient privilege"
   will be given.  This is the same message that is returned when
   a class is not found.  This dissuades non-privileged users from
   guessing the existence of privileged classes.
 * some additional system catalog changes have been made that are not
   visible to the user.

libpgtcl changes:
 * The -oid option has been added to the "pg_result" tcl command.
   pg_result -oid returns oid of the last tuple inserted.   If the
   last command was not an INSERT, then pg_result -oid returns "".
 * the large object interface is available as pg_lo* tcl commands:
   pg_lo_open, pg_lo_close, pg_lo_creat, etc.

Portability enhancements and New Ports:
 * flex/lex problems have been cleared up.  Now, you should be able to use
   flex instead of lex on any platforms.  We no longer make assumptions of
   what lexer you use based on the platform you use.
 * The Linux-ELF port is now supported.  Various configuration have been
   tested:  The following configuration is known to work:
        kernel 1.2.10, gcc 2.6.3, libc 4.7.2, flex 2.5.2, bison 1.24
   with everything in ELF format,

New utilities:
 * ipcclean added to the distribution
   ipcclean usually does not need to be run, but if your backend crashes
   and leaves shared memory segments hanging around, ipcclean will
   clean them up for you.

New documentation:
 * the user manual has been revised and libpq documentation added.

  ------------------------------------------------------------------------
Release v1.0                                            Postgres95 Beta 0.02
                                Release Notes
  ------------------------------------------------------------------------
d2068 40
a2107 38
Incompatible changes:
 * The SQL statement for creating a database is 'CREATE DATABASE' instead
   of 'CREATEDB'. Similarly, dropping a database is 'DROP DATABASE' instead
   of 'DESTROYDB'. However, the names of the executables 'createdb' and
   'destroydb' remain the same.

New tools:
 * pgperl - a Perl (4.036) interface to Postgres95
 * pg_dump - a utility for dumping out a postgres database into a
        script file containing query commands. The script files are in a ASCII
        format and can be used to reconstruct the database, even on other
        machines and other architectures. (Also good for converting
        a Postgres 4.2 database to Postgres95 database.)

The following ports have been incorporated into postgres95-beta-0.02:
 * the NetBSD port by Alistair Crooks
 * the AIX port by Mike Tung
 * the Windows NT port by Jon Forrest (more stuff but not done yet)
 * the Linux ELF port by Brian Gallew

The following bugs have been fixed in postgres95-beta-0.02:
 * new lines not escaped in COPY OUT and problem with COPY OUT when first
   attribute is a '.'
 * cannot type return to use the default user id in createuser
 * SELECT DISTINCT on big tables crashes
 * Linux installation problems
 * monitor doesn't allow use of 'localhost' as PGHOST
 * psql core dumps when doing \c or \l
 * the "pgtclsh" target missing from src/bin/pgtclsh/Makefile
 * libpgtcl has a hard-wired default port number
 * SELECT DISTINCT INTO TABLE hangs
 * CREATE TYPE doesn't accept 'variable' as the internallength
 * wrong result using more than 1 aggregate in a SELECT

  ------------------------------------------------------------------------
Postgres95 Beta 0.03                                    Postgres95 Beta 0.01
                                Release Notes
  ------------------------------------------------------------------------
d2111 1
a2111 15
Initial release.

  ------------------------------------------------------------------------
Postgres95 Beta 0.02                                          Timing Results
                                Release Notes
Prev
  ------------------------------------------------------------------------

Timing Results

These timing results are from running the regression test with the commands

% cd src/test/regress
% make all
% time make runtest
a2112 57

Timing under Linux 2.0.27 seems to have a roughly 5% variation from run to
run, presumably due to the scheduling vagaries of multitasking systems.

v6.5

As has been the case for previous releases, timing between releases is not
directly comparable since new regression tests have been added. In general,
v6.5 is faster than previous releases.

Timing with fsync() disabled:

  Time   System
  02:00  Dual Pentium Pro 180, 224MB, UW-SCSI, Linux 2.0.36, gcc 2.7.2.3 -O2 -m486
  04:38  Sparc Ultra 1 143MHz, 64MB, Solaris 2.6


Timing with fsync() enabled:

  Time   System
  04:21  Dual Pentium Pro 180, 224MB, UW-SCSI, Linux 2.0.36, gcc 2.7.2.3 -O2 -m486


For the linux system above, using UW-SCSI disks rather than (older) IDE
disks leads to a 50% improvement in speed on the regression test.

v6.4beta

The times for this release are not directly comparable to those for previous
releases since some additional regression tests have been included. In
general, however, v6.4 should be slightly faster than the previous release
(thanks, Bruce!).

  Time   System
  02:26  Dual Pentium Pro 180, 96MB, UW-SCSI, Linux 2.0.30, gcc 2.7.2.1 -O2 -m486

v6.3

The times for this release are not directly comparable to those for previous
releases since some additional regression tests have been included and some
obsolete tests involving time travel have been removed. In general, however,
v6.3 is substantially faster than previous releases (thanks, Bruce!).

  Time   System
  02:30  Dual Pentium Pro 180, 96MB, UW-SCSI, Linux 2.0.30, gcc 2.7.2.1 -O2 -m486
  04:12  Dual Pentium Pro 180, 96MB, EIDE, Linux 2.0.30, gcc 2.7.2.1 -O2 -m486

v6.1

  Time   System
  06:12  Pentium Pro 180, 32MB, EIDE, Linux 2.0.30, gcc 2.7.2 -O2 -m486
  12:06  P-100, 48MB, Linux 2.0.29, gcc
  39:58  Sparc IPC 32MB, Solaris 2.5, gcc 2.7.2.1 -O -g

  ------------------------------------------------------------------------
Prev                                Home
Postgres95 Beta 0.01
@


1.52.2.8
log
@Update for 6.5.3.
@
text
@a41 1
Fix dumping rules on inherited tables
@


1.51
log
@Release notes from sgml for v6.5 release.
@
text
@d2 1
a2 1
PostgreSQL History
d4 56
a59 2
Edited by Thomas Lockhart
PostgreSQL is  1996-9 by the Postgres Global Development Group.
d63 5
a67 5
        This release marks a major step in the development team's mastery of the 
       source code we inherited from Berkeley. You will see we are now easily 
       adding major features, thanks to the increasing size and experience of our 
       world-wide development team. 
        Here is a brief summary of some of the more noticable changes: 
d70 16
a85 10
          This removes our old table-level locking, and replaces it with a locking 
         system that is superior to most commercial database systems. In a 
         traditional system, each row that is modified is locked until committed, 
         preventing reads by other users. MVCC uses the natural multi-version 
         nature of PostgreSQL to allow readers to continue reading consistent data 
         during writer activity. Writers continue to use the compact pg_log 
         transaction system. This is all performed without having to allocate a 
         lock for every row like traditional database systems. So, basically, we 
         no longer are restricted by simple table-level locking; we have something 
         better than row-level locking. 
d88 2
a89 1
          We now have a true numeric data type, with user-specified precision. 
d92 2
a93 2
          Temporary tables are guaranteed to have unique names within a database 
         session, and are destroyed on session exit. 
d96 3
a98 3
          We now have CASE, INTERSECT, and EXCEPT statement support. We have new 
         LIMIT/OFFSET, SET TRANSACTION ISOLATION LEVEL, SELECT ... FOR UPDATE, and 
         an improved LOCK command. 
d101 3
a103 3
          We continue to speed up PostgreSQL, thanks to the variety of talents 
         within our team. We have sped up memory allocation, optimization, table 
         joins, and row transfer routines. 
d106 2
a107 2
          We continue to expand our port list, this time including WinNT/ix86 and 
         NetBSD/arm32. 
d110 2
a111 2
          Most interfaces have new versions, and existing functionality has been 
         improved. 
d114 10
a123 9
          New and updated material is present throughout the documentation. New 
         FAQs have been contributed for SGI and AIX platforms. The Tutorial has 
         introductory information on SQL from Stefan Simkovics. For the User's 
         Guide, there are reference pages covering the postmaster and more utility 
         programs, and a new appendix contains details on date/time behavior. The 
         Administrator's Guide has a new chapter on troubleshooting from Tom Lane. 
         And the Programmer's Guide has a description of query processing, also 
         from Stefan, and details on obtaining the Postgres source tree via 
         anonymous CVS and CVSup. 
d128 4
a131 2
        A dump/restore using pg_dump or pg_dumpall is required for those wishing 
       to migrate data from any previous release of Postgres. 
d134 2
a135 2
       understand the following section to ensure that your existing applications 
       will give you the behavior you need. 
d140 22
a161 18
       another. In the other words, if a row is returned by SELECT it doesn't mean 
       that this row really exists at the time it is returned (i.e. sometime after 
       the statement or transaction began) nor that the row is protected from 
       deletion or updation by concurrent transactions before the current 
       transaction does a commit or rollback. 
        To ensure the actual existance of a row and protect it against concurrent 
       updates one must use SELECT FOR UPDATE or an appropriate LOCK TABLE 
       statement. This should be taken into account when porting applications from 
       previous releases of Postgres and other environments. 
        Keep above in mind if you are using contrib/refint.* triggers for 
       referential integrity. Additional technics are required now. One way is to 
       use LOCK parent_table IN SHARE ROW EXCLUSIVE MODE command if a transaction 
       is going to update/delete a primary key and use LOCK parent_table IN SHARE 
       MODE command if a transaction is going to update/insert a foreign key. 

         Note: Note that if you run a transaction in SERIALIZABLE mode then you 
         must execute the LOCK commands above before execution of any DML 
         statement (SELECT/INSERT/DELETE/UPDATE/FETCH/COPY_TO) in the transaction.
d164 3
a166 3
        These inconveniences will disappear in the future when the ability to read 
       dirty (uncommitted) data (regardless of isolation level) and true 
       referential integrity will be implemented. 
d176 2
a177 1
       Change exp()/pow() behavior to generate error on underflow/overflow(Jan)
d229 10
d265 2
a266 1
       New options ELOG_TIMESTAMPS and USE_SYSLOG options for log files(Massimo)
d270 2
a271 1
       New pg_dump option to allow dropping of tables before creation(Brook)
d282 2
a283 1
       New intro to backend processing from S. Simkovics' Master's Thesis (Stefan)
d288 2
a289 1
       Allow reliable maximum number of backends to be set at configure time
d300 2
a301 1
       Add new postgres -O option to allow system table structure changes(Bruce)
d304 4
a307 3
       Allow non-SQL functions to run different versions based on arguments(Tom)
       Add -E option that shows actual queries sent by \dt and friends(Masaaki 
       Sakaida)
d316 2
a317 1
       Changed debug options so -d4 and -d5 produce different node displays(Jan)
d329 4
d338 2
a339 2
       Add NT/Win32 backend port and enable dynamic loading(Magnus and Daniel 
       Horak)
d349 2
a350 1
       Improve file handling to be more uniform, prevent file descriptor leak(Tom)
d358 2
a359 2
       The 6.4.1 release was improperly packaged. This also has one additional bug 
       fix.
d371 2
a372 2
       This is basically a cleanup release for 6.4. We have fixed a variety of 
       problems reported by 6.4 users.
d380 2
a381 1
       Add pg_dump -N flag to force double quotes around identifiers.  This is
d397 2
a398 1
       pg_dump fixes for memory leak, inheritance constraints, layout change
d409 2
a410 1
       Add routines to help with single-byte (internal) character type(Thomas)
d416 32
a447 29
       There are many new features and improvements in this release. Thanks to our 
       developers and maintainers, nearly every aspect of the system has received 
       some attention since the previous release. Here is a brief, incomplete 
       summary: 
       o Views and rules are now functional thanks to extensive new code in the 
        rewrite rules system from Jan Wieck. He also wrote a chapter on it for the 
        Programmer's Guide.
       o Jan also contributed a second procedural language, PL/pgSQL, to go with 
        the original PL/pgTCL procedural language he contributed last release.
       o We have optional multiple-byte character set support from Tatsuo Iishi to 
        complement our existing locale support.
       o Client/server communications has been cleaned up, with better support for 
        asynchronous messages and interrupts thanks to Tom Lane.
       o The parser will now perform automatic type coersion to match arguments to 
        available operators and functions, and to match columns and expressions 
        with target columns. This uses a generic mechanism which supports the type 
        extensibility features of Postgres. There is a new chapter in the User's 
        Guide which covers this topic.
       o Three new data types have been added. Two types, inet and cidr, support 
        various forms of IP network, subnet, and machine addressing. There is now 
        an 8-byte integer type available on some platforms. See the chapter on 
        data types in the User's Guide for details. A fourth type, serial, is now 
        supported by the parser as an amalgam of the int4 type, a sequence, and a 
        unique index.
       o Several more SQL92-compatible syntax features have been added, including 
        INSERT DEFAULT VALUES
       o The automatic configuration and installation system has received some 
        attention, and should be more robust for more platforms than it has ever 
        been.
d451 2
a452 2
       A dump/restore using pg_dump or pg_dumpall is required for those wishing to 
       migrate data from any previous release of Postgres.
d470 2
a471 1
       Fix a bug in the oracle compatibility functions btrim() ltrim() and rtrim()
d483 2
a484 1
       EXPLAIN  invokes  rule system and shows plan(s) for rewritten queries(Jan)
d495 2
a496 1
       NOTIFY now sends sender's PID, so you can tell whether it was your own(Tom)
d502 2
a503 1
       Add bit flags to support timezonehour and minute in data retrieval(Thomas)
d528 2
a529 1
       Show backend status on ps command line(only works on some platforms)(Bruce)
d532 2
a533 1
       New DISABLE_COMPLEX_MACRO for compilers that can't handle our macros(Bruce)
d548 2
a549 1
       Surround table and column names with double-quotes in pg_dump(Thomas)
d551 2
a552 1
       Handle case of GROUP BY target list column number out of range(David)
d559 2
a560 1
       Add HAVING clause with full support for subselects and unions(Stephan)
d579 2
a580 1
       Allow binary-compatible indices to be considered when checking for valid
d583 2
a584 1
       Allow NOT LIKE, IN, NOT IN, BETWEEN, and NOT BETWEEN constraint(Thomas)
d588 2
a589 2
               * New OLD variable to reference CURRENT, CURRENT will be remove in 
       future
d595 2
a596 2
               * Regular users can create views/rules on tables they have RULE 
       permits
d600 2
a601 1
               * New pg_tables, pg_indexes, pg_rules and pg_views system views
d615 2
a616 1
       Auto-remove unix socket file on startup if no postmaster running(Massimo)
d676 2
a677 2
       This is a bugfix release for 6.3.x. Refer to the release notes for v6.3 for 
       a more complete summary of new features.
d679 11
a689 10
       o Repairs automatic configuration support for some platforms, including 
        Linux, from breakage inadvertently introduced in v6.3.1.
       o Correctly handles function calls on the left side of BETWEEN and LIKE 
        clauses.
       A dump/restore is NOT required for those running 6.3 or 6.3.1. A 'make 
       distclean', 'make', and 'make install' is all that is required. This last 
       step should be performed while the postmaster is not running. You should 
       re-link any custom applications that use Postgres libraries.
       For upgrades from pre-v6.3 installations, refer to the installation and 
       migration instructions for v6.3.
d721 7
a727 6
       A dump/restore is NOT required for those running 6.3. A 'make distclean', 
       'make', and 'make install' is all that is required. This last step should 
       be performed while the postmaster is not running. You should re-link any 
       custom applications that use Postgres libraries.
       For upgrades from pre-v6.3 installations, refer to the installation and 
       migration instructions for v6.3.
d763 2
a764 2
       There are many new features and improvements in this release. Here is a 
       brief, incomplete summary: 
d767 62
a828 59
       o Support for client-side environment variables to specify time zone and 
        date style.
       o Socket interface for client/server connection. This is the default now so 
        you may need to start postmaster with the ?-i? flag.
       o Better password authorization mechanisms. Default table permissions have 
        changed.
       o Old-style ?time travel? has been removed. Performance has been improved.

         Note: Bruce Momjian wrote the following notes to introduce the new 
         release.

       There are some general 6.3 issues that I want to mention. These are only 
       the big items that can not be described in one sentence. A review of the 
       detailed changes list is still needed.
       First, we now have subselects. Now that we have them, I would like to 
       mention that without subselects, SQL is a very limited language. Subselects 
       are a major feature, and you should review your code for places where 
       subselects provide a better solution for your queries. I think you will 
       find that there are more uses for subselects than you may think. Vadim has 
       put us on the big SQL map with subselects, and fully functional ones too. 
       The only thing you can't do with subselects is to use them in the target 
       list.
       Second, 6.3 uses unix domain sockets rather than TCP/IP by default. To 
       enable connections from other machines, you have to use the new postmaster 
       -i option, and of course edit pg_hba.conf. Also, for this reason, the 
       format of pg_hba.conf has changed.
       Third, char() fields will now allow faster access than varchar() or text. 
       Specifically, the text and varchar() have a penalty for access to any 
       columns after the first column of this type. char() used to also have this 
       access penalty, but it no longer does. This may suggest that you redesign 
       some of your tables, especially if you have short character columns that 
       you have defined as varchar() or text. This and other changes make 6.3 even 
       faster than earlier releases.
       We now have passwords definable independent of any Unix file. There are new 
       SQL USER commands. See the pg_hba.conf manual page for more information. 
       There is a new table, pg_shadow, which is used to store user information 
       and user passwords, and it by default only SELECT-able by the postgres 
       super-user. pg_user is now a view of pg_shadow, and is SELECT-able by 
       PUBLIC. You should keep using pg_user in your application without changes.
       User-created tables now no longer have SELECT permission to PUBLIC by 
       default. This was done because the ANSI standard requires it. You can of 
       course GRANT any permissions you want after the table is created. System 
       tables continue to be SELECT-able by PUBLIC.
       We also have real deadlock detection code. No more sixty-second timeouts. 
       And the new locking code implements a FIFO better, so there should be less 
       resource starvation during heavy use.
       Many complaints have been made about inadequate documenation in previous 
       releases. Thomas has put much effort into many new manuals for this 
       release. Check out the doc/ directory.
       For performance reasons, time travel is gone, but can be implemented using 
       triggers (see pgsql/contrib/spi/README). Please check out the new \d 
       command for types, operators, etc. Also, views have their own permissions 
       now, not based on the underlying tables, so permissions on them have to be 
       set separately. Check /pgsql/interfaces for some new ways to talk to 
       Postgres.
       This is the first release that really required an explanation for existing 
       users. In many ways, this was necessary because the new release removes 
       many limitations, and the work-arounds people were using are no longer 
       needed.
d832 2
a833 2
       A dump/restore using pg_dump or pg_dumpall is required for those wishing to 
       migrate data from any previous release of Postgres.
d850 2
a851 1
       Fix for select 1=1 or 2=2, select 1=1 and 2=2, and select sum(2+2)(Bruce)
d854 2
a855 1
       Fix for count(*), aggs with views and multiple tables and sum(3)(Bruce)
d859 4
a862 2
               lock before older waiters, and having readlock people not share
               locks if a writer is waiting for a lock, and waiting writers not
d864 4
a867 2
       Fix crashes in psql when executing queries from external files(James)
       Fix problem with multiple order by columns, with the first one having
d871 2
a872 1
       Change precedence for boolean operators to match expected behavior(Thomas)
d896 4
a899 2
       Support SQL92 syntax for IS TRUE/IS FALSE/IS NOT TRUE/IS NOT FALSE(Thomas)
       Allow shorter strings for boolean literals (e.g. "t", "tr", "tru")(Thomas)
d905 2
a906 1
       Add conversions for int2, int4, and OID types to and from text(Thomas)
d908 2
a909 1
       Free memory allocated for an user query inside transaction block after
d919 4
a922 2
       Add Unix domain socket support to backend and to frontend library(Goran)
       Implement CREATE DATABASE/WITH LOCATION and initlocation utility(Thomas)
d926 2
a927 1
       SET/SHOW/RESET TIME ZONE uses TZ backend environment variable(Thomas)
d933 2
a934 1
               frontend library initialization environment variables(Thomas)
d937 2
a938 1
       Add pg_description table for info on tables, columns, operators, types, and
d940 2
a941 1
       Increase 16 char limit on system table/index names to 32 characters(Bruce)
d944 2
a945 1
       Define an "ISO-style" timespan output format with "hh:mm:ss" fields(Thomas)
d951 2
a952 1
       Allow for a pg_password authentication database that is separate from
d957 2
a958 1
       Implement CREATE TABLE/AS SELECT (alternative to SELECT/INTO)(Thomas)
d986 2
a987 1
       Add pg_type attribute to identify types that need length (bpchar, varchar)
d989 2
a990 1
       Allow VIEW permissions to be set separately from the underlying tables. 
d1010 2
a1011 1
       Remove some recursion in optimizer and clean up some code there(Bruce)
d1034 2
a1035 1
       Expand a few function names formerly truncated to 16 characters(Thomas)
d1046 2
a1047 2
       systems, a full dump/reload is required. Refer to the v6.2 release notes 
       for instructions.
d1051 7
a1057 7
       This is a minor bug-fix release. A dump/reload is not required from v6.2, 
       but is required from any release prior to v6.2.
       In upgrading from v6.2, if you choose to dump/reload you will find that 
       avg(money) is now calculated correctly. All other bug fixes take effect 
       upon updating the executables.
       Another way to avoid dump/reload is to use the following SQL command from 
       psql to update the existing system table: 
d1062 2
a1063 1
       This will need to be done to every existing database, including template1.
d1078 4
a1081 2
       Documented new libpq function to return affected rows, PQcmdTuples(Bruce)
       Trigger function for inserting user names for INSERT/UPDATE(Brook Milligan)
d1085 2
a1086 2
       A dump/restore is required for those wishing to migrate data from previous 
       releases of Postgres.
d1090 4
a1093 4
       This migration requires a complete dump of the 6.1 database and a restore 
       of the database in 6.2.
       Note that the pg_dump and pg_dumpall utility from 6.2 should be used to 
       dump the 6.1 database.
d1097 3
a1099 2
       Those migrating from earlier 1.* releases should first upgrade to 1.09 
       because the COPY output format was improved from the 1.02 release.
d1105 4
a1108 2
       Fix problems with pg_dump for inheritance, sequences, archive tables(Bruce)
       Fix compile errors on overflow due to shifts, unsigned, and bad prototypes
d1123 2
a1124 1
       Fix OR (where x <> 1 or x isnull didn't return tuples with x NULL) (Vadim)
d1135 2
a1136 1
       Allow use parameters in target list having aggregates in functions(Vadim)
d1142 2
a1143 1
       SPI (Server Programming Interface) allows execution of queries inside 
d1146 4
a1149 2
       Include reserved words for string handling, outer joins, and unions(Thomas)
       Implement extended comments ("/* ... */") using exclusive states(Thomas)
d1152 2
a1153 1
       DEFAULT and CONSTRAINT for tables implemented (SQL92)(Vadim & Thomas)
d1161 2
a1162 1
       Define EXTRACT(), POSITION(), SUBSTRING(), and TRIM() (SQL92)(Thomas)
d1173 2
a1174 1
       Merge conflicting operators for different geometric data types(Thomas)
d1176 2
a1177 2
       Replace "above" operator "!^" with ">^" and "below" operator "!|" with 
       "<^"(Thomas)
d1181 2
a1182 2
       Allow internal sorts to be stored in memory rather than in files(Bruce & 
       Vadim)
d1217 2
a1218 1
       Remove call to difftime() in timestamp support to fix SunOS(Bruce & Thomas)
d1237 3
a1239 3
       This is a minor bug-fix release. A dump/reload is not required from v6.1, 
       but is required from any release prior to v6.1. Refer to the release notes 
       for v6.1 for more details.
d1246 2
a1247 1
       allow pg_dump/pg_dumpall to preserve ownership of all tables/objects(Bruce)
d1260 2
a1261 1
       major fix for endian handling of communication to server(Thomas, Tatsuo)
d1268 17
a1284 15
        The regression tests have been adapted and extensively modified for the 
       v6.1 release of Postgres.
        Three new data types (datetime, timespan, and circle) have been added to 
       the native set of Postgres types. Points, boxes, paths, and polygons have 
       had their output formats made consistant across the data types. The polygon 
       output in misc.out has only been spot-checked for correctness relative to 
       the original regression output.
        Postgres v6.1 introduces a new, alternate optimizer which uses genetic 
       algorithms. These algorithms introduce a random behavior in the ordering of 
       query results when the query contains multiple qualifiers or multiple 
       tables (giving the optimizer a choice on order of evaluation). Several 
       regression tests have been modified to explicitly order the results, and 
       hence are insensitive to optimizer choices. A few regression tests are for 
       data types which are inherently unordered (e.g. points and time intervals) 
       and tests involving those types are explicitly bracketed with set geqo to 
d1286 11
a1296 11
        The interpretation of array specifiers (the curly braces around atomic 
       values) appears to have changed sometime after the original regression 
       tests were generated. The current ./expected/*.out files reflect this new 
       interpretation, which may not be correct!
        The float8 regression test fails on at least some platforms. This is due 
       to differences in implementations of pow() and exp() and the signaling 
       mechanisms used for overflow and underflow conditions.
        The "random" results in the random test should cause the "random" test to 
       be "failed", since the regression tests are evaluated using a simple diff. 
       However, "random" does not seem to produce random results on my test 
       machine (Linux/gcc/i686).
d1300 5
a1304 4
       This migration requires a complete dump of the 6.0 database and a restore 
       of the database in 6.1.
       Those migrating from earlier 1.* releases should first upgrade to 1.09 
       because the COPY output format was improved from the 1.02 release.
d1335 2
a1336 1
       fix SELECT varchar()/char() INTO TABLE made zero-length fields(Bruce)
d1353 2
a1354 1
       no such class or insufficient privilege changed to distinct messages(Dan)
d1369 2
a1370 1
       new VACUUM option for attribute statistics, and for certain columns (Vadim)
d1408 2
a1409 2
       A dump/restore is required for those wishing to migrate data from previous 
       releases of Postgres.
d1413 2
a1414 2
       This migration requires a complete dump of the 1.09 database and a restore 
       of the database in 6.0.
d1418 3
a1420 2
       Those migrating from earlier 1.* releases should first upgrade to 1.09 
       because the COPY output format was improved from the 1.02 release.
d1444 2
a1445 1
       Overhauled parser/analyze code to properly report errors and increase speed
d1451 2
a1452 2
       Psql fixed problem with multiple statements on one line with multiple 
       outputs
d1465 2
a1466 1
       Add hostname/user level access control rather than just hostname and user
d1474 2
a1475 1
       Allow installation-configuration option to auto-add all local users(Bryan)
d1483 2
a1484 1
       Change default decimal constant representation from float4 to float8(Bruce)
d1487 2
a1488 2
       Fixes for aggregate/GROUP processing, allow 'select sum(func(x),sum(x+y) 
       from z'
d1508 2
a1509 1
       Reduce size of regression diffs, remove timezone name difference(Bruce)
d1518 2
a1519 1
       All functions now have prototypes that are compared against the calls
d1523 2
a1524 1
       Gcc -Wall compiles cleanly with warnings only from unfixable constructs
d1544 3
a1546 3
       Sorry, we stopped keeping track of changes from 1.02 to 1.09. Some of the 
       changes listed in 6.0 were actually included in the 1.02.1 to 1.09 
       releases.
d1552 2
a1553 2
       Here is a new migration file for 1.02.1. It includes the 'copy' change and 
       a script to convert old ascii files.
d1555 5
a1559 4
         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.
         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.
d1561 2
a1562 2
       In order to upgrade older postgres95 version 1.01 or 1.02 databases to 
       version 1.02.1, the following steps are required:
d1565 7
a1571 6
       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: 
d1573 3
a1575 3
         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.
d1579 6
a1584 6
       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. 
d1588 2
a1589 2
       If you are loading an older binary copy or non-stdout copy, there is no 
       end-of-data character, and hence no conversion necessary. 
d1637 4
a1640 4
       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: 
d1642 2
a1643 2
       1. Set the definition of NAMEDATALEN in src/Makefile.global to 16 and 
         OIDNAMELEN to 20.
d1645 5
a1649 5
            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 
d1652 4
a1655 3
               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.
d1657 4
a1660 4
       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.
d1663 5
a1667 5
       8. 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": 
d1669 2
a1670 1
         and then execute the following commands (cut and paste from here): 
d1677 2
a1678 1
         create function char2icregexeq (char2, text) returns bool as 'foo'
d1680 2
a1681 1
         create function char2icregexne (char2, text) returns bool as 'foo'
d1683 2
a1684 1
         create function char4icregexeq (char4, text) returns bool as 'foo'
d1686 2
a1687 1
         create function char4icregexne (char4, text) returns bool as 'foo'
d1689 2
a1690 1
         create function char8icregexeq (char8, text) returns bool as 'foo'
d1692 2
a1693 1
         create function char8icregexne (char8, text) returns bool as 'foo'
d1695 2
a1696 1
         create function char16icregexeq (char16, text) returns bool as 'foo'
d1698 2
a1699 1
         create function char16icregexne (char16, text) returns bool as 'foo'
d1714 2
a1715 2
         create operator !~* (leftarg = char2, rightarg = text, procedure = 
         char2icregexne);
d1718 2
a1719 2
         create operator !~* (leftarg = char4, rightarg = text, procedure = 
         char4icregexne);
d1722 6
a1727 6
         create operator !~* (leftarg = char8, rightarg = text, procedure = 
         char8icregexne);
         create operator ~* (leftarg = char16, rightarg = text, procedure = 
         char16icregexeq);
         create operator !~* (leftarg = char16, rightarg = text, procedure = 
         char16icregexne);
d1738 2
a1739 1
          If those steps are not taken, 1.01 is not compatible with 1.0 database.
d1742 2
a1743 1
        * added PQdisplayTuples() to libpq and changed monitor and psql to use it
d1748 2
a1749 1
          internal functions are C functions which have been statically linked
d1751 2
a1752 1
        * a new type "name" has been added for system identifiers (table names,
d1756 4
a1759 2
        * added host-based access control.  A configuration file ($PGDATA/pg_hba)
          is used to hold the configuration data.  If host-based access control
d1761 6
a1766 3
        * changed regex handling to be uniform use of Henry Spencer's regex code
          regardless of platform.  The regex code is included in the distribution
        * added functions and operators for case-insensitive regular expressions. 
d1773 2
a1774 1
        * changed all uses of getuid to geteuid so that effective uids are used
d1783 2
a1784 1
        * The copyright of Postgres 1.0 has been loosened to be freely modifiable
d1789 2
a1790 1
        *  date formats have to be MM-DD-YYYY (or DD-MM-YYYY if you're using
d1796 2
a1797 1
        *  copy command now takes an optional USING DELIMITER specification.
d1804 2
a1805 1
        *  regexp performance for architectures that use POSIX regex has been
d1815 2
a1816 1
        *  users with usecreatedb field set can now create databases without
d1824 2
a1825 1
        *  btrees with multiple index never worked, now we tell you they don't
d1833 2
a1834 1
        * BETA-0.3 IS INCOMPATIBLE WITH DATABASES CREATED WITH PREVIOUS VERSIONS
d1839 2
a1840 1
        * name of aggregates (eg. int4sum) are renamed in accordance with the
d1843 8
a1850 5
        * float literals (eg. 3.14) are now of type float4 (instead of float8 in
          previous releases); you might have to do typecasting if you depend on it
          being of type float8.  If you neglect to do the typecasting and you 
       assign
          a float literal to a field of type float8, you may get incorrect values
d1854 2
a1855 1
        * the usesysid field in pg_user has been changed from int2 to int4 to
d1863 2
a1864 2
        * the following SQL types are now built-in: smallint, int(eger), float, 
       real,
d1871 2
a1872 1
          char(N) and varchar(N) are implemented as truncated text types. In
d1874 2
a1875 1
        * single-quote (') is used for quoting string literals; '' (in addition to
d1886 2
a1887 1
               Privileges can only be granted or revoked to one user or group
d1890 2
a1891 1
               "WITH GRANT OPTION" is not supported.  Only class owners can change
d1893 4
a1896 2
          - The default access control is to to grant users readonly access.
            You must explicitly grant insert/update access to users.  To change
d1902 6
a1907 4
        * the bug where aggregates of empty tables were not run has been fixed. 
       Now,
          aggregates run on empty tables will return the initial conditions of the
          aggregates. Thus, COUNT of an empty  table will now properly return 0.
d1912 4
a1915 2
        * hash indices work, and access methods in general should perform better.
          creation of large btree indices should be much faster.  (thanks to Paul
d1919 4
a1922 2
        * addition of an EXPLAIN statement used for explaining the query execution
          plan (eg. "EXPLAIN SELECT * FROM EMP" prints out the execution plan for
d1924 2
a1925 1
        * WARN and NOTICE messages no longer have timestamps on them. To turn on
d1934 2
a1935 1
        * some additional system catalog changes have been made that are not
d1946 4
a1949 2
        * flex/lex problems have been cleared up.  Now, you should be able to use
          flex instead of lex on any platforms.  We no longer make assumptions of
d1951 2
a1952 1
        * The Linux-ELF port is now supported.  Various configuration have been 
d1959 2
a1960 1
          ipcclean usually does not need to be run, but if your backend crashes
d1972 6
a1977 3
        * The SQL statement for creating a database is 'CREATE DATABASE' instead
          of 'CREATEDB'. Similarly, dropping a database is 'DROP DATABASE' instead
          of 'DESTROYDB'. However, the names of the executables 'createdb' and 
d1983 4
a1986 3
               script file containing query commands. The script files are in a 
       ASCII
               format and can be used to reconstruct the database, even on other
d1990 2
a1991 1
       The following ports have been incorporated into postgres95-beta-0.02:
d1998 2
a1999 1
        * new lines not escaped in COPY OUT and problem with COPY OUT when first
a2015 68
Timing Results

        These timing results are from running the regression test with the 
       commands 

       % cd src/test/regress
       % make all
       % time make runtest
           

        
        Timing under Linux 2.0.27 seems to have a roughly 5% variation from run to 
       run, presumably due to the scheduling vagaries of multitasking systems. 

v6.5

        As has been the case for previous releases, timing between releases is not 
       directly comparable since new regression tests have been added. In general, 
       v6.5 is faster than previous releases. 
        Timing with fsync() disabled: 

         Time   System
         02:00  Dual Pentium Pro 180, 224MB, UW-SCSI, Linux 2.0.36, gcc 2.7.2.3 
       -O2 -m486
            

        
        Timing with fsync() enabled: 

         Time   System
         04:21  Dual Pentium Pro 180, 224MB, UW-SCSI, Linux 2.0.36, gcc 2.7.2.3 
       -O2 -m486
            

        For the linux system above, using UW-SCSI disks rather than (older) IDE 
       disks leads to a 50% improvement in speed on the regression test. 

v6.4beta

       The times for this release are not directly comparable to those for 
       previous releases since some additional regression tests have been 
       included. In general, however, v6.4 should be slightly faster than the 
       previous release (thanks, Bruce!).

         Time   System
         02:26  Dual Pentium Pro 180, 96MB, UW-SCSI, Linux 2.0.30, gcc 2.7.2.1 -O2 
       -m486

v6.3

       The times for this release are not directly comparable to those for 
       previous releases since some additional regression tests have been included 
       and some obsolete tests involving time travel have been removed. In 
       general, however, v6.3 is substantially faster than previous releases 
       (thanks, Bruce!).

         Time   System
         02:30  Dual Pentium Pro 180, 96MB, UW-SCSI, Linux 2.0.30, gcc 2.7.2.1 -O2 
       -m486
         04:12  Dual Pentium Pro 180, 96MB, EIDE, Linux 2.0.30, gcc 2.7.2.1 -O2 
       -m486

v6.1

         Time   System
         06:12  Pentium Pro 180, 32MB, EIDE, Linux 2.0.30, gcc 2.7.2 -O2 -m486
         12:06  P-100, 48MB, Linux 2.0.29, gcc
         39:58  Sparc IPC 32MB, Solaris 2.5, gcc 2.7.2.1 -O -g
@


1.50
log
@Clean up release sgml file.
@
text
@a0 2
PostgreSQL 6.5               Fri Apr 23 17:40:19 EDT 1999
=========================================================
d2 1854
a1855 1191
A dump/restore is required.

PLACE HOLDER

PostgreSQL 6.4.2             Sat Jan  2 11:04:05 EST 1999
=========================================================

Repackaged release to fix packaging problem of 6.4.1.
A dump/restore is NOT required for those running 6.4.*.

Changes
-------
Fix for datetime constant problem on some platforms(Thomas)



PostgreSQL 6.4.1             Fri Dec 18 00:29:11 EST 1998
=========================================================

A dump/restore is NOT required for those running 6.4. Those running
pre-6.4 require a dump/restore, or for 6.3.* users, the use of the
pg_upgrade utility.

Changes
-------
Add pg_dump -N flag to force double quotes around identifiers.  This is
	the default(Thomas)
Fix for NOT in where clause causing crash(Bruce)
EXPLAIN VERBOSE coredump fix(Vadim)
Fix shared-library problems on Linux
Fix test for table existance to allow mixed-case and whitespace in
	the table name(Thomas)
Fix a couple of pg_dump bugs
Configure matches template/.similar entries better(Tom)
Change builtin function names from SPI_* to spi_*
OR WHERE clause fix(Vadim)
Fixes for mixed-case table names(Billy)
contrib/linux/postgres.init.csh/sh fix(Thomas)
libpq memory overrun fix
SunOS fixes(Tom)
Change exp() behavior to generate error on underflow(Thomas)
pg_dump fixes for memory leak, inheritance constraints, layout change
update pgaccess to 0.93
Fix prototype for 64-bit platforms
Multi-byte fixes(Tatsuo)
New ecpg man page
Fix memory overruns(Tatsuo)
Fix for lo_import() crash(Bruce)
Better search for install program(Tom)
Timezone fixes(Tom)
HPUX fixes(Tom)
Use implicit type coersion for matching DEFAULT values(Thomas)
Add routines to help with single-byte (internal) character type(Thomas)
Compilation of libpq for Win32 fixes(Magnus)
Upgrade to PyGreSQL 2.2(D'Arcy)



PostgreSQL 6.4               Mon Oct 26 11:40:42 EST 1998
=========================================================

A dump/restore is required for those wishing to migrate data from
previous releases of PostgreSQL.  You may also use the new pg_upgrade
utility to avoid a dump/reload.

Bug Fixes
---------
Fix for a tiny memory leak in PQsetdb/PQfinish(Bryan)
Remove char2-16 data types, use char/varchar(Darren)
Pqfn not handles a NOTICE message(Anders)
Reduced busywaiting overhead for spinlocks with many backends (dg)
Stuck spinlock detection (dg)
Fix up "ISO-style" timespan decoding and encoding(Thomas)
Fix problem with table drop after rollback of transaction(Vadim)
Change error message and remove non-functional update message(Vadim)
Fix for COPY array checking
Fix for SELECT 1 UNION SELECT NULL
Fix for buffer leaks in large object calls(Pascal)
Change owner from oid to int4 type(Bruce)
Fix a bug in the oracle compatibility functions btrim() ltrim() and rtrim()
Fix for shared invalidation cache overflow(Massimo)
Prevent file descriptor leaks in failed COPY's(Bruce)
Fix memory leak in libpgtcl's pg_select(Constantin)
Fix problems with username/passwords over 8 characters(Tom)
Fix problems with handling of asynchronous NOTIFY in backend(Tom)
Fix of many bad system table entries(Tom)

Enhancements
------------
Upgrade ecpg and ecpglib,see src/interfaces/ecpc/ChangeLog(Michael)
Show the index used in an EXPLAIN(Zeugswetter)
EXPLAIN  invokes  rule system and shows plan(s) for rewritten queries(Jan)
Multi-byte awareness of many data types and functions, via configure(Tatsuo)
New configure --with-mb option(Tatsuo)
New initdb --pgencoding option(Tatsuo)
New createdb -E multibyte option(Tatsuo)
Select version(); now returns PostgreSQL version(Jeroen)
Libpq now allows asynchronous clients(Tom)
Allow cancel from client of backend query(Tom)
Psql now cancels query with Control-C(Tom)
Libpq users need not issue dummy queries to get NOTIFY messages(Tom)
NOTIFY now sends sender's PID, so you can tell whether it was your own(Tom)
PGresult struct now includes associated error message, if any(Tom)
Define "tz_hour" and "tz_minute" arguments to date_part()(Thomas)
Add routines to convert between varchar and bpchar(Thomas)
Add routines to allow sizing of varchar and bpchar into target columns(Thomas)
Add bit flags to support timezonehour and minute in data retrieval(Thomas)
Allow more variations on valid floating point numbers (e.g. ".1", "1e6")(Thomas)
Fixes for unary minus parsing with leading spaces(Thomas)
Implement TIMEZONE_HOUR, TIMEZONE_MINUTE per SQL92 specs(Thomas)
Check for and properly ignore FOREIGN KEY column constraints(Thomas)
Define USER as synonym for CURRENT_USER per SQL92 specs(Thomas)
Enable HAVING clause but no fixes elsewhere yet.
Make "char" type a synonym for "char(1)" (actually implemented as bpchar)(Thomas)
Save string type if specified for DEFAULT clause handling(Thomas)
Coerce operations involving different data types(Thomas)
Allow some index use for columns of different types(Thomas)
Add capabilities for automatic type conversion(Thomas)
Cleanups for large objects, so file is truncated on open(Peter)
Readline cleanups(Tom)
Allow psql  \f \ to make spaces as delimiter(Bruce)
Pass pg_attribute.atttypmod to the frontend for column field lengths(Tom,Bruce)
Msql compatibility library in /contrib(Aldrin)
Remove the requirement that ORDER/GROUP BY clause identifiers be 
included in the target list(David)
Convert columns to match columns in UNION clauses(Thomas)
Remove fork()/exec() and only do fork()(Bruce)
Jdbc cleanups(Peter)
Show backend status on ps command line(only works on some platforms)(Bruce)
Pg_hba.conf now has a sameuser option in the database field
Make lo_unlink take oid param, not int4
New DISABLE_COMPLEX_MACRO for compilers that can't handle our macros(Bruce)
Libpgtcl now handles NOTIFY as a Tcl event, need not send dummy queries(Tom)
libpgtcl cleanups(Tom)
Add -error option to libpgtcl's pg_result command(Tom)
New locale patch, see docs/README/locale(Oleg)
Fix for pg_dump so CONSTRAINT and CHECK syntax is correct(ccb)
New contrib/lo code for large object orphan removal(Peter)
New psql command "SET CLIENT_ENCODING TO 'encoding'" for multi-bytes
feature, see /doc/README.mb(Tatsuo)
/contrib/noupdate code to revoke update permission on a column
Libpq can now be compiled on win32(Magnus)
Add PQsetdbLogin() in libpq
New 8-byte integer type, checked by configure for OS support(Thomas)
Better support for quoted table/column names(Thomas)
Surround table and column names with double-quotes in pg_dump(Thomas)
PQreset() now works with passwords(Tom)
Handle case of GROUP BY target list column number out of range(David)
Allow UNION in subselects
Add auto-size to screen to \d? commands(Bruce)
Use UNION to show all \d? results in one query(Bruce)
Add \d? field search feature(Bruce)
Pg_dump issues fewer \connect requests(Tom)
Make pg_dump -z flag work better, document it in manual page(Tom)
Add HAVING clause with full support for subselects and unions(Stephan)
Full text indexing routines in contrib/fulltextindex(Maarten)
Transaction ids now stored in shared memory(Vadim)
New PGCLIENTENCODING when issuing COPY command(Tatsuo)
Support for SQL92 syntax "SET NAMES"(Tatsuo)
Support for LATIN2-5(Tatsuo)
Add UNICODE regression test case(Tatsuo)
Lock manager cleanup, new locking modes for LLL(Vadim)
Allow index use with OR clauses(Bruce)
Allows "SELECT NULL ORDER BY 1;"
Explain VERBOSE prints the plan, and now pretty-prints the plan to
the postmaster log file(Bruce)
Add Indices display to \d command(Bruce)
Allow GROUP BY on functions(David)
New pg_class.relkind for large objects(Bruce)
New way to send libpq NOTICE messages to a different location(Tom)
New \w write command to psql(Bruce)
New /contrib/findoidjoins scans oid columns to find join relationships(Bruce)
Allow binary-compatible indices to be considered when checking for valid
indices for restriction clauses containing a constant(Thomas)
New ISBN/ISSN code in /contrib/isbn_issn
Allow NOT LIKE, IN, NOT IN, BETWEEN, and NOT BETWEEN constraint(Thomas)
New rewrite system fixes many problems with rules and views(Jan)
	* Rules on relations work
	* Event qualifications on insert/update/delete work
	* New OLD variable to reference CURRENT, CURRENT will be remove in future
	* Update rules can reference NEW and OLD in rule qualifications/actions
	* Insert/update/delete rules on views work
	* Multiple rule actions are now supported, surrounded by parentheses
	* Regular users can create views/rules on tables they have RULE permits
	* Rules and views inherit the permissions on the creator
	* No rules at the column level
	* No UPDATE NEW/OLD rules
	* New pg_tables, pg_indexes, pg_rules and pg_views system views
	* Only a single action on SELECT rules
	* Total rewrite overhaul, perhaps for 6.5
	* handle subselects
	* handle aggregates on views
	* handle insert into select from view works
System indexes are now multi-key(Bruce)
Oidint2, oidint4, and oidname types are removed(Bruce)
Use system cache for more system table lookups(Bruce)
New backend programming language PL/pgSQL in backend/pl(Jan)
New SERIAL data type, auto-creates sequence/index(Thomas)
Enable assert checking without a recompile(Massimo)
User lock enhancements(Massimo)
New setval() command to set sequence value(Massimo)
Auto-remove unix socket file on startup if no postmaster running(Massimo)
Conditional trace package(Massimo)
New UNLISTEN command(Massimo)
Psql and libpq now compile under win32 using win32.mak(Magnus)
Lo_read no longer stores trailing NULL(Bruce)
Identifiers are now truncated to 31 characters internally(Bruce)
Createuser options now availble on the command line
Code for 64-bit integer supported added, configure tested, int8 type(Thomas)
Prevent file descriptor leaf from failed COPY(Bruce)
New pg_upgrade command(Bruce)
Updated /contrib directories(Massimo)
New CREATE TABLE DEFAULT VALUES statement available(Thomas)
New INSERT INTO TABLE DEFAULT VALUES statement available(Thomas)
New DECLARE and FETCH feature(Thomas)
libpq's internal structures now not exported(Tom)
Allow up to 8 key indexes(Bruce)
Remove ARCHIVE keyword, that is no longer used(Thomas)
pg_dump -n flag to supress quotes around indentifiers
disable system columns for views(Jan)
new INET and CIDR types for network addresses(TomH, Paul)
no more double quotes in psql output
pg_dump now dumps views(Terry)
new SET QUERY_LIMIT(Tatsuo,Jan)

Source Tree Changes
-------------------
/contrib cleanup(Jun)
Inline some small functions called for every row(Bruce)
Alpha/linux fixes
Hp/UX cleanups(Tom)
Multi-byte regression tests(Soonmyung.)
Remove --disabled options from configure
Define PGDOC to use POSTGRESDIR by default
Make regression optional
Remove extra braces code to pgindent(Bruce)
Add bsdi shared library support(Bruce)
New --without-CXX support configure option(Brook)
New FAQ_CVS
Update backend flowchart in tools/backend(Bruce)
Change atttypmod from int16 to int32(Bruce, Tom)
Getrusage() fix for platforms that do not have it(Tom)
Add PQconnectdb, PGUSER, PGPASSWORD to libpq man page
NS32K platform fixes(Phil Nelson, John Buller)
Sco 7/UnixWare 2.x fixes(Billy,others)
Sparc/Solaris 2.5 fixes(Ryan)
Pgbuiltin.3 is obsolete, move to doc files(Thomas)
Even more documention(Thomas)
Nextstep support(Jacek)
Aix support(David)
pginterface manual page(Bruce)
shared libraries all have version numbers
merged all OS-specific shared library defines into one file
smarter TCL/TK configuration checking(Billy)
smarter perl configuration(Brook)
configure uses supplied install-sh if no install script found(Tom)
new Makefile.shlib for shared library configuration(Tom)



PostgreSQL 6.3.2             Tue Apr  7 16:53:16 EDT 1998
=========================================================

A dump/restore is NOT required for those running 6.3.1.  A 
'make distclean', 'make', and 'make install' is all that is required.
This last step should be performed while the postmaster is not running.
You should re-link any custom applications that use PostgreSQL libraries.

Changes
-------
configure detection improvements for tcl/tk(Brook Milligan, Alvin)
Manual page improvements(Bruce)
BETWEEN and LIKE fix(Thomas)
fix for psql \connect used by pg_dump(Oliver Elphick)
New odbc driver
pgaccess, version 0.86
qsort removed, now uses libc version, cleanups(Jeroen)
fix for buffer over-runs detected(Maurice Gittens)
fix for buffer overrun in libpgtcl(Randy Kunkee)
fix for UNION with DISTINCT or ORDER BY(Bruce)
gettimeofday configure check(Doug Winterburn)
Fix "indexes not used" bug(Vadim)
docs additions(Thomas)
Fix for backend memory leak(Bruce)
libreadline cleanup(Erwan MAS)
Remove DISTDIR(Bruce)
Makefile dependency cleanup(Jeroen van Vianen)
ASSERT fixes(Bruce)



PostgreSQL 6.3.1             Mon Mar 23 10:21:52 EST 1998
=========================================================

A dump/restore is NOT required for those running 6.3.  A 
'make distclean', 'make', and 'make install' is all that is required.
This last step should be performed while the postmaster is not running.
You should re-link any custom applications that use PostgreSQL libraries.

Changes
-------
ecpg cleanup/fixes, now version 1.1(Michael Meskes)
pg_user cleanup(Bruce)
large object fix for pg_dump and tclsh(alvin@@camberlo.demon.co.uk)
LIKE fix for multiple adjacent underscores
LIKE/BETWEEN fix for having function call as target(Thomas)
fix for redefining builtin functions(Thomas)
ultrix4 cleanup
upgrade to pg_access 0.83
updated CLUSTER manual page
multi-byte character set support, see doc/README.mb(Tatsuo)
configure --with-pgport fix
pg_ident fix
big-endian fix for backend communications(Kataoka)
SUBSTR() and substring() fix(Jan)
several jdbc fixes(Peter)
libpgtcl improvements, see libptcl/README(Randy Kunkee)
Fix for "Datasize = 0" error(Vadim)
Prevent \do from wrapping(Bruce)
Remove duplicate Russian character set entries
Sunos4 cleanup
Allow optional TABLE keyword in LOCK and SELECT INTO(Thomas)
CREATE SEQUENCE options to allow a negative integer(Thomas)
Add "PASSWORD" as an allowed column identifier(Thomas)
Add checks for UNION target fields(Bruce)
Fix Alpha port(Dwayne Bailey)
Fix for text arrays containing quotes(Doug Gibson)
Solaris compile fix(Albert Chin-A-Young)
Better identify tcl and tk libs and includes(Bruce)



PostgreSQL 6.3               Sun Mar  1 14:57:30 EST 1998
=========================================================

A dump/restore is required for those wishing to migrate data from
previous releases of PostgreSQL.

* The migration/6.2.1_to_6.3 file contains a detailed description 
* of the feature changes in this release, and is recommended reading.

Bug Fixes
---------
Fix binary cursors broken by MOVE implementation(Vadim)
Fix for tcl library crash(Jan)
Fix for array handling, from Gerhard Hintermayer
Fix acl error, and remove duplicate pqtrace(Bruce)
Fix psql \e for empty file(Bruce)
Fix for textcat on varchar() fields(Bruce)
Fix for DBT Sendproc (Zeugswetter Andres)
Fix vacuum analyze syntax problem(Bruce)
Fix for international identifiers(Tatsuo)
Fix aggregates on inherited tables(Bruce)
Fix substr() for out-of-bounds data
Fix for select 1=1 or 2=2, select 1=1 and 2=2, and select sum(2+2)(Bruce)
Fix notty output to show status result.  -q option still turns it off(Bruce)
Fix for count(*), aggs with views and multiple tables and sum(3)(Bruce)
Fix cluster(Bruce)
Fix for PQtrace start/stop several times(Bruce)
Fix a variety of locking problems like newer lock waiters getting
	lock before older waiters, and having readlock people not share
	locks if a writer is waiting for a lock, and waiting writers not
	getting priority over waiting readers(Bruce)
Fix crashes in psql when executing queries from external files(James)
Fix problem with multiple order by columns, with the first one having
	NULL values(Jeroen)
Use correct hash table support functions for float8 and int4(Thomas)
Re-enable JOIN= option in CREATE OPERATOR statement (Thomas)
Change precedence for boolean operators to match expected behavior(Thomas)
Generate elog(ERROR) on over-large integer(Bruce)
Allow multiple-argument functions in constraint clauses(Thomas)
Check boolean input literals for 'true','false','yes','no','1','0'
	and throw elog(ERROR) if unrecognized(Thomas)
Major large objects fix
Fix for GROUP BY showing duplicates(Vadim)
Fix for index scans in MergeJion(Vadim)

Enhancements
------------
Subselects with EXISTS, IN, ALL, ANY keywords (Vadim, Bruce, Thomas)
New User Manual(Thomas, others)
Speedup by inlining some frequently-called functions
Real deadlock detection, no more timeouts(Bruce)
Add SQL92 "constants" CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP, 
	CURRENT_USER(Thomas)
Modify constraint syntax to be SQL92-compliant(Thomas)
Implement SQL92 PRIMARY KEY and UNIQUE clauses using indices(Thomas)
Recognize SQL92 syntax for FOREIGN KEY. Throw elog notice(Thomas)
Allow NOT NULL UNIQUE constraint clause (each allowed separately before)(Thomas)
Allow Postgres-style casting ("::") of non-constants(Thomas)
Add support for SQL3 TRUE and FALSE boolean constants(Thomas)
Support SQL92 syntax for IS TRUE/IS FALSE/IS NOT TRUE/IS NOT FALSE(Thomas)
Allow shorter strings for boolean literals (e.g. "t", "tr", "tru")(Thomas)
Allow SQL92 delimited identifiers(Thomas)
Implement SQL92 binary and hexadecimal string decoding (b'10' and x'1F')(Thomas)
Support SQL92 syntax for type coercion of literal strings
	(e.g. "DATETIME 'now'")(Thomas)
Add conversions for int2, int4, and OID types to and from text(Thomas)
Use shared lock when building indices(Vadim)
Free memory allocated for an user query inside transaction block after
	this query is done, was turned off in <= 6.2.1(Vadim)
New SQL statement CREATE PROCEDURAL LANGUAGE(Jan)
New PostgreSQL Procedural Language (PL) backend interface(Jan)
Rename pg_dump -H option to -h(Bruce)
Add Java support for passwords, European dates(Peter)
Use indices for LIKE and ~, !~ operations(Bruce)
Add hash functions for datetime and timespan(Thomas)
Time Travel removed(Vadim, Bruce)
Add paging for \d and \z, and fix \i(Bruce)
Add Unix domain socket support to backend and to frontend library(Goran)
Implement CREATE DATABASE/WITH LOCATION and initlocation utility(Thomas)
Allow more SQL92 and/or Postgres reserved words as column identifiers(Thomas)
Augment support for SQL92 SET TIME ZONE...(Thomas)
SET/SHOW/RESET TIME ZONE uses TZ backend environment variable(Thomas)
Implement SET keyword = DEFAULT and SET TIME ZONE DEFAULT(Thomas)
Enable SET TIME ZONE using TZ environment variable(Thomas)
Add PGDATESTYLE environment variable to frontend and backend initialization(Thomas)
Add PGTZ, PGCOSTHEAP, PGCOSTINDEX, PGRPLANS, PGGEQO
	frontend library initialization environment variables(Thomas)
Regression tests time zone automatically set with "setenv PGTZ PST8PDT"(Thomas)
Add pg_description table for info on tables, columns, operators, types, and
	aggregates(Bruce)
Increase 16 char limit on system table/index names to 32 characters(Bruce)
Rename system indices(Bruce)
Add 'GERMAN' option to SET DATESTYLE(Thomas)
Define an "ISO-style" timespan output format with "hh:mm:ss" fields(Thomas)
Allow fractional values for delta times (e.g. '2.5 days')(Thomas)
Validate numeric input more carefully for delta times(Thomas)
Implement day of year as possible input to date_part()(Thomas)
Define timespan_finite() and text_timespan() functions(Thomas)
Remove archive stuff(Bruce)
Allow for a pg_password authentication database that is separate from
	the system password file(Todd)
Dump ACLs, GRANT, REVOKE permissions(Matt)
Define text, varchar, and bpchar string length functions(Thomas)
Fix Query handling for inheritance, and cost computations(Bruce)
Implement CREATE TABLE/AS SELECT (alternative to SELECT/INTO)(Thomas)
Allow NOT, IS NULL, IS NOT NULL in constraints(Thomas)
Implement UNIONs for SELECT(Bruce)
Add UNION, GROUP, DISTINCT to INSERT(Bruce)
varchar() stores only necessary bytes on disk(Bruce)
Fix for BLOBs(Peter)
Mega-Patch for JDBC...see README_6.3 for list of changes(Peter)
Remove unused "option" from PQconnectdb()
New LOCK command and lock manual page describing deadlocks(Bruce)
Add new psql \da, \dd, \df, \do, \dS, and \dT commands(Bruce)
Enhance psql \z to show sequences(Bruce)
Show NOT NULL and DEFAULT in psql \d table(Bruce)
New psql .psqlrc file startup(Andrew)
Modify sample startup script in contrib/linux to show syslog(Thomas)
New types for IP and MAC addresses in contrib/ip_and_mac(TomH)
Unix system time conversions with date/time types in contrib/unixdate(Thomas)
Update of contrib stuff(Massimo)
Add Unix socket support to DBD::Pg(Goran)
New python interface (PyGreSQL 2.0)(D'Arcy)
New frontend/backend protocol has a version number, network byte order(Phil)
Security features in pg_hba.conf enhanced and documented, many cleanups(Phil)
CHAR() now faster access than VARCHAR() or TEXT
ecpg embedded SQL preprocessor
Reduce system column overhead(Vadmin)
Remove pg_time table(Vadim)
Add pg_type attribute to identify types that need length (bpchar, varchar)
Add report of offending line when COPY command fails
Allow VIEW permissions to be set separately from the underlying tables. 
	For security, use GRANT/REVOKE on views as appropriate(Jan)
Tables now have no default GRANT SELECT TO PUBLIC.  You must
	explicitly grant such permissions.
Clean up tutorial examples(Darren)

Source Tree Changes
-------------------
Add new html development tools, and flow chart in /tools/backend
Fix for SCO compiles
Stratus computer port "Gillies, Robert" <GilliesR@@Nichols.com>
Added support for shlib for BSD44_derived & i386_solaris
Make configure more automated(Brook)
Add script to check regression test results
Break parser functions into smaller files, group together(Bruce)
Rename heap_create to heap_create_and_catalog, rename heap_creatr
	to heap_create()(Bruce)
Sparc/Linux patch for locking(TomS)
Remove PORTNAME and reorganize port-specific stuff(Marc)
Add optimizer README file(Bruce)
Remove some recursion in optimizer and clean up some code there(Bruce)
Fix for NetBSD locking(Henry)
Fix for libptcl make(Tatsuo)
AIX patch(Darren)
Change IS TRUE, IS FALSE, ... to expressions using "=" rather than
	function calls to istrue() or isfalse() to allow optimization(Thomas)
Various fixes NetBSD/Sparc related(TomH)
Alpha linux locking(Travis,Ryan)
Change elog(WARN) to elog(ERROR)(Bruce)
FAQ for FreeBSD(Marc)
Bring in the PostODBC source tree as part of our standard distribution(Marc)
A minor patch for HP/UX 10 vs 9(Stan)
New pg_attribute.atttypmod for type-specific info like varchar length(Bruce)
Unixware patches(Billy)
New i386 'lock' for spin lock asm(Billy)
Support for multiplexed backends is removed
Start an OpenBSD port
Start an AUX port
Start a Cygnus port
Add string functions to regression suite(Thomas)
Expand a few function names formerly truncated to 16 characters(Thomas)
Remove un-needed malloc() calls and replace with palloc()(Bruce)



PostgreSQL 6.2.1                 Fri Oct 17 00:01:27 EDT 1997
=========================================================

This release does NOT require a dump/restore for those running 6.2, but
there is an SQL query in /migration/6.2_to_6.2.1 that should be run. See
that file for more information.

Changes in this release
-----------------------
Allow TIME and TYPE column names(Thomas)
Allow larger range of true/false as boolean values(Thomas)
Support output of "now" and "current"(Thomas)
Handle DEFAULT with INSERT of NULL properly(Vadim)
Fix for relation reference counts problem in buffer manager(Vadim)
Allow strings to span lines, like ANSI(Thomas)
Fix for backward cursor with ORDER BY(Vadim)
Fix avg(cash) computation(Thomas)
Fix for specifying a column twice in ORDER/GROUP BY(Vadim)
Documented new libpq function to return affected rows, PQcmdTuples(Bruce)
Trigger function for inserting user names for INSERT/UPDATE(Brook Milligan)



PostgreSQL 6.2               Thu Oct 02 12:53:46 EDT 1997
=========================================================

A dump/restore is required for those wishing to migrate data from
previous releases of PostgreSQL.

Bug Fixes
---------
Fix problems with pg_dump for inheritance, sequences, archive tables(Bruce)
Fix compile errors on overflow due to shifts, unsigned, and bad prototypes
	 from Solaris(Diab Jerius)
Fix bugs in geometric line arithmetic (bad intersection calculations)(Thomas)
Check for geometric intersections at endpoints to avoid rounding ugliness(Thomas)
Catch non-functional delete attempts(Vadim)
Change time function names to be more consistent(Michael Reifenberg)
Check for zero divides(Michael Reifenberg)
Fix very old bug which made tuples changed/inserted by a commnd
	visible to the command itself (so we had multiple update of 
	updated tuples, etc)(Vadim)
Fix for SELECT null, 'fail' FROM pg_am (Patrick)
SELECT NULL as EMPTY_FIELD now allowed(Patrick)
Remove un-needed signal stuff from contrib/pginterface
Fix OR (where x <> 1 or x isnull didn't return tuples with x NULL) (Vadim)
Fix time_cmp function (Vadim)
Fix handling of functions with non-attribute first argument in 
	WHERE clauses (Vadim)
Fix GROUP BY when order of entries is different from order
	in target list (Vadim)
Fix pg_dump for aggregates without sfunc1 (Vadim)

Enhancements
------------
Default genetic optimizer GEQO parameter is now 8(Bruce)
Allow use parameters in target list having aggregates in functions(Vadim)
Added JDBC driver as an interface(Adrian & Peter)
pg_password utility
Return number of tuples inserted/affected by INSERT/UPDATE/DELETE etc.(Vadim)
Triggers implemented with CREATE TRIGGER (SQL3)(Vadim)
SPI (Server Programming Interface) allows execution of queries inside 
	C-functions (Vadim)
NOT NULL implemented (SQL92)(Robson Paniago de Miranda)
Include reserved words for string handling, outer joins, and unions(Thomas)
Implement extended comments ("/* ... */") using exclusive states(Thomas)
Add "//" single-line comments(Bruce)
Remove some restrictions on characters in operator names(Thomas)
DEFAULT and CONSTRAINT for tables implemented (SQL92)(Vadim & Thomas)
Add text concatenation operator and function (SQL92)(Thomas)
Support WITH TIME ZONE syntax (SQL92)(Thomas)
Support INTERVAL <unit> TO <unit> syntax (SQL92)(Thomas)
Define types DOUBLE PRECISION, INTERVAL, CHARACTER,
	and CHARACTER VARYING (SQL92)(Thomas)
Define type FLOAT(p) and rudimentary DECIMAL(p,s), NUMERIC(p,s) (SQL92)(Thomas)
Define EXTRACT(), POSITION(), SUBSTRING(), and TRIM() (SQL92)(Thomas)
Define CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP (SQL92)(Thomas)
Add syntax and warnings for UNION, HAVING, INNER and OUTER JOIN (SQL92)(Thomas)
Add more reserved words, mostly for SQL92 compliance(Thomas)
Allow hh:mm:ss time entry for timespan/reltime types(Thomas)
Add center() routines for lseg, path, polygon(Thomas)
Add distance() routines for circle-polygon, polygon-polygon(Thomas)
Check explicitly for points and polygons contained within polygons
	using an axis-crossing algorithm(Thomas)
Add routine to convert circle-box(Thomas)
Merge conflicting operators for different geometric data types(Thomas)
Replace distance operator "<===>" with "<->"(Thomas)
Replace "above" operator "!^" with ">^" and "below" operator "!|" with "<^"(Thomas)
Add routines for text trimming on both ends, substring, and string position(Thomas)
Added conversion routines circle(box) and poly(circle)(Thomas)
Allow internal sorts to be stored in memory rather than in files(Bruce & Vadim)
Allow functions and operators on internally-identical types to succeed(Bruce)
Speed up backend startup after profiling analysis(Bruce)
Inline frequently called functions for performance(Bruce)
Reduce open() calls(Bruce)
psql:  Add PAGER for \h and \?,\C fix
Fix for psql pager when no tty(Bruce)
New entab utility(Bruce)
General trigger functions for referential integrity (Vadim)
General trigger functions for time travel (Vadim)
General trigger functions for AUTOINCREMENT/IDENTITY feature (Vadim)
MOVE implementation (Vadim)

Source Tree Changes
-------------------
HPUX 10 patches (Vladimir Turin)
Added SCO support, (Daniel Harris)
mkLinux patches (Tatsuo Ishii)
Change geometric box terminology from "length" to "width"(Thomas)
Deprecate temporary unstored slope fields in geometric code(Thomas)
Remove restart instructions from INSTALL(Bruce)
Look in /usr/ucb first for install(Bruce)
Fix c++ copy example code(Thomas)
Add -o to psql manual page(Bruce)
Prevent relname unallocated string length from being copied into database(Bruce)
Cleanup for NAMEDATALEN use(Bruce)
Fix pg_proc names over 15 chars in output(Bruce)
Add strNcpy() function(Bruce)
remove some (void) casts that are unnecessary(Bruce)
new interfaces directory(Marc)
Replace fopen() calls with calls to fd.c functions(Bruce)
Make functions static where possible(Bruce)
enclose unused functions in #ifdef NOT_USED(Bruce)
Remove call to difftime() in timestamp support to fix SunOS(Bruce & Thomas)
Changes for Digital Unix
Portability fix for pg_dumpall(Bruce)
Rename pg_attribute.attnvals to attdisbursion(Bruce)
"intro/unix" manual page now "pgintro"(Bruce)
"built-in" manual page now "pgbuiltin"(Bruce)
"drop" manual page now "drop_table"(Bruce)
Add "create_trigger", "drop_trigger" manual pages(Thomas)
Add constraints regression test(Vadim & Thomas)
Add comments syntax regression test(Thomas)
Add PGINDENT and support program(Bruce)
Massive commit to run PGINDENT on all *.c and *.h files(Bruce)
Files moved to /src/tools directory(Bruce)
SPI and Trigger programming guides (Vadim & D'Arcy)



PostgreSQL 6.1.1             Mon Jul 22 18:04:49 EDT 1997
=========================================================

This release does NOT require a dump/restore for those running 6.1.

Changes in this release
-----------------------
fix for SET with options (Thomas)
allow pg_dump/pg_dumpall to preserve ownership of all tables/objects(Bruce)
new psql \connect option allows changing usernames without chaning databases
fix for initdb --debug option(Yoshihiko Ichikawa))
lextest cleanup(Bruce)
hash fixes(Vadim)
fix date/time month boundary arithmetic(Thomas)
fix timezone daylight handling for some ports(Thomas, Bruce, Tatsuo)
timestamp overhauled to use standard functions(Thomas)
other code cleanup in date/time routines(Thomas)
psql's \d now case-insensitive(Bruce)
psql's backslash commands can now have trailing semicolon(Bruce)
fix memory leak in psql when using \g(Bruce)
major fix for endian handling of communication to server(Thomas, Tatsuo)
Fix for Solaris assembler and include files(Yoshihiko Ichikawa)
allow underscores in usernames(Bruce)
pg_dumpall now returns proper status, portability fix(Bruce)



PostgreSQL 6.1               Sun Jun  8 14:41:13 EDT 1997
=========================================================

A dump/restore is required for those wishing to migrate data from
previous releases of PostgreSQL.

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)
select SUM(x) can return NULL on no rows(Thomas)
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)
fix buffer leak in hash indices (Vadim)
fix rtree for use in inner scan (Vadim)
fix gist for use in inner scan, cleanups (Vadim, Andrea)
avoid unnecessary local buffers allocation (Vadim, Massimo)
fix local buffers leak in transaction aborts (Vadim)
fix file manager memmory leaks, cleanups (Vadim, Massimo)
fix storage manager memmory leaks (Vadim)
fix btree duplicates handling (Vadim)
fix deleted tuples re-incarnation caused by vacuum (Vadim)
fix SELECT varchar()/char() INTO TABLE made zero-length fields(Bruce)
many psql, pg_dump, and libpq memory leaks fixed using Purify (Igor)

Enhancements
------------
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)
massive changes to libpg++(Leo)
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)
update transaction status on reads(Dan)
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)
new MONEY data type(D'Arcy,Thomas)
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)
new datestyle variable(Thomas,Vadim,Martin)
more comparison operators for sorting types(Thomas)
new conversion functions(Thomas)
new more compact btree format(Vadim)
allow pg_dumpall to preserve database ownership(Bruce)
new SET GEQO=# and R_PLANS variable(Vadim)
old (!GEQO) optimizer can use right-sided plans (Vadim)
typechecking improvement in SQL parser(Bruce)
new SET, SHOW, RESET commands(Thomas,Vadim)
new \connect database USER option
new destroydb -i option (Igor)
new \dt and \di psql commands (Darren)
SELECT "\n" now escapes newline (A. Duursma)
new geometry conversion functions from old format (Thomas)

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)
DG-UX, Ultrix, Irix, AIX portability fixes



PostgreSQL 6.0               Wed Jan 29 00:19:54 EST 1997
=========================================================

A dump/restore is required for those wishing to migrate data from
previous releases of PostgreSQL.

Bug Fixes
---------
ALTER TABLE bug - running postgress process needs to re-read table definition
Allow vacuum to be run on one table or entire database(Bruce)
Array fixes
Fix array over-runs of memory writes(Kurt)
Fix elusive btree range/non-range bug(Dan)
Fix for hash indexes on some types like time and date
Fix for pg_log size explosion
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
NOTIFY fixes
New asserts for run-checking
Overhauled parser/analyze code to properly report errors and increase speed
Pg_dump -d now handles NULL's properly(Bruce)
Prevent SELECT NULL from crashing server (Bruce)
Properly report errors when INSERT ... SELECT columns did not match
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)
Allow "select oid,* from table"
Allow BY,ORDER BY to specify columns by number, or by non-alias table.column(Bruce)
Allow COPY from the frontend(Bryan)
Allow GROUP BY to use alias column name(Bruce)
Allow actual compression, not just reuse on the same page(Vadim)
Allow installation-configuration option to auto-add all local users(Bryan)
Allow libpq to distinguish between text value '' and null(Bruce)
Allow non-postgres users with createdb privs to destroydb's
Allow restriction on who can create C functions(Bryan)
Allow restriction on who can do backend COPY(Bryan)
Can shrink tables, pg_time and pg_log(Vadim & Erich)
Change debug level 2 to print queries only, changed debug heading layout(Bruce)
Change default decimal constant representation from float4 to float8(Bruce)
European date format now set when postmaster is started
Execute lowercase function names if not found with exact case
Fixes for aggregate/GROUP processing, allow 'select sum(func(x),sum(x+y) from z'
Gist now included in the distrubution(Marc)
Idend authentication of local users(Bryan)
Implement BETWEEN qualifier(Bruce)
Implement IN qualifier(Bruce)
Libpq has PQgetisnull()(Bruce)
Libpq++ improvements
New options to initdb(Bryan)
Pg_dump allow dump of oid's(Bruce)
Pg_dump create indexes after tables are loaded for speed(Bruce)
Pg_dumpall dumps all databases, and the user table
Pginterface additions for NULL values(Bruce)
Prevent postmaster from being run as root
Psql \h and \? is now readable(Bruce)
Psql allow backslashed, semicolons anywhere on the line(Bruce)
Psql changed command prompt for lines in query or in quotes(Bruce)
Psql char(3) now displays as (bp)char in \d output(Bruce)
Psql return code now more accurate(Bryan?)
Psql updated help syntax(Bruce)
Re-visit and fix vacuum(Vadim)
Reduce size of regression diffs, remove timezone name difference(Bruce)
Remove compile-time parameters to enable binary distributions(Bryan)
Reverse meaning of HBA masks(Bryan)
Secure Authentication of local users(Bryan)
Speed up vacuum(Vadim)
Vacuum now had VERBOSE option(Bruce)

Source tree changes
-------------------
All functions now have prototypes that are compared against the calls
Allow asserts to be disabled easly from Makefile.global(Bruce)
Change oid constants used in code to #define names
Decoupled sparc and solaris defines(Kurt)
Gcc -Wall compiles cleanly with warnings only from unfixable constructs
Major include file reorganization/reduction(Marc)
Make now stops on compile failure(Bryan)
Makefile restructuring(Bryan, Marc)
Merge bsdi_2_1 to bsdi(Bruce)
Monitor program removed
Name change from Postgres95 to PostgreSQL
New config.h file(Marc, Bryan)
PG_VERSION now set to 6.0 and used by postmaster
Portability additions, including Ultrix, DG/UX, AIX, and Solaris
Reduced the number of #define's, centeralized #define's
Remove duplicate OIDS in system tables(Dan)
Remove duplicate system catalog info or report mismatches(Dan)
Removed many os-specific #define's
Restructured object file generation/location(Bryan, Marc)
Restructured port-specific file locations(Bryan, Marc)
Unused/uninialized variables corrected



PostgreSQL 1.09                 ???
=========================================================

Sorry, we stopped keeping track of changes from 1.02 to 1.09.  Some of
the changes listed in 6.0 were actually included in the 1.02.1 to 1.09
releases.



Postgres95 1.02              Thu Aug  1 18:00:00 EDT 1996
=========================================================

Source code maintainenance and development
 * worldwide team of volunteers
 * the source tree now in CVS at ftp.ki.net
 * developers mailing list - pg95-dev@@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

Contributors (appologies to any missed)
 * Kurt J. Lidl <lidl@@va.pubnix.com> 
	(missed in first run, but no less important)
 * Erich Stamberger <eberger@@gewi.kfunigraz.ac.at>
 * Jason Wright <jason@@shiloh.vnet.net>
 * Cees de Groot <C.deGroot@@inter.NL.net>
 * ernst.molitor@@uni-bonn.de
 * michael.siebenborn@@ae3.Hypo.DE (Michael Siebenborn (6929))
 * Brian E. Gallew <geek+@@cmu.edu>
 * Vadim B. Mikheev <vadim@@sable.krasnoyarsk.su>
 * Adam Sussman <myddryn@@vidya.com>
 * Chris Dunlop <chris@@onthe.net.au>
 * Marc G. Fournier <scrappy@@ki.net>
 * Dan McGuirk <mcguirk@@indirect.com>
 * Dr_George_D_Detlefsen <drgeorge@@ilt.com>
 * Erich Stamberger <eberger@@gewi.kfunigraz.ac.at>
 * Massimo Dal Zotto <dz@@cs.unitn.it>
 * Randy Kunkee <kunkee@@Starbase.NeoSoft.COM>
 * Rick Weldon <rick@@wisetech.com>
 * Thomas van Reimersdahl <reimersd@@dali.techinfo.rwth-aachen.de>
 * david bennett <dave@@bensoft.com>
 * ernst.molitor@@uni-bonn.de
 * Julian Assange <proff@@suburbia.net>
 * Bruce Momjian <maillist@@candle.pha.pa.us>
 * Paul "Shag" Walmsley <ccshag@@cclabs.missouri.edu>
 * "Alistair G. Crooks" <azcb0@@sde.uts.amdahl.com>



Postgres95 1.01              Fri Feb 23 18:20:36 PST 1996
=========================================================
Incompatibilities:
 * 1.01 is backwards compatible with 1.0 database provided the user
   follow the steps outlined in the MIGRATION_from_1.0_to_1.01 file.
   If those steps are not taken, 1.01 is not compatible with 1.0 database.

Enhancements:
 * added PQdisplayTuples() to libpq and changed monitor and psql to use it
 * added NeXT port (requires SysVIPC implementation)
 * added CAST .. AS ... syntax
 * added ASC and DESC keywords
 * added 'internal' as a possible language for CREATE FUNCTION
   internal functions are C functions which have been statically linked
   into the postgres backend.
 * a new type "name" has been added for system identifiers (table names,
   attribute names, etc.)  This replaces the old char16 type.   The
   of name is set by the NAMEDATALEN #define in src/Makefile.global
 * a readable reference manual that describes the query language.
 * added host-based access control.  A configuration file ($PGDATA/pg_hba)
   is used to hold the configuration data.  If host-based access control
   is not desired, comment out HBA=1 in src/Makefile.global.
 * changed regex handling to be uniform use of Henry Spencer's regex code
   regardless of platform.  The regex code is included in the distribution
 * added functions and operators for case-insensitive regular expressions. 
   The operators are ~* and !~*.
 * pg_dump uses COPY instead of SELECT loop for better performance

Bug fixes:
 * fixed an optimizer bug that was causing core dumps when 
   functions calls were used in comparisons in the WHERE clause
 * changed all uses of getuid to geteuid so that effective uids are used
 * psql now returns non-zero status on errors when using -c
 * applied public patches 1-14



Postgres95 1.0               Tue Sep  5 11:24:11 PDT 1995
=========================================================

Copyright change:
 * The copyright of Postgres 1.0 has been loosened to be freely modifiable
   and modifiable for any purpose.  Please read the COPYRIGHT file.
   Thanks to Professor Michael Stonebraker for making this possible.

Incompatibilities:
 *  date formats have to be MM-DD-YYYY (or DD-MM-YYYY if you're using
   EUROPEAN STYLE).  This follows SQL-92 specs.
 *  "delimiters" is now a keyword

Enhancements:
 *  sql LIKE syntax has been added
 *  copy command now takes an optional USING DELIMITER specification.
   delimiters can be any single-character string. 
 *  IRIX 5.3 port has been added.
   Thanks to Paul Walmsley (ccshag@@everest.cclabs.missouri.edu) and others.
 *  updated pg_dump to work with new libpq
 *  \d has been added psql 
   Thanks to Keith Parks (emkxp01@@mtcc.demon.co.uk)
 *  regexp performance for architectures that use POSIX regex has been
   improved due to caching of precompiled patterns.
   Thanks to Alistair Crooks (agc@@uts.amdahl.com) 
 *  a new version of libpq++
   Thanks to William Wanders (wwanders@@sci.kun.nl)

Bug fixes:
 *  arbitrary userids can be specified in the createuser script
 *  \c to connect to other databases in psql now works.
 *  bad pg_proc entry for float4inc() is fixed
 *  users with usecreatedb field set can now create databases without
   having to be usesuper
 *  remove access control entries when the entry no longer has any
   permissions
 *  fixed non-portable datetimes implementation
 *  added kerberos flags to the src/backend/Makefile
 *  libpq now works with kerberos
 *  typographic errors in the user manual have been corrected.
 *  btrees with multiple index never worked, now we tell you they don't
   work when you try to use them



Postgres95 Beta 0.03         Fri Jul 21 14:49:31 PDT 1995
=========================================================
Incompatible changes:
 * BETA-0.3 IS INCOMPATIBLE WITH DATABASES CREATED WITH PREVIOUS VERSIONS
   (due to system catalog changes and indexing structure changes).
 * double-quote (") is deprecated as a quoting character for string literals;
   you need to convert them to single quotes (').
 * name of aggregates (eg. int4sum) are renamed in accordance with the
   SQL standard (eg. sum).
 * CHANGE ACL syntax is replaced by GRANT/REVOKE syntax.
 * float literals (eg. 3.14) are now of type float4 (instead of float8 in
   previous releases); you might have to do typecasting if you depend on it
   being of type float8.  If you neglect to do the typecasting and you assign
   a float literal to a field of type float8, you may get incorrect values
   stored!
 * LIBPQ has been totally revamped so that frontend applications
   can connect to multiple backends
 * the usesysid field in pg_user has been changed from int2 to int4 to
   allow wider range of Unix user ids.
 * the netbsd/freebsd/bsd o/s ports have been consolidated into a
   single BSD44_derived port.  (thanks to Alistair Crooks)

SQL standard-compliance (the following details changes that makes postgres95
more compliant to the SQL-92 standard):
 * the following SQL types are now built-in: smallint, int(eger), float, real,
   char(N), varchar(N), date and time.

   The following are aliases to existing postgres types:
		smallint -> int2
		integer, int -> int4
		float, real  -> float4
   char(N) and varchar(N) are implemented as truncated text types. In
   addition, char(N) does blank-padding. 
 * single-quote (') is used for quoting string literals; '' (in addition to
   \') is supported as means of inserting a single quote in a string
 * SQL standard aggregate names (MAX, MIN, AVG, SUM, COUNT) are used
   (Also, aggregates can now be overloaded, i.e. you can define your
   own MAX aggregate to take in a user-defined type.)
 * CHANGE ACL removed. GRANT/REVOKE syntax added.  
   - Privileges can be given to a group using the "GROUP" keyword.
	For example:
		GRANT SELECT ON foobar TO GROUP my_group;
	The keyword 'PUBLIC' is also supported to mean all users.	

	Privileges can only be granted or revoked to one user or group
	at a time.  

	"WITH GRANT OPTION" is not supported.  Only class owners can change
	access control
   - The default access control is to to grant users readonly access.
     You must explicitly grant insert/update access to users.  To change
     this, modify the line in 
		src/backend/utils/acl.h 
     that defines ACL_WORLD_DEFAULT 

Bug fixes:
 * the bug where aggregates of empty tables were not run has been fixed. Now,
   aggregates run on empty tables will return the initial conditions of the
   aggregates. Thus, COUNT of an empty	table will now properly return 0.
   MAX/MIN of an empty table will return a tuple of value NULL. 
 * allow the use of \; inside the monitor
 * the LISTEN/NOTIFY asynchronous notification mechanism now work
 * NOTIFY in rule action bodies now work
 * hash indices work, and access methods in general should perform better.
   creation of large btree indices should be much faster.  (thanks to Paul
   Aoki)

Other changes and enhancements:
 * addition of an EXPLAIN statement used for explaining the query execution
   plan (eg. "EXPLAIN SELECT * FROM EMP" prints out the execution plan for
   the query).
 * WARN and NOTICE messages no longer have timestamps on them. To turn on
   timestamps of error messages, uncomment the line in
   src/backend/utils/elog.h:
	/* define ELOG_TIMESTAMPS */ 
 * On an access control violation, the message
	"Either no such class or insufficient privilege"
   will be given.  This is the same message that is returned when
   a class is not found.  This dissuades non-privileged users from
   guessing the existence of privileged classes.
 * some additional system catalog changes have been made that are not
   visible to the user.

libpgtcl changes:
 * The -oid option has been added to the "pg_result" tcl command.
   pg_result -oid returns oid of the last tuple inserted.   If the
   last command was not an INSERT, then pg_result -oid returns "".
 * the large object interface is available as pg_lo* tcl commands:
   pg_lo_open, pg_lo_close, pg_lo_creat, etc.

Portability enhancements and New Ports:
 * flex/lex problems have been cleared up.  Now, you should be able to use
   flex instead of lex on any platforms.  We no longer make assumptions of
   what lexer you use based on the platform you use. 
 * The Linux-ELF port is now supported.  Various configuration have been 
   tested:  The following configuration is known to work:
	kernel 1.2.10, gcc 2.6.3, libc 4.7.2, flex 2.5.2, bison 1.24
   with everything in ELF format,

New utilities:
 * ipcclean added to the distribution
   ipcclean usually does not need to be run, but if your backend crashes
   and leaves shared memory segments hanging around, ipcclean will
   clean them up for you.

New documentation:
 * the user manual has been revised and libpq documentation added.



Postgres95 Beta 0.02         Thu May 25 16:54:46 PDT 1995
=========================================================
Incompatible changes:
 * The SQL statement for creating a database is 'CREATE DATABASE' instead
   of 'CREATEDB'. Similarly, dropping a database is 'DROP DATABASE' instead
   of 'DESTROYDB'. However, the names of the executables 'createdb' and 
   'destroydb' remain the same.
 
New tools:
 * pgperl - a Perl (4.036) interface to Postgres95
 * pg_dump - a utility for dumping out a postgres database into a
	script file containing query commands. The script files are in a ASCII
	format and can be used to reconstruct the database, even on other
	machines and other architectures. (Also good for converting
	a Postgres 4.2 database to Postgres95 database.)

The following ports have been incorporated into postgres95-beta-0.02:
 * the NetBSD port by Alistair Crooks
 * the AIX port by Mike Tung
 * the Windows NT port by Jon Forrest (more stuff but not done yet)
 * the Linux ELF port by Brian Gallew

The following bugs have been fixed in postgres95-beta-0.02:
 * new lines not escaped in COPY OUT and problem with COPY OUT when first
   attribute is a '.' 
 * cannot type return to use the default user id in createuser
 * SELECT DISTINCT on big tables crashes
 * Linux installation problems
 * monitor doesn't allow use of 'localhost' as PGHOST
 * psql core dumps when doing \c or \l
 * the "pgtclsh" target missing from src/bin/pgtclsh/Makefile
 * libpgtcl has a hard-wired default port number
 * SELECT DISTINCT INTO TABLE hangs
 * CREATE TYPE doesn't accept 'variable' as the internallength
 * wrong result using more than 1 aggregate in a SELECT



Postgres95 Beta 0.01          Mon May 1 19:03:10 PDT 1995
=========================================================
Initial release.
@


1.49
log
@Prevent priority inversion in locking by checking for existing locks
before going into queue behind person with higher piority.
@
text
@d11 1
a15 1
Repackaged release to fix packaging problem of 6.4.1.
@


1.48
log
@update HISTORY
@
text
@d1 7
@


1.47
log
@Mention 6.4.2 changes.
@
text
@d9 2
a10 1
Fix for date/time constants
@


1.46
log
@Update HISTORY in CURRENT tree.
@
text
@d1 11
@


1.45
log
@Update todo.
@
text
@d1 42
@


1.44
log
@Updated TODO.
@
text
@d28 1
d33 2
a34 1
Show the index used in an explain(Zeugswetter)
a85 1
Two styles we agreed upon for database descriptors(Thomas)
d87 2
a88 3
Better support for quited table/column names(Thomas)
Surround table and column names with double-quotes(Thomas) in generated 
	sql code to preserve case (SQL92 syntax)(Thomas)
a135 2
	* 

a150 1
PL/pgSQL backend programming language(Jan)
d199 1
@


1.44.2.1
log
@update todo
@
text
@a27 1
Fix of many bad system table entries(Tom)
d32 1
a32 2
Show the index used in an EXPLAIN(Zeugswetter)
EXPLAIN  invokes  rule system and shows plan(s) for rewritten queries(Jan)
d84 1
d86 3
a88 2
Better support for quoted table/column names(Thomas)
Surround table and column names with double-quotes in pg_dump(Thomas)
d136 2
d153 1
a201 1
new Makefile.shlib for shared library configuration(Tom)
@


1.44.2.2
log
@Upgrade for 6.4.1.
@
text
@a0 43
PostgreSQL 6.4.1             Fri Dec 18 00:29:11 EST 1998
=========================================================

A dump/restore is NOT required for those running 6.4. Those running
pre-6.4 require a dump/restore, or for 6.3.* users, the use of the
pg_upgrade utility.

Changes
-------
Add pg_dump -N flag to force double quotes around identifiers.  This is
	the default.
Fix for NOT in where clause causing crash(Bruce)
EXPLAIN VERBOSE coredump fix(Vadim)
Fix shared-library problems on Linux
Fix test for table existance to allow mixed-case and whitespace in
	the table name
Fix a couple of pg_dump bugs
Fix for creating tables with constraints when table name is mixed-case(Billy)
Configure matches template/.similar entries better(Tom)
Change builtin function names from SPI_* to spi_*
OR WHERE clause fix(Vadim)
Fixes for mixed-case table names(Billy)
contrib/linux/postgres.init.csh/sh fix
libpq memory overrun fix
SunOS fixes(Tom)
Change exp() behavior to generate error on underflow
pg_dump fixes for memory leak, inheritance constraints, layout change
update pgaccess to 0.93
Fix prototype for 64-bit platforms
Multi-byte fixes(Tatsuo)
New ecpg man page
Fix memory overruns(Tatsuo)
Fix for lo_import() crash(Bruce)
Better search for install program(Tom)
Timezone fixes(Tom)
HPUX fixes(Tom)
Use implicit type coersion for matching DEFAULT values
Add routines to help with single-byte (internal) character type(Thomas)
Compilation of libpq for Win32 fixes(Magnus)
Upgrade to PyGreSQL 2.2(D'Arcy)



@


1.44.2.3
log
@Upgrade for 6.4.1.
@
text
@d11 1
a11 1
	the default(Thomas)
d16 1
a16 1
	the table name(Thomas)
d18 1
d23 1
a23 1
contrib/linux/postgres.init.csh/sh fix(Thomas)
d26 1
a26 1
Change exp() behavior to generate error on underflow(Thomas)
d37 1
a37 1
Use implicit type coersion for matching DEFAULT values(Thomas)
@


1.44.2.4
log
@Upgrade for 6.4.2.
@
text
@a0 7
PostgreSQL 6.4.2             Tue Dec 29 00:07:28 EST 1998
=========================================================

This is just a repackaging of release 6.4.1.



@


1.44.2.5
log
@Mention 6.4.2 changes.
@
text
@d1 1
a1 1
PostgreSQL 6.4.2             Sat Jan  2 11:04:05 EST 1999
d4 1
a4 1
A dump/restore is NOT required for those running 6.4.*.
a5 4
Changes
-------
Repackaged release to fix packaging problem of 6.4.1.
Fix for date/time constants
@


1.44.2.6
log
@HISTORY update.
@
text
@d9 1
a9 2
Fix for datetime constant problem on some platforms(Thomas)

@


1.43
log
@HISTORY file update.
@
text
@d1 1
a1 1
PostgreSQL 6.4               Sat Oct 24 00:41:35 EDT 1998
d13 2
a14 1
Short-term locks now retry locking at random times(David)
a22 1
Fix for usernames longer than eight characters(Tom)
d25 3
a27 1
Fix problem with username/passwords over 8 characters(Tom)
d41 3
d73 1
a73 1
Libpgtcl now gets async notifies from libpq(Tom)
d75 1
a88 1
New libpqrequestCancel(Tom)
d96 1
a96 1
Document pg_dump -z flag in manual page(Tom)
d98 1
a98 1
Full text indexing routines in contrib/fulltextindex(Marteen)
d166 1
a166 1
net INET and CIDR types for network addresses(TomH, Paul)
d188 1
a188 1
Add PGUSER to libpq man page
d201 1
@


1.42
log
@Update INSTALL, etc. for release 6.4.  Update pgaccess to 0.88.
@
text
@d1 1
a1 1
PostgreSQL 6.4               Tue Sep  1 21:18:17 EDT 1998
d5 2
a6 1
previous releases of PostgreSQL.
d25 1
d29 1
a29 1
Upgrade ECPG to 2.0, see src/interfaces/ecpc/ChangeLog(Michael)
d31 1
a31 1
Multi-byte awareness of many data data types and functions(Tatsuo)
d69 1
d80 1
d82 1
a82 1
sql code to preserve case (SQL92 syntax)(Thomas)
d125 1
a125 1
	* New pg_rule and pg_view system views
d128 4
d144 1
a144 1
Psql now compiles under win32 using win32.mak(Magnus)
d147 18
d184 1
a184 1
Ns32k platform fixes(Phil Nelson)
d189 7
@


1.41
log
@Update HISTORY/TODO.  Disable HAVING.
@
text
@d1 165
@


1.40
log
@Clean up HISTORY file so I can generate cleaner HTML.
@
text
@d15 1
a15 1
Cleanup of postodbc source code indentation
a16 1
HAVING clause now supported in SELECT(Stefan)
@


1.39
log
@Update for 6.3.2
@
text
@d2 1
a2 1
-------------------------------------------------------------
d34 1
a34 1
-------------------------------------------------------------
d75 1
a75 1
-------------------------------------------------------------
d251 1
a251 1
-------------------------------------------------------------
d274 1
a274 1
-------------------------------------------------------------
d390 2
a391 2
PostgreSQL 6.1.1                 Mon Jul 22 18:04:49 EDT 1997
-------------------------------------------------------------
d417 2
a418 2
PostgreSQL 6.1                   Sun Jun  8 14:41:13 EDT 1997
-------------------------------------------------------------
d520 2
a521 2
PostgreSQL 6.0                   Wed Jan 29 00:19:54 EST 1997
-------------------------------------------------------------
d633 1
a633 1
-------------------------------------------------------------
d641 2
a642 2
Postgres95 1.02                 Thu Aug  1 18:00:00 EDT 1996
-------------------------------------------------------------
d700 2
a701 2
Postgres95 1.01			Fri Feb 23 18:20:36 PST 1996
-------------------------------------------------------------
d737 2
a738 2
Postgres95 1.0			Tue Sep  5 11:24:11 PDT 1995
-------------------------------------------------------------
d782 2
a783 2
Postgres95 Beta 0.03		Fri Jul 21 14:49:31 PDT 1995
------------------------------------------------------
d892 2
a893 2
Postgres95 Beta 0.02	(Thu May 25 16:54:46 PDT 1995)
------------------------------------------------------
d930 2
a931 2
Postgres95 Beta 0.01	(Mon May 1 19:03:10 PDT 1995)
------------------------------------------------------
@


1.38
log
@update for 6.3.1
@
text
@d1 32
@


1.37
log
@Cleanup for Thomas
@
text
@d1 1
a1 1
PostgreSQL 6.3p1             Sun Mar 22 00:19:35 EST 1998
d4 4
a7 4
A dump/restore is NOT required for those running 6.3.  A 'make clean',
'make', and 'make install' is all that is required.  This last step
should be performed while the postmaster is not running.  You should
re-link any custom applications that use PostgreSQL libraries.
@


1.36
log
@	change in item person;
@
text
@d15 1
d24 1
a24 1
SUBSTR() and substring() fix(Thomas)
@


1.35
log
@cleanup instructions for patch upgrade.
@
text
@d22 1
a22 1
big-endian fix for backend communications(Tatsuo)
@


1.34
log
@Update for 6.3p1 release.
@
text
@d5 3
a7 2
'make', and 'make install' is all that is required.  You may want to
re-link your any custom applications that use PostgreSQL libraries.
@


1.33
log
@Prepare for 6.3 release.
@
text
@d1 39
d215 1
d238 1
d355 1
d382 1
d483 3
d597 1
d606 1
d664 2
d701 2
d747 1
d856 2
d893 2
@


1.32
log
@Update for 6.3 release.
@
text
@a127 1
Add GROUP BY to INSERT INTO table SELECT * FROM table2
d136 1
@


1.31
log
@Prepare for 6.3 release.
@
text
@a9 3
CHANGES IN THE 6.3 RELEASE
--------------------------

d43 2
@


1.30
log
@Prepare for final release.
@
text
@d7 3
@


1.29
log
@Document ACL_RD -> ACL_NO change on default table creation
@
text
@d1 1
a1 1
PostgreSQL 6.3               Sun Feb  1 14:57:30 EST 1998
d42 1
a42 2
Change default table creation from ACL_RD to ACL_NO (aka private tables)(marc)

d46 3
a49 1
<NOT DONE YET> Subselects with EXISTS, IN, ALL, ANY keywords (Vadim, Bruce, Thomas)
a51 1
Speedup by inlining some frequently-called functions
a109 1
Allow installation data block size and max tuple size configuration(Darren)
d124 11
a134 2
New HTML and Postscript documentation(Thomas)

d171 1
@


1.28
log
@Upgrade doc stuff to 6.3.
@
text
@d42 1
@


1.27
log
@Update for 6.2.1.
@
text
@d1 163
@


1.26
log
@Last (?) updations.
@
text
@d4 3
a6 2
This release does NOT require a dump/restore for those running 6.2.
Please see the appropriate /migration file for more information.
@


1.25
log
@New function PQcmdTuples.
@
text
@d13 1
a13 1
fix for buffer cache reference count problem(Vadim)
d15 1
a15 1
Fix for backward ORDER BY(Vadim)
d17 3
a19 2
Fix for specifying a column twice in ORDER BY(Vadim)
Documented new libpq function to return affected rows, PQcmdTuples(Vadim)
@


1.24
log
@Updates for 6.2.1.  Update pgaccess to 0.61.  Add to HISTORY.
@
text
@d18 1
@


1.23
log
@Cleanups for 6.2.1.
@
text
@d17 1
@


1.22
log
@Last changes.
@
text
@d1 18
@


1.21
log
@Vadim's updates to HISTORY file.
@
text
@d1 1
a1 1
PostgreSQL 6.2beta               Sat Sep 27 07:20:16 PDT 1997
d29 1
d39 1
a39 1
SPI (Server Programming Interface) - allows execution of queries inside 
a40 2
	SPI implemented not just to support triggers, but functions too,
		and as "workhorse" for procedural language(s) in future...
d78 1
d114 1
@


1.20
log
@Add information about SQL92 syntax enhancements.
Rearrange the v6.2 enhancements section to put visible changes first.
@
text
@d23 6
d38 4
a41 1
SPI (Server Programming Interface) implemented to support triggers(Vadim)
d77 3
@


1.19
log
@Update HISTORY.
@
text
@d1 1
a1 1
PostgreSQL 6.2beta               Sat Sep 13 21:53:27 EDT 1997
d11 3
a13 5
	 from Solaris, (Diab Jerius)
Fix bugs in line arithmetic which resulted in bad intersection
	calculations(Thomas)
Check explicitly for intersections at endpoints to avoid rounding
	ugliness(Thomas)
d18 2
a19 2
	visible to command itself (so we had multiple update of 
	updated tuples, etc).(Vadim)
d26 23
a48 1
psql:  Add PAGER for \h and \?,\C fix
d53 1
a53 1
	using an axis-crossing algorithm. (Thomas)
d57 1
a57 2
Replace "above" operator "!^" with ">^"
	and "below" operator "!|" with "<^"(Thomas)
a58 2
Add text concatenation operator and function(Thomas)
Add text trim function for SQL92 support(Thomas)
a59 1
Allow use parameters in target list having aggregates in functions(Vadim)
a60 3
Added JDBC driver as an interface(Adrian & Peter)
Reduce open() calls(Bruce)
NOT NULL implementation (Robson Paniago de Miranda).
d63 3
a65 10
pg_password utility
Number of tuples inserted/affected by INSERT/UPDATE/DELETE...(Vadim)
SPI manager(Vadim)
Triggers (Vadim)
Add detection and warnings for UNION and HAVING clauses(Thomas)
Add more reserved words, mostly for SQL92 compliance(Thomas)
Include reserved words for string handling, outer joins, and unions(Thomas)
Implement extended comments ("/* ... */") using exclusive states(Thomas)
Modify definitions of operators to remove some restrictions on characters
	and character order(Thomas)
a66 1
Add // comments(Bruce)
a67 7
CHECK/DEFAULT constraints implemented(Vadim)
CHECK/DEFAULT syntax additions(Thomas)
Default GEQO parameter is now 8(Bruce)
Define DOUBLE PRECISION, INTERVAL, CHARACTER, and 
	CHARACTER VARYING (SQL-92)(Thomas)
Define EXTRACT(), POSITION(), SUBSTRING(), and TRIM() (SQL-92)(Thomas)
Inline frequently called functions for performance(Bruce)
d74 1
a74 1
Change box terminology from "length" to "width"(Thomas)
d82 1
a82 1
Fix pgproc names over 15 chars in output(Bruce)
d89 1
a89 1
Fix for sunos4 difftime() call(Bruce)
d93 6
a98 2
intro/unix manual page now pgintro(Bruce)
built-in manual page now pgbuiltin(Bruce)
@


1.18
log
@Update README, HISTORY, etc for beta release.
@
text
@d9 1
a9 1
Fix problems with pg_dump for iheritance, sequences, archive tables(Bruce)
d24 1
d35 1
a35 3
Merge conflicting operators for different geometric data types
	(the point type especially had operators which were
	weirdly dissimilar from the other types)(Thomas)
a39 1
Add new operators and functions for geometric types(Thomas)
a42 1
Use better routines from geometry library(Thomas)
d44 1
a44 1
Allow internal sorts to be stored in memory rather than in files(Bruce)
a47 2
CHECK/DEFAULT syntax(Vadim)
Syntax for [CONSTRAINT name] CHECK ...(Vadim)
d63 2
a64 2
New system relations to store DEFAULT/CHECK expressions(Vadim)
Store CHECK infos on CREATE TABLE(Vadim)
d69 1
d77 1
a77 1
Deprecate temporary unstored slope fields(Thomas)
@


1.17
log
@Update files and dates for 6.1.1 release.
@
text
@d1 105
@


1.16
log
@Update new items for 6.1.1
@
text
@d1 1
a1 1
PostgreSQL 6.1.1                 Sun Jul 13 15:11:47 EDT 1997
@


1.15
log
@Update new items in 6.1.1.
@
text
@d11 1
a11 1
fix for initdb --debug option(Tatsuo)
@


1.14
log
@Update HISTORY file for 6.1.1 release.
@
text
@a8 2
fix month boundary arithmetic(Thomas)
fix timezone daylight handling for some ports(Thomas)
a10 1
fix for datetime arithmetic over month boundaries(Thomas)
d14 4
a21 2
improvements in datetime and timespan routines(Thomas)
timestamp overhauled to use standard functions(Thomas)
@


1.13
log
@Updates for 6.1.1.
@
text
@d4 1
a4 4
This release does not require a dump/restore.  Rerun configure.  Compile
the new release. Recompile all your custom applications so they use the
libpq library in this new release.  Stop the postmaster process, install
the new release, and restart the postmaster.
@


1.12
log
@Update docs for release.
@
text
@d1 30
@


1.11
log
@UPdate TODO/HISTORY again.
@
text
@d1 1
a1 1
PostgreSQL 6.1                   Tue Jun  3 16:32:44 EDT 1997
@


1.10
log
@Update TODO for release
@
text
@d1 1
a1 1
PostgreSQL 6.1                   Wed May 14 15:59:24 EDT 1997
a100 2


@


1.9
log
@More TODO/HISTORY updates
@
text
@d25 11
d74 9
d100 2
@


1.8
log
@UPdate TODO and HIstory for new release.
@
text
@d17 1
d46 1
a46 1
auto-udpate transaction status on reads(Dan)
a48 1
select SUM(x) can return NULL on no rows(Thomas)
d53 1
a53 1
new MONEY data type(D'Arcy)
d58 1
a58 1
new datestyle variable(Thomas)
a79 1

@


1.7
log
@Add v6.1/Enhancements Section...or at least start it
@
text
@d1 1
a1 1
PostgreSQL 6.1                   Wed Feb 19 09:15:57 AST 1997
d4 20
a23 13
Major contributors:
-------------------
        Bruce is Bruce Momjian<maillist@@candle.pha.pa.us>
        Bryan is Bryan Henderson<bryanh@@giraffe.netgate.net>
        Dan is Dan McGuirk <mcguirk@@indirect.com>
        Darren is Darren King <darrenk@@insightdist.com>
        Edmund is Edmund Mergl <E.Mergl@@bawue.de>
        Erich Stamberger <eberger@@gewi.kfunigraz.ac.at>
        Kurt is "Kurt J. Lidl" <lidl@@va.pubnix.com>
	Marc is "The Hermit Hacker" <scrappy@@hub.org>
        Martin is Martin S. Utesch <utesch@@aut.tu-freiberg.de>  
        Vadim is "Vadim B. Mikheev" <vadim@@sable.krasnoyarsk.su>
        Vivek is Vivek Khera <khera@@kci.kciLink.com> 
d27 36
d64 16
a79 2
autoconf configuration(Marc)
Genetic Query Optimization(Martin)
@


1.6
log
@Changes to get ready for 6.0 final release.
@
text
@d1 24
a29 13

Major contributors:
-------------------
	Bruce is Bruce Momjian<maillist@@candle.pha.pa.us>
	Bryan is Bryan Henderson<bryanh@@giraffe.netgate.net>
	Dan is Dan McGuirk <mcguirk@@indirect.com>
	Darren is Darren King <darrenk@@insightdist.com>
	Edmund is Edmund Mergl <E.Mergl@@bawue.de>
	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>
	Vadim is "Vadim B. Mikheev" <vadim@@sable.krasnoyarsk.su>
	Vivek is Vivek Khera <khera@@kci.kciLink.com>
@


1.5
log
@Update history file for 1.09 release
@
text
@d1 1
a1 1
PostgreSQL 6.0 beta              Thu Dec 26 16:47:43 EST 1996
d71 1
d83 1
a83 1
Pg_dump(Bruce)
d98 1
@


1.4
log
@update TODO
@
text
@d123 8
@


1.3
log
@Updated changes for 6.0.
@
text
@d33 1
d47 1
d54 1
a120 1

@


1.2
log
@Documentatoin update
@
text
@d20 14
a33 19
Changes in this release:
------------------------
Restructured object file generation/location(Bryan, Marc)
Restructured port-specific file locations(Bryan, Marc)
Makefile restructuring(Bryan, Marc)
all functions now have prototypes that are compared against the calls
unused/uninialized variables corrected
gcc -Wall compiles cleanly with warnings only from unfixable constructs
major include file reorganization/reduction(Marc)
reduced the number of #define's, centeralized #define's
removed many os-specific #define's
fixed a few small memory leaks
removed duplicate system oid's
overhauled parser/analyze code to properly report errors and increase speed
properly report errors when INSERT ... SELECT columns did not match
properly report errors when insert column names were not correct
minor improvements to rules system
execute lowercase function names if not found with exact case
change oid constants used in code to #define names
d35 26
a60 3
fix unitialized reads of memory(Kurt)
fix array over-runs of memory writes(Kurt)
Change default decimal constant representation from float4 to float8(Bruce)
a61 2
Starting quote in insert string errors(Bruce)
ALTER TABLE bug - running postgress process needs to re-read table definition
a62 16
Prevent SELECT NULL from crashing server (Bruce)
Fix elusive btree range/non-range bug(Dan)
Remove duplicate system catalog info or report mismatches(Dan)
Remove duplicate OIDS in system tables(Dan)
Prevent postmaster from being run as root
Implement IN qualifier(Bruce)
Implement BETWEEN qualifier(Bruce)
add synonym of != for <>(Bruce)
add UNIQUE index capability(Dan)
Re-visit and fix vacuum(Vadim)
speed up vacuum(Vadim)
can't shrink tables, pg_time and pg_log(Vadim & Erich)
allow actual compression, not just reuse on the same page(Vadim)
allow vacuum to be run on one table or entire database(Bruce)
Reverse meaning of HBA masks(Bryan)
Add hostname/user level access control rather than just hostname and user
a63 1
Allow installation-configuration option to auto-add all local users(Bryan)
d65 6
a70 2
allow COPY from the frontend(Bryan)
Secure Authentication of local users(Bryan)
d72 17
a88 1
Change debug level 2 to print queries only, changed debug heading layout(Bruce)
d91 14
d106 3
a108 25
pg_dump(Bruce)
	allow dump of oid's
	create indexes after tables are loaded for speed
	pg_dump -d now handles NULL's properly
psql(Bruce)
	fixed problem with multiple statements on one line with multiple outputs
	changed command prompt for lines in query or in quotes
	allow backslashed, semicolons anywhere on the line
	\h and \? is now readable
	\g filename now works
	updated help syntax
	char(3) now displays as (bp)char in \d output
	return code now more accurate(Bryan?)
new config.h file(Marc, Bryan)
fix permissions on lo_export()(Bruce)
Make now stops on compile failure(Bryan)
submiting an empty query now returns empty status, not just " " query(Bruce)
several fixes for queries that crashed the backend
portability additions, including Ultrix, DG/UX, AIX, and Solaris
fix for pg_log size explosion
decoupled sparc and solaris defines(Kurt)
new options to initdb(Bryan)
allow asserts to be disabled easly from Makefile.global(Bruce)
allow "select oid,* from table"
NOTIFY fixes
d110 8
a117 14
libpq has PQgetisnull()(Bruce)
pginterface additions for NULL values(Bruce)
fixed ALTER TABLE ... char(3) bug(Bruce)
fixed output of group acl permissions
new asserts for run-checking
name change from Postgres95 to PostgreSQL
monitor program removed
fix for hash indexes on some types like time and date
gist now included in the distrubution(Marc)
array fixes
fixes for aggregate/GROUP processing, allow 'select sum(func(x),sum(x+y) from z'
libpq++ improvements
Allow BY,ORDER BY to specify columns by number, or by non-alias table.column(Bruce)
Allow GROUP BY to use alias column name(Bruce)
@


1.1
log
@Initial revision
@
text
@d1 115
@


1.1.1.1
log
@Support Docs & Contrib
@
text
@@
