Title: inet type looks different when inserted through variable or as part of query text · Issue #66 · python-postgres/fe · GitHub
Open Graph Title: inet type looks different when inserted through variable or as part of query text · Issue #66 · python-postgres/fe
X Title: inet type looks different when inserted through variable or as part of query text · Issue #66 · python-postgres/fe
Description: c.prepare("insert into test_ip (addr) values ('10.0.0.1')")() - saves to table '10.0.0.1' c.prepare("insert into test_ip (addr) values ($1)")("10.0.0.1") - saves to table '10.0.0.1/0' When queried with the python-postgres both values loo...
Open Graph Description: c.prepare("insert into test_ip (addr) values ('10.0.0.1')")() - saves to table '10.0.0.1' c.prepare("insert into test_ip (addr) values ($1)")("10.0.0.1") - saves to table '10.0.0.1/0' When queried ...
X Description: c.prepare("insert into test_ip (addr) values ('10.0.0.1')")() - saves to table '10.0.0.1' c.prepare("insert into test_ip (addr) values ($1)")("10.0.0.1"...
Opengraph URL: https://github.com/python-postgres/fe/issues/66
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"inet type looks different when inserted through variable or as part of query text","articleBody":"c.prepare(\"insert into test_ip (addr) values ('10.0.0.1')\")() - saves to table '10.0.0.1'\nc.prepare(\"insert into test_ip (addr) values ($1)\")(\"10.0.0.1\") - saves to table '10.0.0.1/0'\n\nWhen queried with the python-postgres both values looks identical - IPv4Address('10.0.0.1')\nbut other apps get confused.\n\nTried with postgres 9.1.3 and 9.1.8, python 3.3 and library 1.1.0\n","author":{"url":"https://github.com/fidoman","@type":"Person","name":"fidoman"},"datePublished":"2013-02-28T17:58:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/66/fe/issues/66"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:22d980bc-508c-6b3e-d724-3eebdecc12f0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EAD2:3B9F7B:82CFCF:B5FE27:697A6ED2 |
| html-safe-nonce | ea5f738f690c16b2d9200180246cbd1fcbac2d36e030c0a0108c89f0b4701e99 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQUQyOjNCOUY3Qjo4MkNGQ0Y6QjVGRTI3OjY5N0E2RUQyIiwidmlzaXRvcl9pZCI6IjU1NDY2MzkzOTkxMTU3MTQyNTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | bac86f427f93bf0d34f637939b1d33b84b0b18f74a02137865c127d6f9a52ad9 |
| hovercard-subject-tag | issue:11511638 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-postgres/fe/66/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c9c40f5acc0a7db0ab9ecfd672011feb34ff1be0aa13c7848102fc55c4200366/python-postgres/fe/issues/66 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c9c40f5acc0a7db0ab9ecfd672011feb34ff1be0aa13c7848102fc55c4200366/python-postgres/fe/issues/66 |
| og:image:alt | c.prepare("insert into test_ip (addr) values ('10.0.0.1')")() - saves to table '10.0.0.1' c.prepare("insert into test_ip (addr) values ($1)")("10.0.0.1") - saves to table '10.0.0.1/0' When queried ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | fidoman |
| hostname | github.com |
| expected-hostname | github.com |
| None | 90af392c4422c0519eb9d3bf73d4a19bcd295cce41ce316abc60c8399f996938 |
| turbo-cache-control | no-preview |
| go-import | github.com/python-postgres/fe git https://github.com/python-postgres/fe.git |
| octolytics-dimension-user_id | 2132548 |
| octolytics-dimension-user_login | python-postgres |
| octolytics-dimension-repository_id | 100230 |
| octolytics-dimension-repository_nwo | python-postgres/fe |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 100230 |
| octolytics-dimension-repository_network_root_nwo | python-postgres/fe |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4c08209263bbbf322ab1921dc4539a6bfc158b1f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width