Created
March 23, 2023 01:54
-
-
Save stevehenderson/97acd3af4a22d3d68c089473026da659 to your computer and use it in GitHub Desktop.
Query a postgres table with partitions and show the partition
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 tableoid::regclass AS source, * | |
FROM schema.partitioned_table |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment