# Simplified Chinese message translation file for plpgsql
# Copyright (C) 2026 PostgreSQL Global Development Group
# This file is distributed under the same license as the PostgreSQL package.
#
# Ruohang Feng (vonng@pigsty) <rh@vonng.com>, 2026.
#
msgid ""
msgstr ""
"Project-Id-Version: plpgsql (PostgreSQL) 19\n"
"Report-Msgid-Bugs-To: pgsql-bugs@lists.postgresql.org\n"
"POT-Creation-Date: 2026-11-11 19:39+0000\n"
"PO-Revision-Date: 2026-11-12 07:19+0800\n"
"Last-Translator: Ruohang Feng <rh@vonng.com>\n"
"Language-Team: Chinese (Simplified) <pgsql-translators@postgresql.org>\n"
"Language: zh_CN\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"

#: pl_comp.c:333 pl_handler.c:496
#, c-format
msgid "PL/pgSQL functions cannot accept type %s"
msgstr "PL/pgSQL 函数不能接受类型为 %s 的参数"

#: pl_comp.c:426
#, c-format
msgid "could not determine actual return type for polymorphic function \"%s\""
msgstr "无法确定多态函数 \"%s\" 的实际返回类型"

#: pl_comp.c:456
#, c-format
msgid "trigger functions can only be called as triggers"
msgstr "触发器函数只能以触发器的形式调用"

#: pl_comp.c:460 pl_handler.c:480
#, c-format
msgid "PL/pgSQL functions cannot return type %s"
msgstr "PL/pgSQL 函数不能返回类型 %s"

#: pl_comp.c:500
#, c-format
msgid "trigger functions cannot have declared arguments"
msgstr "触发器函数不能声明参数"

#: pl_comp.c:501
#, c-format
msgid ""
"The arguments of the trigger can be accessed through TG_NARGS and TG_ARGV "
"instead."
msgstr "触发器的参数可以通过 TG_NARGS 和 TG_ARGV 进行访问。"

#: pl_comp.c:634
#, c-format
msgid "event trigger functions cannot have declared arguments"
msgstr "事件触发器函数不能声明参数"

#: pl_comp.c:911
#, c-format
msgid "compilation of PL/pgSQL function \"%s\" near line %d"
msgstr "编译 PL/pgSQL 函数 \"%s\" 时（第 %d 行附近）"

#: pl_comp.c:934
#, c-format
msgid "parameter name \"%s\" used more than once"
msgstr "多次使用参数名 \"%s\""

#: pl_comp.c:1048
#, c-format
msgid "column reference \"%s\" is ambiguous"
msgstr "列引用 \"%s\" 存在歧义"

#: pl_comp.c:1050
#, c-format
msgid "It could refer to either a PL/pgSQL variable or a table column."
msgstr "它既可能引用 PL/pgSQL 变量，也可能引用表中的列。"

#: pl_comp.c:1232
#, c-format
msgid "field name \"%s\" is a reserved key word"
msgstr "字段名 \"%s\" 是保留关键字"

#: pl_comp.c:1234
#, c-format
msgid "Use double quotes to quote it."
msgstr "用双引号将其括起。"

#: pl_comp.c:1551 pl_gram.y:665 pl_gram.y:680 pl_gram.y:706
#, c-format
msgid "variable \"%s\" does not exist"
msgstr "变量 \"%s\" 不存在"

#: pl_comp.c:1640
#, c-format
msgid "column \"%s\" of relation \"%s\" does not exist"
msgstr "关系 \"%2$s\" 的列 \"%1$s\" 不存在"

#: pl_comp.c:1698
#, c-format
msgid "relation \"%s\" does not exist"
msgstr "关系 \"%s\" 不存在"

#: pl_comp.c:1705 pl_comp.c:1747
#, c-format
msgid "relation \"%s\" does not have a composite type"
msgstr "关系 \"%s\" 没有复合类型"

#: pl_comp.c:1814
#, c-format
msgid "variable \"%s\" has pseudo-type %s"
msgstr "变量 \"%s\" 具有伪类型 %s"

#: pl_comp.c:2007
#, c-format
msgid "type \"%s\" is only a shell"
msgstr "类型 \"%s\" 只是 shell 类型"

#: pl_comp.c:2089 pl_exec.c:7245
#, c-format
msgid "type %s is not composite"
msgstr "类型 %s 不是复合类型"

#: pl_comp.c:2125
#, c-format
msgid "could not find array type for data type %s"
msgstr "无法为数据类型 %s 找到数组类型"

#: pl_comp.c:2164 pl_comp.c:2213
#, c-format
msgid "unrecognized exception condition \"%s\""
msgstr "无法识别的异常条件 \"%s\""

#: pl_exec.c:526 pl_exec.c:965 pl_exec.c:1200
msgid "during initialization of execution state"
msgstr "在执行状态的初始化期间"

#: pl_exec.c:532
msgid "while storing call arguments into local variables"
msgstr "将调用参数存入局部变量时"

#: pl_exec.c:621 pl_exec.c:1038 pl_exec.c:1203
msgid "during function entry"
msgstr "在进入函数期间"

#: pl_exec.c:644
#, c-format
msgid "control reached end of function without RETURN"
msgstr "控制流程到达函数末尾，但未执行 RETURN"

#: pl_exec.c:650
msgid "while casting return value to function's return type"
msgstr "将返回值转换为函数的返回类型时"

#: pl_exec.c:662 pl_exec.c:3737
#, c-format
msgid "set-valued function called in context that cannot accept a set"
msgstr "在不能接受集合的上下文中调用返回集合的函数"

#: pl_exec.c:667 pl_exec.c:3743
#, c-format
msgid "materialize mode required, but it is not allowed in this context"
msgstr "需要物化模式，但此上下文不允许使用该模式"

#: pl_exec.c:794 pl_exec.c:1064 pl_exec.c:1229
msgid "during function exit"
msgstr "在函数退出期间"

#: pl_exec.c:849 pl_exec.c:912 pl_exec.c:3527
msgid "returned record type does not match expected record type"
msgstr "所返回的记录类型与预期的记录类型不匹配"

#: pl_exec.c:1061 pl_exec.c:1226
#, c-format
msgid "control reached end of trigger procedure without RETURN"
msgstr "控制流程到达触发器函数末尾，但未执行 RETURN"

#: pl_exec.c:1069
#, c-format
msgid "trigger procedure cannot return a set"
msgstr "触发器函数不能返回集合"

#: pl_exec.c:1108 pl_exec.c:1136
msgid ""
"returned row structure does not match the structure of the triggering table"
msgstr "返回的行结构与触发器所在表的结构不匹配"

#. translator: last %s is a phrase such as "during statement block
#. local variable initialization"
#.
#: pl_exec.c:1284
#, c-format
msgid "PL/pgSQL function %s line %d %s"
msgstr "PL/pgSQL 函数 %s 第 %d 行 %s"

#. translator: last %s is a phrase such as "while storing call
#. arguments into local variables"
#.
#: pl_exec.c:1295
#, c-format
msgid "PL/pgSQL function %s %s"
msgstr "PL/pgSQL 函数 %s %s"

#. translator: last %s is a plpgsql statement type name
#: pl_exec.c:1303
#, c-format
msgid "PL/pgSQL function %s line %d at %s"
msgstr "PL/pgSQL 函数 %s 第 %d 行的 %s 处"

#: pl_exec.c:1309
#, c-format
msgid "PL/pgSQL function %s"
msgstr "PL/pgSQL 函数 %s"

#: pl_exec.c:1340
#, c-format
msgid "SQL statement \"%s\""
msgstr "SQL 语句 \"%s\""

#: pl_exec.c:1710
msgid "during statement block local variable initialization"
msgstr "在初始化语句块的局部变量期间"

#: pl_exec.c:1815
msgid "during statement block entry"
msgstr "在进入语句块期间"

#: pl_exec.c:1847
msgid "during statement block exit"
msgstr "在退出语句块期间"

#: pl_exec.c:1885
msgid "during exception cleanup"
msgstr "在清理异常期间"

