1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-31 22:04:40 +03:00

Change pg_stat_all_tables and sister views to put the recently-added

vacuum/analyze timestamp columns at the end, rather than at a random
spot in the middle as in the original patch.  This was deemed more usable
as well as less likely to break existing application code.  initdb forced
accordingly.  In passing, remove former kluge for initializing
pg_stat_file()'s pg_proc entry --- bootstrap mode was fixed recently
so that this can be done without any hacks, but I overlooked this usage.
This commit is contained in:
Tom Lane
2006-11-24 21:18:42 +00:00
parent 2822c7c0fc
commit 988a87a03a
6 changed files with 23 additions and 42 deletions

View File

@ -9,7 +9,7 @@
* Author: Andreas Pflug <pgadmin@pse-consulting.de>
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/adt/genfile.c,v 1.12 2006/11/06 03:06:41 tgl Exp $
* $PostgreSQL: pgsql/src/backend/utils/adt/genfile.c,v 1.13 2006/11/24 21:18:42 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@ -171,7 +171,7 @@ pg_stat_file(PG_FUNCTION_ARGS)
/*
* This record type had better match the output parameters declared for me
* in pg_proc.h (actually, in system_views.sql at the moment).
* in pg_proc.h.
*/
tupdesc = CreateTemplateTupleDesc(6, false);
TupleDescInitEntry(tupdesc, (AttrNumber) 1,