Skip to content

Commit

Permalink
Use metatable names that yield understandable error message (by removing
Browse files Browse the repository at this point in the history
the trailing word 'methods').
  • Loading branch information
mbalmer committed Sep 1, 2017
1 parent 9f50e5c commit c954fae
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions luapgsql.h
Expand Up @@ -30,11 +30,11 @@
#ifndef __LUAPGSQL_H__
#define __LUAPGSQL_H__

#define CONN_METATABLE "pgsql connection methods"
#define RES_METATABLE "pgsql result methods"
#define TUPLE_METATABLE "pgsql tuple methods"
#define FIELD_METATABLE "pgsql tuple field methods"
#define NOTIFY_METATABLE "pgsql asychronous notification methods"
#define CONN_METATABLE "pgsql connection"
#define RES_METATABLE "pgsql result"
#define TUPLE_METATABLE "pgsql tuple"
#define FIELD_METATABLE "pgsql tuple field"
#define NOTIFY_METATABLE "pgsql asychronous notification"
#define GCMEM_METATABLE "pgsql garbage collected memory"

/* OIDs from server/pg_type.h */
Expand Down

0 comments on commit c954fae

Please sign in to comment.