#: pl_exec.c:2421
#, c-format
msgid ""
"procedure parameter \"%s\" is an output parameter but corresponding argument "
"is not writable"
msgstr "过程参数 \"%s\" 是输出参数，但对应的实参不可写"

#: pl_exec.c:2426
#, c-format
msgid ""
"procedure parameter %d is an output parameter but corresponding argument is "
"not writable"
msgstr "过程参数 %d 是输出参数，但对应的实参不可写"

#: pl_exec.c:2462
#, c-format
msgid "GET STACKED DIAGNOSTICS cannot be used outside an exception handler"
msgstr "GET STACKED DIAGNOSTICS 不能用于异常处理器之外"

#: pl_exec.c:2668
#, c-format
msgid "case not found"
msgstr "未找到匹配的 CASE 分支"

#: pl_exec.c:2669
#, c-format
msgid "CASE statement is missing ELSE part."
msgstr "CASE 语句缺少 ELSE 分支。"

#: pl_exec.c:2762
#, c-format
msgid "lower bound of FOR loop cannot be null"
msgstr "FOR 循环的下界不能为 NULL"

#: pl_exec.c:2778
#, c-format
msgid "upper bound of FOR loop cannot be null"
msgstr "FOR 循环的上界不能为 NULL"

#: pl_exec.c:2796
#, c-format
msgid "BY value of FOR loop cannot be null"
msgstr "FOR 循环的 BY 值不能为 NULL"

#: pl_exec.c:2802
#, c-format
msgid "BY value of FOR loop must be greater than zero"
msgstr "FOR 循环的 BY 值必须大于零"

#: pl_exec.c:2936 pl_exec.c:4816
#, c-format
msgid "cursor \"%s\" already in use"
msgstr "游标 \"%s\" 已在使用"

#: pl_exec.c:2959 pl_exec.c:4886
#, c-format
msgid "arguments given for cursor without arguments"
msgstr "向不带参数的游标传递了参数"

#: pl_exec.c:2978 pl_exec.c:4905
#, c-format
msgid "arguments required for cursor"
msgstr "游标需要参数"

#: pl_exec.c:3069
#, c-format
msgid "FOREACH expression must not be null"
msgstr "FOREACH 表达式不能为 NULL"

#: pl_exec.c:3084
#, c-format
msgid "FOREACH expression must yield an array, not type %s"
msgstr "FOREACH 表达式的结果必须是数组，而不是类型 %s"

#: pl_exec.c:3101
#, c-format
msgid "slice dimension (%d) is out of the valid range 0..%d"
msgstr "切片维数（%d）超出有效范围 0..%d"

#: pl_exec.c:3128
#, c-format
msgid "FOREACH ... SLICE loop variable must be of an array type"
msgstr "FOREACH ... SLICE 循环变量必须属于数组类型"

#: pl_exec.c:3132
#, c-format
msgid "FOREACH loop variable must not be of an array type"
msgstr "FOREACH 循环变量不能为数组类型"

#: pl_exec.c:3294 pl_exec.c:3337 pl_exec.c:3520
#, c-format
msgid ""
"cannot return non-composite value from function returning composite type"
msgstr "返回复合类型的函数不能返回非复合类型的值"

#: pl_exec.c:3376 pl_gram.y:3448
#, c-format
msgid "cannot use RETURN NEXT in a non-SETOF function"
msgstr "不能在非 SETOF 函数中使用 RETURN NEXT"

#: pl_exec.c:3417 pl_exec.c:3565
#, c-format
msgid "wrong result type supplied in RETURN NEXT"
msgstr "在 RETURN NEXT 中提供的结果类型错误"

#: pl_exec.c:3456 pl_exec.c:3484
#, c-format
msgid "wrong record type supplied in RETURN NEXT"
msgstr "在 RETURN NEXT 中提供的记录类型错误"

#: pl_exec.c:3585
#, c-format
msgid "RETURN NEXT must have a parameter"
msgstr "RETURN NEXT 必须有参数"

#: pl_exec.c:3613 pl_gram.y:3512
#, c-format
msgid "cannot use RETURN QUERY in a non-SETOF function"
msgstr "不能在非 SETOF 函数中使用 RETURN QUERY"

#: pl_exec.c:3631
msgid "structure of query does not match function result type"
msgstr "查询结果的结构与函数的返回类型不匹配"

#: pl_exec.c:3686 pl_exec.c:4592 pl_exec.c:9207
#, c-format
msgid "query string argument of EXECUTE is null"
msgstr "EXECUTE 的查询字符串参数为 NULL"

#: pl_exec.c:3771 pl_exec.c:3909
#, c-format
msgid "RAISE option already specified: %s"
msgstr "已指定 RAISE 选项: %s"

#: pl_exec.c:3805
#, c-format
msgid "RAISE without parameters cannot be used outside an exception handler"
msgstr "不带参数的 RAISE 不能用于异常处理器之外"

#: pl_exec.c:3899
#, c-format
msgid "RAISE statement option cannot be null"
msgstr "RAISE 语句选项不能为 NULL"

#: pl_exec.c:3969
#, c-format
msgid "%s"
msgstr "%s"

#: pl_exec.c:4024
#, c-format
msgid "assertion failed"
msgstr "断言失败"

#: pl_exec.c:4465 pl_exec.c:4655
#, c-format
msgid "cannot COPY to/from client in PL/pgSQL"
msgstr "不能在 PL/pgSQL 中从客户端或向客户端使用 COPY 命令"

#: pl_exec.c:4471
#, c-format
msgid "unsupported transaction command in PL/pgSQL"
msgstr "PL/pgSQL 中不支持的事务命令"

#: pl_exec.c:4494 pl_exec.c:4684
#, c-format
msgid "INTO used with a command that cannot return data"
msgstr "INTO 不能用于不返回数据的命令"

#: pl_exec.c:4517 pl_exec.c:4707
#, c-format
msgid "query returned no rows"
msgstr "查询未返回任何行"

#: pl_exec.c:4539 pl_exec.c:4726 pl_exec.c:5891
#, c-format
msgid "query returned more than one row"
msgstr "查询返回超过一行"

#: pl_exec.c:4541
#, c-format
msgid "Make sure the query returns a single row, or use LIMIT 1."
msgstr "确保查询返回一行，或使用 LIMIT 1。"

#: pl_exec.c:4557
#, c-format
msgid "query has no destination for result data"
msgstr "查询结果数据没有接收目标"

#: pl_exec.c:4558
#, c-format
msgid "If you want to discard the results of a SELECT, use PERFORM instead."
msgstr "如果要丢弃 SELECT 语句的结果，改用 PERFORM。"

#: pl_exec.c:4647
#, c-format
msgid "EXECUTE of SELECT ... INTO is not implemented"
msgstr "尚未实现通过 EXECUTE 执行 SELECT ... INTO"

#: pl_exec.c:4648
#, c-format
msgid ""
"You might want to use EXECUTE ... INTO or EXECUTE CREATE TABLE ... AS "
"instead."
msgstr "可以考虑改用 EXECUTE ... INTO 或 EXECUTE CREATE TABLE ... AS。"

#: pl_exec.c:4661
#, c-format
msgid "EXECUTE of transaction commands is not implemented"
msgstr "尚未实现通过 EXECUTE 执行事务命令"

#: pl_exec.c:4971 pl_exec.c:5059
#, c-format
msgid "cursor variable \"%s\" is null"
msgstr "游标变量 \"%s\" 为 NULL"

#: pl_exec.c:4982 pl_exec.c:5070
#, c-format
msgid "cursor \"%s\" does not exist"
msgstr "游标 \"%s\" 不存在"

#: pl_exec.c:4995
#, c-format
msgid "relative or absolute cursor position is null"
msgstr "游标的相对或绝对位置为 NULL"

#: pl_exec.c:5219 pl_exec.c:5314
#, c-format
msgid "null value cannot be assigned to variable \"%s\" declared NOT NULL"
msgstr "不能向声明为 NOT NULL 的变量 \"%s\" 赋 NULL 值"

