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:
|
||||
<programlisting>
|
||||
ALTER AGGREGATE mypercentile(float8, integer) SET SCHEMA myschema;
|
||||
</programlisting>
|
||||
</para>
|
||||
</programlisting></para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
|
@ -140,8 +140,7 @@ ALTER PUBLICATION noinsert SET (publish = 'update, delete');
|
||||
Add some tables to the publication:
|
||||
<programlisting>
|
||||
ALTER PUBLICATION mypublication ADD TABLE users, departments;
|
||||
</programlisting>
|
||||
</para>
|
||||
</programlisting></para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
|
@ -204,8 +204,7 @@ ALTER SUBSCRIPTION mysub SET PUBLICATION insert_only;
|
||||
Disable (stop) the subscription:
|
||||
<programlisting>
|
||||
ALTER SUBSCRIPTION mysub DISABLE;
|
||||
</programlisting>
|
||||
</para>
|
||||
</programlisting></para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
|
@ -119,8 +119,7 @@ ALTER SYSTEM SET wal_level = replica;
|
||||
in <filename>postgresql.conf</>:
|
||||
<programlisting>
|
||||
ALTER SYSTEM RESET wal_level;
|
||||
</programlisting>
|
||||
</para>
|
||||
</programlisting></para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
|
@ -356,8 +356,7 @@ ALTER TYPE colors ADD VALUE 'orange' AFTER 'red';
|
||||
To rename an enum value:
|
||||
<programlisting>
|
||||
ALTER TYPE colors RENAME VALUE 'purple' TO 'mauve';
|
||||
</programlisting>
|
||||
</para>
|
||||
</programlisting></para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
|
@ -93,8 +93,7 @@ CREATE ACCESS METHOD <replaceable class="parameter">name</replaceable>
|
||||
handler function <literal>heptree_handler</>:
|
||||
<programlisting>
|
||||
CREATE ACCESS METHOD heptree TYPE INDEX HANDLER heptree_handler;
|
||||
</programlisting>
|
||||
</para>
|
||||
</programlisting></para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
|
@ -191,8 +191,7 @@ CREATE PUBLICATION alltables FOR ALL TABLES;
|
||||
<programlisting>
|
||||
CREATE PUBLICATION insert_only FOR TABLE mydata
|
||||
WITH (publish = 'insert');
|
||||
</programlisting>
|
||||
</para>
|
||||
</programlisting></para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
|
@ -265,8 +265,7 @@ CREATE SUBSCRIPTION mysub
|
||||
CONNECTION 'host=192.168.1.50 port=5432 user=foo dbname=foodb'
|
||||
PUBLICATION insert_only
|
||||
WITH (enabled = false);
|
||||
</programlisting>
|
||||
</para>
|
||||
</programlisting></para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
|
@ -160,8 +160,7 @@ DROP AGGREGATE myrank(VARIADIC "any" ORDER BY VARIADIC "any");
|
||||
To remove multiple aggregate functions in one command:
|
||||
<programlisting>
|
||||
DROP AGGREGATE myavg(integer), myavg(bigint);
|
||||
</programlisting>
|
||||
</para>
|
||||
</programlisting></para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
|
@ -96,8 +96,7 @@ DROP POLICY [ IF EXISTS ] <replaceable class="parameter">name</replaceable> ON <
|
||||
|
||||
<programlisting>
|
||||
DROP POLICY p1 ON my_table;
|
||||
</programlisting>
|
||||
</para>
|
||||
</programlisting></para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
|
@ -82,9 +82,7 @@ DROP PUBLICATION [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
|
||||
Drop a publication:
|
||||
<programlisting>
|
||||
DROP PUBLICATION mypublication;
|
||||
</programlisting>
|
||||
</para>
|
||||
|
||||
</programlisting></para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
|
@ -73,9 +73,7 @@ DROP STATISTICS [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
|
||||
DROP STATISTICS IF EXISTS
|
||||
accounting.users_uid_creation,
|
||||
public.grants_user_role;
|
||||
</programlisting>
|
||||
</para>
|
||||
|
||||
</programlisting></para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
|
@ -102,9 +102,7 @@ DROP SUBSCRIPTION [ IF EXISTS ] <replaceable class="parameter">name</replaceable
|
||||
Drop a subscription:
|
||||
<programlisting>
|
||||
DROP SUBSCRIPTION mysub;
|
||||
</programlisting>
|
||||
</para>
|
||||
|
||||
</programlisting></para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
|
@ -141,9 +141,7 @@ IMPORT FOREIGN SCHEMA foreign_films
|
||||
<programlisting>
|
||||
IMPORT FOREIGN SCHEMA foreign_films LIMIT TO (actors, directors)
|
||||
FROM SERVER film_server INTO films;
|
||||
</programlisting>
|
||||
</para>
|
||||
|
||||
</programlisting></para>
|
||||
</refsect1>
|
||||
|
||||
<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"
|
||||
INSERT INTO distributors (did, dname) VALUES (10, 'Conrad International')
|
||||
ON CONFLICT (did) WHERE is_active DO NOTHING;
|
||||
</programlisting>
|
||||
</para>
|
||||
</programlisting></para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
|
Loading…
x
Reference in New Issue
Block a user