Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitec3357a

Browse files
committed
pg_lsn should not be marked typispreferred.
In general it's not a good idea for built-in types in the 'U' categoryto be marked preferred; they could draw behavior away from user-definedtypes with similarly-named operators. pg_lsn is probably at low riskof that right now given the lack of casts between it and other types,but that doesn't make this marking OK.Ordinarily we'd bump catversion when changing any predefined catalogcontents like this, but since we're past beta1, the costs of a forcedinitdb seem to outweigh the benefits of guaranteed behavioral consistency.There's not any known behavioral impact today anyway --- this is morein the nature of being sure there's not problems in future.Per an off-list complaint from Thomas Fanghaenel.
1 parent8600031 commitec3357a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/include/catalog/pg_type.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ DESCR("UUID datatype");
578578
DATA(insertOID=2951 (_uuidPGNSPPGUID-1fbAft \054029500array_inarray_outarray_recvarray_send--array_typanalyzeixf0-100_null__null__null_ ));
579579

580580
/* pg_lsn */
581-
DATA(insertOID=3220 (pg_lsnPGNSPPGUID8FLOAT8PASSBYVALbUtt \054003221pg_lsn_inpg_lsn_outpg_lsn_recvpg_lsn_send---dpf0-100_null__null__null_ ));
581+
DATA(insertOID=3220 (pg_lsnPGNSPPGUID8FLOAT8PASSBYVALbUft \054003221pg_lsn_inpg_lsn_outpg_lsn_recvpg_lsn_send---dpf0-100_null__null__null_ ));
582582
DESCR("PostgreSQL LSN datatype");
583583
#defineLSNOID3220
584584
DATA(insertOID=3221 (_pg_lsnPGNSPPGUID-1fbAft \054032200array_inarray_outarray_recvarray_send--array_typanalyzedxf0-100_null__null__null_ ));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp