Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PERFORM dblink_exec('dbname=beast_prod host=127.0.0.1 user=solars password=blalala',
- 'INSERT INTO users (
- id,
- bio
- ) VALUES (
- '||NEW.id||',
- '|| CASE WHEN NEW.bio IS NULL THEN null ELSE E'\''||NEW.bio||E'\'' END ||'
- )');
Add Comment
Please, Sign In to add comment