SCM

[#1011210] fixed for PostgreSQL 9.3

View Trackers | Patches | Download .csv | Monitor

Date:
2012-06-27 18:34
Priority:
3
State:
Closed
Submitted by:
Peter Eisentraut (petere)
Assigned to:
Nobody (None)
Category:
None
Group:
None
Resolution:
None
 
Summary:
fixed for PostgreSQL 9.3

Detailed description
In PostgreSQL 9.3, I have removed the int2 type from the C header files. You should use int16 instead. This also works with all older versions. So apply this patch:


Index: plluaapi.c
===================================================================
RCS file: /cvsroot/pllua/pllua/plluaapi.c,v
retrieving revision 1.20
diff -u -3 -p -r1.20 plluaapi.c
--- plluaapi.c 19 Sep 2009 16:56:38 -0000 1.20
+++ plluaapi.c 27 Jun 2012 18:32:17 -0000
@@ -22,7 +22,7 @@ typedef struct luaP_Info {
/* extended type info */
typedef struct luaP_Typeinfo {
int oid;
- int2 len;
+ int16 len;
char type;
char align;
bool byval;

Followup

Message
Date: 2013-07-01 23:51
Sender: Luis Carvalho

Thanks for the patch; it's now merged in the repository. I'll release a new version of PL/Lua once PG 9.3 is out.

Attached Files:

Changes:

Field Old Value Date By
status_idOpen2013-07-01 23:51carvalho
close_dateNone2013-07-01 23:51carvalho
Powered By FusionForge