question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Default value does not accept HTTP URL (Postgres error)

See original GitHub issue

Hello,

I tried to add a default value in Hasura as an URL but Postgres threw an error:

image

I guess that the URL should be between quote in this query because Postgres does not like the charactere :. 😃

I do not have the knowledge of your project to know where to edit this and if it is the good way to fix that.

Thank you for your awesome work ! 😃

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
rikinskcommented, Apr 13, 2020

@Tchoupinax No no. I was just querying to help debug the issue. This is definitely a bug.

1reaction
rikinskcommented, Apr 13, 2020

@Tchoupinax I attempted to do this for a column of type text and it seems to work. Can you confirm the type of the imageUrl column in your schema

Read more comments on GitHub >

github_iconTop Results From Across the Web

Driver org.postgresql.Driver claims to not accept jdbcUrl, jdbc ...
It seems that the .env variables are not accessible from the application.properties file. When I hard code default values for the variables like ......
Read more >
Initializing the Driver - PostgreSQL JDBC Driver
The server must have been compiled with SSL support. This property does not need a value associated with it. The mere presence of...
Read more >
15: 20.3. Connections and Authentication - PostgreSQL
The default value is three connections. The value must be less than max_connections . This parameter can only be set at server start....
Read more >
15: 20.11. Client Connection Defaults - PostgreSQL
The default value for this parameter is "$user", public . This setting supports shared use of a database (where no users have private...
Read more >
20.8. Error Reporting and Logging - PostgreSQL
Also, on some platforms not using the logging collector can result in lost or ... value is expected to be a numeric mode...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found