Skip to main content
0 votes
0 answers
60 views

I'm using Sequelize v6.37.5 with PostgreSQL in a multi-tenant architecture, where each tenant has its own schema. Models are defined once globally, and we use .schema(schemaName) to access tenant-...
DIGVIJAY SINH CHAUHAN's user avatar
-1 votes
1 answer
66 views

I am implementing pagination in PostgreSQL using the (createdon, id) > (...) condition to fetch the next batch of records. However, I am facing an issue where records with the same createdon ...
Akshay Bande's user avatar
  • 2,605
0 votes
0 answers
85 views

I have worked with Microsoft SQL, and it was very easy to find the tables and stored procedures that were being called when an event occurred in the application. It helped a lot in identifying the ...
Adish Krishnan's user avatar
1 vote
1 answer
70 views

So I am new to Postgresl and am trying to get familiar with nested queries and how they work as there seems to be some conditions that add to what intuition seems to tell me. I learned, at least I ...
user658459's user avatar
1 vote
1 answer
155 views

I have two owners in my postgresql database e.g. testdb, I have some tables of owner1 and some tables of owner2. I am facing issue in setting replica identity full for tables of owner1 using owner2 ...
Neeraj Kumar's user avatar
0 votes
1 answer
49 views

I have a usecase where my workers have run about ~100 queries at an hourly cadence. I don't want to have 100 individual lambdas run each of them separately as the count of queues may increase in the ...
Abhi's user avatar
  • 1,269
1 vote
1 answer
363 views

I am trying to create a native query using spring JPA for the below query. I am trying to filter the data where the jsonB contains the filtered key. select * FROM targeted_event_catalog e WHERE e....
Koushik J's user avatar
  • 672
0 votes
0 answers
68 views

I can do SELECT on a table in a PostgreSQL database (hosted on a secure server) via Python using a SSH connection. But when I try to do INSERT or CREATE on the database, I get the following error: ...
Robert R's user avatar
0 votes
1 answer
85 views

I have two tables. table 1 Column A Column B rgz 1 dry 1 vgy 2 chy 3 pom 2 table 2 Column C Column D tuv 10 tuv 11 chx 22 lmn 34 I want the following result shown on data output of postgres PgAdmin ...
G Nisan's user avatar
1 vote
1 answer
421 views

What are all the file formats are supported in AWS_S3 Extension (Import and Export). In AWS documentation its mentioned as CSV,TXT and Zip. Does it support any other Format? Can we have any other ...
user19345200's user avatar
1 vote
0 answers
39 views

I have a log table in which I keep user login records. CREATE TABLE public.login ( id bigint NOT NULL, copy_id bigint, create_date timestamp without time zone, version integer NOT NULL DEFAULT ...
Yusuf İncesu's user avatar
0 votes
1 answer
99 views

So i have this code WITH gaji_kat AS ( SELECT *, CASE WHEN income < 20000 THEN 'Gaji Rendah' WHEN income > 50000 then 'Gaji Tinggi' ELSE 'Gaji Rata-rata' END ...
Fathin Nawwar Marhadi's user avatar
0 votes
2 answers
336 views

I'm maintaining an old PostgreSQL-based application (PostgreSQL 9.1.22) on a Windows 2012 Server and we have noticed some data integrity inconsistencies. No errors have been spotted in logs nor in the ...
Claudi's user avatar
  • 5,436
1 vote
1 answer
231 views

Need to fetch tablename from input using sql query.I know this can be done through regex but not sure how hence any help appreciated Input: Field1 field2 a INSERT INTO test.table2{ name, age, city, id}...
Ram's user avatar
  • 287
0 votes
0 answers
91 views

Azure DB for Postgres flexible server I have Azure DB for Postgres flexible server. I have created a database in this server with en_US.utf8 collation. In this database I have created a table with ...
P Suresh's user avatar

15 30 50 per page
1
2 3 4 5
122