BUG #14551: Simple Table Creation via GUI fails due to missing semi-colon

Started by Nonameabout 9 years ago1 messagesbugs
Jump to latest
#1Noname
gp0072000@gmail.com

The following bug has been logged on the website:

Bug reference: 14551
Logged by: Gareth Parris
Email address: gp0072000@gmail.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.

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs