Re: feature request ctid cast / sql exception - Mailing list pgsql-hackers

From David G. Johnston
Subject Re: feature request ctid cast / sql exception
Date
Msg-id CAKFQuwbYWGO6xGH2S=MWJVpKXJeFDcesa4Ro3dNi9MUZNqDDRA@mail.gmail.com
Whole thread Raw
In response to feature request ctid cast / sql exception  (Vladimír Houba ml. <v.houba@gmail.com>)
Responses Re: feature request ctid cast / sql exception  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Sat, Apr 17, 2021 at 10:58 AM Vladimír Houba ml. <v.houba@gmail.com> wrote:
I propose to implement a builtin and efficient bidirectional cast between ctid and bigint types.


Why?

 
Another nice feature would be a function that can be called from a sql statement and would throw an exception when executed.


An assertion-related extension in core would be welcomed.

David J.

pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: proposal - log_full_scan
Next
From: Tom Lane
Date:
Subject: Re: "could not find pathkey item to sort" for TPC-DS queries 94-96