mirror of
https://github.com/postgres/postgres.git
synced 2025-04-29 13:56:47 +03:00
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
This commit is contained in:
parent
46bf651480
commit
7cb4278e82
@ -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">
|
<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
|
estimates are converted into disk-page units using some
|
||||||
fairly arbitrary fudge factors. If you want to experiment with these
|
fairly arbitrary fudge factors. If you want to experiment with these
|
||||||
factors, see the list of run-time configuration parameters in
|
factors, see the list of run-time configuration parameters in
|
||||||
<xref linkend="runtime-config">.)
|
<xref linkend="runtime-config-optimizer">.)
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
@ -435,6 +435,12 @@ SELECT attname, n_distinct, most_common_vals FROM pg_stats WHERE tablename = 'ro
|
|||||||
</thead>
|
</thead>
|
||||||
|
|
||||||
<tbody>
|
<tbody>
|
||||||
|
<row>
|
||||||
|
<entry><literal>schemaname</literal></entry>
|
||||||
|
<entry><type>name</type></entry>
|
||||||
|
<entry>Name of the schema containing the table.</entry>
|
||||||
|
</row>
|
||||||
|
|
||||||
<row>
|
<row>
|
||||||
<entry><literal>tablename</literal></entry>
|
<entry><literal>tablename</literal></entry>
|
||||||
<entry><type>name</type></entry>
|
<entry><type>name</type></entry>
|
||||||
|
@ -63,7 +63,7 @@
|
|||||||
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
|
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
|
||||||
* Portions Copyright (c) 1994, Regents of the University of California
|
* 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)
|
#define TAS(lock) tas(lock)
|
||||||
|
|
||||||
static __inline__ int
|
static __inline__ int
|
||||||
@ -110,7 +110,7 @@ tas(volatile slock_t *lock)
|
|||||||
return (int) _res;
|
return (int) _res;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* __i386__ */
|
#endif /* __i386__ || __x86_64__ */
|
||||||
|
|
||||||
|
|
||||||
#ifdef __ia64__
|
#ifdef __ia64__
|
||||||
|
Loading…
x
Reference in New Issue
Block a user