2830
English speaking PostgreSQL public chat. This group is for discussions on PostgreSQL-related topics and strives to provide best-effort support as well.
It's three or four extra commands and you'll never have to wonder again 😉
Читать полностью…
Which intra cluster security is used in Streaming replication and how to configure it?
Читать полностью…
Just create a separate DB with a wrapper function with SECURITY DEFINER and grant login and execution of that wrapper function only.
Читать полностью…
Both are extremely inefficient as they can only use full table scan and filtering.
You'd better use functional index on (lower(field)) and then the first variant of your query.
HI! Which of below queries will be more effective?
Читать полностью…
select count(*) from my_table where lower("comment") = 'tax';
select count(*) from my_table where "comment" ilike 'tax';
after base, recommend most valuable skill is query optimization, if will not handle go to DBA stuff
Читать полностью…
Can someone give me the link where I can study about the architecture of the PostgreSQL.
Читать полностью…
There's a standard for hexagon stickers at conferences
Читать полностью…
What is the exact query/view you're checking? Are you checking through the file system?
Читать полностью…
Hi Team good morning we had one issue in production server we scheduled one purge script every weekend for one particular table we could see the delete operation is completed but we are not getting space I have manually tried vacuum analyze or full also but still table size growing but there is no lob data types or toast so how to resolve this any inputs please ….
Читать полностью…
That whole CVE is quite a mess. Apparently it showed up in a brain-dead security (!) product that pipes commands incl. user input into psql. But alas, there's a CVE number with a rather high score, so everybody gets nervous 🤷♂
For my own curiosity, why do we need to create the wrapper function in a separate DB ? I have a similar implementation for other purposes, stored in the postgres db. I wonder if I left an open door …
Читать полностью…
Hello Experts,
Need a clarificaton on a custom role creation.
is there a way to create a role only to run pg_terminate_backend() but with no other permissions like DDL or DML modification.
i want this user to be used for killing queries but deny other privileges ..
please suggest
I would go with first because it's explains the purpose clearly (comment should be equal to tax) and also won't ILIKE spend a few extra cycles to check for pattern?
Читать полностью…
manual good start
https://www.postgresql.org/docs/
Hi All
I am doing MySQL to postgres migration.
Can Someone suggest how to do migration
I've seen at least three different sizes, but I had no ruler around to measure the exact dimensions.
Читать полностью…
Got a question for you all: if you have hexagon stickers on your laptop, what size (in mm) are the stickers? And if you have different sizes, which size do you prefer?
Читать полностью…
Since migration is pretty much populating a database, check this documentation: https://www.postgresql.org/docs/current/populate.html
Читать полностью…
harish:
Hi All
I am doing oracle to postgres migration using ora2pg, we have total 67 tables out of this 66 tables completed fast only one table is taking long time
It has a text data type
Can Someone suggest how to speed up this migration
Basically, an attacker would need to have access to the client configuration for everywhere but the Asian deployments where BIG5 is used already, and at that point if you can control the client the sql injection sounds like the last of your problems
Читать полностью…