~ubuntu-branches/ubuntu/oneiric/postgresql-9.1/oneiric-security

« back to all changes in this revision

Viewing changes to doc/src/sgml/html/release-1-02.html

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2011-05-11 10:41:53 UTC
  • Revision ID: james.westby@ubuntu.com-20110511104153-psbh2o58553fv1m0
Tags: upstream-9.1~beta1
ImportĀ upstreamĀ versionĀ 9.1~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 
2
<HTML
 
3
><HEAD
 
4
><TITLE
 
5
>Release 1.02</TITLE
 
6
><META
 
7
NAME="GENERATOR"
 
8
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
 
9
REV="MADE"
 
10
HREF="mailto:pgsql-docs@postgresql.org"><LINK
 
11
REL="HOME"
 
12
TITLE="PostgreSQL 9.1beta1 Documentation"
 
13
HREF="index.html"><LINK
 
14
REL="UP"
 
15
TITLE="Release Notes"
 
16
HREF="release.html"><LINK
 
17
REL="PREVIOUS"
 
18
TITLE="Release 1.09"
 
19
HREF="release-1-09.html"><LINK
 
20
REL="NEXT"
 
21
TITLE="Release 1.01"
 
22
HREF="release-1-01.html"><LINK
 
23
REL="STYLESHEET"
 
24
TYPE="text/css"
 
25
HREF="stylesheet.css"><META
 
26
HTTP-EQUIV="Content-Type"
 
27
CONTENT="text/html; charset=ISO-8859-1"><META
 
28
NAME="creation"
 
29
CONTENT="2011-04-27T21:20:33"></HEAD
 
30
><BODY
 
31
CLASS="SECT1"
 
32
><DIV
 
33
CLASS="NAVHEADER"
 
34
><TABLE
 
35
SUMMARY="Header navigation table"
 
36
WIDTH="100%"
 
37
BORDER="0"
 
38
CELLPADDING="0"
 
39
CELLSPACING="0"
 
40
><TR
 
41
><TH
 
42
COLSPAN="5"
 
43
ALIGN="center"
 
44
VALIGN="bottom"
 
45
><A
 
46
HREF="index.html"
 
47
>PostgreSQL 9.1beta1 Documentation</A
 
48
></TH
 
49
></TR
 
50
><TR
 
51
><TD
 
52
WIDTH="10%"
 
53
ALIGN="left"
 
54
VALIGN="top"
 
55
><A
 
56
TITLE="Release 1.09"
 
57
HREF="release-1-09.html"
 
58
ACCESSKEY="P"
 
59
>Prev</A
 
60
></TD
 
61
><TD
 
62
WIDTH="10%"
 
63
ALIGN="left"
 
64
VALIGN="top"
 
65
><A
 
66
TITLE="Release Notes"
 
67
HREF="release.html"
 
68
>Fast Backward</A
 
69
></TD
 
70
><TD
 
71
WIDTH="60%"
 
72
ALIGN="center"
 
73
VALIGN="bottom"
 
74
>Appendix E. Release Notes</TD
 
75
><TD
 
76
WIDTH="10%"
 
77
ALIGN="right"
 
78
VALIGN="top"
 
79
><A
 
80
TITLE="Release Notes"
 
81
HREF="release.html"
 
82
>Fast Forward</A
 
83
></TD
 
84
><TD
 
85
WIDTH="10%"
 
86
ALIGN="right"
 
87
VALIGN="top"
 
88
><A
 
89
TITLE="Release 1.01"
 
90
HREF="release-1-01.html"
 
91
ACCESSKEY="N"
 
92
>Next</A
 
93
></TD
 
94
></TR
 
95
></TABLE
 
96
><HR
 
97
ALIGN="LEFT"
 
98
WIDTH="100%"></DIV
 
99
><DIV
 
100
CLASS="SECT1"
 
101
><H1
 
102
CLASS="SECT1"
 
103
><A
 
104
NAME="RELEASE-1-02"
 
105
>E.191. Release 1.02</A
 
106
></H1
 
107
><DIV
 
108
CLASS="NOTE"
 
109
><BLOCKQUOTE
 
110
CLASS="NOTE"
 
111
><P
 
112
><B
 
113
>Release Date: </B
 
114
>1996-08-01</P
 
115
></BLOCKQUOTE
 
116
></DIV
 
