mirror of
https://github.com/postgres/postgres.git
synced 2025-05-18 00:02:16 -04:00
doc: Whitespace fixes in man pages
This commit is contained in:
parent
b08df9cab7
commit
f0cfff9da2
@ -179,8 +179,7 @@ ALTER AGGREGATE mypercentile(float8 ORDER BY integer) SET SCHEMA myschema;
|
|||||||
This will work too:
|
This will work too:
|
||||||
<programlisting>
|
<programlisting>
|
||||||
ALTER AGGREGATE mypercentile(float8, integer) SET SCHEMA myschema;
|
ALTER AGGREGATE mypercentile(float8, integer) SET SCHEMA myschema;
|
||||||
</programlisting>
|
</programlisting></para>
|
||||||
</para>
|
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
|
||||||
<refsect1>
|
<refsect1>
|
||||||
|
@ -140,8 +140,7 @@ ALTER PUBLICATION noinsert SET (publish = 'update, delete');
|
|||||||
Add some tables to the publication:
|
Add some tables to the publication:
|
||||||
<programlisting>
|
<programlisting>
|
||||||
ALTER PUBLICATION mypublication ADD TABLE users, departments;
|
ALTER PUBLICATION mypublication ADD TABLE users, departments;
|
||||||
</programlisting>
|
</programlisting></para>
|
||||||
</para>
|
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
|
||||||
<refsect1>
|
<refsect1>
|
||||||
|
@ -204,8 +204,7 @@ ALTER SUBSCRIPTION mysub SET PUBLICATION insert_only;
|
|||||||
Disable (stop) the subscription:
|
Disable (stop) the subscription:
|
||||||
<programlisting>
|
<programlisting>
|
||||||
ALTER SUBSCRIPTION mysub DISABLE;
|
ALTER SUBSCRIPTION mysub DISABLE;
|
||||||
</programlisting>
|
</programlisting></para>
|
||||||
</para>
|
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
|
||||||
<refsect1>
|
<refsect1>
|
||||||
|
@ -119,8 +119,7 @@ ALTER SYSTEM SET wal_level = replica;
|
|||||||
in <filename>postgresql.conf</>:
|
in <filename>postgresql.conf</>:
|
||||||
<programlisting>
|
<programlisting>
|
||||||
ALTER SYSTEM RESET wal_level;
|
ALTER SYSTEM RESET wal_level;
|
||||||
</programlisting>
|
</programlisting></para>
|
||||||
</para>
|
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
|
||||||
<refsect1>
|
<refsect1>
|
||||||
|
@ -356,8 +356,7 @@ ALTER TYPE colors ADD VALUE 'orange' AFTER 'red';
|
|||||||
To rename an enum value:
|
To rename an enum value:
|
||||||
<programlisting>
|
<programlisting>
|
||||||
ALTER TYPE colors RENAME VALUE 'purple' TO 'mauve';
|
ALTER TYPE colors RENAME VALUE 'purple' TO 'mauve';
|
||||||
</programlisting>
|
</programlisting></para>
|
||||||
</para>
|
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
|
||||||
<refsect1>
|
<refsect1>
|
||||||
|
@ -93,8 +93,7 @@ CREATE ACCESS METHOD <replaceable class="parameter">name</replaceable>
|
|||||||
handler function <literal>heptree_handler</>:
|
handler function <literal>heptree_handler</>:
|
||||||
<programlisting>
|
<programlisting>
|
||||||
CREATE ACCESS METHOD heptree TYPE INDEX HANDLER heptree_handler;
|
CREATE ACCESS METHOD heptree TYPE INDEX HANDLER heptree_handler;
|
||||||
</programlisting>
|
</programlisting></para>
|
||||||
</para>
|
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
|
||||||
<refsect1>
|
<refsect1>
|
||||||
|
@ -191,8 +191,7 @@ CREATE PUBLICATION alltables FOR ALL TABLES;
|
|||||||
<programlisting>
|
<programlisting>
|
||||||
CREATE PUBLICATION insert_only FOR TABLE mydata
|
CREATE PUBLICATION insert_only FOR TABLE mydata
|
||||||
WITH (publish = 'insert');
|
WITH (publish = 'insert');
|
||||||
</programlisting>
|
</programlisting></para>
|
||||||
</para>
|
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
|
||||||
<refsect1>
|
<refsect1>
|
||||||
|
@ -265,8 +265,7 @@ CREATE SUBSCRIPTION mysub
|
|||||||
CONNECTION 'host=192.168.1.50 port=5432 user=foo dbname=foodb'
|
CONNECTION 'host=192.168.1.50 port=5432 user=foo dbname=foodb'
|
||||||
PUBLICATION insert_only
|
PUBLICATION insert_only
|
||||||
WITH (enabled = false);
|
WITH (enabled = false);
|
||||||
</programlisting>
|
</programlisting></para>
|
||||||
</para>
|
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
|
||||||
<refsect1>
|
<refsect1>
|
||||||
|
@ -160,8 +160,7 @@ DROP AGGREGATE myrank(VARIADIC "any" ORDER BY VARIADIC "any");
|
|||||||
To remove multiple aggregate functions in one command:
|
To remove multiple aggregate functions in one command:
|
||||||
<programlisting>
|
<programlisting>
|
||||||
DROP AGGREGATE myavg(integer), myavg(bigint);
|
DROP AGGREGATE myavg(integer), myavg(bigint);
|
||||||
</programlisting>
|
</programlisting></para>
|
||||||
</para>
|
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
|
||||||
<refsect1>
|
<refsect1>
|
||||||
|
@ -96,8 +96,7 @@ DROP POLICY [ IF EXISTS ] <replaceable class="parameter">name</replaceable> ON <
|
|||||||
|
|
||||||
<programlisting>
|
<programlisting>
|
||||||
DROP POLICY p1 ON my_table;
|
DROP POLICY p1 ON my_table;
|
||||||
</programlisting>
|
</programlisting></para>
|
||||||
</para>
|
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
|
||||||
<refsect1>
|
<refsect1>
|
||||||
|
@ -82,9 +82,7 @@ DROP PUBLICATION [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
|
|||||||
Drop a publication:
|
Drop a publication:
|
||||||
<programlisting>
|
<programlisting>
|
||||||
DROP PUBLICATION mypublication;
|
DROP PUBLICATION mypublication;
|
||||||
</programlisting>
|
</programlisting></para>
|
||||||
</para>
|
|
||||||
|
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
|
||||||
<refsect1>
|
<refsect1>
|
||||||
|
@ -73,9 +73,7 @@ DROP STATISTICS [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
|
|||||||
DROP STATISTICS IF EXISTS
|
DROP STATISTICS IF EXISTS
|
||||||
accounting.users_uid_creation,
|
accounting.users_uid_creation,
|
||||||
public.grants_user_role;
|
public.grants_user_role;
|
||||||
</programlisting>
|
</programlisting></para>
|
||||||
</para>
|
|
||||||
|
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
|
||||||
<refsect1>
|
<refsect1>
|
||||||
|
@ -102,9 +102,7 @@ DROP SUBSCRIPTION [ IF EXISTS ] <replaceable class="parameter">name</replaceable
|
|||||||
Drop a subscription:
|
Drop a subscription:
|
||||||
<programlisting>
|
<programlisting>
|
||||||
DROP SUBSCRIPTION mysub;
|
DROP SUBSCRIPTION mysub;
|
||||||
</programlisting>
|
</programlisting></para>
|
||||||
</para>
|
|
||||||
|
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
|
||||||
<refsect1>
|
<refsect1>
|
||||||
|
@ -141,9 +141,7 @@ IMPORT FOREIGN SCHEMA foreign_films
|
|||||||
<programlisting>
|
<programlisting>
|
||||||
IMPORT FOREIGN SCHEMA foreign_films LIMIT TO (actors, directors)
|
IMPORT FOREIGN SCHEMA foreign_films LIMIT TO (actors, directors)
|
||||||
FROM SERVER film_server INTO films;
|
FROM SERVER film_server INTO films;
|
||||||
</programlisting>
|
</programlisting></para>
|
||||||
</para>
|
|
||||||
|
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
|
||||||
<refsect1 id="SQL-IMPORTFOREIGNSCHEMA-compatibility">
|
<refsect1 id="SQL-IMPORTFOREIGNSCHEMA-compatibility">
|
||||||
|
@ -725,8 +725,7 @@ INSERT INTO distributors (did, dname) VALUES (9, 'Antwerp Design')
|
|||||||
-- just use a regular unique constraint on "did"
|
-- just use a regular unique constraint on "did"
|
||||||
INSERT INTO distributors (did, dname) VALUES (10, 'Conrad International')
|
INSERT INTO distributors (did, dname) VALUES (10, 'Conrad International')
|
||||||
ON CONFLICT (did) WHERE is_active DO NOTHING;
|
ON CONFLICT (did) WHERE is_active DO NOTHING;
|
||||||
</programlisting>
|
</programlisting></para>
|
||||||
</para>
|
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
|
||||||
<refsect1>
|
<refsect1>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user