Gabriel

Results 132 comments of Gabriel

Could you build a docker image with this change so I can try this with postgres 15?

Suggested syntax change done! Also modified the column alias syntax "as contype" as it seems that this is always used for column alias.

> > > > Hi, i have similar problem on pg:latest (15) tag (docker) Upgrade postgrest to at least v10.0.0, this is not happening anymore, already solved.

I'm using the postgres 15 beta 2. I think that I found the query that fails, if I try to manually execute it it fails: Found here: https://github.com/PostgREST/postgrest/blob/bac63f339daa4a9292870b0674b41cde2bcfee74/src/PostgREST/DbStructure.hs#L655-L809 I'm trying...

The issue is here, but I don't quite understand why it fails, it is mixing char and text: ![image](https://user-images.githubusercontent.com/121157/183521941-200bd300-dfe2-40e9-98a0-a426ac2d6047.png)

Possible fix is to add a cast to the first union: ![image](https://user-images.githubusercontent.com/121157/183522754-f3851a2f-0fac-4f38-a604-7bd856dec876.png)

Seems to be just that, contype is type "char" and concat returns type "text", so the union fails: ![image](https://user-images.githubusercontent.com/121157/183524013-bde27f42-b93b-4c1b-bacb-9d30e6f18a4f.png)

Clossing this as this was corrected in v10.0.0! Thanks.

Hi, any news about this one? Final version is released