Re: How to fix 0xC0000005 exception in Postgres 9.0

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Andrus <kobruleht2(at)hot(dot)ee>, Justin <zzzzz(dot)graf(at)gmail(dot)com>
Cc: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: How to fix 0xC0000005 exception in Postgres 9.0
Date: 2020-02-21 21:24:01
Message-ID: 537968fb-7d94-960a-1ecd-b1641fcea277@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andrus 2020-02-21 21:56:25 Re: How to fix 0xC0000005 exception in Postgres 9.0
Previous Message Andrus 2020-02-21 20:50:01 Re: How to fix 0xC0000005 exception in Postgres 9.0