Re: Error Messages

From: Dinesh Kumar <dinesh(dot)kumar(at)enterprisedb(dot)com>
To: "Hall, Samuel L (Sam)" <sam(dot)hall(at)alcatel-lucent(dot)com>
Cc: "pgadmin-support(at)postgresql(dot)org" <pgadmin-support(at)postgresql(dot)org>
Subject: Re: Error Messages
Date: 2013-08-02 06:49:49
Message-ID: CAKWsr7gzaki9dtmwwVVWzkYGGLOKCX5BuFOc8qJ6V0EJ9_gAhA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.co
<http://www.enterprisedb.com/>m<http://www.enterprisedb.com/>
*
Follow us on Twitter*
@EnterpriseDB

Visit EnterpriseDB for tutorials, webinars,
whitepapers<http://www.enterprisedb.com/resources-community> and
more <http://www.enterprisedb.com/resources-community>

On Thu, Aug 1, 2013 at 8:55 PM, Hall, Samuel L (Sam) <
sam(dot)hall(at)alcatel-lucent(dot)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?****
>

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Matthias Leopold 2013-08-02 16:38:53 slony 1.2.x support?
Previous Message Bill MacArthur 2013-08-01 22:40:18 v 1.16.1 incorrectly displays the properties of a FDW table