1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-07 00:36:50 +03:00

Change pg_attribute.attnvals to float4, change #ifdef 0 to #if 0, fix aix call to strNcpy, fix pg_super_user_id in pg_dumpall, change pg_database.dtadba from oid to int4.

This commit is contained in:
Bruce Momjian
1997-08-21 02:28:55 +00:00
parent ac3d7b3146
commit f1edf02cc1
9 changed files with 52 additions and 53 deletions

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.39 1997/08/18 20:52:21 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.40 1997/08/21 02:27:58 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -1814,7 +1814,7 @@ vc_updstats(Oid relid, int npages, int ntups, bool hasindex, VRelStats *vacrelst
}
if (selratio > 1.0)
selratio = 1.0;
attp->attnvals = (selratio ? (selratio * ATTNVALS_SCALE) : 0);
attp->attnvals = selratio;
WriteNoReleaseBuffer(abuf);
/* DO PG_STATISTIC INSERTS */