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

   **Bug Description**
   - The `crate_graph` function shows `column "<graph_name>" does not exist` 
error message when using double quotes to name the to be created graph.
   
   **How are you accessing AGE (Command line, driver, etc.)?**
   - A local application is accessing AGE through a docker container.
   
   **What data setup do we need to do?**
    ```
   docker pull apache/age
   
   docker run \
       --name myPostgresDb  \
       -p 5455:5432 \
       -e POSTGRES_USER=postgresUser \
       -e POSTGRES_PASSWORD=postgresPW \
       -e POSTGRES_DB=postgresDB \
       -d \
       apache/age
   ```
   
   **What is the necessary configuration info needed?**
   ```
   docker exec -it myPostgresDb psql -U postgresUser -d postgresDB
   
   LOAD 'age';
   
   SET search_path = ag_catalog, "$user", public;
   ```
   
   **What is the command that caused the error?**
   ```pgsql
   SELECT * FROM create_graph("TEST_GRAPH");
   ```
   ```
   ERROR:  column "TEST_GRAPH" does not exist
   LINE 1: SELECT * FROM create_graph("TEST_GRAPH");
   ```
   
   **Expected behavior**
   ```
   NOTICE:  graph "TEST_GRAPH" has been created
   ```
   
   **Environment (please complete the following information):**
   - Version: latest version of apache/age container image
   
   **Additional context**
   What it does work is to use single quotes:
   
   ```pgsql
   SELECT * FROM create_graph('TEST_GRAPH');
   ```
   ```
   NOTICE:  graph "TEST_GRAPH" has been created
    create_graph
   --------------
   
   (1 row)
   
   ```
   


-- 
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-unsubscr...@age.apache.org.apache.org

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

Reply via email to