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

Commit20617f4

Browse files
tglsfdcpull[bot]
authored andcommitted
Remove special outfuncs/readfuncs handling of RangeVar.catalogname.
Historically we skipped writing/reading this field, but that nolonger works under WRITE_READ_PARSE_PLAN_TREES since we expandedthe coverage of that option to include utility commands (787102b).Remove the special case and just treat this field normally.Bump catversion out of an abundance of caution --- I do not thinkwe currently ever store RangeVar nodes in the catalogs, butperhaps I'm wrong.Per report from Pavel Stehule.Discussion:https://postgr.es/m/CAFj8pRAYvYu-qU7-NieqRRyaQZk-yr3UjtHQ2LR62PS9M1dZMA@mail.gmail.com
1 parente779ccd commit20617f4

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

‎src/include/catalog/catversion.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,6 @@
5757
*/
5858

5959
/*yyyymmddN */
60-
#defineCATALOG_VERSION_NO202301231
60+
#defineCATALOG_VERSION_NO202301232
6161

6262
#endif

‎src/include/nodes/primnodes.h

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,8 @@ typedef struct RangeVar
6464
{
6565
NodeTagtype;
6666

67-
/*
68-
* the catalog (database) name, or NULL; ignored for read/write, since it
69-
* is presently not semantically meaningful
70-
*/
71-
char*catalognamepg_node_attr(read_write_ignore,read_as(NULL));
67+
/* the catalog (database) name, or NULL */
68+
char*catalogname;
7269

7370
/* the schema name, or NULL */
7471
char*schemaname;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp