Prakash Ramakrishnan <prakash.ramakrishnan.ap@nielsen.com> writes:
> Not able to create the extension pldbgapi in cluster and if i run make and
> make install it will going .sql file in /usr/share/pgsql/extension this
> path but actually i need to create these files into below path,
If you're building from source with intention to match an existing
installation, you need to be sure you've configured with the same
options the existing installation was built with. The output of
the installation's "pg_config" program should help.
When building an out-of-tree extension using PGXS, in theory the
PGXS infrastructure should get this right for you, but maybe
it isn't, or you missed out using it.
regards, tom lane