Skip to content

Commit

Permalink
Add DROP PROCEDURE
Browse files Browse the repository at this point in the history
  • Loading branch information
k1LoW committed Jun 16, 2023
1 parent 99895ce commit 63e8c49
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions testdata/ddl/postgres.sql
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ DROP TABLE IF EXISTS user_access_logs;
DROP TABLE IF EXISTS user_options;
DROP TABLE IF EXISTS users;
DROP FUNCTION IF EXISTS update_updated();
DROP PROCEDURE IF EXISTS reset_comment();
DROP SCHEMA IF EXISTS administrator;
DROP SCHEMA IF EXISTS backup;
DROP SCHEMA IF EXISTS time;
Expand Down Expand Up @@ -222,8 +223,8 @@ CREATE TABLE time.referencing (

CREATE OR REPLACE PROCEDURE reset_comment (comment_id int) AS '
begin
update comments
set comment = "updated"
update comments
set comment = "updated"
where id = comment_id;
commit;
Expand Down

0 comments on commit 63e8c49

Please sign in to comment.