Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

tuple concurrently updated

Đang mở
#2 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
c, postgresql
Lĩnh vực
databases

Hướng nghiên cứu

Start by examining the code around update_prosrc_and_lang, CommandCounterIncrement, and FunctionCallInvoke in the quoted extension path. Reproduce the PostgreSQL tuple-concurrency error if possible and trace which operation triggers it. Done means identifying the cause and verifying that the extension no longer produces the error under the reproducing conditions.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

hi,brother, I found this extension often cause :
org.postgresql.util.PSQLException: ERROR: tuple concurrently updated

and it may be caused by this source code:
`/* ---- Temporarily expose plain source to plpgsql ------------ */
update_prosrc_and_lang(fn_oid, plain_src, cache->plpgsql_lang_oid);
CommandCounterIncrement();

fmgr_info_cxt(cache->plpgsql_call_oid, &plpgsql_flinfo, ...);
result = FunctionCallInvoke(plpgsql_fcinfo);

/* ---- Restore wrapped state ---------------------------------- */
update_prosrc_and_lang(fn_oid, orig_wrapped_prosrc, cache->wrap_lang_oid);
CommandCounterIncrement();`

Ngôn ngữ chính
C
Star
11
Fork
1
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue tương tự

Thêm issue về C

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.