As follows:
select (ctid::text::point)[1]::bigint AS row_number from user;
add another point:
The comparison expression for ctid is as follows:
select ctid, id, name from user;
delete from user where ctid='(0,1)';
As follows:
select (ctid::text::point)[1]::bigint AS row_number from user;
add another point:
The comparison expression for ctid is as follows:
select ctid, id, name from user;
delete from user where ctid='(0,1)';