#: pl_exec.c:5295
#, c-format
msgid "cannot assign non-composite value to a row variable"
msgstr "不能向行变量赋非复合类型的值"

#: pl_exec.c:5327
#, c-format
msgid "cannot assign non-composite value to a record variable"
msgstr "不能向 record 变量赋非复合类型的值"

#: pl_exec.c:5369 pl_exec.c:5399 pl_exec.c:5569 pl_exec.c:5656 pl_exec.c:5747
#: pl_exec.c:6944
#, c-format
msgid "record \"%s\" has no field \"%s\""
msgstr "记录 \"%s\" 没有字段 \"%s\""

#: pl_exec.c:5406
#, c-format
msgid "record \"%s\" field \"%s\" changed type during assignment"
msgstr "记录 \"%s\" 的字段 \"%s\" 在赋值期间更改了类型"

#: pl_exec.c:5414
#, c-format
msgid "cannot assign to system column \"%s\""
msgstr "不能向系统列 \"%s\" 赋值"

#: pl_exec.c:5854
#, c-format
msgid "query did not return data"
msgstr "查询未返回数据"

#: pl_exec.c:5855 pl_exec.c:5867 pl_exec.c:5892 pl_exec.c:5972 pl_exec.c:5977
#, c-format
msgid "query: %s"
msgstr "查询: %s"

#: pl_exec.c:5863
#, c-format
msgid "query returned %d column"
msgid_plural "query returned %d columns"
msgstr[0] "查询返回 %d 列"

#: pl_exec.c:5971
#, c-format
msgid "query is SELECT INTO, but it should be plain SELECT"
msgstr "查询是 SELECT INTO，但应为普通 SELECT"

#: pl_exec.c:5976
#, c-format
msgid "query is not a SELECT"
msgstr "查询不是 SELECT"

#: pl_exec.c:6958 pl_exec.c:6998 pl_exec.c:7038
#, c-format
msgid ""
"type of parameter %d (%s) does not match that when preparing the plan (%s)"
msgstr "参数 %d 的类型（%s）与准备计划时的类型（%s）不匹配"

#: pl_exec.c:7449 pl_exec.c:7483 pl_exec.c:7557 pl_exec.c:7583
#, c-format
msgid "number of source and target fields in assignment does not match"
msgstr "赋值时源字段与目标字段的数量不匹配"

#. translator: %s represents a name of an extra check
#: pl_exec.c:7451 pl_exec.c:7485 pl_exec.c:7559 pl_exec.c:7585
#, c-format
msgid "%s check of %s is active."
msgstr "%2$s 中的 %1$s 检查已启用。"

#: pl_exec.c:7455 pl_exec.c:7489 pl_exec.c:7563 pl_exec.c:7589
#, c-format
msgid "Make sure the query returns the exact list of columns."
msgstr "确保查询返回准确的列列表。"

#: pl_exec.c:7767
#, c-format
msgid "assigned value is incompatible with the variable's type"
msgstr "赋给变量的值与其类型不兼容"

#: pl_exec.c:7768
#, c-format
msgid "A variable can retain the type definition established when it was first used."
msgstr "变量可以保留首次使用时建立的类型定义。"

#: pl_exec.c:8034
#, c-format
msgid "record \"%s\" is not assigned yet"
msgstr "记录 \"%s\" 尚未赋值"

#: pl_exec.c:8035
#, c-format
msgid "The tuple structure of a not-yet-assigned record is indeterminate."
msgstr "尚未赋值的记录，其元组结构尚不确定。"

#: pl_exec.c:8274
#, c-format
msgid "cannot cast type %s to %s"
msgstr "不能把类型 %s 转换为 %s"

#: pl_exec.c:8796 pl_gram.y:3572
#, c-format
msgid "variable \"%s\" is declared CONSTANT"
msgstr "变量 \"%s\" 已声明为 CONSTANT"

#: pl_funcs.c:237
msgid "statement block"
msgstr "语句块"

#: pl_funcs.c:239
msgid "assignment"
msgstr "赋值"

