1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-31 17:02:12 +03:00

Silence compiler warning on an unused variable

Also, tweak wording in comments (per Andres) and documentation (myself)
to point out that it's the database's default tablespace that can be
passed as 0, not DEFAULTTABLESPACE_OID.  Robert Haas noticed the bug in
the code, but didn't update the accompanying prose.
This commit is contained in:
Alvaro Herrera
2013-07-22 13:15:13 -04:00
parent f01d1ae3a1
commit 0aeb5ae204
3 changed files with 7 additions and 6 deletions

View File

@@ -15814,8 +15814,8 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup());
<para>
<function>pg_filenode_relation</> is the reverse of
<function>pg_relation_filenode</>. Given a <quote>tablespace</> OID and
a <quote>filenode</> it returns the associated relation. The default
tablespace can be specified as 0.
a <quote>filenode</>, it returns the associated relation's OID. For a table
in the database's default tablespace, the tablespace can be specified as 0.
</para>
</sect2>