Re: 1.8.4 bug DB Restriction field

Поиск
Список
Период
Сортировка
От Guillaume Lelarge
Тема Re: 1.8.4 bug DB Restriction field
Дата
Msg-id 48484D3B.7040400@lelarge.info
обсуждение исходный текст
Ответ на 1.8.4 bug DB Restriction field  (Zach Conrad <zach.conrad@digitecinc.com>)
Ответы Re: 1.8.4 bug DB Restriction field  (Zach Conrad <zach.conrad@digitecinc.com>)
Список pgadmin-support
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_tablespaceta 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


В списке pgadmin-support по дате отправления:

Предыдущее
От: Zach Conrad
Дата:
Сообщение: 1.8.4 bug DB Restriction field
Следующее
От: Zach Conrad
Дата:
Сообщение: Re: 1.8.4 bug DB Restriction field