[SQL] lo_import

2012-01-03 Thread Maurício Cruz
Hi all, I'm trying to use lo_import to import a file into my database, if I execute from postgres runing in my local machine it works perfectly, but if I do it in the postgres runing in the server, it says "No such file or directory" I Guess postgres only see file on the machine it is runing

[SQL] Call a external app on postgreSQL start-up (windows)

2011-12-27 Thread Maurício Cruz
Hi all, I need to execute some rotines on windows every time that postgreSQL is start at the server machine, I was thinking to create a PL/PGSQL to call this executable, or something like... Does any one, have done something like this ? or have any idea ? Thanks everyone! -- Sent via pg