Project

General

Profile

« Previous | Next » 

Revision 12419

schemas/util.sql: remake_diff_table(): use util.quote_typed() instead of hardcoding the type

View differences:

util.sql
2423 2423

  
2424 2424
SELECT util.rematerialize_query($1, $$
2425 2425
SELECT * FROM util.diff(
2426
  $$||quote_nullable($2)||$$::regclass
2427
, $$||quote_nullable($3)||$$::regclass
2426
  $$||util.quote_typed($2)||$$
2427
, $$||util.quote_typed($3)||$$
2428 2428
, NULL::$$||$4||$$)
2429 2429
$$);
2430 2430

  

Also available in: Unified diff