Re: how to create multiple databases running in different dirs
В списке pgsql-general по дате отправления:
| От | Rob Sargent |
|---|---|
| Тема | Re: how to create multiple databases running in different dirs |
| Дата | |
| Msg-id | 53B1FB1C.2020303@gmail.com обсуждение исходный текст |
| Ответ на | how to create multiple databases running in different dirs ("frank ernest" <doark@mail.com>) |
| Список | pgsql-general |
Is each runtime instance of your application to have a new, empty database? No data from any other run of the application?Hi, I'm new to postgresql and sql in general. I desired to write a program in C that used an sql data base for IPC and because multiple copies of my program might run on the same machine I wanted a way to ensure that only one copy of each multithreaded program got one database but I'm uncertain how to go about this. As the program might be run several different times and each time it should only get the data base from it's predisesor I can't use the pid as a unique data base name. I thought that I might start multiple pgsql instances but somehow that seems wrong. Any ideas?Thanks, David
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера