# Test PostgreSQL type fixes
Write-Host "Testing PostgreSQL type mapping fixes" -ForegroundColor Green
# Test with PostgreSQL
$env:DATABASE_URL = "postgresql://test_user:test_password@localhost:15432/test_db"
# Create a simple test input
$testInput = @"
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_database_info",
"arguments": {}
}
}
"@
Write-Host "Testing get_database_info..." -ForegroundColor Yellow
$testInput | .\target\release\sqlx-mcp.exe