mirror of
https://github.com/postgres/postgres.git
synced 2025-05-05 09:19:17 +03:00
Make 'on' uppercase in a sql example.
This commit is contained in:
parent
5c2a7c6e97
commit
69039ea8b5
@ -982,7 +982,7 @@ ALTER TABLE myschema.distributors SET SCHEMA yourschema;
|
|||||||
To recreate a primary key constraint, without blocking updates while the
|
To recreate a primary key constraint, without blocking updates while the
|
||||||
index is rebuilt:
|
index is rebuilt:
|
||||||
<programlisting>
|
<programlisting>
|
||||||
CREATE UNIQUE INDEX CONCURRENTLY dist_id_temp_idx on distributors (dist_id);
|
CREATE UNIQUE INDEX CONCURRENTLY dist_id_temp_idx ON distributors (dist_id);
|
||||||
ALTER TABLE distributors DROP CONSTRAINT distributors_pkey,
|
ALTER TABLE distributors DROP CONSTRAINT distributors_pkey,
|
||||||
ADD CONSTRAINT distributors_pkey PRIMARY KEY USING INDEX dist_id_temp_idx;
|
ADD CONSTRAINT distributors_pkey PRIMARY KEY USING INDEX dist_id_temp_idx;
|
||||||
</programlisting>
|
</programlisting>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user