Re: Error Messages - Mailing list pgadmin-support

From Dinesh Kumar
Subject Re: Error Messages
Date
Msg-id CAKWsr7gzaki9dtmwwVVWzkYGGLOKCX5BuFOc8qJ6V0EJ9_gAhA@mail.gmail.com
Whole thread Raw
In response to Error Messages  ("Hall, Samuel L (Sam)" <sam.hall@alcatel-lucent.com>)
List pgadmin-support
Hi,

The ERROR message what have got is from PG database and it's not from the pgAdmin.

It's an expected result. I believe, EXPLAIN ANALYZE only supports DML/Select queries.


Dinesh

-- 
Dinesh Kumar
Software Engineer

Ph: +918087463317
Skype ID: dinesh.kumar432
www.enterprisedb.com

Follow us on Twitter

@EnterpriseDB 

Visit EnterpriseDB for tutorials, webinars, whitepapers and more


On Thu, Aug 1, 2013 at 8:55 PM, Hall, Samuel L (Sam) <sam.hall@alcatel-lucent.com> wrote:

When I run commands other than SELECT, I get error messages like this from Explain

 

ALTER TABLE sites ALTER COLUMN meters_wgs84 SET NOT NULL;

Query result with 0 rows will be returned.

 

ERROR:  syntax error at or near "ALTER"

LINE 1: ... (ANALYZE off, VERBOSE off, COSTS on, BUFFERS off)ALTER TABL...

                                                        ^

 

********** Error **********

 

ERROR: syntax error at or near "ALTER"

SQL state: 42601

Character: 58

 

The command will execute just fine. Is this normal?


pgadmin-support by date:

Previous
From: Bill MacArthur
Date:
Subject: v 1.16.1 incorrectly displays the properties of a FDW table
Next
From: Matthias Leopold
Date:
Subject: slony 1.2.x support?