If I use pg_dump to get the schema from my database, I get separate sections for things like keys, constraints etc., like this:
CREATE TABLE public.account (
id uuid NOT NULL,
db_version bigint,
email_address character varying(255) NOT NULL,
full_name character varying(255) NOT NULL
);
....and then later....
ALTER TABLE ONLY public.account
ADD CONSTRAINT account_pkey PRIMARY KEY (id);
This makes the entire dump incredibly verbose. How can I condense the dump so that it puts everything in the create table section?