Re: initdb can't init the database

2023-06-10 Thread Wen Yi
OK. I find where the problem is, thanks very much!


Yours,
Wen Yi



-- Original --
From:   
 "Ian Lawrence Barwick" 
   


Re: Active Active PostgreSQL Solution

2023-06-10 Thread Bruce Momjian
On Sat, Jun 10, 2023 at 02:18:18AM -0300, Marcos Pegoraro wrote:
> 
> 
> Em sex., 9 de jun. de 2023 às 22:22, Bruce Momjian 
> 
> 
> Uh, I have no idea what that means and I didn't think we had active-active
> in version 16
> 
> https://postgrespro.com/blog/pgsql/5969859#commit_36628396

Oh, that's very interesting, thanks.

-- 
  Bruce Momjian  https://momjian.us
  EDB  https://enterprisedb.com

  Only you can decide what is important to you.




[no subject]

2023-06-10 Thread Rajmohan Masa
Hi Team,

1. We are using Windows server . How to set up Kerberos authentication?
2.How to set up/create/use SSPI authentication?
3.Like MSSQL server windows authentication is it possible in postgresql
server?

I tried to search through Google,youtube and chatgpt also. I'm unable to
get clarity on these 3 Questions so please help me out.
[image: image.png]

Thanks & Regards,
Rajamohan M.


What is gcda file?

2023-06-10 Thread Wen Yi
Hi team,
I start to open the debug log file to learn the postgres's source.
But I really don't know what is the gcda file?



psql (15.3)
Type "help" for help.