117
><DIV
 
118
CLASS="SECT2"
 
119
><H2
 
120
CLASS="SECT2"
 
121
><A
 
122
NAME="AEN128165"
 
123
>E.191.1. Migration from version 1.02 to version 1.02.1</A
 
124
></H2
 
125
><P
 
126
>Here is a new migration file for 1.02.1.  It includes the 'copy' change
 
127
and a script to convert old <ACRONYM
 
128
CLASS="ACRONYM"
 
129
>ASCII</ACRONYM
 
130
> files.</P
 
131
><DIV
 
132
CLASS="NOTE"
 
133
><BLOCKQUOTE
 
134
CLASS="NOTE"
 
135
><P
 
136
><B
 
137
>Note: </B
 
138
>The following notes are for the benefit of users who want to migrate
 
139
databases from <SPAN
 
140
CLASS="PRODUCTNAME"
 
141
>Postgres95</SPAN
 
142
> 1.01 and 1.02 to <SPAN
 
143
CLASS="PRODUCTNAME"
 
144
>Postgres95</SPAN
 
145
> 1.02.1.</P
 
146
><P
 
147
>If you are starting afresh with <SPAN
 
148
CLASS="PRODUCTNAME"
 
149
>Postgres95</SPAN
 
150
> 1.02.1 and do not need
 
151
to migrate old databases, you do not need to read any further.</P
 
152
></BLOCKQUOTE
 
153
></DIV
 
154
><P
 
155
>In order to upgrade older <SPAN
 
156
CLASS="PRODUCTNAME"
 
157
>Postgres95</SPAN
 
158
> version 1.01 or 1.02 databases to
 
159
version 1.02.1, the following steps are required:</P
 
160
><DIV
 
161
CLASS="PROCEDURE"
 
162
><OL
 
163
TYPE="1"
 
164
><LI
 
165
CLASS="STEP"
 
166
><P
 
167
>Start up a new 1.02.1 postmaster</P
 
168
></LI
 
169
><LI
 
170
CLASS="STEP"
 
171
><P
 
172
>Add the new built-in functions and operators of 1.02.1 to 1.01 or 1.02
 
173
  databases.  This is done by running the new 1.02.1 server against
 
174
  your own 1.01 or 1.02 database and applying the queries attached at
 
175
  the end of the file.   This can be done easily through <TT
 
176
CLASS="COMMAND"
 
177
>psql</TT
 
178
>.  If your
 
179
  1.01 or 1.02 database is named <TT
 
180
CLASS="LITERAL"
 
181
>testdb</TT
 
182
> and you have cut the commands
 
183
  from the end of this file and saved them in <TT
 
184
CLASS="FILENAME"
 
185
>addfunc.sql</TT
 
186
>:
 
187
</P><PRE
 
188
CLASS="PROGRAMLISTING"
 
189
>% psql testdb -f addfunc.sql</PRE
 
190
><P>
 
191
 
 
192
Those upgrading 1.02 databases will get a warning when executing the
 
193
last two statements in the file because they are already present in 1.02.  This is
 
194
not a cause for concern.</P
 
195
></LI
 
196
></OL
 
197
></DIV
 
198
></DIV
 
199
><DIV
 
200
CLASS="SECT2"
 
201
><H2
 
202
CLASS="SECT2"
 
203
><A
 
204
NAME="AEN128186"
 
205
>E.191.2. Dump/Reload Procedure</A
 
206
></H2
 
207
><P
 
208
>If you are trying to reload a pg_dump or text-mode, <TT
 
209
CLASS="LITERAL"
 
210
>copy tablename to
 
211
stdout</TT
 
212
> generated with a previous version, you will need to run the
 
213
attached <TT
 
214
CLASS="COMMAND"
 
215
>sed</TT
 
216
> script on the ASCII file before loading it into the
 
217
database.  The old format used '.' as end-of-data, while '\.' is now the
 
218
end-of-data marker.  Also, empty strings are now loaded in as '' rather
 
219
than NULL. See the copy manual page for full details.
 
220
 
 
221
</P><PRE
 
222
CLASS="PROGRAMLISTING"
 
223
>sed 's/^\.$/\\./g' &lt;in_file &gt;out_file</PRE
 
224
><P></P
 
225
><P
 
226
>If you are loading an older binary copy or non-<SPAN
 
227
CLASS="SYSTEMITEM"
 
228
>stdout</SPAN
 
229
> copy, there is no
 
230
end-of-data character, and hence no conversion necessary.
 
231
 
 
232
</P><PRE
 
233
CLASS="PROGRAMLISTING"
 
234
>-- following lines added by agc to reflect the case-insensitive
 
235
-- regexp searching for varchar (in 1.02), and bpchar (in 1.02.1)
 
236
create operator ~* (leftarg = bpchar, rightarg = text, procedure = texticregexeq);
 
237
create operator !~* (leftarg = bpchar, rightarg = text, procedure = texticregexne);
 
238
create operator ~* (leftarg = varchar, rightarg = text, procedure = texticregexeq);
 
239
create operator !~* (leftarg = varchar, rightarg = text, procedure = texticregexne);</PRE
 
240
><P></P
 
241
></DIV
 
242
><DIV
 
243
CLASS="SECT2"
 
244
><H2
 
245
CLASS="SECT2"
 
246
><A
 
247
NAME="AEN128195"
 
248
>E.191.3. Changes</A
 
249
></H2
 
250
><P
 
251
></P><PRE
 
252
CLASS="PROGRAMLISTING"
 
253
>Source code maintenance and development
 
254
 * worldwide team of volunteers
 
255
 * the source tree now in CVS at ftp.ki.net
 
256
 
 
257
Enhancements
 
258
 * psql (and underlying libpq library) now has many more options for
 
259
   formatting output, including HTML
 
260
 * pg_dump now output the schema and/or the data, with many fixes to
 
261
   enhance completeness.
 
262
 * psql used in place of monitor in administration shell scripts.
 
263
   monitor to be deprecated in next release.
 
264
 * date/time functions enhanced
 
265
 * NULL insert/update/comparison fixed/enhanced
 
266
 * TCL/TK lib and shell fixed to work with both tck7.4/tk4.0 and tcl7.5/tk4.1
 
267
 
 
268
Bug Fixes (almost too numerous to mention)
 
269
 * indexes
 
270
 * storage management
 
271
 * check for NULL pointer before dereferencing
 
272
 * Makefile fixes
 
273
 
 
274
New Ports
 
275
 * added SolarisX86 port
 
276
 * added BSD/OS 2.1 port
 
277
 * added DG/UX port</PRE
 
278
><P></P
 
279
></DIV
 
280
></DIV
 
281
><DIV
 
282
CLASS="NAVFOOTER"
 
283
><HR
 
284
ALIGN="LEFT"
 
285
WIDTH="100%"><TABLE
 
286
SUMMARY="Footer navigation table"
 
287
WIDTH="100%"
 
288
BORDER="0"
 
289
CELLPADDING="0"
 
290
CELLSPACING="0"
 
291
><TR
 
292
><TD
 
293
WIDTH="33%"
 
294
ALIGN="left"
 
295
VALIGN="top"
 
296
><A
 
297
HREF="release-1-09.html"
 
298
ACCESSKEY="P"
 
299
>Prev</A
 
300
></TD
 
301
><TD
 
302
WIDTH="34%"
 
303
ALIGN="center"
 
304
VALIGN="top"
 
305
><A
 
306
HREF="index.html"
 
307
ACCESSKEY="H"
 
308
>Home</A
 
309
></TD
 
310
><TD
 
311
WIDTH="33%"
 
312
ALIGN="right"
 
313
VALIGN="top"
 
314
><A
 
315
HREF="release-1-01.html"
 
316
ACCESSKEY="N"
 
317
>Next</A
 
318
></TD
 
319
></TR
 
320
><TR
 
321
><TD
 
322
WIDTH="33%"
 
323
ALIGN="left"
 
324
VALIGN="top"
 
325
>Release 1.09</TD
 
326
><TD
 
327
WIDTH="34%"
 
328
ALIGN="center"
 
329
VALIGN="top"
 
330
><A
 
331
HREF="release.html"
 
332
ACCESSKEY="U"
 
333
>Up</A
 
334
></TD
 
335
><TD
 
336
WIDTH="33%"
 
337
ALIGN="right"
 
338
VALIGN="top"
 
339
>Release 1.01</TD
 
340
></TR
 
341
></TABLE
 
342
></DIV
 
343
></BODY
 
344
></HTML
 
345
>
 
 
b'\\ No newline at end of file'