josefmezera / h2database

Automatically exported from code.google.com/p/h2database
0 stars 0 forks source link

Support BPCHAR datatype #448

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Postgres uses the internal name of BPCHAR (blank padded character) to represent 
a CHAR. Would it be possible to incorporate this type?

Original issue reported on code.google.com by droberge...@gmail.com on 18 Mar 2013 at 2:13

Attachments:

GoogleCodeExporter commented 9 years ago
Doc page: http://www.postgresql.org/docs/8.4/static/datatype-character.html

Original comment by droberge...@gmail.com on 18 Mar 2013 at 2:15

GoogleCodeExporter commented 9 years ago
The link you provided doesn't contain the term "BPCHAR".

But in any case, I don't see why H2 should support it. Why don't you simply use 
CHAR, or, even better, VARCHAR?

Please don't create issue reports for such cases in the future. Please use the 
Google Group or StackOverflow instead.

Original comment by thomas.t...@gmail.com on 20 Mar 2013 at 5:29

GoogleCodeExporter commented 9 years ago
Hey, my apologies, I will use the google group/stackoverflow in the future. 

BP stands for 'blank padded', which is referenced on that doc page. I will see 
if I can determine why it is we use it in our hibernate mappings and try to get 
back to you.

I think it would be useful for people who happen to use postgres as their prod 
db, but use H2 as their dev db. 

Should I start a thread on the google groups for this? Or is it a non-starter?

Original comment by droberge...@gmail.com on 20 Mar 2013 at 12:34

GoogleCodeExporter commented 9 years ago
> Should I start a thread on the google groups for this?

Yes, sure.

Original comment by thomas.t...@gmail.com on 3 Apr 2013 at 6:49