Created
August 1, 2023 14:28
-
-
Save C-Saunders/d1a00641f149d1a65d6f9f24923ecc1e to your computer and use it in GitHub Desktop.
Postgres type cast map
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select s.typname as source, t.typname as target, castcontext, castmethod | |
from pg_cast | |
left join pg_type as s on castsource = s.oid | |
left join pg_type as t on casttarget = t.oid; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment