Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go-pgsql can not handle CHAR type field #12

Open
notedit opened this issue Mar 27, 2012 · 1 comment
Open

go-pgsql can not handle CHAR type field #12

notedit opened this issue Mar 27, 2012 · 1 comment

Comments

@notedit
Copy link

notedit commented Mar 27, 2012

CREATE TABLE test8 (aaa CHAR(10));
INSERT INTO test8 (aaa) VALUES ('aaaa');

rs,err := db.Query("SELECT aaa FROM test8")

error message:

Error: unexpected field data type

@brianoh
Copy link

brianoh commented Oct 14, 2013

Do you need it? I'm using eg. "sname varchar(22) not null"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants