From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Andrus <kobruleht2@hot.ee>
To: Justin <zzzzz.graf@gmail.com>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: How to fix 0xC0000005 exception in Postgres 9.0
Date: Fri, 21 Feb 2020 13:24:01 -0800
Message-ID: <537968fb-7d94-960a-1ecd-b1641fcea277@aklaver.com> (raw)
In-Reply-To: <B596487D64604440ADD33427B31AC91C@dell2>
References: <20200220224220.GA25223@alvherre.pgsql>
<21459e71-77c1-c3d0-a3e4-e2b97fd1efc3@aklaver.com>
<F592D9984F1042BC8F30909A3A7A733B@dell2>
<CALL-XeOAtrbxqqg0tKkcQCyw7aEzBDVXuCwLstOOShF7g=nZkQ@mail.gmail.com>
<CALL-XePf2j5GzbdLkB9vpHE7g9EwqZ61YXAMnnEAwDJLYcbXww@mail.gmail.com>
<8544B731C26E4A0D82BCC0DA5391735F@dell2>
<ef5a006a-6b89-8c48-abe2-2b950851c2c5@aklaver.com>
<B596487D64604440ADD33427B31AC91C@dell2>
On 2/21/20 12:50 PM, Andrus wrote:
> Hi!
>
>> In psql what does \d tempestuous show?
>> What relation is andmetp to tempestuous?
>
> I'm sorry, this was typo. Correct commands issued from application are
>
> select drop_table('temptulemus');
> create temp table temptulemus as select * from andmetp;
> select * from temptulemus offset 0 limit 900;
Alright so what does:
\d temptulemus
and/or
\d andmetp
show?
>
>> I thought you said you had problem with same table in Linux and
>> Windows servers?
>
> Yes.
>
>> From above what does the drop_table() function do in?:
>> select drop_table(‘temptulemus’);
>
> drop_table is defined as
>
> CREATE OR REPLACE FUNCTION drop_table(TEXT)
> RETURNS VOID STRICT LANGUAGE plpgsql AS $$
> BEGIN
> EXECUTE 'DROP TABLE ' || $1;
> EXCEPTION WHEN UNDEFINED_TABLE THEN
> RETURN;
> END;
> $$;
>
>
> Andrus.
--
Adrian Klaver
adrian.klaver@aklaver.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: adrian.klaver@aklaver.com, kobruleht2@hot.ee, zzzzz.graf@gmail.com, alvherre@2ndquadrant.com
Subject: Re: How to fix 0xC0000005 exception in Postgres 9.0
In-Reply-To: <537968fb-7d94-960a-1ecd-b1641fcea277@aklaver.com>
References: <20200220224220.GA25223@alvherre.pgsql> <21459e71-77c1-c3d0-a3e4-e2b97fd1efc3@aklaver.com> <F592D9984F1042BC8F30909A3A7A733B@dell2> <CALL-XeOAtrbxqqg0tKkcQCyw7aEzBDVXuCwLstOOShF7g=nZkQ@mail.gmail.com> <CALL-XePf2j5GzbdLkB9vpHE7g9EwqZ61YXAMnnEAwDJLYcbXww@mail.gmail.com> <8544B731C26E4A0D82BCC0DA5391735F@dell2> <ef5a006a-6b89-8c48-abe2-2b950851c2c5@aklaver.com> <B596487D64604440ADD33427B31AC91C@dell2> <537968fb-7d94-960a-1ecd-b1641fcea277@aklaver.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox