Re: Database issues when adding GUI

Поиск
Список
Период
Сортировка
От Rich Shepard
Тема Re: Database issues when adding GUI
Дата
Msg-id alpine.LNX.2.20.2106070828070.1822@salmo.appl-ecosys.com
обсуждение исходный текст
Ответ на Re: Database issues when adding GUI  (Rob Sargent <robjsargent@gmail.com>)
Ответы Re: Database issues when adding GUI  (Rob Sargent <robjsargent@gmail.com>)
Список pgsql-general
On Mon, 7 Jun 2021, Rob Sargent wrote:

> This looks like a permissions problem, as though you are connecting as a
> role/user without permission to select from the tables.

Rob,

I'm a trusted user for all my databases as I'm the only one using them.

bustrac=# \d
                     List of relations
  Schema |           Name            |   Type   |  Owner 
--------+---------------------------+----------+----------
  public | activities                | table    | rshepard
  public | activitytypes             | table    | rshepard
  public | industrytypes             | table    | rshepard
  public | locations                 | table    | rshepard
  public | organizations             | table    | rshepard
  public | organizations_org_nbr_seq | sequence | rshepard
  public | people                    | table    | rshepard
  public | people_person_nbr_seq     | sequence | rshepard
  public | projects                  | table    | rshepard
  public | statustypes               | table    | rshepard
(10 rows)

> Are these tables in a schema other than public.

Nope.

> can you show a psql session which accesses these tables, including
> connection string?

Not sure about the 'connection string' part but:
bustrac=# select * from activitytypes;
   act_name 
------------
  Phone
  Email
  Fax
  Meeting
  Conference
  Referral
  Called me
  Other
(8 rows)

Did I answer your questions?

Rich



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

Предыдущее
От: Philip Semanchuk
Дата:
Сообщение: Re: Database issues when adding GUI
Следующее
От: Rich Shepard
Дата:
Сообщение: Re: Database issues when adding GUI