Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: MagicStack/py-pgproto
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: uuid
Choose a base ref
...
head repository: MagicStack/py-pgproto
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 15 commits
  • 16 files changed
  • 11 contributors

Commits on Jul 25, 2022

  1. Configuration menu
    Copy the full SHA
    e7f1a02 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2023

  1. Fix wrong codecs API use (#20)

    Fixes #18
    fantix authored Aug 17, 2023
    Configuration menu
    Copy the full SHA
    a9a747d View commit details
    Browse the repository at this point in the history
  2. Remove the duplicate buffer bounds check (#16)

    frb_check does exactly the same: `n > frb.len`
    vmarkovtsev authored Aug 17, 2023
    Configuration menu
    Copy the full SHA
    c26f179 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    debae2b View commit details
    Browse the repository at this point in the history
  4. Provide illumos support (#23)

    To support illumos based distributions the endian.h could be included on the specified location.
    drscream authored Aug 17, 2023
    Configuration menu
    Copy the full SHA
    881be4c View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2023

  1. Configuration menu
    Copy the full SHA
    d1618aa View commit details
    Browse the repository at this point in the history
  2. Default to not-encoding JSON instead of raising

    A regression from #18.
    elprans committed Oct 7, 2023
    Configuration menu
    Copy the full SHA
    1c3cad1 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2024

  1. Export json_encode/decode functions (#26)

    Otherwise we get compilation warnings:
    
    ```
    asyncpg/pgproto/pgproto.c:23994:18: warning: ‘__pyx_f_7asyncpg_7pgproto_7pgproto_json_decode’ defined but not used [-Wunused-function]
    23994 | static PyObject *__pyx_f_7asyncpg_7pgproto_7pgproto_json_decode(struct __pyx_obj_7asyncpg_7pgproto_7pgproto_CodecContext *__pyx_v_settings, struct __pyx_t_7asyncpg_7pgproto_7pgproto_FRBuffer *__pyx_v_buf) {
          |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    asyncpg/pgproto/pgproto.c:23886:18: warning: ‘__pyx_f_7asyncpg_7pgproto_7pgproto_json_encode’ defined but not used [-Wunused-function]
    23886 | static PyObject *__pyx_f_7asyncpg_7pgproto_7pgproto_json_encode(struct __pyx_obj_7asyncpg_7pgproto_7pgproto_CodecContext *__pyx_v_settings, struct __pyx_obj_7asyncpg_7pgproto_7pgproto_WriteBuffer *__pyx_v_buf, PyObject *__pyx_v_obj) {
          |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ```
    eltoder authored Mar 1, 2024
    Configuration menu
    Copy the full SHA
    ea27e3f View commit details
    Browse the repository at this point in the history
  2. Improve typing (#25)

    bryanforbes authored Mar 1, 2024
    Configuration menu
    Copy the full SHA
    3cad045 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2024

  1. Configuration menu
    Copy the full SHA
    4df3c26 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2024

  1. Make redirect_messages return count (#28)

    ReadBuffer.redirect_messages now returns the number of messages redirected.
    This is needed for counting RowDescription messages to figure out
    how many rows were modified by DML statements.
    aljazerzen authored Jul 9, 2024
    Configuration menu
    Copy the full SHA
    780c522 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2024

  1. Work around a recent Cython bug. (#29)

    I'll be sending a fix upstream also but I want to move things forward
    on our side without waiting for a Cython release.
    msullivan authored Nov 5, 2024
    Configuration menu
    Copy the full SHA
    b8109fb View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2024

  1. Make buffer.pyx more standalone

    Move some definitions into `buffer.{pyx,pxd}` to reduce the hassle of
    cimporting it.
    elprans committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    9f415b2 View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2025

  1. Constify globals in datetime

    elprans committed Nov 24, 2025
    Configuration menu
    Copy the full SHA
    a9d2992 View commit details
    Browse the repository at this point in the history
  2. Remove cdef from UUID class variable

    This makes it so that Cython can store it in the module state
    elprans committed Nov 24, 2025
    Configuration menu
    Copy the full SHA
    a29a6f6 View commit details
    Browse the repository at this point in the history
Loading