Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Interfaces Pgadmin Support > Re: 1.8.4 bug D...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 12 Topic 2037 of 2158
Post > Topic >>

Re: 1.8.4 bug DB Restriction field

by guillaume@[EMAIL PROTECTED] (Guillaume Lelarge) Jun 5, 2008 at 10:31 PM

Zach Conrad a écrit :
> DB Restriction field borks on datname IN ('blah') or datname='blah' with
the error: "ERROR:  operator does not exist: name <> boolean LINE 5:  WHERE
datname NOT IN (datname='blah')
> 
> Here's the full query from the logs being sent from pgAdmin:
> SELECT db.oid, datname, db.dattablespace AS spcoid, spcname,
datallowconn, datconfig, datacl, pg_encoding_to_char(encoding) AS
serverencoding, pg_get_userbyid(datdba) AS
datowner,has_database_privilege(db.oid, 'CREATE') as cancreate,
current_setting('default_tablespace') AS default_tablespace FROM
pg_database db LEFT OUTER JOIN pg_tablespace ta ON db.dattablespace=ta.OID
WHERE datname NOT IN (datname='blah')
> 

The DB Restriction field should not contain : datname IN ('blah')

It should contain : 'blah'
or : 'foo','bar'

Regards.


-- 
Guillaume.
  http://www.postgresqlfr.org
  http://dalibo.com

-- 
Sent via pgadmin-sup****t mailing list (pgadmin-sup****t@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-sup****t
 




 12 Posts in Topic:
1.8.4 bug DB Restriction field
zach.conrad@[EMAIL PROTEC  2008-06-05 14:43:44 
Re: 1.8.4 bug DB Restriction field
guillaume@[EMAIL PROTECTE  2008-06-05 22:31:55 
Re: 1.8.4 bug DB Restriction field
zach.conrad@[EMAIL PROTEC  2008-06-05 15:43:18 
Re: 1.8.4 bug DB Restriction field
guillaume@[EMAIL PROTECTE  2008-06-06 16:12:59 
Re: 1.8.4 bug DB Restriction field
dpage@[EMAIL PROTECTED]   2008-06-06 15:14:48 
Re: 1.8.4 bug DB Restriction field
guillaume@[EMAIL PROTECTE  2008-06-06 16:22:12 
Re: 1.8.4 bug DB Restriction field
dpage@[EMAIL PROTECTED]   2008-06-06 15:26:57 
Re: 1.8.4 bug DB Restriction field
zach.conrad@[EMAIL PROTEC  2008-06-06 09:47:44 
Re: 1.8.4 bug DB Restriction field
guillaume@[EMAIL PROTECTE  2008-06-11 10:06:44 
Re: 1.8.4 bug DB Restriction field
dpage@[EMAIL PROTECTED]   2008-06-11 09:10:13 
Re: 1.8.4 bug DB Restriction field
guillaume@[EMAIL PROTECTE  2008-06-12 21:02:05 
Re: 1.8.4 bug DB Restriction field
mshapiro51@[EMAIL PROTECT  2008-06-05 16:46:42 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 17:15:11 CST 2008.