database/functions/get-stream-messages.sql in message-db-2.0.2 vs database/functions/get-stream-messages.sql in message-db-2.1.0

- old
+ new

@@ -58,10 +58,10 @@ RAISE NOTICE 'stream_name ($1): %', get_stream_messages.stream_name; RAISE NOTICE 'position ($2): %', get_stream_messages.position; RAISE NOTICE 'batch_size ($3): %', get_stream_messages.batch_size; RAISE NOTICE 'condition ($4): %', get_stream_messages.condition; RAISE NOTICE 'Generated Command: %', _command; - end if; + END IF; RETURN QUERY EXECUTE _command USING get_stream_messages.stream_name, get_stream_messages.position, get_stream_messages.batch_size;