zubkov-andrei / pg_profile

Postgres historic workload reports
Other
228 stars 33 forks source link

create extension error #57

Closed kciftci89 closed 1 year ago

kciftci89 commented 1 year ago

create extension pg_profile schema profile; command gives error: version 4.1 on postgresql 15

cannot specify default tablespace for partitioned relations SQL state: 0A000

zubkov-andrei commented 1 year ago

Hi, This is a normal (but unexpected) behavior of a Postgres database when you are creating a partitioned table having _defaulttablespace setting defined. _pgprofile extension is using partitioned tables to avoid concurrency during simultaneous samples collection in parallel sessions. You have two workarounds: