Skip to content

Instantly share code, notes, and snippets.

@rlcarrca
Created September 6, 2025 01:13
Show Gist options
  • Save rlcarrca/c23890bfc429f625aa2c584420f3b3a9 to your computer and use it in GitHub Desktop.
Save rlcarrca/c23890bfc429f625aa2c584420f3b3a9 to your computer and use it in GitHub Desktop.
Querying the information_schema (Postgres/CloudSQL)
SELECT column_name, data_type, character_maximum_length, is_nullable
FROM information_schema.columns
WHERE table_schema = 'public' AND table_name = 'platform_logs';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment