Postgres View Function Python Questions Geeks