dbTalk Databases Forums  

[BUGS] BUG #1654: can't run SQL commands

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] BUG #1654: can't run SQL commands in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Joris
 
Posts: n/a

Default [BUGS] BUG #1654: can't run SQL commands - 05-08-2005 , 09:08 PM







The following bug has been logged online:

Bug reference: 1654
Logged by: Joris
Email address: info (AT) moonbeetle (DOT) com
PostgreSQL version: 8.0.2
Operating system: Windows XP
Description: can't run SQL commands
Details:

Just installed PostgreSQL 8.0.2. as a service on Windows XP Pro, using the
installer version for Windows. Installed it as a service.

I was very surprised that everything went so smooth... until I tried some
basic SQL after creating a tet database and some tables.

pgAdminIII -> connect to server -> cliked on database
-> cliked on the SQL tool buton and typed:

SHOW TABLES; (and pressed the execute button)

ERROR: unrecognized configuration parameter "tables"

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Reply With Quote
  #2  
Old   
Dave Page
 
Posts: n/a

Default Re: [BUGS] BUG #1654: can't run SQL commands - 05-09-2005 , 02:28 AM






=20

Quote:
-----Original Message-----
From: pgsql-bugs-owner (AT) postgresql (DOT) org=20
[mailtogsql-bugs-owner (AT) postgresql (DOT) org] On Behalf Of Joris
Sent: 08 May 2005 19:31
To: pgsql-bugs (AT) postgresql (DOT) org
Subject: [BUGS] BUG #1654: can't run SQL commands
=20
=20
The following bug has been logged online:
=20
Bug reference: 1654
Logged by: Joris
Email address: info (AT) moonbeetle (DOT) com
PostgreSQL version: 8.0.2
Operating system: Windows XP
Description: can't run SQL commands
Details:=20
=20
Just installed PostgreSQL 8.0.2. as a service on Windows XP=20
Pro, using the
installer version for Windows. Installed it as a service.
=20
I was very surprised that everything went so smooth... until=20
I tried some
basic SQL after creating a tet database and some tables.
=20
pgAdminIII -> connect to server -> cliked on database
-> cliked on the SQL tool buton and typed:
=20
SHOW TABLES; (and pressed the execute button)
=20
ERROR: unrecognized configuration parameter "tables"
=20
Hi,

SHOW TABLES is a MySQLism, ie. it is not standard SQL. Try SELECT * FROM
pg_tables; instead.

For info, SHOW is used in PostgreSQL to show the value of runtime
parameters: http://www.postgresql.org/docs/8.0/i.../sql-show.html

Regards, Dave.

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo (AT) postgresql (DOT) org


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.