Lukas Fittl
Lukas Fittl
@valerysvl Its not clear to me what you mean with "correct offset on source_query" - from the data provided the len and location appear to be correct. Could you provide...
@mpokryva Yeah, that sounds eerily familiar to #188 - just different type of constraint, but same issue with the parenthesis not being added around a constraint's expression.
@jgoux Can you share more about the use case? Generally the idea is that you'd parse, modify the parse tree, and then deparse - and protobuf is the way the...
> I guess what I want is the equivalent of `pg_query_parse` for `pg_query_deparse`, working with json instead of protobuf to pass the parsetree: > > https://github.com/pganalyze/libpg_query/blob/1ada550d901ed4edbfb6bce2163d21f4b948ab2d/src/pg_query_parse.c#L101 Ah, thanks for clarifying!...
You would have to have a step that turns the Protobuf into Javascript objects (e.g. using a library like [protobufjs](https://www.npmjs.com/package/protobufjs)), and then does the same in reverse before passing things...
> I currently maintain a dependency-less version of `x/oauth2` at https://github.com/ridge/auth2. Here are the patches: [master...ridge:oauth2:master](https://github.com/golang/oauth2/compare/master...ridge:oauth2:master) FWIW, I got a 404 on that link - looks like the correct link...
> Would @pganalyze be open to publishing binaries with releases (eg. as a part of a CI action)? We probably could, since we're already running the test infrastructure on Linux...
Thanks for the contribution! In my understanding, this mainly helps older compilers that don't default to C99 already - so I think that generally sounds good. And per my reading...
@bmvbooris Thanks for raising this! That's an interesting issue, because `VALUES` is the name the Postgres source uses for that scan token - we're just using that name 1:1 (and...
This has been implemented in the collector as of [version 0.45.1](https://github.com/pganalyze/collector/blob/main/CHANGELOG.md#0451------2022-08-12) (we now auto-detect the instance for the writer, and the reader in two node clusters).