Re: Fwd: cant insert into a post gre sql table...Can u please help in fixing this

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Fwd: cant insert into a post gre sql table...Can u please help in fixing this
Date: 2014-04-14 17:54:23
Message-ID: 534C20CF.1020907@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 4/14/2014 12:51 AM, kona ajay wrote:
> Please help me in fixing this . Thanking you

the error seems pretty explicit. "relation vsp_employee does not exist"

I fail to see how this is a postgres bug.

btw, thats a terrible way of programming SQL queries. a all someone
would have to do would be to enter

'); drop table vsp_employee;

as an employee name and you'd be in a world of hurt. you should instead
pass in the data values as arguments to a parametrized query. as I
don't do .NET stuff, you'll need to look up how to do that yourself.

--
john r pierce 37N 122W
somewhere on the middle of the left coast

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Stefan Kaltenbrunner 2014-04-14 18:06:52 Re: Debug strategy for musl Postgres?
Previous Message kona ajay 2014-04-14 10:20:13 cant insert into a postgre sql table from c# please help to solve this......... |Thanks very much in advance