Executing interactive application from C function - 04-09-2006 , 04:37 AM
I'm working in Windows with PostgreSQL, and I have created a simple C
function in a DLL, which contains only the line:
I have successfully created a function in my db, and linked it to the
However, when I execute, in pgAdminIII and psql (and other clients):
the program freezes!
The "Task Manager" shows that Windows is effectively executing
"notepad.exe" for user "postgres": if I shut down Notepad with "Task
Manager", the client works fine.
It seems that PostgreSQL for Windows locks the interaction with the
user... because launching non-interactive programs works well.