Re: pg_comebinebackup

2025-04-24 Thread Daniel Gustafsson
> ANY_VALUE aggregate: Yes: Yes: No: No: No: No: No: No: No: No: No: No: No: > No: No: No: No: No: No ... > www.postgresql.org >  > > pg_comebinebackup instead of pg_combinebackup Fixed, thanks for the report! -- Daniel Gustafsson

Re: Another documentation issue

2025-04-23 Thread Daniel Gustafsson
research which versions of which operating systems qualify. From memory it's supported on FreeBSD, NetBSD and Linux with Windows, macOS and OpenBSD not supporting it. Assuming I'm not completely wrong (a 1 minute search shows it's in the ballpark) we could perhaps add something like "Unsupported platforms include (but isn't limited to) Windows and macOS" which would provide a bit more clarity. -- Daniel Gustafsson

Re: Cannot turn track_counts on

2025-04-16 Thread Daniel Gustafsson
unts surely isn't one of those. And a quick grep > through the code finds nothing applying PGC_S_OVERRIDE to it. > > What extensions do you have installed? Also, is this by any chance a managed instance like Amazon RDS or Azure, or is it a local database under your control? -- Daniel Gustafsson

Re: pgAgent error on Installation

2025-01-14 Thread Daniel Gustafsson
see if that works. -- Daniel Gustafsson

Re: Suddenly all queries moved to seq scan

2024-11-20 Thread Daniel Gustafsson
mption from queries being slow or did you capture plans for the queries which be compared against "normal" production plans? -- Daniel Gustafsson

Re: Compatibility Issues with Npgsql and .NET Framework 3.5 after Upgrading to PostgreSQL 16.3

2024-10-29 Thread Daniel Gustafsson
ost appropriate (especially since md5 passwords are likely going away soon). -- Daniel Gustafsson

Re: Compatibility Issues with Npgsql and .NET Framework 3.5 after Upgrading to PostgreSQL 16.3

2024-10-25 Thread Daniel Gustafsson
stgreSQL to 16.3 without upgrading the > .NET Framework? Try PostgreSQL 16.4 instead, there was a known regression for very old Npgsql versions in 16.3. -- Daniel Gustafsson

Re: Need support

2024-10-25 Thread Daniel Gustafsson
ot affiliated with Libera Chat in any way and have no control over their access policies. If you want to get in touch with other postgres users there are numerous ways: this very mailing-list, Slack, Stack Overflow etc. -- Daniel Gustafsson

Re: Postgres installation is failing in mac

2024-10-18 Thread Daniel Gustafsson
suggest you provide a lot more details. Which installer was used? Where was it downloaded from? Which macOS version? Which PostgreSQL version? Does the system log say anything? Is there enough space on the partition? Do you have admin rights or is it a managed device? And so on.. -- Daniel Gustafsson

Re: pg_dump 17 produces files incompatible with older server versions

2024-10-02 Thread Daniel Gustafsson
equire manual editing of the dump file to remove syntax not understood by the older server." Running the appropriate version of pg_dump for the target cluster, or applying manual (or scripted) editing of the dump file is the option. -- Daniel Gustafsson

Re: Npgsql.dll

2024-08-21 Thread Daniel Gustafsson
; with "0" argument(s): "Authentication method not > supported (Received: 10)" Thats unfortunately a known regression in the latest minor releases, and will be fixed in the upcoming releases. Using a recent version of npgsql and ideally TLS1.3 is a workaround. -- Daniel Gustafsson

Re: data checksums

2024-08-07 Thread Daniel Gustafsson
stgresql.org/message-id/20190330192543.GH4719%40development Hardware advances in the last five years may very well have made these findings irrelevant however. -- Daniel Gustafsson

Re: HISTIGNORE in psql

2024-06-18 Thread Daniel Gustafsson
> On 18 Jun 2024, at 19:28, Wiwwo Staff wrote: > being able to tell psql to exclude some patterns from being stored in the > .psql_history file Off the cuff that sounds like a pretty useful thing to have. -- Daniel Gustafsson

Re: Question about UNIX socket connections and SSL

2024-06-13 Thread Daniel Gustafsson
9805820567.pgcf%40coridan.postgresql.org#e151c884786c5ddf5bf49253964f841e -- Daniel Gustafsson

