[BUGS] BUG #14551: Simple Table Creation via GUI fails due to missingsemi-colon - Mailing list pgsql-bugs

From gp0072000@gmail.com
Subject [BUGS] BUG #14551: Simple Table Creation via GUI fails due to missingsemi-colon
Date
Msg-id 20170217175351.6098.73954@wrigleys.postgresql.org
Whole thread Raw
List pgsql-bugs
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

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: [BUGS] BUG #14549: pl/pgsql parser
Next
From: Linas Vepstas
Date:
Subject: Re: [BUGS] BUG #14494: Regression - Null arrays are not queryable