Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Postgres 8.4.8 相当于什么
DO $$ BEGIN IF NOT EXISTS (...) THEN EXECUTE ...; END IF; END; $$;
?
create function f() returns void as $$ BEGIN IF NOT EXISTS (...) THEN EXECUTE ...; END IF; END; $$ language plpgsql; select f();