without static. Per testing with a compiler that complains about this.
index 7584dc3906053cabefedce3e72437b14844296c8..a5388678d6c6606d54463dcd3bd04945d9202d4d 100644 (file)
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/postmaster/autovacuum.c,v 1.98 2009年06月11日 14:49:00 momjian Exp $
+ * $PostgreSQL: pgsql/src/backend/postmaster/autovacuum.c,v 1.99 2009年06月12日 16:17:29 tgl Exp $
*
*-------------------------------------------------------------------------
*/
* Given a relation's pg_class tuple, return the AutoVacOpts portion of
* reloptions, if set; otherwise, return NULL.
*/
-AutoVacOpts *
+static AutoVacOpts *
extract_autovac_opts(HeapTuple tup, TupleDesc pg_class_desc)
{
bytea *relopts;
index eb4ca76c510c344c9d6e666ac1c0379e6a4ba183..d5236cae42b1588aba70514a8bdea31e1f5cc82d 100644 (file)
*
* Copyright (c) 2000-2009, PostgreSQL Global Development Group
*
- * $PostgreSQL: pgsql/src/bin/psql/describe.c,v 1.216 2009年06月11日 14:49:08 momjian Exp $
+ * $PostgreSQL: pgsql/src/bin/psql/describe.c,v 1.217 2009年06月12日 16:17:29 tgl Exp $
*/
#include "postgres_fe.h"
@@ -2073,7 +2073,7 @@ describeRoles(const char *pattern, bool verbose)
return true;
}
-void
+static void
add_role_attribute(PQExpBuffer buf, const char *const str)
{
if (buf->len > 0)
index 397aae881a839cca326ba4b191c35a9bebc76630..4260143c4474e6e936549f78ec58d8126a5372a4 100644 (file)
*
* Copyright (c) 2000-2009, PostgreSQL Global Development Group
*
- * $PostgreSQL: pgsql/src/bin/psql/print.c,v 1.115 2009年06月11日 14:49:08 momjian Exp $
+ * $PostgreSQL: pgsql/src/bin/psql/print.c,v 1.116 2009年06月12日 16:17:29 tgl Exp $
*/
#include "postgres_fe.h"
@@ -2170,7 +2170,7 @@ printTableCleanup(printTableContent *const content)
*
* Setup pager if required
*/
-void
+static void
IsPagerNeeded(const printTableContent *cont, const int extra_lines, FILE **fout,
bool *is_pager)
{