Skip to content

Commit 350edca

Browse files
committed
clean code in range.sql
1 parent f518cf5 commit 350edca

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

init.sql

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -314,11 +314,6 @@ CREATE OR REPLACE FUNCTION @extschema@.partition_data(
314314
OUT p_total BIGINT)
315315
AS
316316
$$
317-
DECLARE
318-
relname TEXT;
319-
rec RECORD;
320-
cnt BIGINT := 0;
321-
322317
BEGIN
323318
p_total := 0;
324319

@@ -699,13 +694,13 @@ LANGUAGE C STRICT;
699694
*/
700695
CREATE OR REPLACE FUNCTION @extschema@.build_check_constraint_name(
701696
partition_relid REGCLASS,
702-
attribute INT2)
697+
attribute INT2)
703698
RETURNS TEXT AS 'pg_pathman', 'build_check_constraint_name_attnum'
704699
LANGUAGE C STRICT;
705700

706701
CREATE OR REPLACE FUNCTION @extschema@.build_check_constraint_name(
707702
partition_relid REGCLASS,
708-
attribute TEXT)
703+
attribute TEXT)
709704
RETURNS TEXT AS 'pg_pathman', 'build_check_constraint_name_attname'
710705
LANGUAGE C STRICT;
711706

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy