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

PG:not work with procedure #35

Open
lalexs75 opened this issue Dec 4, 2019 · 1 comment
Open

PG:not work with procedure #35

lalexs75 opened this issue Dec 4, 2019 · 1 comment
Labels
enhancement New feature or request PostgreSQL
Milestone

Comments

@lalexs75
Copy link
Owner

lalexs75 commented Dec 4, 2019

PG:not work with procedure

@lalexs75
Copy link
Owner Author

lalexs75 commented Dec 4, 2019

CREATE PROCEDURE insert_data(a integer, b integer)
LANGUAGE SQL
AS $$
INSERT INTO tbl VALUES (a);
INSERT INTO tbl VALUES (b);
$$;

CALL insert_data(1, 2);

ALTER PROCEDURE insert_data(integer, integer) RENAME TO insert_record;

ALTER PROCEDURE insert_data(integer, integer) OWNER TO joe;

ALTER PROCEDURE insert_data(integer, integer) SET SCHEMA accounting;

ALTER PROCEDURE insert_data(integer, integer) DEPENDS ON EXTENSION myext;

ALTER PROCEDURE check_password(text) SET search_path = admin, pg_temp;

ALTER PROCEDURE check_password(text) RESET search_path;

DROP PROCEDURE do_db_maintenance();

@lalexs75 lalexs75 added this to the Version 1.0 milestone Dec 13, 2019
@lalexs75 lalexs75 added enhancement New feature or request PostgreSQL labels Dec 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request PostgreSQL
Projects
None yet
Development

No branches or pull requests

1 participant