Re: Question about UNIX socket connections and SSL

2024-06-12 Thread Daniel Gustafsson
.1, but AF_UNIX is supported in 3+ IIRC. That being said, I agree with your (1). -- Daniel Gustafsson

Re: Missed compiler optimization issue in function select_rtable_names_for_explain

2024-05-22 Thread Daniel Gustafsson
> On 22 May 2024, at 18:53, Tom Lane wrote: > > Daniel Gustafsson writes: >> They are known to be zero, but that's not entirely equivalent though is it? >> NIL is defined as ((List *) NULL) and NULL is typically defined as ((void *) >> 0), so sizeof(0) would

Re: Missed compiler optimization issue in function select_rtable_names_for_explain

2024-05-22 Thread Daniel Gustafsson
e I know without looking up the definition that some of the members are list. I like that readability. That being said, I for sure won't fight if there is concensus to remove. -- Daniel Gustafsson

Re: Missed compiler optimization issue in function select_rtable_names_for_explain

2024-05-22 Thread Daniel Gustafsson
; since the memset has written zeroes to the object "dpns", and these members > are known to be zero. They are known to be zero, but that's not entirely equivalent though is it? NIL is defined as ((List *) NULL) and NULL is typically defined as ((void *) 0), so sizeof(0) would

Re: Missed compiler optimization issue in function select_rtable_names_for_explain

2024-05-22 Thread Daniel Gustafsson
loop for it to be measurable even? -- Daniel Gustafsson

Re: Obsolete Linux downloads (Debian) instructions

2024-04-12 Thread Daniel Gustafsson
es/download/linux/debian.html. If you propose a patch for the instructions, ideally on the pgsql-www@ mailinglist, I'm sure we can ask Christophe (in CC:) for a review. -- Daniel Gustafsson

Re: About postgres pg_upgrade

2024-04-05 Thread Daniel Gustafsson
t only for the schema, not the data. -- Daniel Gustafsson

Re: Inquiry on Participating in the Korean Translation Project for PostgreSQL Documentation

2024-03-28 Thread Daniel Gustafsson
eing said, those working on the Korean translations of strings are likely to be a good set of people to start discussing with as they may have thought about it as well. -- Daniel Gustafsson

Re: No warning for a no-op REVOKE

2024-03-25 Thread Daniel Gustafsson
> On 25 Mar 2024, at 15:09, Tom Lane wrote: > My initial reaction is that we should warn only when the command > is a complete no-op, that is none of the mentioned privileges > matched. That's my gut reaction too, -- Daniel Gustafsson

Re: No warning for a no-op REVOKE

2024-03-25 Thread Daniel Gustafsson
ous grant to > `lowpriv`, nothing actually changes in the ACL. This bit a client recently. That's indeed a potential foot-gun. > Is it worth generating a warning in this case? Or maybe a NOTICE? -- Daniel Gustafsson

Re: pg_dumpall with flag --no-role-passwords omits roles comments as well

2024-03-21 Thread Daniel Gustafsson
> On 21 Mar 2024, at 14:27, Alvaro Herrera wrote: > > On 2024-Mar-21, Daniel Gustafsson wrote: > >> On 21 Mar 2024, at 13:28, Alvaro Herrera wrote: >> >>> I very much doubt that they realized that comments were going to be >>> omitted. But cle

Re: pg_dumpall with flag --no-role-passwords omits roles comments as well

2024-03-21 Thread Daniel Gustafsson
> On 21 Mar 2024, at 13:28, Alvaro Herrera wrote: > > On 2024-Mar-21, Daniel Gustafsson wrote: > >> Comments on roles are stored against the pg_authid catalog relation which is >> the catalog used for dumping roles, but when using --no-role-passwords we >> instea

Re: pg_dumpall with flag --no-role-passwords omits roles comments as well

2024-03-21 Thread Daniel Gustafsson
. It kind of feels like an accidental bug since the restored role will be in pg_authid where the comment should be attached. -- Daniel Gustafsson

Re: update to 16.2

2024-03-08 Thread Daniel Gustafsson
are very different things. -- Daniel Gustafsson

Re: Documentation diff

2024-02-28 Thread Daniel Gustafsson
I want show what changes ocurred on both versions, the page your are > seeing and other you selected. But both on same page, not side by side. Patches welcome, pgsql-www is the list for submitting changes for the website and HTML rendering of the docs. -- Daniel Gustafsson

Re: Fastest way to clone schema ~1000x

2024-02-26 Thread Daniel Gustafsson
ducing max_connections, is a good place to start. -- Daniel Gustafsson

Re: Documentation diff

2024-02-25 Thread Daniel Gustafsson
ested in things found in tables which makes it even easier. -- Daniel Gustafsson

Re: Documentation diff

2024-02-25 Thread Daniel Gustafsson
ou should be reading the version of the docs which corresponds to the version you are running. If you are trying to figure out an upgrade then the release notes are probably a better starting point. -- Daniel Gustafsson

Re: Query regarding function cleanup in extension upgrade path

2024-02-15 Thread Daniel Gustafsson
egress.c;h=c894005dac06bc233896520c83c18e51af8ace9c;hb=HEAD#l1450 -- Daniel Gustafsson

Re: PostgreSQL DB in prod, test, debug

2024-02-14 Thread Daniel Gustafsson
l file in your source code repository then you should use that. In essence, create the test database identically to how you create the production database to ensure that you are testing what you will run in production. -- Daniel Gustafsson

Re: MAT. VIEW security problems and PG 10-11 versions?

2024-02-13 Thread Daniel Gustafsson
o hence they aren't listed. Anyone still running 10 or 11 is encouraged to upgrade to a supported version. -- Daniel Gustafsson

Re: Multiple connections over VPN password fail error

2024-02-08 Thread Daniel Gustafsson
ne that can connect to the PostgreSQL database server to login as any PostgreSQL user they wish, without the need for a password or any other authentication." I would recommend immediately reverting back to the scram-sha-256 setting and figuring out why you were unable to login. -- Daniel Gustafsson

Re: Error on create extension pgcrypto. Undefined symbol "EVP_bf_ecb"

2024-02-08 Thread Daniel Gustafsson
> continue to receive the same error, any further suggestions ? the _bf functions relate to the Blowfish cipher which was obsoleted in OpenSSL 3 so you need to load the legacy provider in your openssl configuration in order to use it. -- Daniel Gustafsson

Re: Error on create extension pgcrypto. Undefined symbol "EVP_bf_ecb"

2024-02-07 Thread Daniel Gustafsson
d against. -- Daniel Gustafsson

Re: Log pre-master keys during TLS v1.3 handshake

2024-02-06 Thread Daniel Gustafsson
ificates in > Wireshark, you need the TLS pre-master keys to decrypt the Encrypted > Extensions packets. There is no such thing, adding it yourself and debug your application using a custom build is probably your best option. -- Daniel Gustafsson

Re: Obtaining printed copies of the PostgreSQL manual

2024-01-18 Thread Daniel Gustafsson
gresql usergroup or organization. -- Daniel Gustafsson

Re: undefined symbol when installing pgcrypto on 16.1

2024-01-18 Thread Daniel Gustafsson
> On 18 Jan 2024, at 00:59, Michael Nolan wrote: > On Wed, Jan 17, 2024 at 5:32 PM Daniel Gustafsson wrote: >> >>> On 18 Jan 2024, at 00:24, Michael Nolan wrote: >>> I reinstalled the devel package, still get the same unresolved symbol error. >> >>

Re: undefined symbol when installing pgcrypto on 16.1

2024-01-17 Thread Daniel Gustafsson
da > > I reinstalled the devel package, still get the same unresolved symbol error. My memory is failing me, but isn't CAST5 only available when loading the legacy provider in OpenSSL 3? Which providers are loaded in your openssl config? -- Daniel Gustafsson

Re: Trainning and Certification

2023-12-07 Thread Daniel Gustafsson
eloper is free to pursue whatever they choose. In that sense, postgres is very different from products with clear owners like Oracle and MySQL. -- Daniel Gustafsson

Re: Trainning and Certification

2023-12-06 Thread Daniel Gustafsson
n the postgres project. -- Daniel Gustafsson

Re: Trainning and Certification

2023-12-06 Thread Daniel Gustafsson
> Or others (like PearsonVue)? > Training and Certification path, source doc ? > > Regards -- Daniel Gustafsson

Re: client/server versions

2023-11-21 Thread Daniel Gustafsson
h newer versions of the server. You should use the dump/restore tools of the version you are targeting. For other clients like psql it's usually fine to use the latest version against older servers. If you have a mix of server versions installed you need to put in the work of ensuring you a

Re: pg_checksums?

2023-10-27 Thread Daniel Gustafsson
es. The below threads may shine some light on the problem: https://www.postgresql.org/message-id/flat/CABUevEx8KWhZE_XkZQpzEkZypZmBp3GbM9W90JLp%3D-7OJWBbcg%40mail.gmail.com https://www.postgresql.org/message-id/flat/560A2239-5DE2-4B9C-92BC-878C6822F47C%40yesql.se#10b665b2193445a3d7f24be7917a9

Re: pgagent download link missing

2023-10-20 Thread Daniel Gustafsson
y pgadmin developers. Reaching out to the relevant pgadmin list is likely a better way to get answers: https://www.pgadmin.org/support/list/ -- Daniel Gustafsson

Re: Help with PostgreSQL Upgrade

2023-09-14 Thread Daniel Gustafsson
TLS settings, etc)? If you apps and other clients like psql can connect to the database it seems unlikely that a pgAdmin wouldn't. It has a smell of trying to connect somewhere where nothing is listening. -- Daniel Gustafsson

Re: Is data import from Oracle table to Postgres table in Ora2pg consecutive or random?

2023-09-12 Thread Daniel Gustafsson
esc ordering. Any query which relies on ordering, whichever is wanted, should include an ORDER BY clause. -- Daniel Gustafsson

Re: listening on an address other than 'localhost'?

2023-09-07 Thread Daniel Gustafsson
> On 6 Sep 2023, at 21:23, Johnson, Bruce E - (bjohnson) > wrote: > What am I missing? (postgresql 15.4 running on Ubuntu 22.04), installed via > postgresql.org apt repo. The value should be within '', so listen_addresses = '10.128.206.109' should work just fine. -- Daniel Gustafsson

Re: Pgbackrest Restore Error - Segmentation fault (core dumped)

2023-09-06 Thread Daniel Gustafsson
me the process is similar enough that it might be helpful reading. -- Daniel Gustafsson

Re: Upgrade Failure

2023-07-18 Thread Daniel Gustafsson
> On 18 Jul 2023, at 12:26, Johnathan Tiamoh wrote: > > I used pg_ctl to stop the cluster. > > When I used the same pg_ctl to check status, it says no server is running Right, but what does "pg_controldata" say for the cluster? -- Daniel Gustafsson

Re: Upgrade Failure

2023-07-18 Thread Daniel Gustafsson
ot; says "shut down". If you run the same command, which state is the cluster reported to be in? -- Daniel Gustafsson

Re: A question about the postgres's website

2023-06-26 Thread Daniel Gustafsson
inks: See the slack item) > > Can someone give me some advice? The latter page website is actually hosted by a separate system and the change in the menu content hasn't been synchronized there, hence why it's showing up. We'll get it fixed, thanks for the report! -- Daniel Gustafsson

Re: OpenSSL version 3

2023-06-19 Thread Daniel Gustafsson
> On 19 Jun 2023, at 21:00, Jeffrey Walton wrote: > On Mon, Jun 19, 2023 at 11:39 AM Daniel Gustafsson wrote: >> >>> On 19 Jun 2023, at 17:13, Sebastien Flaesch >>> wrote: >>> OpenSSL V1 goes end of support soon (see >>> https://www.openssl.

Re: OpenSSL version 3

2023-06-19 Thread Daniel Gustafsson
gt; > On the various supported platforms? PostgreSQL supports OpenSSL 3 and have done so for some time, each individual packager and platform are however free to choose which OpenSSL version they ship. -- Daniel Gustafsson

Re: PostgreSQL in-transit compression for a client connection

2023-04-27 Thread Daniel Gustafsson
ations. There has been patches proposed to add compression to libpq but nothing has been added as of yet. -- Daniel Gustafsson

Re: lippq client library and openssl initialization: PQinitOpenSSL()

2023-04-12 Thread Daniel Gustafsson
L of such vintage is equally likely to be used in old versions of postgres as current. -- Daniel Gustafsson pqinitopenssl_v2.diff Description: Binary data

Re: pg_upgrade Only the install user can be defined in the new cluster

2023-03-16 Thread Daniel Gustafsson
er things) in between these runs. -- Daniel Gustafsson

Re: pg_upgrade Only the install user can be defined in the new cluster

2023-03-16 Thread Daniel Gustafsson
ry to upgrade into this cluster, even just with the --check option, does that yield more success? -- Daniel Gustafsson

Re: uuid-ossp source or binaries for Windows

2023-03-15 Thread Daniel Gustafsson
s at all, but uuid-ossp.dll is provided in the EDB packages (looking at the binary zip bundle) so it's clearly available to be built. Maybe someone from EDB can chime in with pointers for building on Windows so we can update the docs accordingly? -- Daniel Gustafsson

Re: pg_upgrade Only the install user can be defined in the new cluster

2023-03-15 Thread Daniel Gustafsson
e way* you will for the upgrade and control that. -- Daniel Gustafsson

Re: pg_upgrade Only the install user can be defined in the new cluster

2023-03-15 Thread Daniel Gustafsson
> On 15 Mar 2023, at 10:30, Dávid Suchan wrote: > ..there are no other users in the db. The check in question performs this: SELECT COUNT(*) FROM pg_catalog.pg_roles WHERE rolname !~ '^pg_'; What do you get when running that in the new v14 cluster? -- Daniel Gustafsson

Re: Row Level Security Policy Name in Error Message

2023-03-06 Thread Daniel Gustafsson
a policy name (since none was explicitly violated). -- Daniel Gustafsson

Re: Stored procedure code no longer stored in v14 and v15, changed behaviour

2022-12-02 Thread Daniel Gustafsson
> Exactly. If our software is audited, how can I reliably prove to auditor > that the running version of the procedure has not been tampered with > either by customer, rogue developer or some malicious party? How do you today prove that for other compiled programs in your system? -

Re: unrecognized node type: 350

2022-11-16 Thread Daniel Gustafsson
022-11-16-02:28:08 - org.postgresql.util.PSQLException: ERROR: unrecognized > node type: 350 Are you running a version of JDBC which supports postgres 13? -- Daniel Gustafsson https://vmware.com/

Re: postgresql 15 for RHEL RPMs available?

2022-10-02 Thread Daniel Gustafsson
.postgresql.org/docs/release/15.0/ We should probably make those also show the same banner to avoid confusion like this. -- Daniel Gustafsson https://vmware.com/

Re: Is there Postgres ODBC binary for OSX?

2022-09-30 Thread Daniel Gustafsson
> On 30 Sep 2022, at 17:36, Igor Korot wrote: > Is building it myself the only option? A quick googling indicates that there are options in the macOS package managers: https://formulae.brew.sh/formula/psqlodbc#default -- Daniel Gustafsson https://vmware.com/

Re: lippq client library and openssl initialization: PQinitOpenSSL()

2022-09-12 Thread Daniel Gustafsson
> On 12 Sep 2022, at 13:21, Peter Eisentraut > wrote: > On 11.09.22 23:43, Daniel Gustafsson wrote: >>> On 11 Sep 2022, at 23:35, Tom Lane wrote: >>> Should we document these functions as obsolete when using >>> OpenSSL >= 1.1.0 ? >> Given that 1

Re: lippq client library and openssl initialization: PQinitOpenSSL()

2022-09-11 Thread Daniel Gustafsson
> On 11 Sep 2022, at 23:35, Tom Lane wrote: > > Daniel Gustafsson writes: >> On 11 Sep 2022, at 17:08, Tom Lane wrote: >>> Don't believe so. The HAVE_CRYPTO_LOCK stuff is all obsolete and >>> not compiled if you built against 1.1.0. The only thing left

Re: lippq client library and openssl initialization: PQinitOpenSSL()

2022-09-11 Thread Daniel Gustafsson
ppen if you don't call PQinitOpenSSL is an extra call to > OPENSSL_init_ssl, which should be harmless as far as I can see > from the OpenSSL docs. To the best of my knowledge, thats entirely correct. -- Daniel Gustafsson https://vmware.com/

