Hi,
I'm using PostgreSQL 7.3.4 on phpPgAdmin 2.4.2 and I'm getting the following
error when I try and run a SQL query on a script:
Error -
/usr/local/psa/admin/htdocs/domains/databases/phpPgAdmin/db_readdump.php --
Line: 33
PostgreSQL said: ERROR: parser: unterminated quoted string at or near
"'Black Tea\015\012Fres h range of leaf tea for drinking black or with
milk,\015\012in cluding Ceylons, Assams and favourites like Irish
Breakfast.\015\ 012\015\012Gree n Tea\015\012Firs t quality Japanese & Chinese
popular green teas, including Bancha, Genmaicha & flavoured green
teas.\015\012\0 15\012Flavoured Tea\015\012Exot ic and delicious, favourites
are Vanilla, Arctic Fire & Lady Grey.\015\012\0 15\012Herbal
Infusions\015\0 12Pure flowers and whole leaves of calming herbs, &
a\015\012deligh tful range of specially blended herbal infusions Fruit
Melanges;" at character 566
Any idea as to why this is doing this?
Thank you for your help.
Dan 2 7216
On Wed, Sep 08, 2004 at 04:05:10PM +1000, Daniel Secomb wrote: Hi,
I'm using PostgreSQL 7.3.4 on phpPgAdmin 2.4.2 and I'm getting the following error when I try and run a SQL query on a script:
Error - /usr/local/psa/admin/htdocs/domains/databases/phpPgAdmin/db_readdump.php -- Line: 33 PostgreSQL said: ERROR: parser: unterminated quoted string at or near "'Black Tea\015\012Fres h range of leaf tea for drinking black or with milk,\015\012in cluding Ceylons, Assams and favourites like Irish Breakfast.\015\ 012\015\012Gree n Tea\015\012Firs t quality Japanese & Chinese popular green teas, including Bancha, Genmaicha & flavoured green teas.\015\012\0 15\012Flavoured Tea\015\012Exot ic and delicious, favourites are Vanilla, Arctic Fire & Lady Grey.\015\012\0 15\012Herbal Infusions\015\0 12Pure flowers and whole leaves of calming herbs, & a\015\012deligh tful range of specially blended herbal infusions Fruit Melanges;" at character 566 Any idea as to why this is doing this?
Hi Daniel,
Without seeing the entire query I can't be sure, but I'm guessing there
should be a single quote after "Melanges" and before the semicolon.
(Remember that all strings in Postgres need to be in single quotes, so
unless the semicolon is actually part of the string and not the SQL
statement, that's the cause of the syntax error.)
HTH,
Jeremy
---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddres sHere" to ma*******@postg resql.org)
--- Daniel Secomb <da*@ds-d.com> wrote: Hi,
I'm using PostgreSQL 7.3.4 on phpPgAdmin 2.4.2 and I'm getting the following error when I try and run a SQL query on a script:
Error -
/usr/local/psa/admin/htdocs/domains/databases/phpPgAdmin/db_readdump.php -- Line: 33 PostgreSQL said: ERROR: parser: unterminated quoted string at or near "'Black Tea\015\012Fres h range of leaf tea for drinking black or with milk,\015\012in cluding Ceylons, Assams and favourites like Irish Breakfast.\015\ 012\015\012Gree n Tea\015\012Firs t quality Japanese & Chinese popular green teas, including Bancha, Genmaicha & flavoured green teas.\015\012\0 15\012Flavoured Tea\015\012Exot ic and delicious, favourites are Vanilla, Arctic Fire & Lady Grey.\015\012\0 15\012Herbal Infusions\015\0 12Pure flowers and whole leaves of calming herbs, & a\015\012deligh tful range of specially blended herbal infusions Fruit Melanges;" at character 566 Any idea as to why this is doing this?
Because there is an unterminated quoted string? I see
a single quote just before "Black Tea", but I don't
see another anywhere in that string. Thank you for your help.
Dan
_______________ _______________ ____
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out! http://promotions.yahoo.com/new_mail
---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to ma*******@postg resql.org This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: learning_C++ |
last post by:
Hi,
I try to use
input = new istrstream(argv,strlen(argv));
in my code, but it always says error: " error: parse error before `('
token"
please help me!
Thanks,
#include <map>
|
by: William |
last post by:
I have the following javascript function that updates a scroll_list and
sends the updated entry (with its index) to a server script
( i.e. http://mkmxg00/cgi/confirmUpload.pl ) for further processing:
function saveText( scroll_list, t_area, listToBeUpdated ) {
scroll_list.options.text = t_area.text;
scroll_list.options.value= t_area.value;
var req;
var url = "http://mkmxg00/cgi/confirmUpload.pl";
|
by: gypsy3001 |
last post by:
Today, I was trying to construct a regular express in JavaScript. But
I kept getting the "Error: unterminated parenthetical" message.
I want to do something like this:
keyCombo = ":(";
pattern = new RegExp (keyCombo);
str = string.replace (pattern, "frown");
So, first thing I fixed is ":\(" . . . But I still get the same error!
|
by: Bill |
last post by:
Can someone help me with this error:
error C2143: syntax error : missing ';' before 'type'
Here is the line it's complaining about:
for(int i=0;i<4;i++){
printf("%d",x);
}
|
by: basstradamus |
last post by:
Hi
When I am trying to eveluate object literal It causing Unterminated string constans error (firefox).
var obiekt = (eval("("+data+")"));
the data is carring object literal recived from server (AJAX - JSON format)
It works normaly for smaller strings, but when data variable has about 20 000 chars there is an error.
Is there any limitations to string lenght that will be evaluated by eval()?
| |
by: rajuk |
last post by:
Hi i have following code,when i execute this code i got unterminated string constant error.any javascript guru can you look into this please.
raju
/* The link details */
var links = new Array ("link1", "link2", "link3");
var links_text = new Array ("Link 1", "Link 2", "Link 3");
var links_url = new Array ("link1.htm", "link2.htm","link3.htm");
/* Resolve the location */
var loc=String(this.location);
|
by: VUNETdotUS |
last post by:
Let's say I have a string:
div.innerHTML = "<a onclick='foo(\""+myWord+"\");'></a>";
in IE only (tested version 7) if var myWord = "English" then it works
fine
but if var myWord = "Modifier Cha\u00EEnes" then I get "Unterminated
string constant" error.
What fix would you suggest to keep div.innerHTML = "" format?
|
by: renji1981 |
last post by:
Hi pals
Hers my link
Primus Infotech Solutions - IT Services , Product Engineering , Web Based Applications
Here Im getting a Unterminated String constant Error
When you click on the Services link it works ... but when i click back on the home link this dosent work .
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |