mirror of https://github.com/postgres/postgres
uint -> uint32, portability.
This commit is contained in:
parent
90edb265e3
commit
a8a1f15877
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- #
|
||||
# Package : reindexdb Version : $Revision: 1.1 $
|
||||
# Package : reindexdb Version : $Revision: 1.2 $
|
||||
# Date : 05/08/2002 Author : Shaun Thomas
|
||||
# Req : psql, sh, perl, sed Type : Utility
|
||||
#
|
||||
|
@ -10,7 +10,7 @@
|
|||
# Function Definitions
|
||||
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- #
|
||||
|
||||
function usage()
|
||||
usage()
|
||||
{
|
||||
echo "$CMDNAME reindexes a PostgreSQL database."
|
||||
echo
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<!--
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/maintenance.sgml,v 1.14 2002/06/13 05:15:22 momjian Exp $
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/maintenance.sgml,v 1.15 2002/06/22 04:08:07 momjian Exp $
|
||||
-->
|
||||
|
||||
<chapter id="maintenance">
|
||||
|
@ -367,6 +367,25 @@ VACUUM
|
|||
</sect1>
|
||||
|
||||
|
||||
<sect1 id="routine-reindex">
|
||||
<title>Routine Reindexing</title>
|
||||
|
||||
<indexterm zone="routine-reindex">
|
||||
<primary>reindex</primary>
|
||||
</indexterm>
|
||||
|
||||
<para>
|
||||
<productname>PostgreSQL</productname> is unable to reuse index pages
|
||||
in some cases. The problem is that if indexed rows are deleted, those
|
||||
indexes pages can only be reused by rows with similar values. In
|
||||
cases where low indexed rows are deleted and newly inserted rows have
|
||||
high values, disk space used by the index will grow indefinately, even
|
||||
if <command>VACUUM</> is run frequently.
|
||||
TO BE COMPLETED 2002-06-22 bjm
|
||||
</para>
|
||||
</sect1>
|
||||
|
||||
|
||||
<sect1 id="logfile-maintenance">
|
||||
<title>Log File Maintenance</title>
|
||||
|
||||
|
|
|
@ -66,10 +66,10 @@ typedef struct
|
|||
typedef struct
|
||||
{
|
||||
/* Number of times we've been called before */
|
||||
uint call_cntr;
|
||||
uint32 call_cntr;
|
||||
|
||||
/* Maximum number of calls */
|
||||
uint max_calls;
|
||||
uint32 max_calls;
|
||||
|
||||
/* pointer to result slot */
|
||||
TupleTableSlot *slot;
|
||||
|
|
Loading…
Reference in New Issue