]> git.sur5r.net Git - bacula/bacula/commitdiff
Revert "Lets not use PostgreSQL macros for sizes."
authorKern Sibbald <kern@sibbald.com>
Sat, 10 Apr 2010 10:19:22 +0000 (12:19 +0200)
committerKern Sibbald <kern@sibbald.com>
Sat, 10 Apr 2010 10:19:22 +0000 (12:19 +0200)
This reverts commit aa0dfc0c7010c096283f938a9dfd95b1d04ff7bf.

bacula/src/cats/ingres.c

index e984b799af50d1d04034a0ac8177fdead791823f..f09c30cea61c36b27380076fcd4cefd248b19400 100755 (executable)
@@ -617,8 +617,8 @@ int my_ingres_currval(B_DB *mdb, const char *table_name)
     * As we name all sequences as <table>_seq this is easy.
     */
 
-   char sequence[64];
-   char query[256];
+   char sequence[NAMEDATALEN-1];
+   char query[NAMEDATALEN+50];
    INGresult *result;
    int id = 0;