plpgsql
Using pg_notify in PostgreSQL trigger function
I am attempting to issue a notification from a PostgreSQL trigger function. I can successfully use the NOTIFY command, but I am not having any luck with pg_notify. Even though I receive a notification[详细]
2023-02-19 03:10 分类:问答Syntax Error in PL/pgSQL function
This my pl/sql PL/pgSQL function. I am facing syntax error in this function. Can you please help me to solve this problem.[详细]
2023-02-15 12:13 分类:问答How to replace string values inside plpython?
Hi i need to replace value into null value in plpython, but how can i do that?Can somebody help? for example开发者_JAVA技巧 inside plpython sql i wrote.[详细]
2023-02-15 10:50 分类:问答Initialize multidimensional array in plpgsql
can someone开发者_Go百科 tell me how to initialize a multidimensional array in plpgsql? Thanks.CREATE OR REPLACE FUNCTION foo()[详细]
2023-02-14 14:07 分类:问答Debugging PL/Python functions
I just practiced some happy engineering and wrote lots of code without testing each step as I usually do.[详细]
2023-02-14 08:22 分类:问答plpgsql function text concatenation error
Can any one correct below statement? strdir := \'copy \' t_na开发者_StackOverflow社区me.relname[详细]
2023-02-14 02:12 分类:问答A simple pg/plsql loop example
We are redesigning table schema in postgres. It used to have a linker table to the two tables partner and advertiser of the name partner_advertiser since we were assuming a many-many relationship betw[详细]
2023-02-13 03:35 分类:问答PostgreSQL: nested loop
Is it possible to have a loop within another loop? (nested loops) in postgres. Something similar to below:[详细]
2023-02-12 20:27 分类:问答PostgreSQL: modifying procedure parameter
I have database table where game players can rate each other and also leave an optional comment (if they have a good enough \"reputation\" themselves):[详细]
2023-02-11 21:52 分类:问答How do I pass in the array output of SQL query into a PostgreSQL (PL/pgSQL) function?
I am able to do the following in SQL where an \"array\" of user_ids are passed into the where clause of a SQL query.[详细]
2023-02-11 13:19 分类:问答