aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2003-06-24 23:19:11 +0000
committerBruce Momjian <bruce@momjian.us>2003-06-24 23:19:11 +0000
commit7cb4278e82f1fc18530f4ec0b2c5435b88fa7003 (patch)
tree62922712fb066c9c390d5a35352da290ab6ef083
parent46bf65148002f03a4775e6fbb2c4f758184062c5 (diff)
downloadpostgresql-7cb4278e82f1fc18530f4ec0b2c5435b88fa7003.tar.gz
postgresql-7cb4278e82f1fc18530f4ec0b2c5435b88fa7003.zip
Small patch to link to the proper place in the "runtime" file,
and to add the "schemaname" column to the description of the pg_stats view. Greg Sabino Mullane
-rw-r--r--doc/src/sgml/perform.sgml10
-rw-r--r--src/include/storage/s_lock.h6
2 files changed, 11 insertions, 5 deletions
diff --git a/doc/src/sgml/perform.sgml b/doc/src/sgml/perform.sgml
index 326c7e6134a..a839e8f466d 100644
--- a/doc/src/sgml/perform.sgml
+++ b/doc/src/sgml/perform.sgml
@@ -1,5 +1,5 @@
<!--
-$Header: /cvsroot/pgsql/doc/src/sgml/perform.sgml,v 1.28 2003/03/25 16:15:37 petere Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/perform.sgml,v 1.29 2003/06/24 23:19:10 momjian Exp $
-->
<chapter id="performance-tips">
@@ -66,7 +66,7 @@ $Header: /cvsroot/pgsql/doc/src/sgml/perform.sgml,v 1.28 2003/03/25 16:15:37 pet
estimates are converted into disk-page units using some
fairly arbitrary fudge factors. If you want to experiment with these
factors, see the list of run-time configuration parameters in
- <xref linkend="runtime-config">.)
+ <xref linkend="runtime-config-optimizer">.)
</para>
<para>
@@ -436,6 +436,12 @@ SELECT attname, n_distinct, most_common_vals FROM pg_stats WHERE tablename = 'ro
<tbody>
<row>
+ <entry><literal>schemaname</literal></entry>
+ <entry><type>name</type></entry>
+ <entry>Name of the schema containing the table.</entry>
+ </row>
+
+ <row>
<entry><literal>tablename</literal></entry>
<entry><type>name</type></entry>
<entry>Name of the table containing the column.</entry>
diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h
index b26c63029ad..a37ea9b9ae2 100644
--- a/src/include/storage/s_lock.h
+++ b/src/include/storage/s_lock.h
@@ -63,7 +63,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: s_lock.h,v 1.107 2003/06/05 16:07:25 petere Exp $
+ * $Id: s_lock.h,v 1.108 2003/06/24 23:19:11 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -94,7 +94,7 @@
*/
-#if defined(__i386__)
+#if defined(__i386__) || defined(__x86_64__)
#define TAS(lock) tas(lock)
static __inline__ int
@@ -110,7 +110,7 @@ tas(volatile slock_t *lock)
return (int) _res;
}
-#endif /* __i386__ */
+#endif /* __i386__ || __x86_64__ */
#ifdef __ia64__