Skip to main content

All Questions

Tagged with or
1 vote
1 answer
139 views

Postgres 17 cluster is in Windows server in Estonian locale. Databases are defined like CREATE DATABASE mydb WITH OWNER = mydb_owner ENCODING = 'UTF8' LC_COLLATE = 'et-EE' LC_CTYPE ...
Andrus's user avatar
  • 143
0 votes
1 answer
45 views

Question I know TSQL is the SQL dialect of Microsoft dialect. However, I failed to find an equivalent for PostgresSQL. Thus I ask, what is the name/abbreviation of the PostgreSQL dialect? My initial ...
rugk's user avatar
  • 103
3 votes
1 answer
150 views

I am comparing how PostgreSQL and SQL Server protect data pages from torn writes. PostgreSQL has a feature called full_page_writes. On the first modification to a page after a checkpoint, PostgreSQL ...
Artashes  Khachatryan's user avatar
1 vote
1 answer
39 views

I have tables with very large numbers, which are entered using scientific notation (e.g. 1e100). But when in the PostgreSQL's psql client (as of 18.x), they get expanded into the full length: # SELECT ...
tinlyx's user avatar
  • 3,850
0 votes
0 answers
19 views

I'm looking into Linux VRFs i.e. support for virtual routing and forwarding. The documentation mentions: Applications that are to work within a VRF need to bind their socket to the VRF device: ...
Bakuriu's user avatar
  • 101
3 votes
1 answer
133 views

Given two tables counter and cnt_source defined like this: create temporary table counter (key bigint, count bigint); create unique index counter_key_uniq on counter (key); create temporary table ...
DS-Charlie's user avatar
0 votes
2 answers
45 views

I'm supporting a new system that's going live next month. I'm trying to have PostgreSQL log any long-running (over 1 second) queries to the error log. I've set the following parameters: log_duration: ...
Swechsler's user avatar
  • 183
0 votes
1 answer
59 views

When writing SQL queries against a large PostgreSQL database, I am seeing phantom reads despite setting the transaction isolation level to READ COMMITTED. Can you provide a concrete example of a multi-...
Awais Khan's user avatar
0 votes
1 answer
25 views

I am making a query as user postgres via my current user, xyz. I am returning the results of this query as JSON. I want to save this (huge) JSON into a file owned by my current user xyz. And I do not ...
bliako's user avatar
  • 103
1 vote
1 answer
36 views

I am creating a new user and granting them the pg_read_all_stats privilege so they can monitor all pg_stat_* views. However, when I monitor pg_stat_activity through this user, other users' operations ...
Abdullah Ergin's user avatar
0 votes
1 answer
52 views

My PostgreSQL server has unexpectedly shut down. In the log file (postgresql-Wed.log), I can see the following: 2025-11-12 18:18:54 LOG: received fast shutdown request 2025-11-12 18:18:54 LOG: ...
Sébastien Clément's user avatar
0 votes
0 answers
35 views

On a PostgreSQL 14 database, I've got a logical replication publication of 108 tables across 10 schemas. For some unknown reason, the subscriber fails to replicate tables in one of the schemas (call ...
JK Laiho's user avatar
  • 175
0 votes
1 answer
40 views

To monitor Copy operations in PostgreSQL in real-time, I use the “pg_stat_progress_copy” view tool: Here, I specifically want to analyze the number of tuples processed by the command, which is “...
Abdullah Ergin's user avatar
0 votes
1 answer
30 views

I have been testing PostgreSQL 17 AYSNC replication and failover on Ubuntu VMs. Suppose I have two VMs: A as the primary and B as the standby. If I promote B while A is offline, and later configure A ...
goodfella's user avatar
  • 700
0 votes
0 answers
27 views

We noticed a data inconsistency in a 3-node asynchronous replication Postgres setup. A single JDBC transaction inserted/updated rows in two tables but we are noticing that one table did not have a few ...
cb_1796's user avatar

15 30 50 per page
1
2 3 4 5
1167