Commit d89b9458 authored by Michael Meskes's avatar Michael Meskes

Imported Upstream version 8.4.0

parent fcfe88ca
2009-07-08 Tom Lane <tgl@redhat.com>
* pg_filedump.c: Update for changes in pg_control contents in
PostgreSQL 8.4.
* pg_filedump.c, .h: Update version and copyright date.
2008-02-08 Tom Lane <tgl@redhat.com>
* pg_filedump.c: Updates for various representation changes in
......
pg_filedump - Display formatted contents of a PostgreSQL heap/index/control
file.
Copyright (c) 2002-2008 Red Hat, Inc.
Copyright (c) 2002-2009 Red Hat, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
......@@ -10,7 +10,7 @@ the Free Software Foundation; either version 2 of the License, or
Author: Patrick Macdonald <patrickm@redhat.com>
Version: 8.3.0
Version: 8.4.0
Overview:
------------------------------------------------------------------------
......@@ -33,6 +33,9 @@ corrupt, you need a method of forcing a block size.
Release Notes / Databases Supported
-----------------------------------------------------------------------
V8.4.0 Must be compiled against a PostgreSQL 8.4 installation.
Supports: PostgreSQL 8.4.x
V8.3.0 Must be compiled against a PostgreSQL 8.3 installation.
Supports: PostgreSQL 8.3.x
......
/*
* pg_filedump.c - PostgreSQL file dump utility for dumping and
* formatting heap (data), index and control files.
* Version 8.3.0 for PostgreSQL 8.3
* Version 8.4.0 for PostgreSQL 8.4
*
* Copyright (c) 2002-2008 Red Hat, Inc. All rights reserved.
* Copyright (c) 2002-2009 Red Hat, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
......@@ -63,7 +63,7 @@ DisplayOptions (unsigned int validOptions)
{
if (validOptions == OPT_RC_COPYRIGHT)
printf
("\nVersion 8.3.0 (PostgreSQL 8.3) Copyright (c) 2002-2008 Red Hat, Inc.\n");
("\nVersion 8.4.0 (PostgreSQL 8.4) Copyright (c) 2002-2009 Red Hat, Inc.\n");
printf
("\nUsage: pg_filedump [-abcdfhixy] [-R startblock [endblock]] [-S blocksize] file\n\n"
......@@ -528,7 +528,7 @@ CreateDumpFileHeader (int numOptions, char **options)
printf
("\n*******************************************************************\n"
"* PostgreSQL File/Block Formatted Dump Utility - Version 8.3.0\n*\n"
"* PostgreSQL File/Block Formatted Dump Utility - Version 8.4.0\n*\n"
"* File: %s\n"
"* Options used: %s\n*\n"
"* Dump created on: %s"
......@@ -1169,10 +1169,7 @@ FormatControl ()
" Maximum Identifier Length: %u\n"
" Maximum Index Keys: %u\n"
" TOAST Chunk Size: %u\n"
" Date and Time Type Storage: %s\n"
" Locale Buffer Length: %u\n"
" lc_collate: %s\n"
" lc_ctype: %s\n\n",
" Date and Time Type Storage: %s\n\n",
EQ_CRC32 (crcLocal,
controlData->crc) ? "Correct" : "Not Correct",
controlData->pg_control_version,
......@@ -1203,10 +1200,7 @@ FormatControl ()
controlData->indexMaxKeys,
controlData->toast_max_chunk_size,
(controlData->enableIntTimes ?
"64 bit Integers" : "Floating Point"),
controlData->localeBuflen,
controlData->lc_collate,
controlData->lc_ctype);
"64 bit Integers" : "Floating Point"));
}
else
{
......
/*
* pg_filedump.h - PostgreSQL file dump utility for dumping and
* formatting heap (data), index and control files.
* Version 8.3.0 for PostgreSQL 8.3
* Version 8.4.0 for PostgreSQL 8.4
*
* Copyright (c) 2002-2008 Red Hat, Inc. All rights reserved.
* Copyright (c) 2002-2009 Red Hat, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment