Services
24×7×365 Technical Support
Migration to PostgreSQL
High Availability Deployment
Database Audit
Remote DBA for PostgreSQL
Products
Postgres Pro Enterprise
Postgres Pro Standard
Cloud Solutions
Postgres Extensions
Resources
Blog
Documentation
Webinars
Videos
Presentations
Community
Events
Training Courses
Books
Demo Database
Mailing List Archives
About
Leadership team
Partners
Customers
In the News
Press Releases
Press Info
Services
24×7×365 Technical Support
Migration to PostgreSQL
High Availability Deployment
Database Audit
Remote DBA for PostgreSQL
Products
Postgres Pro Enterprise
Postgres Pro Standard
Cloud Solutions
Postgres Extensions
Resources
Blog
Documentation
Webinars
Videos
Presentations
Community
Events
Training Courses
Books
Demo Database
Mailing List Archives
About
Leadership team
Partners
Customers
In the News
Press Releases
Press Info
Facebook
Downloads
Home
>
mailing lists
Getting this error - Mailing list pgsql-general
From
yatler sahri
Subject
Getting this error
Date
June 13, 2012
06:23:42
Msg-id
1339568605.322.YahooMailNeo@web160204.mail.bf1.yahoo.com
Whole thread
Raw
Responses
Re: Getting this error
List
pgsql-general
Tree view
Hi
I'm running on a program as to migrate multiple tables to one table
the program seems worked on informix environment but not in postgress
Im getting the following error when running the program on postgress
| pgs.c:01466(3) : Nat stmt1 = declare cu4 cursor for
| pgs.c:01472(2) : Could not prepare the statement.
| pgs.c:01473(2) : ERROR: syntax error at end of input
LINE 1: declare cu4 cursor for
^
| pgs.c:00321(3) : Diagnostic info:
| pgs.c:00322(3) : SQL State: 42601
| pgs.c:00323(3) : Message : syntax error at end of input
| pgs.c:01801(2) : Could not execute statement with result set.
| sqlcode : -201
| sqlstate : 42601
| sqlerrd2 : -1
| sql message : syntax error at end of input
| sql msg param :
| sql driver : ident='dbmpgs83x'
Program stopped at 'db_upg77R060.4gl', line number 289.
SQL statement error number -201 (-1).
PREPARE q_cbdbaudit_tables FROM p_query
DECLARE c_cbdbaudit_tables CURSOR FOR q_cbdbaudit_tables
FOREACH c_cbdbaudit_tables INTO p_audittable<---line number 289
IF DOWNSHIFT(p_audittable) NOT MATCHES "cb_db[0-9][0-9][0-9][0-9][a-z][a-z]" THEN
CONTINUE FOREACH
END IF
need your help on this.thanks
pgsql-general
by date:
Previous
From:
Condor
Date:
13 June 2012, 05:50:43
Subject:
Re: Question about load balance
Next
From:
Alban Hertroys
Date:
13 June 2012, 07:06:25
Subject:
Re: Create view is not accepting the parameter in postgres functions
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
I confirm that I have read and accepted PostgresPro’s
Privacy Policy
.
I agree to get Postgres Pro discount offers and other marketing communications.
✖
×
×
Everywhere
Documentation
Mailing list
List:
all lists
pgsql-general
pgsql-hackers
buildfarm-members
pgadmin-hackers
pgadmin-support
pgsql-admin
pgsql-advocacy
pgsql-announce
pgsql-benchmarks
pgsql-bugs
pgsql-chat
pgsql-cluster-hackers
pgsql-committers
pgsql-cygwin
pgsql-docs
pgsql-hackers-pitr
pgsql-hackers-win32
pgsql-interfaces
pgsql-jdbc
pgsql-jobs
pgsql-novice
pgsql-odbc
pgsql-patches
pgsql-performance
pgsql-php
pgsql-pkg-debian
pgsql-pkg-yum
pgsql-ports
pgsql-rrreviewers
pgsql-ru-general
pgsql-sql
pgsql-students
pgsql-testers
pgsql-translators
pgsql-www
psycopg
Period
anytime
within last day
within last week
within last month
within last 6 months
within last year
Sort by
date
reverse date
rank
Services
24×7×365 Technical Support
Migration to PostgreSQL
High Availability Deployment
Database Audit
Remote DBA for PostgreSQL
Products
Postgres Pro Enterprise
Postgres Pro Standard
Cloud Solutions
Postgres Extensions
Resources
Blog
Documentation
Webinars
Videos
Presentations
Community
Events
Training Courses
Books
Demo Database
Mailing List Archives
About
Leadership team
Partners
Customers
In the News
Press Releases
Press Info
By continuing to browse this website, you agree to the use of cookies. Go to
Privacy Policy
.
I accept cookies