-
Notifications
You must be signed in to change notification settings - Fork 82
fix to use pg_get_functiondef()
#12
fix to use pg_get_functiondef()
#12
Conversation
'GetFunctionDefByPg()' => '!!GetFunctionDefByPg()'
Hi! Could you send this pull request as patch to pgadmin-hackers@postgresql.org? |
BTW
what's wrong with this function? :) |
ok. a few examples: example "A"write function:
pgAdmin3 transforming it to function:
and of course with error:
example "B"
pgAdmin3 transforming it to function:
...with error:
other minor discomfortwords -- |
but this sql code was generated by pgadmin, isn't it? I thought you are talking about native postgres function |
sorry for my ambiguity message.. yes. my examples -- about pgadmin-generation (without I wanted to say: I do not know about bad sides of
yes. i copied (just now) |
…negation, because type of the variable is wxstring. Also I added the Trim() function before check if function definition is empty or not.
Thanks for your Pull Request! 😄 This repo on GitHub is just a mirror of our real git repositories though, and can't really handle PRs. 😦 Hopefully you can redo the PR, and direct it to the git.postgresql.org repos? We have a developer guide, if that helps: https://wiki.postgresql.org/wiki/So,_you_want_to_be_a_developer%3F. If this was a PR for pgAdmin, please visit https://www.pgadmin.org/docs/pgadmin4/dev/submitting_patches.html. |
fix to use
pg_get_functiondef()
in "Scripts=>CREATE Script".pg_get_functiondef()
-- less wrong