tuhaihe commented on issue #59:
URL: https://github.com/apache/cloudberry-pxf/issues/59#issuecomment-4009262297

   @ostinru Thanks for checking the package and pointing this out.
   
   I did a quick test to understand the behavior of `pxf_fdw`.
   
   When building PXF in an environment where Cloudberry is already built (even 
with `--disable-pxf`), the `pxf_fdw` extension is compiled and installed 
automatically into the Cloudberry extension directory. For example:
   
   ```
   /usr/local/cloudberry-db/share/postgresql/extension/pxf_fdw*.sql  
   /usr/local/cloudberry-db/share/postgresql/extension/pxf_fdw.control
   ```
   
   However, if I try to build PXF **without a Cloudberry installation 
present**, the build fails because `pg_config` cannot be found:
   
   ```
   make[1]: pg_config: Command not found
   ```
   
   This suggests that `pxf_fdw` depends on the Cloudberry/PostgreSQL build 
environment and cannot currently be built in a completely standalone setup. 
This also explains why the test DEB package I prepared does not include the 
`pxf_fdw` extension files.
   
   My understanding is that `pxf_fdw` is expected to be built/installed against 
an existing Cloudberry installation rather than bundled inside the PXF service 
package. Could you confirm whether this matches the intended packaging approach?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to