Sergey Prokhorov
Sergey Prokhorov
Avro schemas can be defined in 2 formats: json and [Avro IDL](https://avro.apache.org/docs/current/idl.html). erlavro currently supports only JSON version. Maybe it would worth to have support for avdl also?
So, should add `Accept-Encoding: gzip,deflate` to request, then check for `Content-Encoding: gzip` or `Content-Encoding: deflate` and decompress body (after de-chunking). Decompression may be done in single pass (`zlib:gunzip/1` for gzip...
Mostly based the generators on the typespecs in `thoas` module. Some of it borrowed from my old gist https://gist.github.com/seriyps/ffe0f5f5ba270fc4dd395208718e84d3 It fails on some input, CI would fail because of that:...
Before the only way to encode Erlang term to PostgreSQL binary format was to use `epgsql_wire:encode_parameters` that calls `epgsql_binary:encode/3` in a loop. The problem is that `epgsql_binary:encode/3` does quite a...
I noticed that Elixir people in postgrex used [a library](https://github.com/riverrun/pbkdf2_elixir) to implement scram password hashing: https://github.com/elixir-ecto/postgrex/pull/410/files#diff-3e2400d928ee8dfffbe041e24515a8b2R735 Maybe it makes sense to use [erlang pbkf2](https://github.com/basho/erlang-pbkdf2) library for epgsql as well instead...
Command description https://www.postgresql.org/docs/current/static/sql-copy.html Protocol description https://www.postgresql.org/docs/current/static/protocol-flow.html#PROTOCOL-COPY Protocol packet description https://www.postgresql.org/docs/current/static/protocol-message-formats.html By "add support for copy" I mean support for "COPY ... FROM STDIN" and "COPY .. TO STDOUT", because server-side...
As discussed a bit in https://github.com/epgsql/epgsql/pull/214#discussion_r377513977 - it might be cool to restructure our README. Right now it contains quite a lot of historical intro at the beginning (why fork,...
Fixes #144. But it doesn't look like we use this reset.sql anymore, so, maybe we can just remove it
See #215 Spec http://spec.graphql.org/October2021/#sec-Boolean
Took me an hour to figure it out :laughing: