Skip to content

Commit 5a3fa95

Browse files
committed
Update stuff for 6.5.1 release.
1 parent 4fceee0 commit 5a3fa95

File tree

9 files changed

+546
-480
lines changed

9 files changed

+546
-480
lines changed

README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
PostgreSQL Data Base Management System (formerly known as Postgres, then
33
as Postgres95).
44

5-
This directory contains the development version of 6.5 of the PostgreSQL
5+
This directory contains the development version of 6.5.1 of the PostgreSQL
66
database server. The server is not ANSI SQL compliant, but it gets
77
closer with every release. After you unzip and untar the distribution
88
file, look at file INSTALL for the installation notes and file HISTORY

doc/FAQ

Lines changed: 480 additions & 456 deletions
Large diffs are not rendered by default.

doc/FAQ_DEV

Lines changed: 43 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11

22
Developer's Frequently Asked Questions (FAQ) for PostgreSQL
33

4-
Last updated: Mon Feb 22 17:15:06 EST 1999
4+
Last updated: Sat Jul 10 00:38:09 EDT 1999
55

66
Current maintainer: Bruce Momjian ([email protected])
77

88
The most recent version of this document can be viewed at the
9-
postgreSQL Web site, http://postgreSQL.org.
9+
postgreSQL Web site, http://PostgreSQL.org.
1010
_________________________________________________________________
1111

1212
Questions
@@ -24,6 +24,8 @@
2424
9) How do I efficiently access information in tables from the backend
2525
code?
2626
10) What is elog()?
27+
11) What is configure all about?
28+
12) How do I add a new port?
2729
_________________________________________________________________
2830

2931
1) What tools are available for developers?
@@ -294,7 +296,7 @@ s
294296
While scans automatically lock/unlock rows from the buffer cache, with
295297
heap_fetch(), you must pass a Buffer pointer, and ReleaseBuffer() it
296298
when completed. Once you have the row, you can get data that is common
297-
to all tuples, like t_self and t_oid, by mererly accessing the
299+
to all tuples, like t_self and t_oid, by merely accessing the
298300
HeapTuple structure entries. If you need a table-specific column, you
299301
should take the HeapTuple pointer, and use the GETSTRUCT() macro to
300302
access the table-specific start of the tuple. You then cast the
@@ -324,3 +326,41 @@ s
324326
current query, never returning from the call. FATAL terminates the
325327
backend process. The remaining parameters of elog are a printf-style
326328
set of parameters to print.
329+
330+
11) What is configure all about?
331+
332+
The files configure and configure.in are part of the GNU autoconf
333+
package. Configure allows us to test for various capabilities of the
334+
OS, and to set variables that can then be tested in C programs and
335+
Makefiles. Autoconf is installed on the PostgreSQL main server. To add
336+
options to configure, edit configure.in, and then run autoconf to
337+
generate configure.
338+
339+
When configure is run by the user, it tests various OS capabilities,
340+
stores those in config.status and config.cache, and modifies a list of
341+
*.in files. For example, if there exists a Makefile.in, configure
342+
generates a Makefile that contains substitutions for all @var@
343+
parameters found by configure.
344+
345+
When you need to edit files, make sure you don't waste time modifying
346+
files generated by configure. Edit the *.in file, and re-run configure
347+
to recreate the needed file. If you run make distclean from the
348+
top-level source directory, all files derived by configure are
349+
removed, so you see only the file contained in the source
350+
distribution.
351+
352+
12) How do I add a new port?
353+
354+
There are a variety of places that need to be modified to add a new
355+
port. First, start in the src/template directory. Add an appropriate
356+
entry for your OS. Also, use src/config.guess to add your OS to
357+
src/template/.similar. You shouldn't match the OS version exactly. The
358+
configure test will look for an exact OS version number, and if not
359+
found, find a match without version number. Edit src/configure.in to
360+
add your new OS. (See configure item above.) You will need to run
361+
autoconf, or patch src/configure too.
362+
363+
Then, check src/include/port and add your new OS file, with
364+
appropriate values. Hopefully, there is already locking code in
365+
src/include/storage/s_lock.h for your CPU. There is a backend/port
366+
directory if you need special files for your OS.

doc/bug.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ System Configuration
2727

2828
Operating System (example: Linux 2.0.26 ELF) :
2929

30-
PostgreSQL version (example: PostgreSQL-6.5) : PostgreSQL-6.5
30+
PostgreSQL version (example: PostgreSQL-6.5.1): PostgreSQL-6.5.1
3131

3232
Compiler used (example: gcc 2.8.0) :
3333

doc/src/sgml/install.sgml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<Abstract>
55
<Para>
66
Complete installation instructions for
7-
<ProductName>Postgres</ProductName> v6.5.
7+
<ProductName>Postgres</ProductName> v6.5.1.
88
</Para>
99
</Abstract>
1010

@@ -170,8 +170,8 @@ remaining steps in the installation will happen in this account.
170170
<Step Performance="required">
171171
<Para>
172172
Ftp file
173-
<ulink url="ftp://ftp.postgresql.org/pub/postgresql-v6.5.tar.gz">
174-
<filename>ftp://ftp.postgresql.org/pub/postgresql-v6.5.tar.gz</filename></ulink>
173+
<ulink url="ftp://ftp.postgresql.org/pub/postgresql-v6.5.1.tar.gz">
174+
<filename>ftp://ftp.postgresql.org/pub/postgresql-v6.5.1.tar.gz</filename></ulink>
175175
from the Internet. Store it in your home directory.
176176
</Para>
177177
</Step>
@@ -241,7 +241,11 @@ $ rm -rf flex-2.5.4
241241
<Para>
242242
If you are not upgrading an existing system then skip to
243243
<xref linkend="newdirs">.
244-
If you are upgrading an existing system then back up your database.
244+
If you are upgrading from 6.5, you do not need to dump/reload or initdb.
245+
Simply compile the source code, stop the postmaster, do a "make install", and
246+
restart the postmaster.
247+
248+
If you are upgrading from 6.4.* or earlier, back up your database.
245249
For alpha- and beta-level releases, the database format is liable
246250
to change, often every few weeks, with no notice besides a quick comment
247251
in the HACKERS mailing list. Full releases always require a dump/reload
@@ -271,7 +275,7 @@ from the new distribution:
271275

