Ummm, what version of GreenPlum am I running? (Which is the same as asking: What version of Postgres am I running?) There are a few easy ways to figure this out but I'll stick with the SQL since that's the most universal:
SELECT VERSION()
SQL Related Tips and Scripts