#: pl_funcs.c:249
msgid "FOR with integer loop variable"
msgstr "带有整数循环变量的 FOR 语句"

#: pl_funcs.c:251
msgid "FOR over SELECT rows"
msgstr "遍历 SELECT 结果行的 FOR 循环"

#: pl_funcs.c:253
msgid "FOR over cursor"
msgstr "遍历游标的 FOR 循环"

#: pl_funcs.c:255
msgid "FOREACH over array"
msgstr "遍历数组的 FOREACH 循环"

#: pl_funcs.c:269
msgid "SQL statement"
msgstr "SQL 语句"

#: pl_funcs.c:273
msgid "FOR over EXECUTE statement"
msgstr "遍历 EXECUTE 语句结果的 FOR 循环"

#: pl_gram.y:501
#, c-format
msgid "block label must be placed before DECLARE, not after"
msgstr "代码块标签必须放在 DECLARE 的前面，而不是后面"

#: pl_gram.y:521
#, c-format
msgid "collations are not supported by type %s"
msgstr "类型 %s 不支持排序规则"

#: pl_gram.y:540
#, c-format
msgid "variable \"%s\" must have a default value, since it's declared NOT NULL"
msgstr "变量 \"%s\" 必须有默认值，因为它已声明为 NOT NULL"

#: pl_gram.y:724 pl_gram.y:752
msgid "duplicate declaration"
msgstr "重复声明"

#: pl_gram.y:735 pl_gram.y:763
#, c-format
msgid "variable \"%s\" shadows a previously defined variable"
msgstr "变量 \"%s\" 遮蔽先前定义的变量"

#: pl_gram.y:1040
#, c-format
msgid "diagnostics item %s is not allowed in GET STACKED DIAGNOSTICS"
msgstr "GET STACKED DIAGNOSTICS 中不允许使用诊断项 %s"

#: pl_gram.y:1058
#, c-format
msgid "diagnostics item %s is not allowed in GET CURRENT DIAGNOSTICS"
msgstr "GET CURRENT DIAGNOSTICS 中不允许使用诊断项 %s"

#: pl_gram.y:1156
msgid "unrecognized GET DIAGNOSTICS item"
msgstr "无法识别的 GET DIAGNOSTICS 项"

#: pl_gram.y:1172 pl_gram.y:3690
#, c-format
msgid "\"%s\" is not a scalar variable"
msgstr "\"%s\" 不是标量变量"

#: pl_gram.y:1403 pl_gram.y:1596
#, c-format
msgid ""
"loop variable of loop over rows must be a record variable or list of scalar "
"variables"
msgstr "遍历结果行的循环变量必须是 record 变量或标量变量列表"

#: pl_gram.y:1438
#, c-format
msgid "cursor FOR loop must have only one target variable"
msgstr "游标 FOR 循环只能有一个目标变量"

#: pl_gram.y:1445
#, c-format
msgid "cursor FOR loop must use a bound cursor variable"
msgstr "游标 FOR 循环必须使用已绑定的游标变量"

#: pl_gram.y:1535
#, c-format
msgid "integer FOR loop must have only one target variable"
msgstr "整数 FOR 循环只能有一个目标变量"

#: pl_gram.y:1569
#, c-format
msgid "cannot specify REVERSE in query FOR loop"
msgstr "不能在查询 FOR 循环中指定 REVERSE"

#: pl_gram.y:1701
#, c-format
msgid "loop variable of FOREACH must be a known variable or list of variables"
msgstr "FOREACH 的循环变量必须是已知变量或变量列表"

#: pl_gram.y:1743
#, c-format
msgid ""
"there is no label \"%s\" attached to any block or loop enclosing this "
"statement"
msgstr "包围此语句的块或循环均没有标签 \"%s\""

#: pl_gram.y:1751
#, c-format
msgid "block label \"%s\" cannot be used in CONTINUE"
msgstr "块标签 \"%s\" 不能用于 CONTINUE"

#: pl_gram.y:1766
#, c-format
msgid "EXIT cannot be used outside a loop, unless it has a label"
msgstr "EXIT 不能用于循环外，除非指定标签"

#: pl_gram.y:1767
#, c-format
msgid "CONTINUE cannot be used outside a loop"
msgstr "CONTINUE 不能用于循环外"

#: pl_gram.y:1791 pl_gram.y:1829 pl_gram.y:1877 pl_gram.y:3140 pl_gram.y:3222
#: pl_gram.y:3333 pl_gram.y:4092
msgid "unexpected end of function definition"
msgstr "函数定义意外结束"

#: pl_gram.y:1897 pl_gram.y:1922 pl_gram.y:1938 pl_gram.y:1944 pl_gram.y:2070
#: pl_gram.y:2078 pl_gram.y:2093 pl_gram.y:2189 pl_gram.y:2415 pl_gram.y:2505
#: pl_gram.y:2666 pl_gram.y:3941 pl_gram.y:4005 pl_gram.y:4073
msgid "syntax error"
msgstr "语法错误"

#: pl_gram.y:1926 pl_gram.y:1928 pl_gram.y:2419 pl_gram.y:2421
msgid "invalid SQLSTATE code"
msgstr "无效的 SQLSTATE 代码"

#: pl_gram.y:2136
msgid "syntax error, expected \"FOR\""
msgstr "语法错误，预期为 \"FOR\""

#: pl_gram.y:2198
#, c-format
msgid "FETCH statement cannot return multiple rows"
msgstr "FETCH 语句不能返回多行"

#: pl_gram.y:2295
#, c-format
msgid "cursor variable must be a simple variable"
msgstr "游标变量必须是简单变量"

#: pl_gram.y:2301
#, c-format
msgid "variable \"%s\" must be of type cursor or refcursor"
msgstr "变量 \"%s\" 必须属于 cursor 类型或 refcursor 类型"

#: pl_gram.y:2637 pl_gram.y:2648
#, c-format
msgid "\"%s\" is not a known variable"
msgstr "\"%s\" 不是已知变量"

#: pl_gram.y:2803 pl_gram.y:2814 pl_gram.y:2990
msgid "mismatched parentheses"
msgstr "括号不匹配"

#: pl_gram.y:2818
#, c-format
msgid "missing \"%s\" at end of SQL expression"
msgstr "SQL 表达式的结尾处缺少 \"%s\""

#: pl_gram.y:2824
#, c-format
msgid "missing \"%s\" at end of SQL statement"
msgstr "SQL 语句的结尾处缺少 \"%s\""

#: pl_gram.y:2843
msgid "missing expression"
msgstr "缺少表达式"

#: pl_gram.y:2845
msgid "missing SQL statement"
msgstr "缺少 SQL 语句"

#: pl_gram.y:2968
msgid "syntax error, expected \"]\""
msgstr "语法错误，预期为 \"]\""

#: pl_gram.y:2992
msgid "incomplete data type declaration"
msgstr "数据类型声明不完整"

#: pl_gram.y:3015
msgid "missing data type declaration"
msgstr "缺少数据类型声明"

#: pl_gram.y:3150
msgid "INTO specified more than once"
msgstr "多次指定 INTO"

#: pl_gram.y:3314
msgid "expected FROM or IN"
msgstr "预期为 FROM 或 IN"

#: pl_gram.y:3375
#, c-format
msgid "RETURN cannot have a parameter in function returning set"
msgstr "返回集合的函数中，RETURN 不能带参数"

#: pl_gram.y:3376
#, c-format
msgid "Use RETURN NEXT or RETURN QUERY."
msgstr "使用 RETURN NEXT 或 RETURN QUERY。"

#: pl_gram.y:3386
#, c-format
msgid "RETURN cannot have a parameter in a procedure"
msgstr "过程中，RETURN 不能带参数"

#: pl_gram.y:3391
#, c-format
msgid "RETURN cannot have a parameter in function returning void"
msgstr "返回 void 的函数中，RETURN 不能带参数"

#: pl_gram.y:3400
#, c-format
msgid "RETURN cannot have a parameter in function with OUT parameters"
msgstr "带有 OUT 参数的函数中，RETURN 不能带参数"

