Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W1W2g-0005mf-4m for pgsql-bugs@arkaria.postgresql.org; Fri, 10 Jan 2014 06:58:06 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1W1W2f-0000rR-I4 for pgsql-bugs@arkaria.postgresql.org; Fri, 10 Jan 2014 06:58:05 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W1W2e-0000rF-TK for pgsql-bugs@postgresql.org; Fri, 10 Jan 2014 06:58:04 +0000 Received: from mail-ee0-f52.google.com ([74.125.83.52]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W1W2b-0002vt-VN for pgsql-bugs@postgresql.org; Fri, 10 Jan 2014 06:58:04 +0000 Received: by mail-ee0-f52.google.com with SMTP id d17so1722892eek.39 for ; Thu, 09 Jan 2014 22:58:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:reply-to:organization :message-id:to:cc:subject:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=atHhueGHTJev/kbAd+qmIaKLVMiG8R7wL8nYvU6qJV0=; b=mgdnfJKB1kpEovGxzt/tyRbo3En+Py1hxq6K0CY5L4uKTknsQ9jvzkz4yOh6JAcGnU 1Bx5o6chssSobM/XUb2Y6rsJOMBhT0jDbsRan/aPxCNsPEyydGJ5TRwmWtehNe2cs9Vh BC2QperiIQ7SaW5pP7xzacyEgLI9QcGgBaWF5kQji6OzvjIRLkn+z8LMiIyUQWC5Z0vL zS8CPrMRNYl11pVXWsi0I5NPzx7x5GDSY+OPHIzbaVoLMQHq04veIwAfAiQjX80MkyU8 fT7H19SdGOqv+Ecl0Z0vkGbSYuDA86MTAAzH0Rfz25KkPEN1H8IGg7VupkhxAUgSzLPq 54zQ== X-Gm-Message-State: ALoCoQkpRefP+dvsa1j+tlpHqL3KP9oIRW/jdduSmEch/RrAaUO630XEZFMt1hTfm2ld99jsQS/9 X-Received: by 10.14.108.6 with SMTP id p6mr7494538eeg.31.1389337080270; Thu, 09 Jan 2014 22:58:00 -0800 (PST) Received: from [192.168.1.102] (127-34-124-91.pool.ukrtel.net. [91.124.34.127]) by mx.google.com with ESMTPSA id j46sm11901720eew.18.2014.01.09.22.57.57 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 09 Jan 2014 22:57:58 -0800 (PST) Date: Fri, 10 Jan 2014 08:57:57 +0200 From: Pavel Golub Reply-To: Pavel Golub Organization: Microolap X-Priority: 3 (Normal) Message-ID: <1444293434.20140110085757@gf.microolap.com> To: Michael Paquier CC: rabigul@gmail.com, pgsql-bugs@postgresql.org Subject: Re: BUG #8760: Large Objects In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Hello, Michael. You wrote: MP> On Thu, Jan 9, 2014 at 9:01 PM, wrote: >> I'm seeing errors whilst Asterisk is trying to run Insert command and add >> voice messages into Postgresql DB. >> here are asterisk instructions to define large objects >> >> >> https://wiki.asterisk.org/wiki/display/AST/Storing+Voicemail+in+PostgreSQL+via+ODBC >> >> >> ERROR: invalid large-object descriptor: 16551 >> ERROR: current transaction is aborted, commands ignored until end of >> transaction block >> ERROR: current transaction is aborted, commands ignored until end of >> transaction block >> ERROR: invalid large-object descriptor: 16552 >> ERROR: current transaction is aborted, commands ignored until end of >> transaction block >> ERROR: current transaction is aborted, commands ignored until end of >> transaction block >> >> >> Could you please advise if this is the bug in software and needs updated >> patch? >> I have several time re run configs and did alot of troubleshooting but don't >> find much help. MP> This is a bug of your application. This error simply means that this MP> application is expecting a large object that it cannot find, MP> symbolized by the invalid descriptor OID reported in the message. One more notice. All operations on LO (oids) must be done inside transaction bloc. Thus there should always be call for COMMIT or ROLLBACK before another try to put LO to the table. I'm not sure about your code, but you should check this too. MP> Regards, MP> -- MP> Michael -- With best wishes, Pavel mailto:pavel@gf.microolap.com -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs