remove trailing whitespace
authorMarko Kreen <markokr@gmail.com>
Wed, 28 Mar 2007 12:32:08 +0000 (12:32 +0000)
committerMarko Kreen <markokr@gmail.com>
Wed, 28 Mar 2007 12:32:08 +0000 (12:32 +0000)
12 files changed:
src/cluster.c
src/execute.c
src/function.c
src/main.c
src/parser.tab.c
src/parser.y
src/plproxy.h
src/query.c
src/result.c
src/scanner.c
src/scanner.l
src/type.c

index af7f986ab9bd0adec7bd40590aaa1c2bd698c9ed..45f962a746d4fadd5f727ff86dfd2f97e92acdd1 100644 (file)
@@ -1,13 +1,13 @@
 /*
  * PL/Proxy - easy access to partitioned database.
- * 
+ *
  * Copyright (c) 2006 Sven Suursoho, Skype Technologies OÜ
  * Copyright (c) 2007 Marko Kreen, Skype Technologies OÜ
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
index 623fbbea22baacd916c2263df562fd7e52ca102f..12b76a8895d62aaaba12eb8e69308370fe14f92b 100644 (file)
@@ -1,13 +1,13 @@
 /*
  * PL/Proxy - easy access to partitioned database.
- * 
+ *
  * Copyright (c) 2006 Sven Suursoho, Skype Technologies OÜ
  * Copyright (c) 2007 Marko Kreen, Skype Technologies OÜ
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
index 78c86a0a1c7c59057fed11426a71e2b405b2afde..dd4bd08bc6e4e558c5d31d23a5b9945394ef65ef 100644 (file)
@@ -1,13 +1,13 @@
 /*
  * PL/Proxy - easy access to partitioned database.
- * 
+ *
  * Copyright (c) 2006 Sven Suursoho, Skype Technologies OÜ
  * Copyright (c) 2007 Marko Kreen, Skype Technologies OÜ
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
index 3ef0709f37543e59913dd57ed5d94a77bd93d5b1..0b92ee0442a1cf4f4817f4d0e8f2768ab30e9bf1 100644 (file)
@@ -1,13 +1,13 @@
 /*
  * PL/Proxy - easy access to partitioned database.
- * 
+ *
  * Copyright (c) 2006 Sven Suursoho, Skype Technologies OÜ
  * Copyright (c) 2007 Marko Kreen, Skype Technologies OÜ
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
index 38d69702404d3013a9fb79d6b82f395ebb0ce952..de389e73fd4bd39e2ad0fada2ae8e595f948f5ed 100644 (file)
 
 /*
  * PL/Proxy - easy access to partitioned database.
- * 
+ *
  * Copyright (c) 2006 Sven Suursoho, Skype Technologies OÜ
  * Copyright (c) 2007 Marko Kreen, Skype Technologies OÜ
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
@@ -1768,7 +1768,7 @@ void plproxy_run_parser(ProxyFunction *func, const char *body, int len)
        /* store sql */
        if (select_sql)
                xfunc->remote_sql = plproxy_query_finish(select_sql);
-       
+
        if (cluster_sql)
                xfunc->cluster_sql = plproxy_query_finish(cluster_sql);
 
index 5bbe049153881bd7f2f2e313a9136788f210e5c6..9149d680cccadfe57c9514e45cba9f792e2c9e5f 100644 (file)
@@ -1,14 +1,14 @@
 %{
 /*
  * PL/Proxy - easy access to partitioned database.
- * 
+ *
  * Copyright (c) 2006 Sven Suursoho, Skype Technologies OÜ
  * Copyright (c) 2007 Marko Kreen, Skype Technologies OÜ
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
@@ -175,7 +175,7 @@ void plproxy_run_parser(ProxyFunction *func, const char *body, int len)
        /* store sql */
        if (select_sql)
                xfunc->remote_sql = plproxy_query_finish(select_sql);
-       
+
        if (cluster_sql)
                xfunc->cluster_sql = plproxy_query_finish(cluster_sql);
 
index 2c37aaad6889270ad6d6c8825a9204aa7d83e33b..78fb7394b0395a536dab57283bf963dff00af88d 100644 (file)
@@ -1,13 +1,13 @@
 /*
  * PL/Proxy - easy access to partitioned database.
- * 
+ *
  * Copyright (c) 2006 Sven Suursoho, Skype Technologies OÜ
  * Copyright (c) 2007 Marko Kreen, Skype Technologies OÜ
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
index 8c1e471b21c43507c794dfab38668e90475a2958..18f6b831994cb488c8854d4765d41ddc47b8abc8 100644 (file)
@@ -1,13 +1,13 @@
 /*
  * PL/Proxy - easy access to partitioned database.
- * 
+ *
  * Copyright (c) 2006 Sven Suursoho, Skype Technologies OÜ
  * Copyright (c) 2007 Marko Kreen, Skype Technologies OÜ
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
index 9bf4527368095a1ccb0f8c3246dced6238589d6f..a3cfee16b6ccdaeff0e0e45c159f346c81c0996f 100644 (file)
@@ -1,13 +1,13 @@
 /*
  * PL/Proxy - easy access to partitioned database.
- * 
+ *
  * Copyright (c) 2006 Sven Suursoho, Skype Technologies OÜ
  * Copyright (c) 2007 Marko Kreen, Skype Technologies OÜ
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
index abc520bcc263bf994497f4d408d87447b5445fc0..9ddfc1dd1efe5943bd3b23a4bd337cdb7e95c97b 100644 (file)
@@ -660,14 +660,14 @@ char *plproxy_yytext;
 
 /*
  * PL/Proxy - easy access to partitioned database.
- * 
+ *
  * Copyright (c) 2006 Sven Suursoho, Skype Technologies OÜ
  * Copyright (c) 2007 Marko Kreen, Skype Technologies OÜ
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
@@ -683,7 +683,7 @@ char *plproxy_yytext;
 /* point to parser value */
 #define yylval plproxy_yylval
 
-/* 
+/*
  * Allocate in CurrentMemoryContext.  That means plproxy_yylex_destroy()
  * must be called before SPI_finish().
  */
@@ -732,7 +732,7 @@ static const char *unquote(const char *qstr, bool std);
 /* argument ref by val: $1 */
 /* regular int value for hash spec */
 /* SQL numeric value */
-/* 
+/*
  * Symbols that may exist in sql.   They must be matched one-by-one,
  * to avoid conflics with combos.
  *
index 9ef395e8f62217c454727ec4633abb06384e55e8..ce99bbbe050ee9c2cd8afc7e4c014eb0797ad371 100644 (file)
@@ -2,14 +2,14 @@
 
 /*
  * PL/Proxy - easy access to partitioned database.
- * 
+ *
  * Copyright (c) 2006 Sven Suursoho, Skype Technologies OÜ
  * Copyright (c) 2007 Marko Kreen, Skype Technologies OÜ
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
@@ -25,7 +25,7 @@
 /* point to parser value */
 #define yylval plproxy_yylval
 
-/* 
+/*
  * Allocate in CurrentMemoryContext.  That means plproxy_yylex_destroy()
  * must be called before SPI_finish().
  */
@@ -94,7 +94,7 @@ PLNUMBER      [0-9]+
 /* SQL numeric value */
 SQLNUM         [0-9][.0-9]*
 
-/* 
+/*
  * Symbols that may exist in sql.   They must be matched one-by-one,
  * to avoid conflics with combos.
  *
index 68678bd1a65a0c8ccbb6012339c6972a42f172e2..bb401f91c4bc845c1de877cbaab509d18d16d788 100644 (file)
@@ -1,13 +1,13 @@
 /*
  * PL/Proxy - easy access to partitioned database.
- * 
+ *
  * Copyright (c) 2006 Sven Suursoho, Skype Technologies OÜ
  * Copyright (c) 2007 Marko Kreen, Skype Technologies OÜ
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR