PostgreSQL database not available through Navicat - database

I'm new to Postgres, not to SQL. I generally use Navicat to connect to my databases, so I've set up a connection to a remote Postgres DB the same way I normally would. I'm able to:
Connect successfully
List databases
When I click on the database with my tables, however, it expands the database but doesn't show anything. No tables.
I saw the other question here, where a user was trying to get into 'template0' and 'template1': Some PostgreSQL databases not visible through clients like Navicat or pgAdmin
I'm not trying to get into these, but into a custom DB full of tables. I've verified that both my web app, and phpPgAdmin can both access all the tables and data, so the issue seems to lie with Navicat.
I read some instructions about how these tables might be 'system items', and went into the Navicat preferences and checked the box that says 'Show system items (PostgreSQL, SQL Server)' to no avail.
One thing I also tried, as I'm using Navicat Premium, is to install the Navicat PostgreSQL version instead. This also yields exactly the same results, I can see my database but none of the tables.
What's going on here?
EDIT
With some great help from Vao Tsun, we determined that this is PostgreSQL 7.2.4 and that it is not supported by Navicat.

https://www.navicat.com/products/navicat-for-postgresql:
Navicat for PostgreSQL connects you to any local/remote PostgreSQL
database servers from version 7.3 or above.
It does not work with PostgreSQL 7.2.4

Related

Connect SQL Server database to PostgreSQL

I want to connect a SQL Server database by using pgAdmin4. I already have data in the SQL Server database and want to connect this database in PostgreSQL. I have tried with foreign data also but not working.
If anyone knows the solution it would be really appreciated.
There are two solutions that I've used:
Solution 1: tds_fdw
You can install tds_fdw that is a foreign data wrapper to MSSQL to postgreSQL and, with this foreign data wrapper, you can use your MSSQL tables and schemas as foreign tables inside postgresql. More details here.
As you not provisioned which OS you are using, is better to se inside the project and apply as your needs.
Solution 2: Apache Kafka and Debezium
A little bit complicated than installing a fdw, you can do a streaming replication enabling CDC on MSSQL Server and collecting via Debezium the tables that you need and real-time replicating to you PostgreSQL database connecting via JDBC so, you need what is your scenario and decide what is the best option.
tds_fdw is good, but maybe you should find the windows install package.
Otherwise, if you just want to use one tool that you can query data from both Databases, you should try dbeaver or navicat.

Remote Link between PostgreSQL and Oracle database

how to create a synonym for a table of a schema in postgresql database on a server into a schema of oracle database on another server?
I have a schema on oracle database on a server and want to create a synonym a table present in a schema of postgresql database on another server.
To create the synonym, we need to have database remote link between these two databases present on two different servers.
How can we do this? Please provide me one solution.
Just to clarify, I believe the question is trying to figure out how to get PostgreSQL data to appear as a table inside of Oracle. (The existing comments seem to be reading it the other way around, in which case, yes, an FDW would be the solution, but in this case that will not work).
In the past (on older versions of Oracle) when we needed this we were forced to build custom replication scripts to transfer data from Postgres into Oracle systems. For a single table, it is pretty straightforward to do with something like Perl & DBI... feel free to substitute that with your favorite scripting language.
On newer Oracle systems, I believe you can use Oracle Database Gateway to accomplish this. I am not sure if they support Postgres directly, but they do support ODBC (and I think JDBC) which should work. Here is an example blog post setting this up with MSSQL (http://oracle-help.com/oracle-database/installation-oracle-database-gateway/), the process should be similar for Postgres.
Hope this helps!

importing filemaker pro database to postgreSQL via ODBC driver

I want to import an existing FilemakerPro (local, no server version) database into PostgreSQL. I have configured my two ODBC drivers for FMP and PostgreSQL. The two appear in the ODBC Manager and they are connected properly. Now my problem: I don't find any comprehensible explanation how to import the database in Postgre! I imagine that I need to write a bit of SQL-code but I didn't find any commented one.
I have seen a lot of inormation like this: "I suggest looking at FileMaker ODBC to extract data, or using Postgres ODBC driver and insert data from FileMaker with "Execute SQL" script step into PostgreSQL tables." But nothing that explained more precisely.
Could anybody help me by telling what to do inside PostgreSQL to import the database?
Thanks a lot for your help!

Where does Oracle DBCA come in?

I'm planning to play around with Oracle Business Intelligence (for fun). I have access to a number of Oracle products, and may have gone overboard installing them all (quite possibly more than I need).
Problem is I'm not too sure how all the different Oracle components fit together, but I think I am still missing something, a crucial part - DBCA.
All the online help material I can find says use DBCA to create a database - but I don't seem to have DBCA anywhere.
What I do have installed is:
Oracle - OraClient11g_home1
Oracle - OraDb11g_home1
Oracle Business Intelligence
Oracle Weblogic
Does Oracle have a separate Database Server that is not included in the above? (Like MS SQL Server)
I'll note that I am completely new to Oracle and may be missing something very simple, so any help would be appreciated.
I'm looking for an answer that can lead me to how I can install DBCA and create my database but extra kudos for any additional brief information on how these Oracle building blocks work independently and together.
DBCA is the database configuration assistant. It is a wizard used to create a database and should be instaled during the server install. If you are testing you just want to create a database as part of the server insall and ignore dbca.
Oracle - OraDb11g_home1 is the database (most probably at least - given then Oracle naming conventions). DBCA was called as part of the installation process.
Note that a "database" in Oracle terms is something completely different than a "database" in MS SQL Server. A SQL Server "database" is closer to an Oracle schema.

Browsing SQL Server

Are there any tools for just browsing SQL Server? I ask because sometimes SSMS is a little heavy weight when I just want to look through the database and find one record, and SQLCMD doesn't really seem like a good choice when browsing through a lot of different records or a lot of large records.
Yes, QueryExpress is a great, lightweight tool (which also can be used from a USB stick) for browsing and querying SQL Server databases.
I'm using and I really like LINQPad
You could try following heterogenous sql clients
Heidi
It's light weight it can manage both MySql as well as Sql server
Click here to know more.
SqlDbx
SqlDbx is a fast and easy to use database SQL development IDE for database administrators, application and database developers working in heterogeneous database environments.
It can manage MySql,SqlServer,Oracle,Sybase,Microsoft azure and IBM DB2.
Click here to know more.

Resources