The following bug has been logged on the website:
Bug reference: 14551
Logged by: Gareth Parris
Email address: gp0072000(at)gmail(dot)com
PostgreSQL version: 9.6.2
Operating system: Windows 10
Description:
Just installed 9.6.2 as a clean install on Windows.
Start up pgAdmin 4.
Create a new database called "test".
Create a new table in that database, called "sample".
Add one column called "name", character(100), not null.
Click save and you get an error message:
ERROR: syntax error at or near "ALTER"
LINE 9: ALTER TABLE public."Test"
^
The SQL tab shows:
CREATE TABLE public."Test"
(
name character varying(100) NOT NULL
)
WITH (
OIDS = FALSE
)
ALTER TABLE public."Test"
OWNER to postgres;
The problem is a missing semi-colon after line 7.