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

Commit3873c8f

Browse files
author
Nikita Glukhov
committed
Pass its Oid to compression method handler
1 parent8e650a2 commit3873c8f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

‎src/backend/commands/compressioncmds.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@ GetCompressionMethodRoutine(Oid cmhandler, Oid typeid)
251251

252252
opargs.op=CMOP_GET_ROUTINE;
253253
opargs.args.getRoutine.typeid=typeid;
254+
opargs.args.getRoutine.cmhanderid=cmhandler;
254255

255256
datum=OidFunctionCall1(cmhandler,PointerGetDatum(&opargs));
256257
routine= (CompressionMethodRoutine*)DatumGetPointer(datum);

‎src/include/access/compression.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ typedef struct CompressionMethodOpArgs
6060
struct
6161
{
6262
Oidtypeid;
63+
Oidcmhanderid;
6364
}getRoutine;
6465
}args;
6566
}CompressionMethodOpArgs;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp