Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

creating bottledwater.control file in remote db #136

Open
gyan opened this issue Mar 15, 2017 · 2 comments
Open

creating bottledwater.control file in remote db #136

gyan opened this issue Mar 15, 2017 · 2 comments

Comments

@gyan
Copy link

gyan commented Mar 15, 2017

running make && make install install extensions like bottledwater.so and bottledwater.control in locally installed postgres directories. How is one supposed to create same files in remote db while running make && make install command.

@mbelarbi
Copy link

mbelarbi commented Jun 12, 2017

make install only installs the bottled water postgres extension to your target database.

I also have a 2 server setup,

  • db server
  • bottled water+kafka server.

I (obviously) needed to install bottled water on the bottled water server but did not run the make install part since this server has no db to install the postgres extension to.

I needed to also install bottled water on the db server and only run the make install part to get the bottled water extension on my database, and ran the create extension bottledwater; query.

I then setup a replication user (pg_hba.conf) on the db server, opened port 5432 on the db server for the other server. I think that should do it.

tldr: you basically need to install bottled water on both servers, running make install on the db server to get the extension there.

@gyan
Copy link
Author

gyan commented Jun 16, 2017

Thanks for the reply.
Well I got that working, but the end story followed up with the inability of Amazon hosted RDS to allow users to create third party extension.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants