Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

pgAdmin 4 ver. 1.5 - no error messages

I use pgAdmin 4 ver. 1.5. When I run an SQL query that has some issues (e.g. a column or a table does not exist) I can only see a message saying "Query returned successfully" but I cannot see any error message.

please the screenshot below)

pgAdmin III 1.22.2

However, pgAdmin III shows clearly SQL error messages in the same situation. Is there any option in pgAdmin 4 to turn the error messages on? Or it's just a bug?

like image 841
Paweł Andrzej Hadam Avatar asked May 26 '17 06:05

Paweł Andrzej Hadam


People also ask

Why is pgAdmin not showing Servers?

If you load PGAdmin 4 and you cannot expand the Server list on the left, it may be because the service is not running. To check the PostgreSQL service: Click on the Windows button at the bottom left of your screen. Click on Windows Administrative Tools.

What is the latest version of pgAdmin4?

pgAdmin 4 v6.10 (released June 2, 2022) pgAdmin 4 v6.9 (released May 12, 2022)

How do I reset my pgAdmin settings?

The File Menu¶ Click to open the Preferences dialog to customize your pgAdmin settings. If you have modified the workspace, click to restore the default layout.


1 Answers

An issue is caused by non-English encoding.

I've experienced this issue within whole version 4 line. psql command line tool is affected too (spits out invalid chars complains instead of error messages).

Fix: open postgresql.conf file in your database directory. Find and comment out these lines, in my case had to wipe out Russian:

#lc_messages = 'Russian_Russia.1251'            # locale for system error message
                    # strings
#lc_monetary = 'Russian_Russia.1251'            # locale for monetary formatting
#lc_numeric = 'Russian_Russia.1251'         # locale for number formatting
#lc_time = 'Russian_Russia.1251'                # locale for time formatting

# default configuration for text search
#default_text_search_config = 'pg_catalog.russian'

If you still want to see localized messages, you may want to try sqlectron app, it looks like to be nice backup tool for clumsy pgAdmin4.

like image 169
Rabash Avatar answered Oct 10 '22 03:10

Rabash