postgres=# exit;
profiling:/home/beginnerc/work:Cannot create directory
profiling:/home/beginnerc/work/project/postgresql-15.3/src/port/thread.gcda:Skip
profiling:/home/beginnerc/work:Cannot create directory
profiling:/home/beginnerc/work/project/postgresql-15.3/src/port/strerror.gcda:Skip
profiling:/home/beginnerc/work:Cannot create directory
profiling:/home/beginnerc/work/project/postgresql-15.3/src/port/snprintf.gcda:Skip
profiling:/home/beginnerc/work:Cannot create directory
profiling:/home/beginnerc/work/project/postgresql-15.3/src/port/qsort.gcda:Skip
profiling:/home/beginnerc/work:Cannot create directory
profiling:/home/beginnerc/work/project/postgresql-15.3/src/port/pqsignal.gcda:Skip
profiling:/home/beginnerc/work:Cannot create directory
profiling:/home/beginnerc/work/project/postgresql-15.3/src/port/pgstrsignal.gcda:Skip
profiling:/home/beginnerc/work:Cannot create directory
profiling:/home/beginnerc/work/project/postgresql-15.3/src/port/pgstrcasecmp.gcda:Skip
profiling:/home/beginnerc/work:Cannot create directory
profiling:/home/beginnerc/work/project/postgresql-15.3/src/port/path.gcda:Skip
profiling:/home/beginnerc/work:Cannot create directory
profiling:/home/beginnerc/work/project/postgresql-15.3/src/port/strlcpy.gcda:Skip
profiling:/home/beginnerc/work:Cannot create directory
profiling:/home/beginnerc/work/project/postgresql-15.3/src/port/strlcat.gcda:Skip
profiling:/home/beginnerc/work:Cannot create directory
profiling:/home/beginnerc/work/project/postgresql-15.3/src/common/stringinfo.gcda:Skip
profiling:/home/beginnerc/work:Cannot create directory
profiling:/home/beginnerc/work/project/postgresql-15.3/src/common/pg_get_line.gcda:Skip
profiling:/home/beginnerc/work:Cannot create directory
profiling:/home/beginnerc/work/project/postgresql-15.3/src/common/logging.gcda:Skip
profiling:/home/beginnerc/work:Cannot create directory
profiling:/home/beginnerc/work/project/postgresql-15.3/src/common/sprompt.gcda:Skip
profiling:/home/beginnerc/work:Cannot create directory
profiling:/home/beginnerc/work/project/postgresql-15.3/src/common/fe_memutils.gcda:Skip
profiling:/home/beginnerc/work:Cannot create directory
profiling:/home/beginnerc/work/project/postgresql-15.3/src/common/wchar.gcda:Skip
profiling:/home/beginnerc/work:Cannot create directory
profiling:/home/beginnerc/work/project/postgresql-15.3/src/common/wait_error.gcda:Skip
profiling:/home/beginnerc/work:Cannot create directory
profiling:/home/beginnerc/work/project/postgresql-15.3/src/common/username.gcda:Skip
profiling:/home/beginnerc/work:Cannot create directory
profiling:/home/beginnerc/work/project/postgresql-15.3/src/common/string.gcda:Skip
profiling:/home/beginnerc/work:Cannot create directory
profiling:/home/beginnerc/work/project/postgresql-15.3/src/common/psprintf.gcda:Skip
profiling:/home/beginnerc/work:Cannot create directory
profiling:/home/beginnerc/work/project/postgresql-15.3/src/common/kwlookup.gcda:Skip
profiling:/home/beginnerc/work:Cannot create directory
profiling:/home/beginnerc/work/project/postgresql-15.3/src/common/keywords.gcda:Skip
profiling:/home/beginnerc/work:Cannot create directory
profiling:/home/beginnerc/work/project/postgresql-15.3/src/common/exec.gcda:Skip
profiling:/home/beginnerc/work:Cannot create directory
profiling:/home/beginnerc/work/project/postgresql-15.3/src/common/encnames.gcda:Skip
profiling:/home/beginnerc/work:Cannot create directory
profiling:/home/beginnerc/work/project/postgresql-15.3/src/fe_utils/string_utils.gcda:Skip
profiling:/home/beginnerc/work:Cannot create directory
profiling:/home/beginnerc/work/project/postgresql-15.3/src/fe_utils/psqlscan.gcda:Skip
profiling:/home/beginnerc/work:Cannot create directory
profiling:/home/beginnerc/work/project/postgresql-15.3/src/fe_utils/print.gcda:Skip
profiling:/home/beginnerc/work:Cannot create directory
profiling:/home/beginnerc/work/project/postgresql-15.3/src/fe_utils/mbprint.gcda:Skip
profiling:/home/beginnerc/work:Cannot create directory
profiling:/home/beginnerc/work/project/postgresql-15.3/src/fe_utils/conditional.gcda:Skip
profiling:/home/beginnerc/work:Cannot create directory
profiling:/home/beginnerc/work/project/postgresql-15.3/src/fe_utils/cancel.gcda:Skip
profiling:/home/beginnerc/work:Cannot create directory
profiling:/home/beginnerc/work/project/postgresql-15.3/src/bin/psql/variables.gcda:Skip
profiling:/home/beginnerc/work:Cannot create directory
profiling:/home/beginnerc/work/project/postgresql-15.3/src/bin/psql/tab-complete.gcda:Skip
profiling:/home/beginnerc/work:Cannot create directory
profiling:/home/beginnerc/work/project/postgresql-15.3/src/bin/psql/stringutils.gcda:Skip
profiling:/home/beginnerc/work:Cannot create directory
profiling:/home/beginnerc/work/project/postgresql-15.3/src/bin/psql/startup.gcda:Skip
profiling:/home/beginnerc/work:Cannot create directory
pro

Re: What is gcda file?

2023-06-10 Thread David G. Johnston
On Sat, Jun 10, 2023 at 7:03 PM Wen Yi <896634...@qq.com> wrote:

> Hi team,
> I start to open the debug log file to learn the postgres's source.
> But I really don't know what is the gcda file?
>
>
My first Google search result for "gcda file" is this:

https://gcc.gnu.org/onlinedocs/gcc-4.1.2/gcc/Gcov-Data-Files.html

Seems like a reasonable answer to "what it is".

David J.


Re: What is gcda file?

2023-06-10 Thread Wen Yi
OK, I see.
Thanks very much!



Yours,
Wen Yi


-- Original --
From:   
 "David G. Johnston"

https://gcc.gnu.org/onlinedocs/gcc-4.1.2/gcc/Gcov-Data-Files.html

Seems like a reasonable answer to "what it is".

David J.