[ 
https://issues.apache.org/jira/browse/MADLIB-1024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15533531#comment-15533531
 ] 

Orhan Kislal edited comment on MADLIB-1024 at 9/29/16 6:36 PM:
---------------------------------------------------------------

Martin could you try the following set of commands in the Dockerfile:

```
RUN pgxn install madlib
RUN psql -h localhost -U postgres -c "CREATE SCHEMA madlib"
RUN pgxn load madlib -U postgres --schema madlib
```

Thanks

Edit: This might not work in the script if the psql server is not up and 
running. I tried connecting to the docker itself and checked madlib.version() 
to make sure it is installed. 


was (Author: okislal):
Martin could you try the following set of commands in the Dockerfile:

```
RUN pgxn install madlib
RUN psql -h localhost -U postgres -c "CREATE SCHEMA madlib"
RUN pgxn load madlib -U postgres --schema madlib
```

Thanks

> CREATE EXTENSION madlib fails
> -----------------------------
>
>                 Key: MADLIB-1024
>                 URL: https://issues.apache.org/jira/browse/MADLIB-1024
>             Project: Apache MADlib
>          Issue Type: Bug
>            Reporter: Martin Jensen
>            Assignee: Orhan Kislal
>             Fix For: v1.10
>
>         Attachments: Dockerfile
>
>
> When installing madlib with PGXN on PG 9.5.4, Ubuntu 16.04 I get the 
> following error when trying to create the extension:
> ERROR:  aggregate cannot accept shell type public.svec
> ********** Error **********
> ERROR: aggregate cannot accept shell type public.svec
> SQL state: 42P13



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to