Re: [HACKERS] Support to COMMENT ON DATABASE CURRENT_DATABASE

2017-10-09 Thread Jing Wang
The recent email with updated patch is as following: https://www.postgresql.org/message-id/CAF3%2BxMKkKpd8oVRpN9i1BFMau2dFhVrt-Y0BE%3DDsoKtOm%3DC2AQ%40mail.gmail.com -- Regards, Jing Wang Fujitsu Australia

Re: [HACKERS] Support to COMMENT ON DATABASE CURRENT_DATABASE

2017-10-05 Thread Jing Wang
. comment_on_current_database_for_pgdump_v4.3.patch --- only for the pg_dump part changed based on the previous patch Regards, Jing Wang Fujitsu Australia comment_on_current_database_no_pgdump_v4.3.patch Description: Binary data comment_on_current_database_for_pgdump_v4.3.patch Description: Binary data -- Sent via pgsql-hackers

Re: [HACKERS] Support to COMMENT ON DATABASE CURRENT_DATABASE

2017-09-11 Thread Jing Wang
Hi Surafel, Sorry for that. Yes. The test case file is forgotten to be added into the previous patch. Kindly please use the updated patch in the attached file. Regards, Jing Wang Fujitsu Australia comment_on_current_database_no_pgdump_v4.1.patch Description: Binary data -- Sent via pgsql

Re: [HACKERS] Support to COMMENT ON DATABASE CURRENT_DATABASE

2017-09-11 Thread Jing Wang
Hi Surafel, Please find the rebased patch based on latest version in the attached file. Regards, Jing Wang Fujitsu Australia comment_on_current_database_for_pgdump_v4.patch Description: Binary data comment_on_current_database_no_pgdump_v4.patch Description: Binary data -- Sent via pgsql

Re: [HACKERS] Support to COMMENT ON DATABASE CURRENT_DATABASE

2017-08-30 Thread Jing Wang
Hi All, Enclosed please find the patch only for the pg_dump using the 'comment on current_database' statement. This patch should be working with the previous patch which is comment_on_current_database_no_pgdump_v3.patch Regards, Jing Wang Fujitsu Australia

Re: [HACKERS] Support to COMMENT ON DATABASE CURRENT_DATABASE

2017-08-24 Thread Jing Wang
. ALTER DATABASE CURRENT_DATABASE RESET parameter ... 5. SELECT CURRENT_DATABASE 6. SECURITY LABEL ON DATABASE CURRENT_DATABASE is ... The patch doesn't cover the pg_dump part which will be included in another patch later. Regards, Jing Wang Fujitsu Australia

[HACKERS] proposal: Support Unicode host variable in ECPG

2017-06-28 Thread Jing Wang
; DELETE * FROM emp; /* Unicode converted to Database character */ EXEC SQL INSERT INTO emp (ename,address) VALUES (:employee, :address); EXEC SQL DROP TABLE emp; EXEC SQL DISCONNECT ALL; } -- Regards, Jing Wang Fujitsu Australia

Re: [HACKERS] Support to COMMENT ON DATABASE CURRENT_DATABASE

2017-06-19 Thread Jing Wang
load a dump into a differently named database. Thanks your review and suggestion. I will add them. Regards, Jing Wang Fujitsu Australia

Re: [HACKERS] Support to COMMENT ON DATABASE CURRENT_DATABASE

2017-06-04 Thread Jing Wang
Hi Michael, >You should add that to the next commit fest: >https://commitfest.postgresql.org/14/ <https://commitfest.postgresql.org/14/> Thanks your mention. I will do that. Regards, Jing Wang Fujitsu Australia

[HACKERS] Support to COMMENT ON DATABASE CURRENT_DATABASE

2017-06-04 Thread Jing Wang
[1] https://www.postgresql.org/message-id/20150317171836.gc10...@momjian.us [2] https://www.postgresql.org/message-id/flat/CAB7nPqSTXUWAx-C5Pgw%2Bdu5jxu4QZ%3DaxQq165McmyT3UggWmuQ%40mail.gmail.com#CAB7nPqSTXUWAx-C5Pgw+du5jxu4QZ=axqq165mcmyt3uggw...@mail.gmail.com -- Regards, Jing Wang Fujitsu Aust