Skip Menu |

This queue is for tickets about the SQL-Translator CPAN distribution.

Report information
The Basics
Id: 21015
Status: resolved
Priority: 0/
Queue: SQL-Translator

People
Owner: Nobody in particular
Requestors: debolaz [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Producer::PostgreSQL boolean size error
PostgreSQL does not accept a size parameter for boolean types but Producer::PostgreSQL does not understand this. The fix is trivial though: - undef @size if $data_type =~ m/(integer|smallint|bigint| text)/; + undef @size if $data_type =~ m/(boolean|integer|smallint| bigint|text)/;
In the code of SQL/Translator/Producer/PostgreSQL.pm I've found this snippet: if ( $data_type !~ /$type_with_size/ ) { @size = (); } This change was applied on 12.08.09 23:00 by Ken Youens-Clark. I would say this problem is already solved.
On Wed Aug 16 06:57:14 2006, debolaz wrote: Show quoted text
> PostgreSQL does not accept a size parameter for boolean types but > Producer::PostgreSQL does not understand this. The fix is trivial > though: > > - undef @size if $data_type =~ m/(integer|smallint|bigint| > text)/; > + undef @size if $data_type =~ m/(boolean|integer|smallint| > bigint|text)/;
Marking as resolved, feel free to reopen if not the case.