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

Commit1d4a115

Browse files
committed
Fixes:
The type _char16 (array of char16) is incorrectly defined as array of nameand values longer than 16 chars are stored as names and not truncated to 16bytes as they should be.Submitted by: Massimo Dal Zotto <dz@cs.unitn.it>
1 parent72f76d3 commit1d4a115

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/catalog/pg_type.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* Copyright (c) 1994, Regents of the University of California
99
*
10-
* $Id: pg_type.h,v 1.1.1.1 1996/07/09 06:21:18 scrappy Exp $
10+
* $Id: pg_type.h,v 1.2 1996/07/19 05:12:40 scrappy Exp $
1111
*
1212
* NOTES
1313
* the genbki.sh script reads this file and generates .bki
@@ -200,7 +200,7 @@ DATA(insert OID = 1000 ( _bool PGUID -1 -1 f b t \054 0 16 array_in arra
200200
DATA(insertOID=1001 (_byteaPGUID-1-1fbt \054017array_inarray_outarray_inarray_outi_null_ ));
201201
DATA(insertOID=1002 (_charPGUID-1-1fbt \054018array_inarray_outarray_inarray_outi_null_ ));
202202
DATA(insertOID=1003 (_namePGUID-1-1fbt \054019array_inarray_outarray_inarray_outi_null_ ));
203-
DATA(insertOID=1004 (_char16PGUID-1-1fbt \054019array_inarray_outarray_inarray_outi_null_ ));
203+
DATA(insertOID=1004 (_char16PGUID-1-1fbt \054020array_inarray_outarray_inarray_outi_null_ ));
204204
DATA(insertOID=1005 (_int2PGUID-1-1fbt \054021array_inarray_outarray_inarray_outi_null_ ));
205205
DATA(insertOID=1006 (_int28PGUID-1-1fbt \054022array_inarray_outarray_inarray_outi_null_ ));
206206
DATA(insertOID=1007 (_int4PGUID-1-1fbt \054023array_inarray_outarray_inarray_outi_null_ ));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp