pg-query-0.0.1.1: Parse PostgreSQL DDL and DML: Haskell bindings for libpg_query
Safe HaskellNone
LanguageHaskell2010

PgQuery.Internal.Parse

Synopsis

Documentation

data PgQueryProtobuf Source #

Data type corresponding to the following struct in 'pg_query.h':

    typedef struct {
      size_t len;
      char* data;
    } PgQueryProtobuf;
  

Constructors

PgQueryProtobuf 

Fields

data PgQueryError Source #

Data type corresponding to the following struct in 'pg_query.h':

    typedef struct {
    	char* message; // exception message
    	char* funcname; // source function of exception (e.g. SearchSysCache)
    	char* filename; // source of exception (e.g. parse.l)
    	int lineno; // source of exception (e.g. 104)
    	int cursorpos; // char in query at which exception occurred
    	char* context; // additional context (optional, can be NULL)
    } PgQueryError;
  

Constructors

PgQueryError