postgresql-container icon indicating copy to clipboard operation
postgresql-container copied to clipboard

Add example how to enable extension

Open hhorak opened this issue 4 years ago • 6 comments

TODO: This would deserve a test as well.

hhorak avatar Dec 18 '20 17:12 hhorak

Thanks, @hhorak! :+1:

fridex avatar Jan 07 '21 09:01 fridex

[test][test-openshift]

pkubatrh avatar Jan 08 '21 11:01 pkubatrh

Wouldn't it be better for users to have environment variables for that ? For example, if a user want to enable hstore, shipped by default, having to do a separate container is a bit annoying, while it could be done with a variable POSTGRES_EXTENSIONS, who would run CREATE IF NOT EXISTS at start on all extensions in the list (either space separated, or comma separated, whatever is the most consistent with others containers).

mscherer avatar Feb 17 '21 09:02 mscherer

So I went ahead with #399 (with tests and docs).

mscherer avatar Feb 17 '21 18:02 mscherer

[test]

phracek avatar Jul 22 '21 10:07 phracek

[test-openshift]

pkubatrh avatar Sep 15 '21 08:09 pkubatrh

[test]

fila43 avatar Mar 30 '23 15:03 fila43

@hhorak Please generate also source via distgen. Let's get test it and merge it. Generated sources are outdated.

phracek avatar Oct 02 '23 13:10 phracek

Rebased.

hhorak avatar Oct 02 '23 15:10 hhorak

[test]

hhorak avatar Oct 02 '23 15:10 hhorak