You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@age.apache.org by GitBox <gi...@apache.org> on 2022/09/15 11:50:35 UTC

[GitHub] [age] mhmdawnallah opened a new issue, #300: ERROR: too few arguments to function call(queryEnv, dest, completionTag) expected 8, have 7 at line src/backend/catalog/ag_catalog.c:98:68 #300

mhmdawnallah opened a new issue, #300:
URL: https://github.com/apache/age/issues/300

   I'm getting the following errors when I run:
   `make install`
   
   <img width="1404" alt="Screen Shot 2022-09-15 at 1 44 07 PM" src="https://user-images.githubusercontent.com/69568555/190396014-701adf4b-b67c-46b2-9e8b-490c8e0801cf.png">
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@age.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [age] mhmdawnallah commented on issue #300: ERROR: too few arguments to function call(queryEnv, dest, completionTag) expected 8, have 7 at line src/backend/catalog/ag_catalog.c:98:68

Posted by GitBox <gi...@apache.org>.
mhmdawnallah commented on issue #300:
URL: https://github.com/apache/age/issues/300#issuecomment-1248276527

   I'm currently using **PostgreSQL 14 version** and **master branch**


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@age.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [age] dgroomes commented on issue #300: ERROR: too few arguments to function call(queryEnv, dest, completionTag) expected 8, have 7 at line src/backend/catalog/ag_catalog.c:98:68

Posted by GitBox <gi...@apache.org>.
dgroomes commented on issue #300:
URL: https://github.com/apache/age/issues/300#issuecomment-1374708996

   I had the same compilation error described by the original issue, I am using macOS, and thanks to jrgemignani's comment about the C function signature difference between Postgres 11 vs Postgres 12, I was able to solve my problem.
   
   ## Problem
   
   I unknowingly had a HomeBrew-installed Postgres 14 on my PATH. When I execute `make install` in the Apache AGE project, the compiler would find Postgres 14 code. Postgres 14 is not supported.
   
   
   ## Workaround
   
   Follow the helpful installation instructions in the Apache AGE README that guide you to point to a specific Postgres installation location when you run `make`. Specifically, run your `make install` command like this:
   
   ```shell
   make PG_CONFIG=/path/to/postgres/bin/pg_config install
   ```
   
   In my case, I had built and installed Postgres 11 from source, which installed to `/usr/local/pgsql`. So, I used
   
   ```shell
   make PG_CONFIG=/usr/local/pgsql/bin/pg_config install
   ```
   
   And the project compiled. ✅ .
   
   ---
   
   I suggest anyone having issues share the output of their `pg_config` command. For me, this command made it clear that my environment was still pointing to Postgres 14 (despite my best efforts to install Postgres 11).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@age.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [age] JoshInnis commented on issue #300: ERROR: too few arguments to function call(queryEnv, dest, completionTag) expected 8, have 7 at line src/backend/catalog/ag_catalog.c:98:68

Posted by GitBox <gi...@apache.org>.
JoshInnis commented on issue #300:
URL: https://github.com/apache/age/issues/300#issuecomment-1248218551

   What version of Postgres and what branch of AGE are you using?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@age.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [age] muhammadshoaib commented on issue #300: ERROR: too few arguments to function call(queryEnv, dest, completionTag) expected 8, have 7 at line src/backend/catalog/ag_catalog.c:98:68

Posted by GitBox <gi...@apache.org>.
muhammadshoaib commented on issue #300:
URL: https://github.com/apache/age/issues/300#issuecomment-1248279489

   Currently we only support PG11 and PG12. We are working on other versions
   as well.
   
   On Thu, Sep 15, 2022 at 4:39 PM Mohamed Awnallah ***@***.***>
   wrote:
   
   > I'm currently using *PostgreSQL 14 version* and *master branch*
   >
   > —
   > Reply to this email directly, view it on GitHub
   > <https://github.com/apache/age/issues/300#issuecomment-1248276527>, or
   > unsubscribe
   > <https://github.com/notifications/unsubscribe-auth/AAKYCL37LJ6HQMCG5QED7VLV6M7KLANCNFSM6AAAAAAQNKBL64>
   > .
   > You are receiving this because you are subscribed to this thread.Message
   > ID: ***@***.***>
   >
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@age.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [age] mhmdawnallah commented on issue #300: ERROR: too few arguments to function call(queryEnv, dest, completionTag) expected 8, have 7 at line src/backend/catalog/ag_catalog.c:98:68

