|
|
Choosing A Webhost: |
Re: Another LargeObject problem: msg#00409db.postgresql.jdbc
Ole Streicher <ole-usenet-spam@xxxxxxx> writes: > I have another Problem when using LargeObjects. >> From time to time, I get the exception > FastPath call returned ERROR: lo_lseek: invalid large obj descriptor (369) > What does this exception mean? It means the descriptor you opened with lo_open isn't open anymore (or that you're passing the wrong descriptor number, but the former is more likely). Descriptors are closed at transaction end, so you have to hold open a transaction block for your entire lo_open .. lo_close sequence. > It occurs randomly; a repeated retrieval works usually. If it seems "random" then you are probably being careless with connection pooling. You've got to hold onto the same connection and same transaction for as long as you're using the LO. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to majordomo@xxxxxxxxxxxxxx
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Another exception (Transaction level), Csaba Nagy |
|---|---|
| Next by Date: | Re: Another exception (Transaction level), Paul Thomas |
| Previous by Thread: | Another LargeObject problem, Ole Streicher |
| Next by Thread: | Problem with LargeObject/jdbc when writing short (Repost), Ole Streicher |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |