Yanming Zhou

Results 241 comments of Yanming Zhou
trafficstars

> Note: JDBC specifies 6 prepareStatement methods (e.g. autogeneratedKeys, resultsettype, holdability, and so on), so if we go with adding PlaceholderStyle parameter, we would have to add 6 new prepareStatement...

> Based on my current understanding, "auto detect" is likely not an option as it might create subtle parsing issues. For instance, with "positional" (JDBC) style, one has to duplicate...

> The query might contain no placeholders at all in which case you won't be able to tell if it is "positional or named". Then use positional as default because...

It seems that pgjdbc only support `ApplicationName` as name. https://github.com/pgjdbc/pgjdbc/blob/2f7511504c8eff34e55ed4b72df369687a09e3a8/pgjdbc/src/main/java/org/postgresql/jdbc/PgConnection.java#L1562-L1601

I think it's reasonable, It's better to submit a PR instead.

> overlaps partially with #3468 You could merge any one first, I will rebase the other one later.