272276
<ProgramListing>
273277
$ cd
274-
$ gunzip -c postgresql-v6.5.tar.gz \
278+
$ gunzip -c postgresql-v6.5.1.tar.gz \
275279
| tar xvf - src/bin/pg_dump/pg_dumpall
276280
$ chmod a+x src/bin/pg_dump/pg_dumpall
277281
$ src/bin/pg_dump/pg_dumpall > db.out
@@ -414,7 +418,7 @@ $ exit
414418
Unzip and untar the new source file. Type
415419
<ProgramListing>
416420
$ cd /usr/src/pgsql
417-
$ gunzip -c ~/postgresql-v6.5.tar.gz | tar xvf -
421+
$ gunzip -c ~/postgresql-v6.5.1.tar.gz | tar xvf -
418422
</ProgramListing>
419423
</Para>
420424
</Step>
@@ -997,7 +1001,7 @@ For example,
9971001
<listitem>
9981002
<Para>
9991003
For a i686/Linux-ELF platform, no tests failed since this is the
1000-
v6.5 regression testing reference platform.
1004+
v6.5.1 regression testing reference platform.
10011005
</Para>
10021006
</listitem>
10031007

@@ -1111,7 +1115,7 @@ $ rm -rf /usr/src/pgsql_6_5
11111115
$ rm -rf /usr/local/pgsql_6_5
11121116
# Also delete old database directory tree if it is not in
11131117
# /usr/local/pgsql_6_5/data
1114-
$ rm ~/postgresql-v6.5.tar.gz
1118+
$ rm ~/postgresql-v6.5.1.tar.gz
11151119
</ProgramListing>
11161120
</Para>
11171121
</Step>
@@ -1158,7 +1162,7 @@ $ lpr -l -s -r manpage.hp
11581162
<itemizedlist>
11591163
<listitem>
11601164
<para>
1161-
The version of <ProductName>Postgres</ProductName> (v6.5, 6.4.2, beta 981014, etc.).
1165+
The version of <ProductName>Postgres</ProductName> (v6.5.1, 6.5, beta 990318, etc.).
11621166
</para>
11631167
</listitem>
11641168

register.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22

3-
(1999-06-09)
3+
(1999-07-15)
44
PostgreSQL has a Web site at http://www.postgresql.org/ which carries details
55
on the latest release, upcoming features, and other information to make your
66
work or play with PostgreSQL more productive.

src/include/version.h.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* this file contains the interface to version.c.
55
* Also some parameters.
66
*
7-
* $Header: /cvsroot/pgsql/src/include/Attic/version.h.in,v 1.5 1999/02/14 04:56:54 momjian Exp $
7+
* $Header: /cvsroot/pgsql/src/include/Attic/version.h.in,v 1.6 1999/07/10 16:28:01 momjian Exp $
88
*
99
*-------------------------------------------------------------------------
1010
*/
@@ -16,7 +16,7 @@ void SetPgVersion(const char *path, char **reason_p);
1616

1717
#define PG_RELEASE "6"
1818
#define PG_VERSION "5"
19-
#define PG_SUBVERSION "0"
19+
#define PG_SUBVERSION "1"
2020

2121
#define PG_VERFILE "PG_VERSION"
2222

src/interfaces/libpq/libpq.rc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#include <winver.h>
22

33
VS_VERSION_INFO VERSIONINFO
4-
FILEVERSION 6,5,0,0
5-
PRODUCTVERSION 6,5,0,0
4+
FILEVERSION 6,5,1,0
5+
PRODUCTVERSION 6,5,1,0
66
FILEFLAGSMASK 0x3fL
77
FILEFLAGS 0
88
FILEOS VOS__WINDOWS32
@@ -15,13 +15,13 @@ BEGIN
1515
BEGIN
1616
VALUE "CompanyName", "\0"
1717
VALUE "FileDescription", "PostgreSQL Access Library\0"
18-
VALUE "FileVersion", "6, 5, 0, 0\0"
18+
VALUE "FileVersion", "6, 5, 1, 0\0"
1919
VALUE "InternalName", "libpq\0"
2020
VALUE "LegalCopyright", "Copyright (C) 1999\0"
2121
VALUE "LegalTrademarks", "\0"
2222
VALUE "OriginalFilename", "libpq.dll\0"
2323
VALUE "ProductName", "PostgreSQL\0"
24-
VALUE "ProductVersion", "6, 5, 0, 0\0"
24+
VALUE "ProductVersion", "6, 5, 1, 0\0"
2525
END
2626
END
2727
BLOCK "VarFileInfo"

src/tools/RELEASE_CHANGES

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
README
2-
INSTALL
32
HISTORY
43
register.txt
54
doc/Machine-specific FAQ's
6-
doc/TODO
75
doc/bug.template
86
update include/version.h.in after release, including subversion
9-
update backend/parser/scan.c and gram.c so flex/bison not necessary
107
update pgaccess
118
update odbc
129
update doc/src/sgml/release.sgml
10+
update doc/src/sgml/install.sgml
1311
update interfaces/libpq/libpq.rc
1412
update documentation
1513
command-line arg printout from inside the program

0 commit comments

Comments
 (0)