#: pl_gram.y:3463
#, c-format
msgid "RETURN NEXT cannot have a parameter in function with OUT parameters"
msgstr "带有 OUT 参数的函数中，RETURN NEXT 不能带参数"

#: pl_gram.y:3630
#, c-format
msgid "record variable cannot be part of multiple-item INTO list"
msgstr "record 变量不能作为含多个项的 INTO 列表的一部分"

#: pl_gram.y:3678
#, c-format
msgid "too many INTO variables specified"
msgstr "在 INTO 后指定的变量过多"

#: pl_gram.y:3895
#, c-format
msgid "end label \"%s\" specified for unlabeled block"
msgstr "为没有标签的代码块指定结束标签 \"%s\""

#: pl_gram.y:3902
#, c-format
msgid "end label \"%s\" differs from block's label \"%s\""
msgstr "结束标签 \"%s\" 与代码块标签 \"%s\" 不同"

#: pl_gram.y:3936
#, c-format
msgid "cursor \"%s\" has no arguments"
msgstr "游标 \"%s\" 没有参数"

#: pl_gram.y:3950
#, c-format
msgid "cursor \"%s\" has arguments"
msgstr "游标 \"%s\" 有参数"

#: pl_gram.y:3995
#, c-format
msgid "cursor \"%s\" has no argument named \"%s\""
msgstr "游标 \"%s\" 没有名为 \"%s\" 的参数"

#: pl_gram.y:4015
#, c-format
msgid "value for parameter \"%s\" of cursor \"%s\" specified more than once"
msgstr "多次指定游标 \"%2$s\" 的参数 \"%1$s\" 的值"

#: pl_gram.y:4037
#, c-format
msgid "not enough arguments for cursor \"%s\""
msgstr "游标 \"%s\" 的参数不足"

#: pl_gram.y:4044
#, c-format
msgid "too many arguments for cursor \"%s\""
msgstr "游标 \"%s\" 的参数过多"

#: pl_gram.y:4124
msgid "unrecognized RAISE statement option"
msgstr "无法识别的 RAISE 语句选项"

#: pl_gram.y:4128
msgid "syntax error, expected \"=\""
msgstr "语法错误，预期为 \"=\""

#: pl_gram.y:4169
#, c-format
msgid "too many parameters specified for RAISE"
msgstr "为 RAISE 指定的参数过多"

#: pl_gram.y:4173
#, c-format
msgid "too few parameters specified for RAISE"
msgstr "为 RAISE 指定的参数过少"

#: pl_handler.c:159
msgid ""
"Sets handling of conflicts between PL/pgSQL variable names and table column "
"names."
msgstr "设置 PL/pgSQL 变量名与表列名冲突时的处理方式。"

#: pl_handler.c:168
msgid ""
"Print information about parameters in the DETAIL part of the error messages "
"generated on INTO ... STRICT failures."
msgstr "在 INTO ... STRICT 失败所产生错误消息的 DETAIL 部分输出参数信息。"

#: pl_handler.c:176
msgid "Perform checks given in ASSERT statements."
msgstr "执行在 ASSERT 语句中给定的检查。"

#: pl_handler.c:184
msgid "List of programming constructs that should produce a warning."
msgstr "应产生警告的程序结构列表。"

#: pl_handler.c:194
msgid "List of programming constructs that should produce an error."
msgstr "应产生错误的程序结构列表。"

#. translator: %s is typically the translation of "syntax error"
#: pl_scanner.c:543
#, c-format
msgid "%s at end of input"
msgstr "%s，位置在输入末尾"

#. translator: first %s is typically the translation of "syntax error"
#: pl_scanner.c:559
#, c-format
msgid "%s at or near \"%s\""
msgstr "%s，位置在 \"%s\" 或其附近"

#, c-format
#~ msgid ""
#~ "could not determine actual argument type for polymorphic function \"%s\""
#~ msgstr "无法确定多态函数\"%s\"的实际参数类型"

#, c-format
#~ msgid "query \"%s\" returned more than one row"
#~ msgstr "查询\"%s\"返回多条数据"
