Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: unterminated dollar-quoted string at or near "$set_timestamp$ BEGIN NEW.last_modified_date = CURRENT_TIMESTAMP" at character 71 #438

Closed
cheungyatho opened this issue Aug 31, 2020 · 1 comment
Labels
status: duplicate A duplicate of another issue

Comments

@cheungyatho
Copy link

cheungyatho commented Aug 31, 2020

my trigger is like

CREATE OR REPLACE FUNCTION trigger_set_timestamp()
RETURNS TRIGGER AS $$
BEGIN
NEW.last_modified_date = CURRENT_TIMESTAMP;
RETURN NEW;
END;
$$ LANGUAGE plpgsql;

I run it through ConnectionFactoryInitializer.
I am using docker Postgres:latest
Is it a bug?

@mp911de
Copy link
Member

mp911de commented Sep 1, 2020

Thanks for reporting the issue. It's a duplicate of spring-projects/spring-framework#19999

@mp911de mp911de added the status: duplicate A duplicate of another issue label Sep 1, 2020
@mp911de mp911de closed this as completed Sep 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: duplicate A duplicate of another issue
Projects
None yet
Development

No branches or pull requests

2 participants