AW: AW: posgres 12 bug (partitioned table)

From: Wilm Hoyer <W(dot)Hoyer(at)dental-vision(dot)de>
To: Pavel Biryukov <79166341370(at)yandex(dot)ru>, Andres Freund <andres(at)anarazel(dot)de>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Robert Haas <robertmhaas(at)gmail(dot)com>, PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: AW: AW: posgres 12 bug (partitioned table)
Date: 2020-08-12 10:57:49
Message-ID: 05311413c04d49d8be4dd4a21ad587fc@dental-vision.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers


> Wilm,

> Have a look, there is even an extension method for xmin (stable branch):

> https://github.com/npgsql/efcore.pg/blob/stable/src/EFCore.PG/Extensions/NpgsqlEntityTypeBuilderExtensions.cs

> EF Core is mostly independent from DB, but there usually are some "tweaks" for each database that you should know (like for SQL server the native concurrency token should be like byte[]:

1. [TimeStamp]
2. public byte[] RowVersion { get; set; }
3. )

> Additional "self defined column" for billion rows tables leads to additional space needed. We use partitioning when the tables are LARGE :)

> This works fine in 10, 11, it's strange it is broken in 12 (from db users point of view, I haven't examined the sources of PG for internals...)

Sorry, i had not looked into the extension since it is not part of core npgsql. As it states: Npgsql.EntityFrameworkCore.PostgreSQL is an Entity Framework Core provider built on top of Npgsql<https://github.com/npgsql/npgsql>. (and we left npgsql before this extension was started).
I guess it would be easy for them to implement a solution, because that basically means adopting the relevant part from the EF SqlServer implementation. But i fear you’re out of luck with them, as support for table partitioning is still an open issue in their project.

Best regards
Wilm.

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Pavel Biryukov 2020-08-12 11:08:15 Re: AW: AW: posgres 12 bug (partitioned table)
Previous Message Pavel Biryukov 2020-08-12 10:10:52 Re: AW: posgres 12 bug (partitioned table)

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Biryukov 2020-08-12 11:08:15 Re: AW: AW: posgres 12 bug (partitioned table)
Previous Message Pavel Biryukov 2020-08-12 10:10:52 Re: AW: posgres 12 bug (partitioned table)