Entities created in one query not available in another in extended protocol

From: Shay Rojansky <roji(at)roji(dot)org>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Entities created in one query not available in another in extended protocol
Date: 2015-06-11 09:20:24
Message-ID: CADT4RqAH2nuVwM6cEugFL2z6apwXfP3OJb=zxR6jRgWEpx_2Ww@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

In Npgsql, the .NET driver for PostgreSQL, we've switched from simple to
extended protocol and have received a user complaint.

It appears that when we send two messages in an extended protocol (so two
Parse/Bind/Execute followed by a single Sync), where the first one creates
some entity (function, table), and the second one can't query that entity
(not found). This isn't terribly important but does seem a bit odd, I
wanted to make sure you're aware of this.

Thanks,

Shay

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2015-06-11 09:38:45 Re: Entities created in one query not available in another in extended protocol
Previous Message Fujii Masao 2015-06-11 08:48:33 Re: pg_rewind failure by file deletion in source server