Skip to content

Optimize: ora_regexp_count will always count newlines #1480

Open

Description

@hanjianqiao

In function ora_regexp_count at contrib/ivorysql_ora/src/builtin_functions/character_datatype_functions.c line 769, the block if (PG_NARGS() == 4) { ... } counts newlines even when there is no need to do so.

Activity

  1. anapplebeee commented on Aug 18, 2026

    @anapplebeee
    Contributor

    /assign

  2. hanjianqiao commented on Aug 18, 2026

    @hanjianqiao
    CollaboratorAuthor

    This issue is also addressed by PR #1489, which has since been merged. As the problem no longer exists, this issue can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

good first issue

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions