Re: [PATCH] Add function to_oct

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: vignesh C <vignesh21@gmail.com>
Cc: Eric Radman <ericshane@eradman.com>, Dag Lem <dag@nimrod.no>, pgsql-hackers@lists.postgresql.org
Date: 2023-01-07T15:29:49Z
Lists: pgsql-hackers
vignesh C <vignesh21@gmail.com> writes:
> Few suggestions
> 1) We could use to_oct instead of to_oct32 as we don't have multiple
> implementations for to_oct

That seems (a) shortsighted and (b) inconsistent with the naming
pattern used for to_hex, so I doubt it'd be an improvement.

			regards, tom lane



Commits

  1. Add to_bin() and to_oct().