[DOCS] Removal of pre-7.4 documentation items

2010-02-22 Thread Bruce Momjian
With us supporting only PG >=8.0, I think we can remove some mentions of
pre-7.4 releases.  The attached patch show my proposed removals.

-- 
  Bruce Momjian  http://momjian.us
  EnterpriseDB http://enterprisedb.com
  PG East:  http://www.enterprisedb.com/community/nav-pg-east-2010.do
  + If your life is a hard drive, Christ can be your backup. +
Index: doc/src/sgml/datatype.sgml
===
RCS file: /cvsroot/pgsql/doc/src/sgml/datatype.sgml,v
retrieving revision 1.242
diff -c -c -r1.242 datatype.sgml
*** doc/src/sgml/datatype.sgml	17 Feb 2010 04:19:37 -	1.242
--- doc/src/sgml/datatype.sgml	23 Feb 2010 00:16:14 -
***
*** 715,725 
  
  
   
!   Prior to PostgreSQL 7.4, the precision in
!   float(p) was taken to mean
!   so many decimal digits.  This has been corrected to match the SQL
!   standard, which specifies that the precision is measured in binary
!   digits.  The assumption that real and
double precision have exactly 24 and 53 bits in the
mantissa respectively is correct for IEEE-standard floating point
implementations.  On non-IEEE platforms it might be off a little, but
--- 715,721 
  
  
   
!   The assumption that real and
double precision have exactly 24 and 53 bits in the
mantissa respectively is correct for IEEE-standard floating point
implementations.  On non-IEEE platforms it might be off a little, but
***
*** 795,805 
  
  
   
!   Prior to PostgreSQL 7.3, serial
!   implied UNIQUE.  This is no longer automatic.  If
!   you wish a serial column to have a unique constraint or be a
!   primary key, it must now be specified, just like
!   any other data type.
   
  
  
--- 791,799 
  
  
   
!   If you wish a serial column to have a unique constraint or be
!   a primary key, it must be specified, just like any other data
!   type.
   
  
  
***
*** 1521,1534 
   
  
  
-
- 
-  Prior to PostgreSQL 7.3, writing just
-  timestamp was equivalent to timestamp with
-  time zone.  This was changed for SQL compliance.
- 
-
- 
 
  time, timestamp, and
  interval accept an optional precision value
--- 1515,1520 
Index: doc/src/sgml/ddl.sgml
===
RCS file: /cvsroot/pgsql/doc/src/sgml/ddl.sgml,v
retrieving revision 1.88
diff -c -c -r1.88 ddl.sgml
*** doc/src/sgml/ddl.sgml	23 Oct 2009 05:24:52 -	1.88
--- doc/src/sgml/ddl.sgml	23 Feb 2010 00:16:14 -
***
*** 1795,1812 
 
  
 
! In PostgreSQL versions before 7.3,
! table names beginning with pg_ were reserved.  This is
! no longer true: you can create such a table name if you wish, in
! any non-system schema.  However, it's best to continue to avoid
! such names, to ensure that you won't suffer a conflict if some
! future version defines a system table named the same as your
! table.  (With the default search path, an unqualified reference to
! your table name would then be resolved as the system table instead.)
! System tables will continue to follow the convention of having
! names beginning with pg_, so that they will not
! conflict with unqualified user-table names so long as users avoid
! the pg_ prefix.
 

  
--- 1795,1806 
 
  
 
! It is best to avoid table names beginning with pg_
! because they might someday conflict with system catalogs of the
! same name.  (PostgreSQL system catalog
! table names always start with pg_).  Of course, table
! names can always be schema-qualified to avoid conflicting with
! system catalog table names.
 

  
***
*** 3040,3054 
 

  
-   
-
- Foreign key constraint dependencies and serial column dependencies
- from PostgreSQL versions prior to 7.3
- are not maintained or created during the
- upgrade process.  All other dependency types will be properly
- created during an upgrade from a pre-7.3 database.
-
-   
   
  
  
--- 3034,3039 
Index: doc/src/sgml/libpq.sgml
===
RCS file: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v
retrieving revision 1.300
diff -c -c -r1.300 libpq.sgml
*** doc/src/sgml/libpq.sgml	17 Feb 2010 04:19:37 -	1.300
--- doc/src/sgml/libpq.sgml	23 Feb 2010 00:16:14 -
***
*** 1203,1216 
 has been sent to the server and not yet completed.

  
-   
-
- PQtransactionStatus will give incorrect results when using
- a PostgreSQL 7.3 server that has the parameter autocommit
- set to off.  The server-side autocommit feature has been
- deprecated and does not exist in l

Re: [DOCS] pg_restore listing

2010-02-22 Thread Bruce Momjian

Agreed, patch attached and applied.  Thanks.

---

Pavel Golub wrote:
> Hello, pgsql-docs.
> 
> I think it would be nice to update the listing file example (and
> explanation of listing) at
> http://www.postgresql.org/docs/8.4/static/app-pgrestore.html
> 
> Now it looks like:
> 
> ;
> ; Archive created at Fri Jul 28 22:28:36 2000
> ; dbname: mydb
> ; TOC Entries: 74
> ; Compression: 0
> ; Dump Version: 1.4-0
> ; Format: CUSTOM
> ;
> ;
> ; Selected TOC Entries:
> ;
> 2; 145344 TABLE species postgres
> 3; 145344 ACL species
> ...
> 
> 
> But modern utilities output looks a bit different:
> 
> ;
> ; Archive created at Mon Sep 14 13:55:39 2009
> ; dbname: DBDEMOS
> ; TOC Entries: 81
> ; Compression: 9
> ; Dump Version: 1.10-0
> ; Format: CUSTOM
> ; Integer: 4 bytes
> ; Offset: 8 bytes
> ; Dumped from database version: 8.3.5
> ; Dumped by pg_dump version: 8.3.8
> ;
> ;
> ; Selected TOC Entries:
> ;
> 3; 2615 2200 SCHEMA - public pasha
> 1861; 0 0 COMMENT - SCHEMA public pasha
> 1862; 0 0 ACL - public pasha
> 317; 1247 17715 TYPE public composite pasha
> 319; 1247 25899 DOMAIN public domain0 pasha
> 
> 
> -- 
> With best wishes,
>  Pavel  mailto:[email protected]
> 
> 
> -- 
> Sent via pgsql-docs mailing list ([email protected])
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-docs

-- 
  Bruce Momjian  http://momjian.us
  EnterpriseDB http://enterprisedb.com
  PG East:  http://www.enterprisedb.com/community/nav-pg-east-2010.do
  + If your life is a hard drive, Christ can be your backup. +
Index: doc/src/sgml/ref/pg_restore.sgml
===
RCS file: /cvsroot/pgsql/doc/src/sgml/ref/pg_restore.sgml,v
retrieving revision 1.84
diff -c -c -r1.84 pg_restore.sgml
*** doc/src/sgml/ref/pg_restore.sgml	19 Feb 2010 14:36:45 -	1.84
--- doc/src/sgml/ref/pg_restore.sgml	23 Feb 2010 00:20:17 -
***
*** 759,786 
 The listing file consists of a header and one line for each item, e.g.:
  
  ;
! ; Archive created at Fri Jul 28 22:28:36 2000
! ; dbname: mydb
! ; TOC Entries: 74
! ; Compression: 0
! ; Dump Version: 1.4-0
  ; Format: CUSTOM
  ;
  ;
  ; Selected TOC Entries:
  ;
! 2; 145344 TABLE species postgres
! 3; 145344 ACL species
! 4; 145359 TABLE nt_header postgres
! 5; 145359 ACL nt_header
! 6; 145402 TABLE species_records postgres
! 7; 145402 ACL species_records
! 8; 145416 TABLE ss_old postgres
! 9; 145416 ACL ss_old
! 10; 145433 TABLE map_resolutions postgres
! 11; 145433 ACL map_resolutions
! 12; 145443 TABLE hs_old postgres
! 13; 145443 ACL hs_old
  
 Semicolons start a comment, and the numbers at the start of lines refer to the
 internal archive ID assigned to each item.
--- 759,783 
 The listing file consists of a header and one line for each item, e.g.:
  
  ;
! ; Archive created at Mon Sep 14 13:55:39 2009
! ; dbname: DBDEMOS
! ; TOC Entries: 81
! ; Compression: 9
! ; Dump Version: 1.10-0
  ; Format: CUSTOM
+ ; Integer: 4 bytes
+ ; Offset: 8 bytes
+ ; Dumped from database version: 8.3.5
+ ; Dumped by pg_dump version: 8.3.8
  ;
  ;
  ; Selected TOC Entries:
  ;
! 3; 2615 2200 SCHEMA - public pasha
! 1861; 0 0 COMMENT - SCHEMA public pasha
! 1862; 0 0 ACL - public pasha
! 317; 1247 17715 TYPE public composite pasha
! 319; 1247 25899 DOMAIN public domain0 pasha
  
 Semicolons start a comment, and the numbers at the start of lines refer to the
 internal archive ID assigned to each item.

-- 
Sent via pgsql-docs mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs