X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 2810F9DC849 for ; Fri, 16 Dec 2005 04:10:46 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 53781-07 for ; Fri, 16 Dec 2005 04:10:46 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from venus.amiindia.co.in (unknown [203.199.198.234]) by postgresql.org (Postfix) with ESMTP id 7D4079DC807 for ; Fri, 16 Dec 2005 04:10:27 -0400 (AST) Received: from venus.amiindia.co.in (localhost.localdomain [127.0.0.1]) by venus.amiindia.co.in (8.12.11/8.12.11) with ESMTP id jBG85EJv024543; Fri, 16 Dec 2005 13:35:14 +0530 Received: from amiindiahjwbgh (unknown [10.0.0.205])by venus.amiindia.co.in (Postfix) with ESMTP id 25052332874; Fri, 16 Dec 2005 13:35:14 +0530 (IST) Message-ID: <013e01c60219$14c54b70$cd00000a@amiindiahjwbgh> From: "sandhya" To: "Bruno Wolff III" Cc: "postgre" References: <00d101c60139$f357d0a0$cd00000a@amiindiahjwbgh> <20051216042337.GA29958@wolff.to> Subject: Re: reg:Import&Export functions Date: Fri, 16 Dec 2005 13:46:56 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 x-mimeole: Produced By Microsoft MimeOLE V6.00.2800.1441 X-imss-version: 2.5 X-imss-result: Passed X-imss-scores: Clean:99.90000 C:21 M:2 S:5 R:5 X-imss-settings: Baseline:5 C:3 M:3 S:4 R:3 (0.2500 0.7500) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.001 required=5 tests=[AWL=0.000, UNPARSEABLE_RELAY=0.001] X-Spam-Score: 0.001 X-Spam-Level: X-Archive-Number: 200512/163 X-Sequence-Number: 19883 hi..... I copied it using file streams.It worked fine for Linux even for the remote Client. But facing problems in Windows OS.I think it is not able to understand the OID that we are passing. It is giving error while opening the large object. In Windows application how can i pass the large objects. export(conn,objid,"c://home.htm"); Inside this function i am using lobj_fd = lo_open(conn, lobjId, INV_READ); if (lobj_fd < 0) { MessageBox(0,lobjId, "can't open large object",MB_OK); } It is displaying Can't open large object.......also it is not getting the value of "lobjId". I am new to postgres also this .net stuff.Pls help me to proceed further. Thank you Sandhya ----- Original Message ----- From: "Bruno Wolff III" To: "sandhya" Cc: "postgre" Sent: Friday, December 16, 2005 9:53 AM Subject: Re: [ADMIN] reg:Import&Export functions > On Thu, Dec 15, 2005 at 11:09:43 +0530, > sandhya wrote: > > Hi all, > > > > I have my postgres server running on Linux OS. > > I need to export the files from the Linux OS to Windows drive. > > Is there any possibilty of doing this? > > Can you explain this in some more detail? Exporting files from linux to > windows doesn't seem to have anything to do with Postgres. You would > use samba to do that. > > > I am connecting to DB through my VC 7Application. > > In that i need to export the files from the DB to the local machine where i am running the application.Is it possible to do that? > > Please tell me what to do in that case.... > > > > Thank you > > Sandhya > > ---------------------------(end of broadcast)--------------------------- > TIP 6: explain analyze is your friend >