Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multidimensional arrays don't seem to work #23

Open
theasp opened this issue May 6, 2016 · 1 comment
Open

Multidimensional arrays don't seem to work #23

theasp opened this issue May 6, 2016 · 1 comment
Assignees
Labels

Comments

@theasp
Copy link

theasp commented May 6, 2016

This is the result of trying to insert [[6 6]] into a column of INTEGER[][].

                                                      java.lang.Thread.run                         Thread.java: 745
io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run           DefaultThreadFactory.java: 137  
                  io.netty.util.concurrent.SingleThreadEventExecutor$2.run      SingleThreadEventExecutor.java: 112
                                     io.netty.channel.nio.NioEventLoop.run                   NioEventLoop.java: 371  
                     io.netty.channel.nio.NioEventLoop.processSelectedKeys                   NioEventLoop.java: 399
            io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized                   NioEventLoop.java: 485
                      io.netty.channel.nio.NioEventLoop.processSelectedKey                   NioEventLoop.java: 528
            io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read         AbstractNioByteChannel.java: 131
                   io.netty.channel.DefaultChannelPipeline.fireChannelRead         DefaultChannelPipeline.java: 962
            io.netty.channel.AbstractChannelHandlerContext.fireChannelRead  AbstractChannelHandlerContext.java: 278
          io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead  AbstractChannelHandlerContext.java: 292  
                   io.netty.handler.codec.ByteToMessageDecoder.channelRead           ByteToMessageDecoder.java: 264
               io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead           ByteToMessageDecoder.java: 277
            io.netty.channel.AbstractChannelHandlerContext.fireChannelRead  AbstractChannelHandlerContext.java: 278
          io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead  AbstractChannelHandlerContext.java: 292
                   io.netty.handler.codec.ByteToMessageDecoder.channelRead           ByteToMessageDecoder.java: 264
               io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead           ByteToMessageDecoder.java: 277
            io.netty.channel.AbstractChannelHandlerContext.fireChannelRead  AbstractChannelHandlerContext.java: 278
          io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead  AbstractChannelHandlerContext.java: 292
         com.github.pgasync.impl.netty.NettyPgProtocolStream$5.channelRead          NettyPgProtocolStream.java: 304
              com.github.pgasync.impl.netty.NettyPgProtocolStream$1.onNext          NettyPgProtocolStream.java: 197
            com.github.pgasync.impl.netty.NettyPgProtocolStream.access$300          NettyPgProtocolStream.java:  46
        com.github.pgasync.impl.netty.NettyPgProtocolStream.toSqlException          NettyPgProtocolStream.java: 223
com.github.pgasync.SqlException: ERROR: SQLSTATE=22P02, MESSAGE=malformed array literal: "[[6,6]]"
    code: "22P02"
@alaisi alaisi added the bug label May 6, 2016
@alaisi alaisi self-assigned this May 6, 2016
@alaisi
Copy link
Owner

alaisi commented May 20, 2016

Hi,

can you provide a test case for this? Are you trying to use a vector as a parameter (requires extending IPgParameter) or trying to run a constant string sql insert?

Thanks,
Antti

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants