Relative Content

Tag Archive for postgresql-16

Is there a way to check the partition column on a table in Postgres v16+

I have been trying to find a way to get this from a sql script to no avail. I have been looking at the schema information tables but I just can’t find anything that would tell me if a table has this PARTITION BY, or rather, it was created with it, as it is my understanding currently the ALTER TABLE … PARTITION BY… is not an option.

Is there a way to check the partition column on a table in Postgres v16+

I have been trying to find a way to get this from a sql script to no avail. I have been looking at the schema information tables but I just can’t find anything that would tell me if a table has this PARTITION BY, or rather, it was created with it, as it is my understanding currently the ALTER TABLE … PARTITION BY… is not an option.

pgadmin4 error when restoring database from tar file (PostgreSQL 16)

Screenshot of what pgadmin shows me
I´m trying to load a tar file usinf pgAdmin 4 (PostgreSQL16) on my Mac, but it´s failing and all I get is “Process failed” as shown on the screenshot, but doesn´t show me what kind of error might be! I´m not sure what to do and the information I hace found on internet is not helping me! Does anyone has an idea what to do?