Re: Vacuum Full is not returning space to OS

2022-09-01 Thread Daniel Gustafsson
;. It will most likely be more helpful to ask Microsoft Azure in this case. -- Daniel Gustafsson https://vmware.com/

Re: Issues cross-compiling libpq 14.x to MacOS armv8

2021-12-01 Thread Daniel Gustafsson
y supposed to look for files that you need during the > build. So by that logic, do you think the AC_CHECK_FILE call should be removed? -- Daniel Gustafsson https://vmware.com/

Re: Issues cross-compiling libpq 14.x to MacOS armv8

2021-11-30 Thread Daniel Gustafsson
ould print something, it looks like this will do: +1, looks reasonable. > +elif test x"$cross_compiling" = x"yes"; then I noticed that we test without the x"foo" = x"yes" construction for zic (line 1135), should we change that while at it and be consistent for all $cross_compiling uses? -- Daniel Gustafsson https://vmware.com/

Re: Issues cross-compiling libpq 14.x to MacOS armv8

2021-11-30 Thread Daniel Gustafsson
) - - if test x"$ac_cv_file__dev_urandom" = x"no" ; then -AC_MSG_ERROR([ -no source of strong random numbers was found -PostgreSQL can use OpenSSL, native Windows API or /dev/urandom as a source of random numbers.]) - fi fi -- Daniel Gustafsson https://vmware.com/

Re: Replace anonymized data in string

2021-11-12 Thread Daniel Gustafsson
n/2287-anonymization-and-data-masking-with-postgresql/ -- Daniel Gustafsson https://vmware.com/

Re: Certificate validity error download.postgresql.org

2021-10-14 Thread Daniel Gustafsson
> On 14 Oct 2021, at 14:34, Cedric Rey wrote: > the certificate on download.postgresql.org has expired : Are you perhaps running an old version of OpenSSL? -- Daniel Gustafsson https://vmware.com/

Re: pg_dump save command in output

2021-10-06 Thread Daniel Gustafsson
yle tests, and personally I always install to a specific folder (see the section on developer options): ./configure --enable-debug --enable-tap-tests --prefix=path/to/dev/install Feel free to reach out here if you get stuck on anything, so we can make the Wiki page better. -- Daniel Gustafsson https://vmware.com/

Re: pg_dump save command in output

2021-10-06 Thread Daniel Gustafsson
s a point to knowing just which ones were used. Connection level parameters should probably be scrubbed, but object-level filtering etc could be handy. Would you like to try and propose a patch for pg_dump to implement this? -- Daniel Gustafsson https://vmware.com/

Re: lower() and unaccent() not leakproof

2021-08-26 Thread Daniel Gustafsson
> On 26 Aug 2021, at 16:59, Peter Eisentraut > wrote: > On 26.08.21 10:40, Daniel Gustafsson wrote: >> Wouldn’t the difference in possible error messages in upper/lower be able to >> leak whether the input is ascii or wide chars, and/or the collation? > > Yeah,

Re: lower() and unaccent() not leakproof

2021-08-26 Thread Daniel Gustafsson
be worth taking a careful look and possibly > lifting this restriction. Wouldn’t the difference in possible error messages in upper/lower be able to leak whether the input is ascii or wide chars, and/or the collation? -- Daniel Gustafsson https://vmware.com/

Re: PostgreSQL reference coffee mug

2021-07-27 Thread Daniel Gustafsson
s well in case there are more detailed questions. -- Daniel Gustafsson https://vmware.com/

Re: pgAdmin 4 loading shapefiles

2018-01-31 Thread Daniel Gustafsson
> On 30 Jan 2018, at 12:32, Findlay, Thomas C > wrote: > > Hello, > > How do you load GIS shapefiles into a pgAdmin database, using pgAdmin 4? > > I have done this in pgAdmin 3 using the PostGIS Shapefile loader, but can’t > seem to find this in version 4. In case noone here knows the ans

Re: equalant of msdb in sql server

2017-11-26 Thread Daniel Gustafsson
> On 26 Nov 2017, at 17:54, chandra sekhar wrote: > > sql server has msdb database which stores the history of backups taken. > is there any table in postgres which keep track of when the archive log files > are archived ? This is the mailinglist for the postgresql.org website, you are better o