Posted by GitBox <gi...@apache.org>.
mhmdawnallah commented on issue #300:
URL: https://github.com/apache/age/issues/300#issuecomment-1248415437

   I'm currently using Mac arm 64 I don't know if it is applicable to run the project ?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@age.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [age] mhmdawnallah closed issue #300: ERROR: too few arguments to function call(queryEnv, dest, completionTag) expected 8, have 7 at line src/backend/catalog/ag_catalog.c:98:68

Posted by "mhmdawnallah (via GitHub)" <gi...@apache.org>.
mhmdawnallah closed issue #300: ERROR: too few arguments to function call(queryEnv, dest, completionTag) expected 8, have 7 at line src/backend/catalog/ag_catalog.c:98:68
URL: https://github.com/apache/age/issues/300


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@age.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [age] mhmdawnallah commented on issue #300: ERROR: too few arguments to function call(queryEnv, dest, completionTag) expected 8, have 7 at line src/backend/catalog/ag_catalog.c:98:68

Posted by GitBox <gi...@apache.org>.
mhmdawnallah commented on issue #300:
URL: https://github.com/apache/age/issues/300#issuecomment-1248580126

   I'm using the master branch for my PostgreSQL version 11.17


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@age.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [age] mhmdawnallah commented on issue #300: ERROR: too few arguments to function call(queryEnv, dest, completionTag) expected 8, have 7 at line src/backend/catalog/ag_catalog.c:98:68

Posted by GitBox <gi...@apache.org>.
mhmdawnallah commented on issue #300:
URL: https://github.com/apache/age/issues/300#issuecomment-1248413618

   Okay, I've just migrated down to an older version of PostgreSQL server in my case 11.17 and still give me the same error stated above
   <img width="399" alt="Screen Shot 2022-09-15 at 7 42 25 PM" src="https://user-images.githubusercontent.com/69568555/190474033-f33fe966-7445-4727-9627-64a22cad57cf.png">
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@age.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [age] jrgemignani commented on issue #300: ERROR: too few arguments to function call(queryEnv, dest, completionTag) expected 8, have 7 at line src/backend/catalog/ag_catalog.c:98:68

Posted by GitBox <gi...@apache.org>.
jrgemignani commented on issue #300:
URL: https://github.com/apache/age/issues/300#issuecomment-1248722128

   From the error message, you are building AGE against the incorrect version of PostgreSQL. The message states that the function prototype is expecting 8, but got only 7 parameters. That means that you are building AGE for PG11 against PG12. You probably still have the build pointing to the PG12 source.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@age.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [age] sep2 commented on issue #300: ERROR: too few arguments to function call(queryEnv, dest, completionTag) expected 8, have 7 at line src/backend/catalog/ag_catalog.c:98:68

Posted by GitBox <gi...@apache.org>.
sep2 commented on issue #300:
URL: https://github.com/apache/age/issues/300#issuecomment-1323943094

   For anyone interested, I had luck cross-building a linux/arm64 version of apache/age on linux/amd64. It should be possible doing so in a macbook with arm-based m1/m2 chips.
   
   I'am following instructions here: https://docs.docker.com/build/building/multi-platform/


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@age.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [age] jrgemignani commented on issue #300: ERROR: too few arguments to function call(queryEnv, dest, completionTag) expected 8, have 7 at line src/backend/catalog/ag_catalog.c:98:68

Posted by GitBox <gi...@apache.org>.
jrgemignani commented on issue #300:
URL: https://github.com/apache/age/issues/300#issuecomment-1248536851

   Which branch are you using for PG11? For PG11 it needs to be the **master** branch. Whereas, for PG12 needs to be the **ALPHA** branch.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@age.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org