Thu Oct 6 03:22:01 PDT 2005
- Previous message: [Slony1-commit] By cbbrowne: Bug #1437 Columns that have been dropped should be
- Next message: [Slony1-commit] By wieck: Fixing several problems with dstring_init() and dstring_free()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Log Message:
-----------
Bug #1437 - need to leave out columns where attisdropped is not false.
Modified Files:
--------------
slony1-engine/src/backend:
slony1_funcs.sql (r1.67 -> r1.68)
-------------- next part --------------
Index: slony1_funcs.sql
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/src/backend/slony1_funcs.sql,v
retrieving revision 1.67
retrieving revision 1.68
diff -Lsrc/backend/slony1_funcs.sql -Lsrc/backend/slony1_funcs.sql -u -w -r1.67 -r1.68
--- src/backend/slony1_funcs.sql
+++ src/backend/slony1_funcs.sql
@@ -5207,7 +5207,7 @@
result := '''';
prefix := ''(''; -- Initially, prefix is the opening paren
- for prec in select @NAMESPACE at .slon_quote_input(a.attname) as column from @NAMESPACE at .sl_table t, pg_catalog.pg_attribute a where t.tab_id = $1 and t.tab_reloid = a.attrelid and a.attnum > 0 order by attnum
+ for prec in select @NAMESPACE at .slon_quote_input(a.attname) as column from @NAMESPACE at .sl_table t, pg_catalog.pg_attribute a where t.tab_id = $1 and t.tab_reloid = a.attrelid and a.attnum > 0 and a.attisdropped=false order by attnum
loop
result := result || prefix || prec.column;
prefix := '',''; -- Subsequently, prepend columns with commas
- Previous message: [Slony1-commit] By cbbrowne: Bug #1437 Columns that have been dropped should be
- Next message: [Slony1-commit] By wieck: Fixing several problems with dstring_init() and dstring_free()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list