On Wed, 18 Jun 2025 at 08:23, Anthonin Bonnefoy <anthonin.bonne...@datadoghq.com> wrote: > > On Tue, Jun 17, 2025 at 4:05 PM Jelte Fennema-Nio <postg...@jeltef.nl> wrote: > > > > Agreed. My vote is for \closeprepared as that aligns with the libpq > > function. > > Since \bind_named is also new, we can also rename it to make it > consistent with close meta-command. So what about renaming \bind_named > to \bindprepared and \close to \closeprepared?
I think I still prefer \bind_named or maybe \bindnamed (depending on what our policy for underscores in \ commands is). For that command it should differentiate from the already existing \bind command, which is also for prepared statements, just not for "named" prepared statements. While close needs to differentiate from close for portals vs close for prepared statements.