pg_sql | Unsorted

Telegram-канал pg_sql - PostgreSQL

2806

English speaking PostgreSQL public chat. This group is for discussions on PostgreSQL-related topics and strives to provide best-effort support as well.

Subscribe to a channel

PostgreSQL

I want to find all the procedures where I used the multiplication function... I can't simply use 'not like '%*%' because I already used /* */ for comments line... Please help me to write query..

Читать полностью…

PostgreSQL

Don't have 32, all the other databases are working fine, except just one

Читать полностью…

PostgreSQL

And the first error looks like a catalog corruption and this is why I recommend to use a catalog checker tool

Читать полностью…

PostgreSQL

The second error are related to mixing 32 and 64 bits binaries

Читать полностью…

PostgreSQL

Yeah, they are compatible

Читать полностью…

PostgreSQL

Why don't you check pg_catcheck that is going to check your catalog?

Читать полностью…

PostgreSQL

You can set SKIP fkeys in your config file, so you will turn off foreign keys constraints during the loading of the data

Читать полностью…

PostgreSQL

JobOpportunity #ContractualRole #PostgreSQLDeveloper #RemoteJob #ImmediateHiring

Role: PostgreSQL Developer
Experience: 6 to 7+ Years (Relevant)
Location: Remote
Shift Timings: 12 pm to 9 pm IST
Contractual: No PF

Key Requirements:

Expert-Level Proficiency in PostgreSQL: Expertise in stored procedures, window functions, CTEs, and subqueries.
Database Architecture Knowledge: In-depth understanding of PostgreSQL database architecture, partitioning, scaling, performance tuning, and optimization.
Event Streaming: Intermediate experience with one of the following - Kafka, Kinesis, or Event Hub.
Python Skills: Intermediate-level experience in Python programming.
Problem Solving & Independence: Strong analytical skills and ability to meet tight deadlines.
Communication: Excellent collaboration and communication skills.
Motivated & Self-Driven.
For application or inquiries, contact:
📞 7233911117
📧 chitra.vgemperts@gmail.com

Tags: #PostgreSQL #DatabaseDeveloper #RemoteJobs #Kafka #Python #ImmediateHiring

Читать полностью…

PostgreSQL

Even i can print

Raise notice '%', (a*b);

Читать полностью…

PostgreSQL

Hi team anyone can share db size growth script daily basis

Читать полностью…

PostgreSQL

I can't fix this problem

Читать полностью…

PostgreSQL

You can do pg dump without data and comapre the files

Читать полностью…

PostgreSQL

You just want to compare the schema?

Читать полностью…

PostgreSQL

https://www.depesz.com/2024/02/07/waiting-for-postgresql-17-add-new-copy-option-save_error_to-rename-copy-option-from-save_error_to-to-on_error/

Читать полностью…

PostgreSQL

This the copy command of redshift

Читать полностью…

PostgreSQL

And what was the output of pg_catcheck execution?

Читать полностью…

PostgreSQL

Yeah, it is a catolg corruption happened

Читать полностью…

PostgreSQL

Don't have 32 bits binaries

Читать полностью…

PostgreSQL

Linux Amd64 Ubuntu 22.04

Читать полностью…

PostgreSQL

What operating system and arch are you using and timescale packages are compatible?

Читать полностью…

PostgreSQL

do any can know the reason behind this, or how to fix these kind of issues??

Only I have a db that causing this issue and it is timescale, and have other extensions on it too.

I can connect on it normally, but I cannot view schema or tables ir anything, despte the fact that I still can query from tables... some queries failed and some passed.

I guess it is a corruption in the catalog maybe


These are the errors:

1) cach lookup failed for type 0

2) Unsupported Byval length:4100

Читать полностью…

PostgreSQL

Running: ora2pg -c config/ora2pg.conf -t COPY --pg_dsn "dbi:Pg:dbname=test;host=lsp-oratl01;port=5432" --pg_user test
[2024-11-07 08:45:57] [========================>] 7/7 tables (100.0%) end of scanning.

SET client_encoding TO 'UTF8';
SET synchronous_commit TO off;

FATAL: ERROR: insert or update on table "countries" violates foreign key constraint "countr_reg_fk"
DETAIL: Key (region_id)=(2) is not present in table "regions".
Aborting export...
ERROR: an error occurs when importing data.
[oracle@lsp-oratl01 test_project]$
can someone help over this

Читать полностью…

PostgreSQL

Hello and welcome to this chat. Here we discuss PostgreSQL and provide best-effort voluntary support on Postgresql issues.
If you have any question, try asking kindly, including log files, error descriptions and perhaps what you're trying to do.

- 🚫 photos and screenshots
- 🚫 spam and offtopic
- ✅ questions with log files and clear explanation of what's gone wrong

⬇️ Press the button down here ⬇️

Читать полностью…

PostgreSQL

Last lines from Postgres' log are useful, you could share them if you need help

Читать полностью…

PostgreSQL

When I install postgres, the database cluster failed

Читать полностью…

PostgreSQL

Everybody can help me with the "database cluster is failed" problem

Читать полностью…

PostgreSQL

Pgadmin4, livecompare and several other postgres desktop client have this type of functionality

Читать полностью…

PostgreSQL

How to compare the two databases in the same cluster? I have scenario where cluster having 2 databases as “test” and “test_old” so want to compare the tables,functions and indexes of both databases

Читать полностью…

PostgreSQL

Standard copy command have added a parameter that allow you to get rows that rise an error during the execution of the copy

Читать полностью…

PostgreSQL

Value Separator=\t
Include Header=Line true
Quote Character="
Escape Character=\p
Comment Marker=No value set
Null String=No value set
Trim Fields=true
Quote Mode=Quote All Values
Record Separator=\n
Include Trailing Delimiter=true


and my COPY is like this:
copy ${table_name}
from 's3://yyy-dwh/load2redshift/2load/${filename}'
REGION 'us-east-1' iam_role 'arn:aws:iam::45645645:role/redshift-s3'
FORMAT AS CSV TRUNCATECOLUMNS IGNOREHEADER 1 DELIMITER '\t' STATUPDATE OFF QUOTE '"' ;

Читать полностью…
Subscribe to a channel