First, I installed postgres and ArcGis pro, them I put the st_geometry.dll in the lib of postgresql, and finally I created my data base in postgresql, and connected this in Arcgis Pro. After that, I created spatial type for my SDE user. With stack builder I installed postgresql, but the option of create spatial database presented error.
But, when i tryed to create a dataset, this process failed.
Version postgres: 9.6
Version Arcgis pro: 2.5