Postgres pg_catalog

Posts   
 
    
meta-howes
User
Posts: 6
Joined: 14-Nov-2017
# Posted on: 20-Mar-2018 22:21:31   

Any advice on access to these tables and views. Specifically the pg_timezone_names.

It is located here:

Catalogs PostgreSQL Catalog (pg_catalog) Views pg_timezone_names

Would be nice to just include this in with the schema (public)

I am not seeing it in the LLBLGEN IDE, which seems to only include Schema and not Catalog.

Best,

Jon

Attachments
Filename File size Added on Approval
Screen Shot 2018-03-20 at 4.20.56 PM.png 186,894 20-Mar-2018 22:21.50 Approved
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 21-Mar-2018 11:35:54   

We support 1 catalog per database for postgresql, so you can't include multiple catalogs in one project. This is a system catalog btw, not sure what you want to use it for, but you could create a view in your normal schema which does a select on pg_timezone_names and that view will then be visible in the project.

Frans Bouma | Lead developer LLBLGen Pro
meta-howes
User
Posts: 6
Joined: 14-Nov-2017
# Posted on: 21-Mar-2018 18:56:51   

Frans,

Thanks for the response. The view will work just fine. They have a list of all timezones in the pg_timezone_names view that I really wanted access to.

I created a view and it appears to work as designed.

Thanks again,

jon