-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
https://neon.tech/postgresql/postgresql-plpgsql/dollar-quoted-string-constants
Current solution is to use a single-quoted block; https://neon.tech/postgresql/postgresql-plpgsql/dollar-quoted-string-constants#using-dollar-quoted-string-constants-in-anonymous-blocks
do
'declare
film_count integer;
begin
select count(*) into film_count
from film;
raise notice ''The number of films: %'', film_count;
end;'
;
instead of
do
$$
declare
film_count integer;
begin
select count(*) into film_count
from film;
raise notice 'The number of films: %', film_count;
end;
$$;
Metadata
Metadata
Assignees
Labels
No labels